- This template automatically follows GOST to the letter (well, almost, there are minor deviations where GOST is particularly ugly).
waf
magically reruns XeTeX as many times as needed to properly generate the table of contents (yes, XeTeX, just as LaTeX, is stupid and has to be run multiple times).
-
Install XeTeX and Pandoc.
-
./waf configure
-
while
./waf
is not succeeding- install missing stuff (see Dependencies)
-
while not happy with your text
- Edit
.pd
files - (sometimes) Edit
.latex
files - (sometimes) Update
sources
inwscript
./waf
- Edit
There is a list of required TeX Live packages in shell.nix
but in case you could not care less you are always free to just install Tex Live Full.
- The Waf Book
- Always feel free to refer to the real-life example (or a little bit obsolete one).
- Everything starts with
main.latex
. Edit the first three lines of this file. title.latex
describes the title page. Edit the university name if needed.preamble.latex
has boring technical TeX stuff.bib.bib
is the bibliography. Edit it with KBibTeX or something like that.pseudo.latex
is the definition of a simple pseudocode programming language. You’ll probably want to extend it and/or define more languages (don’t forget to\input
them inpreamble.latex
).wscript
describes how to build everything and thesources
variable is actually the only interesting thing there.