texlive[73285] Master/texmf-dist: bithesis (3jan25)

commits+karl at tug.org commits+karl at tug.org
Fri Jan 3 23:48:47 CET 2025


Revision: 73285
          https://tug.org/svn/texlive?view=revision&revision=73285
Author:   karl
Date:     2025-01-03 23:48:47 +0100 (Fri, 03 Jan 2025)
Log Message:
-----------
bithesis (3jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
    trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
    trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
    trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
    trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls

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

Modified: trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2025-01-03 22:48:37 UTC (rev 73284)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2025-01-03 22:48:47 UTC (rev 73285)
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2023
-% Association of Bit Network Pioneer and any individual authors listed elsewhere in this file.
+% Copyright (C) 2025
+% Net Pioneer Association of BIT and any individual authors listed elsewhere in this file.
 % -----------------------------------
 %
 % This work may be distributed and/or modified under the
@@ -21,10 +21,10 @@
 %<thesis>\ProvidesExplClass{bithesis}
 %<report>\ProvidesExplClass{bitreport}
 %<beamer>\ProvidesExplClass{bitbeamer}
-%<cls>{2024-10-07}{3.8.0}{BIT Thesis Templates}
+%<cls>{2025-01-03}{3.8.1}{BIT Thesis Templates}
 %
 %<*driver>
-\ProvidesFile{bithesis.dtx}[2024/10/07 3.8.0 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2025/01/03 3.8.1 BIT Thesis Templates]
 \documentclass[letterpaper]{l3doc}
 \usepackage{dtx-style}
 
@@ -3133,15 +3133,18 @@
 % \begin{macro}{\pubsection}
 % 设置小标题。
 %    \begin{macrocode}
-\NewDocumentCommand \pubsection {m} {
+\NewDocumentCommand \pubsection {s m} {
   {
-    % 自增计数器
-    \par\stepcounter{pub}
+    \par
+    \IfBooleanF {#1} {
+      % 自增计数器
+      \stepcounter{pub}
+    }
     % 设置小标题,暂时没有考虑英文模式
     \noindent
     \textbf{
       \heiti{
-        \zhnumber{\thepub}、#1
+        \IfBooleanF {#1} {\zhnumber{\thepub}、}#2
       }
     }\par
   }

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2025-01-03 22:48:37 UTC (rev 73284)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2025-01-03 22:48:47 UTC (rev 73285)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bitbeamer}
-{2024-10-07}{3.8.0}{BIT Thesis Templates}
+{2025-01-03}{3.8.1}{BIT Thesis Templates}
 \keys_define:nn { bitbeamer }
   {
     titlegraphic .tl_set:N = \l_bit_titlegraphic_tl,

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls	2025-01-03 22:48:37 UTC (rev 73284)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls	2025-01-03 22:48:47 UTC (rev 73285)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bithesis}
-{2024-10-07}{3.8.0}{BIT Thesis Templates}
+{2025-01-03}{3.8.1}{BIT Thesis Templates}
 \int_new:N \g__bithesis_thesis_type_int
 \int_new:N \g__bithesis_head_zihao_int
 \bool_new:N \g__bithesis_twoside_bool
@@ -2410,15 +2410,18 @@
   % apply a clist
   \clist_map_function:nN {#1} \addpub
 }
-\NewDocumentCommand \pubsection {m} {
+\NewDocumentCommand \pubsection {s m} {
   {
-    % 自增计数器
-    \par\stepcounter{pub}
+    \par
+    \IfBooleanF {#1} {
+      % 自增计数器
+      \stepcounter{pub}
+    }
     % 设置小标题,暂时没有考虑英文模式
     \noindent
     \textbf{
       \heiti{
-        \zhnumber{\thepub}、#1
+        \IfBooleanF {#1} {\zhnumber{\thepub}、}#2
       }
     }\par
   }

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2025-01-03 22:48:37 UTC (rev 73284)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2025-01-03 22:48:47 UTC (rev 73285)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bitreport}
-{2024-10-07}{3.8.0}{BIT Thesis Templates}
+{2025-01-03}{3.8.1}{BIT Thesis Templates}
 \int_new:N \g__bithesis_report_type_int
 \clist_const:Nn \c__bithesis_report_type_clist
     { common, undergraduate_proposal}



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