A logbook using LuaLaTeX.
- Install Lua 5.1 and luarocks.
- Install MoonScript using
luarocks. - Install LuaLaTeX.
- Install latexmk.
- Install biber.
- Install pandoc.
- Install Python and pip.
- Install panflute using
pip. - Install git (optional: can remove from Makefile).
- Use
make todayto add a template inYYYY/MM/DD.mdand open in Sublime Text. - Modify the above file.
- Use
maketo createlog.pdf. git commitwhen done.
- Use
citations/citations.bibfor citations. - New includes should go on in
document_setup.sty. - New commands should go on in
command_library.sty. - Modify
log.texyearly: addincluder.include_year("YYYY"). - Use
make cleanto clean everything up.
pandocmay require packages not present indocument_setup.sty. If this happens, use--standaloneand add the necessary lines under thepandocheader.latexmkbeing annoying: uselatexmk -g
MoonScript: language which transpiles to Lua, except better.pandoc&panflute: handle the markdown to LaTeX conversion while ensuring the formatting and labels don't break.Makefileandlatexmk: a rather precarious combination. All LaTeX compilation is handled bylatexmk, and allpandocthings are handled bymake.git: for version control.LuaLaTeX: the real engine, which runs the Lua files and compiles.