texlive[71392] Master/texmf-dist: bithesis (30may24)
commits+karl at tug.org
commits+karl at tug.org
Thu May 30 21:57:49 CEST 2024
Revision: 71392
https://tug.org/svn/texlive?view=revision&revision=71392
Author: karl
Date: 2024-05-30 21:57:48 +0200 (Thu, 30 May 2024)
Log Message:
-----------
bithesis (30may24)
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 2024-05-30 19:57:39 UTC (rev 71391)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx 2024-05-30 19:57:48 UTC (rev 71392)
@@ -21,10 +21,10 @@
%<thesis>\ProvidesExplClass{bithesis}
%<report>\ProvidesExplClass{bitreport}
%<beamer>\ProvidesExplClass{bitbeamer}
-%<cls>{2024-05-27}{3.7.8}{BIT Thesis Templates}
+%<cls>{2024-05-30}{3.7.9}{BIT Thesis Templates}
%
%<*driver>
-\ProvidesFile{bithesis.dtx}[2024/05/27 3.7.8 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2024/05/30 3.7.9 BIT Thesis Templates]
\documentclass[letterpaper]{l3doc}
\usepackage{dtx-style}
@@ -216,6 +216,7 @@
% \begin{macrocode}
\cs_new:Npn \@@_if_thesis_int_type:nTF #1#2#3 {\int_compare:nNnTF {\g_@@_thesis_type_int} = {#1} {#2} {#3}}
\cs_new:Npn \@@_if_thesis_int_type:nT #1#2 {\@@_if_thesis_int_type:nTF {#1} {#2} {}}
+\cs_new:Npn \__bithesis_if_thesis_int_type:nF #1#2 {\__bithesis_if_thesis_int_type:nTF {#1} {} {#2}}
% \end{macrocode}
% \end{macro}
@@ -2694,13 +2695,16 @@
}
% 添加目录书签
- \currentpdfbookmark{\c__bithesis_label_toc_tl}{ch:toc}
+ \__bithesis_if_thesis_int_type:nF {3} {
+ \currentpdfbookmark{\c__bithesis_label_toc_tl}{ch:toc}
+ }
+
% 制作目录
\tableofcontents
% 在本科生全英文模板中,添加「目录」本身到目录中。
- \@@_if_thesis_int_type:nT {3} {
- \addcontentsline{toc}{chapter}{\c_@@_label_toc_en_tl}
+ \__bithesis_if_thesis_int_type:nT {3} {
+ \addcontentsline{toc}{chapter}{\c__bithesis_label_toc_en_tl}
}
% 单独成页
Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls 2024-05-30 19:57:39 UTC (rev 71391)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls 2024-05-30 19:57:48 UTC (rev 71392)
@@ -27,7 +27,7 @@
%%
\RequirePackage{expl3,l3keys2e}
\ProvidesExplClass{bitbeamer}
-{2024-05-27}{3.7.8}{BIT Thesis Templates}
+{2024-05-30}{3.7.9}{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 2024-05-30 19:57:39 UTC (rev 71391)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls 2024-05-30 19:57:48 UTC (rev 71392)
@@ -27,7 +27,7 @@
%%
\RequirePackage{expl3,l3keys2e}
\ProvidesExplClass{bithesis}
-{2024-05-27}{3.7.8}{BIT Thesis Templates}
+{2024-05-30}{3.7.9}{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
@@ -79,6 +79,7 @@
\cs_new:Npn \__bithesis_if_thesis_int_type:nTF #1#2#3 {\int_compare:nNnTF {\g__bithesis_thesis_type_int} = {#1} {#2} {#3}}
\cs_new:Npn \__bithesis_if_thesis_int_type:nT #1#2 {\__bithesis_if_thesis_int_type:nTF {#1} {#2} {}}
+\cs_new:Npn \__bithesis_if_thesis_int_type:nF #1#2 {\__bithesis_if_thesis_int_type:nTF {#1} {} {#2}}
\cs_new:Npn \__bithesis_if_thesis_english:TF #1#2 {\bool_if:nTF {\g__bithesis_thesis_type_english_bool} {#1} {#2}}
\cs_new:Npn \__bithesis_if_thesis_english:T #1 {\__bithesis_if_thesis_english:TF {#1}{}}
@@ -2032,7 +2033,10 @@
}
% 添加目录书签
- \currentpdfbookmark{\c__bithesis_label_toc_tl}{ch:toc}
+ \__bithesis_if_thesis_int_type:nF {3} {
+ \currentpdfbookmark{\c__bithesis_label_toc_tl}{ch:toc}
+ }
+
% 制作目录
\tableofcontents
Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls 2024-05-30 19:57:39 UTC (rev 71391)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls 2024-05-30 19:57:48 UTC (rev 71392)
@@ -27,7 +27,7 @@
%%
\RequirePackage{expl3,l3keys2e}
\ProvidesExplClass{bitreport}
-{2024-05-27}{3.7.8}{BIT Thesis Templates}
+{2024-05-30}{3.7.9}{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.