Skip to content

Commit 5026f2b

Browse files
authored
Merge pull request #176 from BITNP/hotfix/175
hotfix: typo on doctor
2 parents 62f9e8c + 31bf162 commit 5026f2b

File tree

26 files changed

+758
-17
lines changed

26 files changed

+758
-17
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ Acronyms:
1313

1414
**Bolded text highlights its importance.**
1515

16+
## [3.0.3] - 2022-09-29
17+
18+
[62f9e8c](62f9e8c8e0ba0450306255e6728543d6213e34d3)...[a21ce51](a21ce5108a19241c1c0b917fe098b4e0498550cc)
19+
20+
### Hotfix
21+
22+
- Typo on doctor ([a21ce51](a21ce5108a19241c1c0b917fe098b4e0498550cc))
23+
1624
## [3.0.2] - 2022-09-17
1725

1826
[685afa3](685afa3d8f02fb898ca4fe995a5d89ae935d6fcf)...[0358a58](0358a58dd5e3a5d9084e2d6ef4a910f34c358f27)

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CLSFILE = dtx-style.sty bitart.cls bitbook.cls bitgrad.cls bitreport.cls bithesi
88
LATEXMK = latexmk
99

1010
SCAFFOLDDIR = ./templates
11+
TESTDIR = ./tests
1112

1213
# make deletion work on Windows
1314
ifdef SystemRoot
@@ -33,7 +34,7 @@ viewdoc: doc
3334

3435
clean:
3536
$(LATEXMK) -c $(PACKAGE).dtx
36-
-@$(RM) -r *.glo $(CLSFILE) _minted-bithesis
37+
-@$(RM) -r *.glo $(CLSFILE)
3738

3839
clean-dist:
3940
-@$(RM) -r $(PACKAGE).pdf
@@ -48,6 +49,7 @@ test: doc copy FORCE_MAKE
4849
cd $(SCAFFOLDDIR)/graduate-thesis && latexmk && cd ..
4950
cd $(SCAFFOLDDIR)/lab-report && latexmk && cd ..
5051
cd $(SCAFFOLDDIR)/presentation-slide && latexmk && cd ..
52+
cd $(TESTDIR)/doctor-thesis && latexmk && cd ..
5153

5254
regression-test: cls
5355
zsh ./scripts/regression-testing.zsh
@@ -57,6 +59,7 @@ copy: cls
5759
cp bithesis.cls $(SCAFFOLDDIR)/undergraduate-thesis-en
5860
cp bithesis.cls $(SCAFFOLDDIR)/paper-translation
5961
cp bithesis.cls $(SCAFFOLDDIR)/graduate-thesis
62+
cp bithesis.cls $(TESTDIR)/doctor-thesis
6063
cp bitreport.cls $(SCAFFOLDDIR)/undergraduate-proposal-report
6164
cp bitreport.cls $(SCAFFOLDDIR)/lab-report
6265
cp bitbeamer.cls $(SCAFFOLDDIR)/presentation-slide

bithesis.dtx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
%<thesis>\ProvidesExplClass{bithesis}
2222
%<report>\ProvidesExplClass{bitreport}
2323
%<beamer>\ProvidesExplClass{bitbeamer}
24-
%<cls>{2022-09-15}{3.0.1}{BIT Thesis Templates}
24+
%<cls>{2022-09-29}{3.0.3}{BIT Thesis Templates}
2525
%
2626
%<oldcls>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
2727
%<book>\ProvidesClass{bitbook}
@@ -30,7 +30,7 @@
3030
%<oldcls> [2022/05/09 v2.1.1 BIT Thesis Templates]
3131
%
3232
%<*driver>
33-
\ProvidesFile{bithesis.dtx}[2022/09/15 3.0.1 BIT Thesis Templates]
33+
\ProvidesFile{bithesis.dtx}[2022/09/29 3.0.3 BIT Thesis Templates]
3434
\documentclass[letterpaper]{l3doc}
3535
\usepackage{dtx-style}
3636

@@ -264,7 +264,7 @@
264264
%
265265
% \begin{function}{type}
266266
% \begin{bitsyntax}[emph={[1]type}]
267-
% type = (*<(bachelor)|\mbox{bachelor_translation}|\mbox{bachelor_english}|master|docter>*)
267+
% type = (*<(bachelor)|\mbox{bachelor_translation}|\mbox{bachelor_english}|master|doctor>*)
268268
% \end{bitsyntax}
269269
% 选择论文类型,它们分别对应:
270270
% \begin{itemize}
@@ -1380,7 +1380,7 @@
13801380
% 定义论文类型的列表。
13811381
% \begin{macrocode}
13821382
\clist_const:Nn \c_@@_thesis_type_clist
1383-
{ bachelor, bachelor_translation, bachelor_english, master, docter}
1383+
{ bachelor, bachelor_translation, bachelor_english, master, doctor}
13841384
% \end{macrocode}
13851385
% \end{variable}
13861386

