Fixes bibliography errors

Disables Pandoc's automatic citeproc filter to prevent errors
when processing documents without a bibliography file. This
resolves issues where Pandoc incorrectly detects citation-like
patterns in markdown and attempts to generate bibliographies,
leading to "document does not contain a bibliography" errors.
This commit is contained in:
AlexKucera committed 2025-11-04 10:57:24 +01:00
1 parent 8329c9dd48
commit 9ca299cafd
2 files changed
+6

No files matched your search

@@ -46,6 +46,11 @@ export class PandocCommandBuilder {
// Enable standalone mode (required for PDF output)
args.push('--standalone');
// Disable citeproc to prevent automatic bibliography processing
// This prevents "document does not contain a bibliography" errors when
// Pandoc detects citation-like patterns but no bibliography file is provided
args.push('--no-citeproc');
// Embed resources (images, etc.) directly into the output
args.push('--embed-resources');