You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alex Selimov
e16e2731b7
|
1 year ago | |
---|---|---|
img | 1 year ago | |
pandoc_lua_filters | 1 year ago | |
README.md | 1 year ago | |
article.docx | 1 year ago | |
article.md | 1 year ago | |
article.pdf | 1 year ago | |
references.bib | 1 year ago |
README.md
Notes on pandoc
Requirements:: pandoc and pandoc-crossref
All of the paper itself is written in article.md using pandoc flavor markdown combined with pandoc-crossref. References for pandoc compatible markdown can be found at . Some benefits of markdown are:
- You can use your normal .bib reference file to automatically manage references.
- Pandoc markdown allows for tables using simple styling as observed in article.md.
- Equations can be written with latex styling
- You can reference figures and equations and have them automatically update!
This build uses a few lua filters included to get nicer behavior with word.
How to build::
md->pdf:
pandoc article.md --pdf-engine=xelatex --lua-filter=./typesetting/scholarly-metadata.lua --lua-filter=./typesetting/author-info-blocks.lua --filter=pandoc-crossref --citeproc --bibliography=references.bib --csl=typesetting/els.csl -o article.pdf
md->docx:
pandoc article.md --lua-filter="./pandoc_lua_filters/scholarly-metadata.lua" --lua-filter="./pandoc_lua_filters/pagebreak.lua" --filter=pandoc-crossref --citeproc --bibliography="./references.bib" -o article.docx