From 0a14ba940677e222ef7f5c52d79c7ac7e9e9508b Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 7 May 2024 09:44:23 +0200 Subject: [PATCH] default to lualatex --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e664fc3..383782a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ NAME=thesis ABSTRACT=abstract -LATEXMKOPTS=-pdflua #force lualatex +LATEXMKOPTS=-pdflua #you can also use -pdf for forcing pdflatex, if required LATEXMK=latexmk $(LATEXMKOPTS) all: diff --git a/README.md b/README.md index ce6219e..6b21c21 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ docker run -u $UID -ti --rm -v $PWD:/th -w /th aergus/latex make ## PDF/A -With a bit of luck, you should get a valid PDF/A right out of LaTeX. If you are using GitHub actions or GitLab CI, the CI will run the PDF/A verifier automatically for you. +With a bit of luck, you should get a valid PDF/A right out of LaTeX. Remember that you should use a well-maintained PDF-capable TeX engine, which currently means `lualatex` and may possibly also include `xelatex`. Older `pdflatex` might work, but you may hit problems (e.g. using "small caps" feature with the default Libertinus font triggers glyph validation errors). If you are using GitHub actions or GitLab CI, the CI will run the PDF/A verifier automatically for you. A PDF/A validator that can point out exact problems is available here: https://github.com/mff-cuni-cz/cuni-thesis-validator