fix folding for pandoc files
use absolute paths for bibliographies, list only unique
cleanup: since we removed syntax module, remove references to it too