iandol / scrivomatic

A writing workflow using Scrivener's style system + Pandoc for output…
https://iandol.github.io/scrivomatic/
GNU General Public License v3.0
296 stars 31 forks source link

Paru doesn't recognise "lof:true" and "lot:true #24

Open admin-teametry opened 5 years ago

admin-teametry commented 5 years ago

Hi,

I'm playing around with your Workflow.md example and testet some options. If I want a listoffigures and listoftables I have to set these option in pandocomatic.yaml. So I extended your brief pandocomatic.yaml example with " paper-with-refs-latex: extends: ['refs'] #we can inherit from other templates pandoc: from: markdown to: latex template: ./custom.latex toc: true toc-depth: 4 lof: true lot: true base-header-level: 2 filter:

And in the scrivomatic.log I get this: "::: The pandoc option 'lof' (with value 'true') is not recognized by paru. This option is skipped. ::: The pandoc option 'lot' (with value 'true') is not recognized by paru. This option is skipped."

Any hints how to fix it?

Thanks and best regards Andreas

iandol commented 5 years ago

lot and lof are not Pandoc options, but metadata, so try to put lot and lof under the metadata: section of the YAML file. toc is a special case as it is a general writer option with a commandline switch which is why it is under the pandoc: section...

http://pandoc.org/MANUAL.html#front-matter