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:
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');
|
||||
|
||||
|
||||
Reference in new issue
Block a user