Closed mschneiderwng closed 2 years ago
The following command produces exercises and solutions. lualatex -synctex=1 -interaction=nonstopmode test.tex The following command creates a pdf with exercises only. lualatex -synctex=1 -interaction=nonstopmode -output-directory=result test.tex
lualatex -synctex=1 -interaction=nonstopmode test.tex
lualatex -synctex=1 -interaction=nonstopmode -output-directory=result test.tex
The test.tex used contains
\documentclass[]{article} \usepackage{xsim} \begin{document} \begin{exercise} \(x - 1 = 0\) \end{exercise} \begin{solution} \(x = 1\) \end{solution} \printsolutions \end{document}
The reason is the usage of the auxiliary file .xsim. Use
.xsim
\usepackage[use-aux]{xsim}
to prevent the issue.
That solves the problem. Thank you for your fast response and this awesome package.
The following command produces exercises and solutions.
lualatex -synctex=1 -interaction=nonstopmode test.tex
The following command creates a pdf with exercises only.lualatex -synctex=1 -interaction=nonstopmode -output-directory=result test.tex
The test.tex used contains