Pandoc pre-processor

Rory's Avatar

Rory

30 Oct, 2019 08:00 PM

Hi Brett, Think Marked2 is great.
I am use Marked2 with a panda pre-processor to parse citations. In the last few days this is not working. The command still works in the terminal.

The settings:
Path /usr/local/bin/pandoc
Args --filter pandoc-citeproc --csl="/Users/{path where CSL file is located}.csl" --bibliography="/Users/{path where bibliography is located}.bib"

It gives the following error:
"Error running custom preprocessor"

"pandoc-citeproc:PandocResourceNotFound "\"/Users/{USER}/{path}.csl\"" Error running filter pandoc-citeproc: Filter returned error status 1"

Help appreciated

  1. Support Staff 1 Posted by Brett on 31 Oct, 2019 12:04 PM

    Brett's Avatar

    So this was working in Marked previously? Did anything else on your
    computer change in the meantime?

    -Brett

  2. 2 Posted by Rory Miller on 31 Oct, 2019 06:38 PM

    Rory Miller's Avatar

    Yes. This was working great and the same command (with the same arguments) works perfectly from the terminal/command line. I’m still running Mojave.

    Can’t think of anything specific. Only thing is I’ve been playing around with https://github.com/iandol/scrivomatic scrivener and scrivomatic but this uses Pandoc.

    ——
    Rory

  3. Support Staff 3 Posted by Brett on 31 Oct, 2019 06:56 PM

    Brett's Avatar

    I'm noticing the doubling of quotes around the path argument in the error message. What happens if you remove the quotes from the paths in the arguments?

    Thanks,
    Brett

  4. 4 Posted by Rory Miller on 31 Oct, 2019 08:10 PM

    Rory Miller's Avatar

    Yup this works. Thanks Brett.

    Not sure what has caused the change…

    Looking forward to NVUltra to help w my PhD!

    Cheers,

    Rory

  5. 5 Posted by Topofthewest on 01 Nov, 2019 02:49 PM

    Topofthewest's Avatar

    Rory have you gotten scrivomatic to work yet?

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