citations from bib not processed

PhilQuand's Avatar

PhilQuand

02 Apr, 2021 07:45 PM

// Please enter a detailed description of the issue // Description of the issue: I cannot have citations from bib file processed

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Custom processor args : --metadata title="test" --from=markdown --to=html -s --bibliography=/Users/Philippe/zoterobib/zoterobib.bib

// If applicable please attach a sample document that causes the issue for you.

// Configuration (do not edit) Marked 2 1016 (Direct)

macOS Version: 11.2.3

additionalMathJaxConfig:
allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: swiss
defaultProcessor: MultiMarkdown
enableMiniMap: NO
excludeBlockQuotesFromCounts: NO
excludeFootnotesFromCounts: NO
excludeVerbatimFromCounts: NO
excludeCaptionsFromCounts: NO
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: YES
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: NO
includeKatex: NO
limitTextWidth: NO
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: YES
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFirstPage: NO
printFooterFirstPage: NO
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: NO
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: YES
customMarkdownProcessor: /usr/local/Cellar/pandoc/2.13/bin/pandoc
useCustomPreprocessor: YES
customPreprocessor:
useFirstH1AsPrintTitle: YES

  1. 1 Posted by PhilQuand on 02 Apr, 2021 07:50 PM

    PhilQuand's Avatar

    I add that in a terminal , the following command :
    pandoc -s --bibliography /Users/Philippe/zoterobib/zoterobib.bib --citeproc test.md -o test.html

    give the good result (citations processed in the output test.html)

  2. Support Staff 2 Posted by Brett on 02 Apr, 2021 09:43 PM

    Brett's Avatar

    Don't you need the --citeproc flag in your custom processor settings,
    too?

    If you open Help->Show Custom Processor Log, you can see if there's
    STDERR output from pandoc when it runs. Might give us some clues.

    -Brett

  3. 3 Posted by PhilQuand on 02 Apr, 2021 09:54 PM

    PhilQuand's Avatar

    Yes -citeproc was missing... but there was no error in the logs !

    Here is a syntax for Args that makes things working :
    --from=markdown --to=html --bibliography=/Users/Philippe/zoterobib/zoterobib.bib -s --citeproc

  4. 4 Posted by Philippe Quanda... on 02 Apr, 2021 10:03 PM

    Philippe Quandalle's Avatar

    Hi Brettt,

    Yes —cité-roc was missing but there was no error in the STDERR output.

    Thanks for help !
    Philippe

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac