Allows you to edit in pandoc markdown, keeping tables and figures separate and contained. Export to latex, docx (using docx reference template), or html.
It is also possible to edit in chapters using multiple *.md files. See this link for details.
In the tables folder need to be either markdown (as a simple table), or html for more complex table formats (ie cells spanning multiple cols/rows). The tables need to have a tag (as per pandoc-crossref) in the caption for MD or underneath the table for HTML format - see examples. The
For example:
foo@bar:~$ bash to_docx.sh folder style.csl
Where the folder is the folder containing the content to be compiled, eg main or supplementary or chapter.
To perform a compilation with a *.sh script, you will require installations of:
- pandoc
- Some form of Latex installation
- CMU fonts for basic docx template
Filters: - pandoc-crossref (available in AUR or Homebrew etc)