This repo contains a tools intended to make writing an academic document a little easier.
- Write the report in the code directory
- use one or more
*.mdfiles.
- use one or more
- Add references to references.bib
- Add images to figures
- update the meta.yaml
Simplifies building pdf / word documents
Usage:
build [BUILD OPTIONS]
Build Options:
-h | --help Show this screen.
-p | --pdf build pdf
-w | --word build docx
-c | --clean clear the output directory
-s | --silent remove any logs created
The setup script in config copies global templates, installs a CSL style
and checks, and installs the binaries required in the build script. The
script targets Debian, but should run on any system that uses apt. Pandoc is
picked up directly from the GitHub repo; the version in apt can be relatively
old which I have found to be a problem.
you want the binaries without the filters, templates and csl, you can
run ./config/setup -b By default, the build script will call
setup each time it is run. This can be "switched off" by
setting the "$_SETUP" variable in build to
something other than true
Please feel free to open an issue or a pull request. Though this is a personal project which I consider "feature complete", I welcome any suggestions for features and fixes. I'be be especially interested in any suggestions for 'nix-ifying' the setup script.
If raising a pull request, please ensure that the code passes shellcheck and markdownlint. The code must run on a fresh install of Debian.
If adding a new feature, please ensure that it is documented in this README, and
if applicable in the help text of the build script.
The code in this repository is licensed under the MIT License. It does however rely on third party software, which may have different licenses.
- pandoc
- tinytex
- mermaid-js
- curl
- nodejs
- librsvg2-bin
- jq
- the cite them right CSL style
- pagebreak.lua by Albert Krewinkel, Benct Philip Jonsson
Additionally, the following latex styles are used:
- colortbl
- setspace
- fvextra
- upquote
- lineno
- beamer
- footnotebackref
- koma-script
- soul
- pagecolor
- csquotes
- caption
- mdframed
- zref
- enumitem
- needspace
- sourcesanspro
- sourcecodepro
- titling
- bookmark