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 today
to add a template inYYYY/MM/DD.md
and open in Sublime Text. - Modify the above file.
- Use
make
to createlog.pdf
. git commit
when done.
- Use
citations/citations.bib
for citations. - New includes should go on in
document_setup.sty
. - New commands should go on in
command_library.sty
. - Modify
log.tex
yearly: addincluder.include_year("YYYY")
. - Use
make clean
to clean everything up.
pandoc
may require packages not present indocument_setup.sty
. If this happens, use--standalone
and add the necessary lines under thepandoc
header.latexmk
being 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.Makefile
andlatexmk
: a rather precarious combination. All LaTeX compilation is handled bylatexmk
, and allpandoc
things are handled bymake
.git
: for version control.LuaLaTeX
: the real engine, which runs the Lua files and compiles.