texlive[71753] Master/texmf-dist: jnuexam (9jul24)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 9 22:04:44 CEST 2024


Revision: 71753
          https://tug.org/svn/texlive?view=revision&revision=71753
Author:   karl
Date:     2024-07-09 22:04:44 +0200 (Tue, 09 Jul 2024)
Log Message:
-----------
jnuexam (9jul24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-a-answer.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-a-blank.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-b-answer.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-b-blank.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-a-answer.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-a-blank.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-b-answer.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-b-blank.pdf
    trunk/Master/texmf-dist/doc/latex/jnuexam/jnuexam.pdf
    trunk/Master/texmf-dist/tex/latex/jnuexam/jnuexam.cls

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-a-answer.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-a-blank.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-b-answer.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfc-b-blank.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-a-answer.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-a-blank.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-b-answer.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/examfe-b-blank.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jnuexam/jnuexam.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/jnuexam/jnuexam.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jnuexam/jnuexam.cls	2024-07-09 20:04:31 UTC (rev 71752)
+++ trunk/Master/texmf-dist/tex/latex/jnuexam/jnuexam.cls	2024-07-09 20:04:44 UTC (rev 71753)
@@ -6,7 +6,7 @@
 % ----------------------------------------------------------------------------
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jnuexam}[2024-02-18 v2024E An exam class for Jinan University]
+\ProvidesClass{jnuexam}[2024-07-09 v2024F An exam class for Jinan University]
 
 %% 旧版本的 LaTeX 不能识别 2022-11-01 这种日期格式
 %\@ifl at t@r\fmtversion{2022-11-01}{}{
@@ -521,9 +521,10 @@
   \let\doscratchpaper=\doscratchpaperone
 }
 
-% 在旧版本 ctex 宏包中不能用 \AtEndDocument 添加含中文的内容,即不能用 \appto 而要用 \preto
+%% 此时 \AtEndDocument{...} 等价于 \AddToHook{enddocument}[jnuexam]{...}
+%% 而且默认会在 \AddToHook{enddocument}[randexam]{...} 所加的代码之后执行
 \newcommand{\addscratchpaper}{
-  \preto{\@enddocumenthook}{\doscratchpaper}
+  \AtEndDocument{\doscratchpaper}
 }
 
 \IfExamBoolF{plain}{\IfExamBoolF{answer}{\addscratchpaper}}
@@ -534,6 +535,7 @@
 
 \DeclareExamTheme{final-chinese}{
   \SetExamOption{chinese}
+  \SetExamBoolTrue{evaluator}
   \SelectExamTranslation{chinese}
   \SetExamValue{exampart}{number=\Chinese}
   \SelectExamTemplate{examtitle}{final-chinese}



More information about the tex-live-commits mailing list.