summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-30 19:57:48 +0000
committerKarl Berry <karl@freefriends.org>2024-05-30 19:57:48 +0000
commit478bcddf3d8bc90fe1267d75c9d77535d5fe7370 (patch)
treef657507cb5c483f81420602c22892f29d42516cf
parent504ee16abc171d2851d62e7ce9b9774febf766f6 (diff)
bithesis (30may24)
git-svn-id: svn://tug.org/texlive/trunk@71392 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bithesis/bithesis.pdfbin753733 -> 753551 bytes
-rw-r--r--Master/texmf-dist/source/latex/bithesis/bithesis.dtx14
-rw-r--r--Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls2
-rw-r--r--Master/texmf-dist/tex/latex/bithesis/bithesis.cls8
-rw-r--r--Master/texmf-dist/tex/latex/bithesis/bitreport.cls2
5 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf b/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
index 18d91aa9f7f..899c03fe267 100644
--- a/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
+++ b/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bithesis/bithesis.dtx b/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
index d510b85b789..ee8c1459638 100644
--- a/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
+++ b/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
@@ -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}
}
% 单独成页
diff --git a/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls b/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
index c4b56c3889f..2e500887306 100644
--- a/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
+++ b/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
@@ -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,
diff --git a/Master/texmf-dist/tex/latex/bithesis/bithesis.cls b/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
index 25ed8777c9b..39141be5f46 100644
--- a/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
+++ b/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
@@ -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
diff --git a/Master/texmf-dist/tex/latex/bithesis/bitreport.cls b/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
index 8e5184dd519..80b5485ff21 100644
--- a/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
+++ b/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
@@ -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}