Closed Explorer-cc closed 2 months ago
I cannot reproduce the bug with your MWE because of many font related errors, e.g., "The font "SimHei" cannot be found".
Your screenshot shows that latexmk
is involved which you haven't mentioned in the description.
At the moment, I do not have enough info to work on this issue.
Sorry for late response, I'm a CJK fonts user and use the MikTeX
on Windows 10
systems, this is because the exam-zh
package is designed for Chinese Exam, so the xelatex
or latexmk
with option -xelatex
is need as the docs says.
The screenshot described is actually compiled with latexmk -xelatex <filename.tex>
but I didn't mention.
So? The fonts problem, is any solution to deal with it to support your computer? for the attribute of exam-zh
, it's difficult for me to strip CJK fonts out to produce an MWE? Thank you most sincerely.
I attempted to use the package
exam-zh
to achieve the "teacher-student-two-styles", which in the docs it needs the compile option--shell-escape
, which can produce one pdf file for teacher with answer, and another pdf file for students without answer.A MWE is as below:
Below is the test video and the result is shown below:
TeXLive2024
xelatex example.tex
compile one pdf normallyxelatex --shell-escape example.tex
compile two pdfs normallyMikTeX 24.1
xelatex example.tex
compile one pdf normallyxelatex --shell-escape example.tex
raise the error as below:Is that
MikTeX
doesn't support the-shell-escape
option or just unsuitable for the packageexam-zh
of v2.1 on CTAN in this case? Tks!