texlive[67443] Master/texmf-dist: exam-zh (22jun23)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 22 22:41:40 CEST 2023


Revision: 67443
          http://tug.org/svn/texlive?view=revision&revision=67443
Author:   karl
Date:     2023-06-22 22:41:40 +0200 (Thu, 22 Jun 2023)
Log Message:
-----------
exam-zh (22jun23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
    trunk/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdf
    trunk/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex
    trunk/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdf
    trunk/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdf
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty
    trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls

Modified: trunk/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md	2023-06-22 20:41:40 UTC (rev 67443)
@@ -5,9 +5,17 @@
 格式参照 [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 并且此项目遵守 [Semantic Versioning](https://semver.org/spec/v2.0.0.html)。
 
+## [0.1.26] - 2023-06-22
 
-## [0.1.25] - 2023-06-01
 
+### Fixed
+
+- 修复 `choices` 环境的 `columns` 失效问题(#I7FBVF)
+
+
+
+## [0.1.25] - 2023-05-25
+
 ### Changed
 
 - 修改 `\sim*` 的效果为原来的 `\sim`(I6Z0MD)

Modified: trunk/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex	2023-06-22 20:41:40 UTC (rev 67443)
@@ -1,7 +1,7 @@
 \documentclass{xdyydoc}
 
 \newcommand{\DocDate}{2022-10-4}
-\newcommand{\DocVersion}{v0.1.25}
+\newcommand{\DocVersion}{v0.1.26}
 \input{exam-zh-doc-setup.tex}
 \usepackage{amssymb}
 

Modified: trunk/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty	2023-06-22 20:41:40 UTC (rev 67443)
@@ -8,7 +8,7 @@
 
 \RequirePackage{expl3}
 
-\ProvidesExplPackage {exam-zh-chinese-english} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-chinese-english} {2023-06-22} {v0.1.26}
   {exam-zh chinese and english module}
 
 \PassOptionsToPackage { tcolorbox } { most }

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty	2023-06-22 20:41:40 UTC (rev 67443)
@@ -9,7 +9,7 @@
 \RequirePackage{expl3}
 \RequirePackage{xparse}
 
-\ProvidesExplPackage {exam-zh-choices} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-choices} {2023-06-22} {v0.1.26}
   {exam-zh choices module}
 
 \dim_new:N \l__examzh_choices_column_sep_dim
@@ -124,12 +124,14 @@
     % 用户没有输入的话就采用自动计算列数
     \int_compare:nNnT { \l__examzh_choices_columns_int } < {1}
       { \__examzh_choices_calc_columns: }
+    % 解决 columns 无效的问题
+    \keys_set:nn { exam-zh / choices } {#1}
     % 计算每个选项内容的宽度 \l__examzh_choices_item_width_dim
     \__examzh_choices_calc_item_width:
     % 输出选项
     \__examzh_print_choices:N \l__examzh_choices_seq
     % 输出正确选项
-    \__examzh_print_correctchoice:
+    % \__examzh_print_correctchoice:
     \vspace* { \l__examzh_choices_bottom_sep_skip }
   }
 

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty	2023-06-22 20:41:40 UTC (rev 67443)
@@ -9,7 +9,7 @@
 \RequirePackage{expl3}
 \RequirePackage{xparse}
 
-\ProvidesExplPackage {exam-zh-font} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-font} {2023-06-22} {v0.1.26}
   {exam-zh font module}
 
 \RequirePackage { unicode-math }

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty	2023-06-22 20:41:40 UTC (rev 67443)
@@ -9,7 +9,7 @@
 \RequirePackage{expl3}
 \RequirePackage{xparse}
 
-\ProvidesExplPackage {exam-zh-question} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-question} {2023-06-22} {v0.1.26}
   {exam-zh question module}
 
 
