Skip to content
Snippets Groups Projects
Unverified Commit 0b22d3c1 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Use LaTeXMk to compile examples and check no warnings were produced

parent b20a416e
No related branches found
No related tags found
1 merge request!44Remove warnings from example documents
Pipeline #
...@@ -24,21 +24,11 @@ all: $(OUTPUT) clean ...@@ -24,21 +24,11 @@ all: $(OUTPUT) clean
# This target typesets a pdfLaTeX example. # This target typesets a pdfLaTeX example.
%-pdflatex.pdf: %-pdflatex.tex example.bib example-terms-abbrs.tex %-pdflatex.pdf: %-pdflatex.tex example.bib example-terms-abbrs.tex
$(PDFLATEX) $< # The initial typesetting. latexmk -pdf -Werror $<
biber $(basename $<).bcf
$(PDFLATEX) $< # Update the index after the bibliography insertion.
texindy -I latex -C utf8 -L english $(basename $<).idx
$(PDFLATEX) $< # The final typesetting, now also with index.
$(PDFLATEX) $<
# This target typesets a LuaLaTeX example. # This target typesets a LuaLaTeX example.
%-lualatex.pdf: %-lualatex.tex example.bib example-terms-abbrs.tex %-lualatex.pdf: %-lualatex.tex example.bib example-terms-abbrs.tex
$(LUALATEX) $< # The initial typesetting. latexmk -lualatex -Werror $<
biber $(basename $<).bcf
$(LUALATEX) $< # Update the index after the bibliography insertion.
texindy -I latex -C utf8 -L english $(basename $<).idx
$(LUALATEX) $< # The final typesetting, now also with index.
$(LUALATEX) $<
# This target removes any auxiliary files. # This target removes any auxiliary files.
clean: clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment