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:
- './assimilateMetadata.rb' #regularise metadata fields so pandoc template can use it more easily
metadata:
CJKmainfont: 'PingFang SC'
lang: 'en-GB'
papersize: 'A4'
documentclass: 'article'
fontsize: '12pt'
linestretch: '1.75'
geometry: 'margin=2cm'
nonumberfigures: true
linkcolor: Mahogany
citecolor: Sepia
urlcolor: BrickRed
#########################################
pdf-refs:
extends: [paper-with-refs-latex]
pandoc:
to: pdf
pdf-engine: 'xelatex'
cleanup: ['latexmk -c']"
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
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:
- './assimilateMetadata.rb' #regularise metadata fields so pandoc template can use it more easily
metadata:
CJKmainfont: 'PingFang SC'
lang: 'en-GB'
papersize: 'A4'
documentclass: 'article'
fontsize: '12pt'
linestretch: '1.75'
geometry: 'margin=2cm'
nonumberfigures: true
linkcolor: Mahogany
citecolor: Sepia
urlcolor: BrickRed
#########################################
pdf-refs:
extends: [paper-with-refs-latex]
pandoc:
to: pdf
pdf-engine: 'xelatex'
cleanup: ['latexmk -c']"
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