@@ -1612,12 +1612,14 @@
   {
     % \addvspace { \l__examzh_solution_top_sep_skip }
     \keys_set:nn { exam-zh / solution } {#1}
-    \vspace { \l__examzh_solution_top_sep_skip }
     % 放在这是使得 \examsetup 设置 qedsymbol 可以放在正文区
     \cs_set_eq:NN \qedsymbol \l__examzh_solution_qedsymbol_tl
     \bool_if:NTF \l__examzh_solution_show_bool
       {
+        \vspace { \l__examzh_solution_top_sep_skip }
         \__examzh_solution_print_answer:n {#2}
+        \par    
+        \vspace { \l__examzh_solution_bottom_sep_skip }
       }
       {
         \str_case:VnF \l__examzh_solution_blank_type_str
@@ -1631,7 +1633,6 @@
     \par
     % \mode_leave_vertical:
     % \addvspace { \l__examzh_solution_bottom_sep_skip }
-    \vspace { \l__examzh_solution_bottom_sep_skip }
   }
   {}
 \cs_new:Npn \__examzh_solution_simply_hide_solution:n #1

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty	2023-06-22 20:41:40 UTC (rev 67443)
@@ -8,7 +8,7 @@
 
 \RequirePackage{expl3}
 
-\ProvidesExplPackage {exam-zh-symbols} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-symbols} {2023-06-22} {v0.1.26}
   {exam-zh symbols module}
 
 \RequirePackage { tikz }

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty	2023-06-22 20:41:40 UTC (rev 67443)
@@ -7,7 +7,7 @@
 
 \RequirePackage{expl3}
 
-\ProvidesExplPackage {exam-zh-textfigure} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-textfigure} {2023-06-22} {v0.1.26}
   {exam-zh text with figure module}
 
 

Modified: trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls	2023-06-22 20:41:27 UTC (rev 67442)
+++ trunk/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls	2023-06-22 20:41:40 UTC (rev 67443)
@@ -6,7 +6,7 @@
 
 \NeedsTeXFormat{LaTeX2e}[2017/04/15]
 \RequirePackage{expl3}
-\ProvidesExplClass {exam-zh} {2023-06-01} {v0.1.25} {LaTeX template for Chinese exam}
+\ProvidesExplClass {exam-zh} {2023-06-22} {v0.1.26} {LaTeX template for Chinese exam}
 
 % 检查 LaTeX2e kernel 版本
 \msg_new:nnn { exam-zh } { latex-too-old }
@@ -661,7 +661,7 @@
   }
 
 % 科目
-\tl_new:N \l__exam_zh_subject_tl
+\tl_new:N \l__examzh_subject_tl
 \NewDocumentCommand \subject { o m }
   {
     \IfNoValueTF {#1}
@@ -669,7 +669,7 @@
         % 默认使用自然宽度
         \hbox_set:Nn \l_tmpa_box {#2}
         \dim_set:Nn \l_tmpa_dim { \box_wd:N \l_tmpa_box * 2 }
-        \tl_set:Nn \l__exam_zh_subject_tl
+        \tl_set:Nn \l__examzh_subject_tl
           {
             \__examzh_spread_box:nn { \l_tmpa_dim } {#2}
           }
@@ -676,7 +676,7 @@
       }
       {
         % 手动调整宽度
-        \tl_set:Nn \l__exam_zh_subject_tl
+        \tl_set:Nn \l__examzh_subject_tl
           {
             \__examzh_spread_box:nn {#1} {#2}
           }
@@ -691,10 +691,10 @@
     \begin { center }
       \let \footnote \thanks
       { \l__examzh_title_format_tl \@title \par }
-      \tl_if_blank:VF \l__exam_zh_subject_tl
+      \tl_if_blank:VF \l__examzh_subject_tl
         {
           \addvspace { 1em }
-          { \l__examzh_subject_format_tl \l__exam_zh_subject_tl }
+          { \l__examzh_subject_format_tl \l__examzh_subject_tl }
         }
     \end { center }
     \par
@@ -1805,7 +1805,7 @@
                   {
                     \small
                     \use:c { __examzh_foot_content_a4paper_output: }
-                    % \l__exam_zh_subject_tl 试题第 \thepage { } 页(共 \pageref { LastPage } ~ 页)
+                    % \l__examzh_subject_tl 试题第 \thepage { } 页(共 \pageref { LastPage } ~ 页)
                   }
               }
           }
@@ -1820,7 +1820,7 @@
                     \fancyfoot [ C ]
                       {
                         \small
-                        % \l__exam_zh_subject_tl 试题第 \thepage { } 页(共 \pageref { LastPage } ~ 页)
+                        % \l__examzh_subject_tl 试题第 \thepage { } 页(共 \pageref { LastPage } ~ 页)
                         \use:c { __examzh_foot_content_a3paper_common_output: }
                       }
                   }
@@ -1832,7 +1832,7 @@
                           {
                             \small
                             \use:c { __examzh_foot_content_a3paper_separate_left_output: }
-                            % \l__exam_zh_subject_tl 试题第 
+                            % \l__examzh_subject_tl 试题第 
                             % % \thepage 
                             % \int_eval:n { 2 * \c at page - 1 }
                             % { } 页
@@ -1852,7 +1852,7 @@
                             % % \int_gincr:N \c at page
                             % \int_set:Nn \l__examzh_tmp_int { \lastpage at lastpage }
                             
-                            % \l__exam_zh_subject_tl 试题第 
+                            % \l__examzh_subject_tl 试题第 
                             % \int_eval:n { 2 * \c at page }
                             % { } 
                             % 页



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