texlive[65799] Master/texmf-dist: bithesis (12feb23)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 12 22:00:36 CET 2023


Revision: 65799
          http://tug.org/svn/texlive?view=revision&revision=65799
Author:   karl
Date:     2023-02-12 22:00:36 +0100 (Sun, 12 Feb 2023)
Log Message:
-----------
bithesis (12feb23)

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	2023-02-12 04:02:23 UTC (rev 65798)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2023-02-12 21:00:36 UTC (rev 65799)
@@ -21,7 +21,7 @@
 %<thesis>\ProvidesExplClass{bithesis}
 %<report>\ProvidesExplClass{bitreport}
 %<beamer>\ProvidesExplClass{bitbeamer}
-%<cls>{2023-02-02}{3.3.0}{BIT Thesis Templates}
+%<cls>{2023-02-11}{3.3.1}{BIT Thesis Templates}
 %
 %<oldcls>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
 %<book>\ProvidesClass{bitbook}
@@ -30,7 +30,7 @@
 %<oldcls> [2022/05/09 v2.1.1 BIT Thesis Templates]
 %
 %<*driver>
-\ProvidesFile{bithesis.dtx}[2023/02/02 3.3.0 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2023/02/11 3.3.1 BIT Thesis Templates]
 \documentclass[letterpaper]{l3doc}
 \usepackage{dtx-style}
 
@@ -373,10 +373,10 @@
 % \subsubsection{手动四次编译}
 %
 % \begin{shell}
-% xelatex -no-pdf --interaction=nonstopmode main
-% biber main
-% xelatex -no-pdf --interaction=nonstopmode main
-% xelatex --interaction=nonstopmode main
+%   xelatex -no-pdf --interaction=nonstopmode main
+%   biber main
+%   xelatex -no-pdf --interaction=nonstopmode main
+%   xelatex --interaction=nonstopmode main
 % \end{shell}
 %
 % 运行bibtex的时候会提示一些错误,可能是~{{\sc Bib}\TeX}~对UTF-8支持不充
@@ -1376,7 +1376,7 @@
 %
 % \begin{latex}
 %   \unimathsetup{bold-style=ISO}
-%   \setmathfont{XITS Math}
+%   \setmathfont{XITSMath-Regular.otf}
 % \end{latex}
 %
 % \textit{请事先安装 XITS 字体。}
@@ -2242,10 +2242,12 @@
 %    \end{macrocode}
 %
 % 如果没有开启双面打印选项,则在 ctexbook 中开启单面打印选项。
+% 允许 chapter 直接另起一页(即使是偶数(左手)页)。
 %    \begin{macrocode}
 \bool_if:NTF \g_@@_twoside_bool {} {
-  \PassOptionsToClass{oneside,openany}{ctexbook}
+  \PassOptionsToClass{oneside}{ctexbook}
 }
+\PassOptionsToClass{openany}{ctexbook}
 %    \end{macrocode}
 %
 % 将 |bithesis/option/ctex| 中的值传递给 ctexbook 模板类。
@@ -2648,8 +2650,6 @@
 % 主体内容的页面样式。
 %    \begin{macrocode}
 \RenewDocumentCommand \mainmatter {} {
-  \cleardoublepage
-
   % 这部分的章节标题进行编号。
   \ctexset{
     chapter = {
@@ -3609,6 +3609,8 @@
         {4} {\@@_graduate_originality:}
         {5} {\@@_graduate_originality:}
       }
+    % 单独成页
+    \clearpage
     \end{blindPeerReview}
     \group_end:
   }
@@ -3674,6 +3676,9 @@
       \@@_if_thesis_int_type:nT {3} {
         \addcontentsline{toc}{chapter}{\c_@@_label_toc_en_tl}
       }
+
+      % 单独成页
+      \clearpage
     }
   }
 %    \end{macrocode}
@@ -3741,7 +3746,6 @@
 %    \begin{macrocode}
 \NewDocumentEnvironment {abstractEn} {}
   {
-    \cleardoublepage
     \setstretch{1.53}
 
     \@@_if_bachelor_thesis:T {
@@ -4212,6 +4216,9 @@
   }
   {
     \end{itemize}
+
+    % 单独一页
+    \clearpage
   }
 %    \end{macrocode}
 % \end{environment}

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2023-02-12 04:02:23 UTC (rev 65798)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2023-02-12 21:00:36 UTC (rev 65799)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bitbeamer}
-{2023-02-02}{3.3.0}{BIT Thesis Templates}
+{2023-02-11}{3.3.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	2023-02-12 04:02:23 UTC (rev 65798)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls	2023-02-12 21:00:36 UTC (rev 65799)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bithesis}
-{2023-02-02}{3.3.0}{BIT Thesis Templates}
+{2023-02-11}{3.3.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
@@ -401,8 +401,9 @@
   \PassOptionsToClass{scheme=plain}{ctexbook}
 }
 \bool_if:NTF \g__bithesis_twoside_bool {} {
-  \PassOptionsToClass{oneside,openany}{ctexbook}
+  \PassOptionsToClass{oneside}{ctexbook}
 }
+\PassOptionsToClass{openany}{ctexbook}
 \DeclareOption*{
   \PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
 }
@@ -714,8 +715,6 @@
   \pagestyle{BIThesis}
 }
 \RenewDocumentCommand \mainmatter {} {
-  \cleardoublepage
-
   % 这部分的章节标题进行编号。
   \ctexset{
     chapter = {
@@ -1471,6 +1470,8 @@
         {4} {\__bithesis_graduate_originality:}
         {5} {\__bithesis_graduate_originality:}
       }
+    % 单独成页
+    \clearpage
     \end{blindPeerReview}
     \group_end:
   }
@@ -1518,6 +1519,9 @@
       \__bithesis_if_thesis_int_type:nT {3} {
         \addcontentsline{toc}{chapter}{\c__bithesis_label_toc_en_tl}
       }
+
+      % 单独成页
+      \clearpage
     }
   }
 \NewDocumentEnvironment {abstract} {}
@@ -1573,7 +1577,6 @@
   }
 \NewDocumentEnvironment {abstractEn} {}
   {
-    \cleardoublepage
     \setstretch{1.53}
 
     \__bithesis_if_bachelor_thesis:T {
@@ -1983,6 +1986,9 @@
   }
   {
     \end{itemize}
+
+    % 单独一页
+    \clearpage
   }
 \endinput
 %%

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2023-02-12 04:02:23 UTC (rev 65798)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2023-02-12 21:00:36 UTC (rev 65799)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bitreport}
-{2023-02-02}{3.3.0}{BIT Thesis Templates}
+{2023-02-11}{3.3.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.