@@ -3480,7 +3480,7 @@
34803480
\newif\if@bit@bachelor
34813481
\newif\if@bit@docTranslation
34823482
\newif\if@bit@master
3483-
\newif\if@bit@docter
3483+
\newif\if@bit@doctor
34843484

34853485
\RequirePackage{kvoptions}
34863486

templates/graduate-thesis/bithesis.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bithesis}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\int_new:N \g__bithesis_thesis_type_int
@@ -63,7 +63,7 @@
6363
\cs_new:Npn \__bithesis_if_doctor_thesis:TF #1#2 {\int_compare:nNnTF {\g__bithesis_thesis_type_int} = {5} {#1} {#2}}
6464

6565
\clist_const:Nn \c__bithesis_thesis_type_clist
66-
{ bachelor, bachelor_translation, bachelor_english, master, docter}
66+
{ bachelor, bachelor_translation, bachelor_english, master, doctor}
6767

6868
\cs_new_protected:Npn \__bithesis_define_label:nn #1#2
6969
{ \tl_const:cn { c__bithesis_label_ #1 _tl } {#2} }

templates/lab-report/bitreport.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bitreport}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\int_new:N \g__bithesis_report_type_int

templates/paper-translation/bithesis.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bithesis}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\int_new:N \g__bithesis_thesis_type_int
@@ -63,7 +63,7 @@
6363
\cs_new:Npn \__bithesis_if_doctor_thesis:TF #1#2 {\int_compare:nNnTF {\g__bithesis_thesis_type_int} = {5} {#1} {#2}}
6464

6565
\clist_const:Nn \c__bithesis_thesis_type_clist
66-
{ bachelor, bachelor_translation, bachelor_english, master, docter}
66+
{ bachelor, bachelor_translation, bachelor_english, master, doctor}
6767

6868
\cs_new_protected:Npn \__bithesis_define_label:nn #1#2
6969
{ \tl_const:cn { c__bithesis_label_ #1 _tl } {#2} }

templates/presentation-slide/bitbeamer.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bitbeamer}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\keys_define:nn { bitbeamer }

templates/undergraduate-proposal-report/bitreport.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bitreport}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\int_new:N \g__bithesis_report_type_int

templates/undergraduate-thesis-en/bithesis.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bithesis}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\int_new:N \g__bithesis_thesis_type_int
@@ -63,7 +63,7 @@
6363
\cs_new:Npn \__bithesis_if_doctor_thesis:TF #1#2 {\int_compare:nNnTF {\g__bithesis_thesis_type_int} = {5} {#1} {#2}}
6464

6565
\clist_const:Nn \c__bithesis_thesis_type_clist
66-
{ bachelor, bachelor_translation, bachelor_english, master, docter}
66+
{ bachelor, bachelor_translation, bachelor_english, master, doctor}
6767

6868
\cs_new_protected:Npn \__bithesis_define_label:nn #1#2
6969
{ \tl_const:cn { c__bithesis_label_ #1 _tl } {#2} }

templates/undergraduate-thesis/bithesis.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bithesis}
30-
{2022-09-15}{3.0.1}{BIT Thesis Templates}
30+
{2022-09-29}{3.0.3}{BIT Thesis Templates}
3131

3232

3333
\int_new:N \g__bithesis_thesis_type_int
@@ -63,7 +63,7 @@
6363
\cs_new:Npn \__bithesis_if_doctor_thesis:TF #1#2 {\int_compare:nNnTF {\g__bithesis_thesis_type_int} = {5} {#1} {#2}}
6464

6565
\clist_const:Nn \c__bithesis_thesis_type_clist
66-
{ bachelor, bachelor_translation, bachelor_english, master, docter}
66+
{ bachelor, bachelor_translation, bachelor_english, master, doctor}
6767

6868
\cs_new_protected:Npn \__bithesis_define_label:nn #1#2
6969
{ \tl_const:cn { c__bithesis_label_ #1 _tl } {#2} }

0 commit comments

Comments
 (0)