Skip to content

Commit 7b5d9a2

Browse files
committed
Update image file names and references
1 parent e64f311 commit 7b5d9a2

File tree

4 files changed

+40
-37
lines changed

4 files changed

+40
-37
lines changed

bibstyle/thuthesis-author-year.bst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ FUNCTION {extract.after.slash}
13141314

13151315
FUNCTION {format.year}
13161316
{ year empty$ not
1317-
{ year extract.before.slash extra.label * }
1317+
{ year extra.label * }
13181318
{ date empty$ not
13191319
{ date extract.before.dash extra.label * }
13201320
{ entry.is.electronic not
@@ -1494,7 +1494,7 @@ FUNCTION {format.periodical.year.volume.number}
14941494

14951495
FUNCTION {check.url}
14961496
{ url empty$ not
1497-
{ "\url{" url * "}" * 'entry.url :=
1497+
{ url 'entry.url :=
14981498
#1 'entry.is.electronic :=
14991499
}
15001500
{ howpublished empty$ not
@@ -1525,7 +1525,11 @@ FUNCTION {output.url}
15251525
{ show.url is.pure.electronic or
15261526
entry.url empty$ not and
15271527
{ new.block
1528-
entry.url output
1528+
entry.url #1 #5 substring$ "\url{" =
1529+
{ entry.url }
1530+
{ "\url{" entry.url * "}" * }
1531+
if$
1532+
output
15291533
}
15301534
'skip$
15311535
if$
@@ -1545,8 +1549,8 @@ FUNCTION {is.in.url}
15451549
{ entry.url empty$
15461550
{ #0 }
15471551
{ s text.length$ 'len :=
1548-
entry.url text.length$ 'charptr :=
1549-
{ entry.url charptr len substring$ s = not
1552+
entry.url "l" change.case$ text.length$ 'charptr :=
1553+
{ entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not
15501554
charptr #0 >
15511555
and
15521556
}
@@ -2073,7 +2077,7 @@ FUNCTION {map}
20732077

20742078
FUNCTION {manual} { monograph }
20752079

2076-
FUNCTION {thesis}
2080+
FUNCTION {mastersthesis}
20772081
{ "D" set.entry.mark
20782082
monograph
20792083
}
@@ -2088,9 +2092,7 @@ FUNCTION {online}
20882092
electronic
20892093
}
20902094

2091-
FUNCTION {mastersthesis} { thesis }
2092-
2093-
FUNCTION {phdthesis} { thesis }
2095+
FUNCTION {phdthesis} { mastersthesis }
20942096

20952097
FUNCTION {proceedings}
20962098
{ "C" set.entry.mark
@@ -2107,13 +2109,11 @@ FUNCTION {standard}
21072109
misc
21082110
}
21092111

2110-
FUNCTION {report}
2112+
FUNCTION {techreport}
21112113
{ "R" set.entry.mark
21122114
misc
21132115
}
21142116

2115-
FUNCTION {techreport} { report }
2116-
21172117
FUNCTION {unpublished} { misc }
21182118

21192119
FUNCTION {default.type} { misc }

bibstyle/thuthesis-bachelor.bst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ FUNCTION {extract.after.slash}
13041304

13051305
FUNCTION {format.year}
13061306
{ year empty$ not
1307-
{ year extract.before.slash extra.label * }
1307+
{ year extra.label * }
13081308
{ date empty$ not
13091309
{ date extract.before.dash extra.label * }
13101310
{ entry.is.electronic not
@@ -1484,7 +1484,7 @@ FUNCTION {format.periodical.year.volume.number}
14841484

14851485
FUNCTION {check.url}
14861486
{ url empty$ not
1487-
{ "\url{" url * "}" * 'entry.url :=
1487+
{ url 'entry.url :=
14881488
#1 'entry.is.electronic :=
14891489
}
14901490
{ howpublished empty$ not
@@ -1515,7 +1515,11 @@ FUNCTION {output.url}
15151515
{ show.url is.pure.electronic or
15161516
entry.url empty$ not and
15171517
{ new.block
1518-
entry.url output
1518+
entry.url #1 #5 substring$ "\url{" =
1519+
{ entry.url }
1520+
{ "\url{" entry.url * "}" * }
1521+
if$
1522+
output
15191523
}
15201524
'skip$
15211525
if$
@@ -1535,8 +1539,8 @@ FUNCTION {is.in.url}
15351539
{ entry.url empty$
15361540
{ #0 }
15371541
{ s text.length$ 'len :=
1538-
entry.url text.length$ 'charptr :=
1539-
{ entry.url charptr len substring$ s = not
1542+
entry.url "l" change.case$ text.length$ 'charptr :=
1543+
{ entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not
15401544
charptr #0 >
15411545
and
15421546
}
@@ -2063,7 +2067,7 @@ FUNCTION {map}
20632067

20642068
FUNCTION {manual} { monograph }
20652069

2066-
FUNCTION {thesis}
2070+
FUNCTION {mastersthesis}
20672071
{ "D" set.entry.mark
20682072
monograph
20692073
}
@@ -2078,9 +2082,7 @@ FUNCTION {online}
20782082
electronic
20792083
}
20802084

2081-
FUNCTION {mastersthesis} { thesis }
2082-
2083-
FUNCTION {phdthesis} { thesis }
2085+
FUNCTION {phdthesis} { mastersthesis }
20842086

20852087
FUNCTION {proceedings}
20862088
{ "C" set.entry.mark
@@ -2097,13 +2099,11 @@ FUNCTION {standard}
20972099
misc
20982100
}
20992101

2100-
FUNCTION {report}
2102+
FUNCTION {techreport}
21012103
{ "R" set.entry.mark
21022104
misc
21032105
}
21042106

2105-
FUNCTION {techreport} { report }
2106-
21072107
FUNCTION {unpublished} { misc }
21082108

21092109
FUNCTION {default.type} { misc }

bibstyle/thuthesis-numeric.bst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ FUNCTION {extract.after.slash}
13041304

13051305
FUNCTION {format.year}
13061306
{ year empty$ not
1307-
{ year extract.before.slash extra.label * }
1307+
{ year extra.label * }
13081308
{ date empty$ not
13091309
{ date extract.before.dash extra.label * }
13101310
{ entry.is.electronic not
@@ -1484,7 +1484,7 @@ FUNCTION {format.periodical.year.volume.number}
14841484

14851485
FUNCTION {check.url}
14861486
{ url empty$ not
1487-
{ "\url{" url * "}" * 'entry.url :=
1487+
{ url 'entry.url :=
14881488
#1 'entry.is.electronic :=
14891489
}
14901490
{ howpublished empty$ not
@@ -1515,7 +1515,11 @@ FUNCTION {output.url}
15151515
{ show.url is.pure.electronic or
15161516
entry.url empty$ not and
15171517
{ new.block
1518-
entry.url output
1518+
entry.url #1 #5 substring$ "\url{" =
1519+
{ entry.url }
1520+
{ "\url{" entry.url * "}" * }
1521+
if$
1522+
output
15191523
}
15201524
'skip$
15211525
if$
@@ -1535,8 +1539,8 @@ FUNCTION {is.in.url}
15351539
{ entry.url empty$
15361540
{ #0 }
15371541
{ s text.length$ 'len :=
1538-
entry.url text.length$ 'charptr :=
1539-
{ entry.url charptr len substring$ s = not
1542+
entry.url "l" change.case$ text.length$ 'charptr :=
1543+
{ entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not
15401544
charptr #0 >
15411545
and
15421546
}
@@ -2063,7 +2067,7 @@ FUNCTION {map}
20632067

20642068
FUNCTION {manual} { monograph }
20652069

2066-
FUNCTION {thesis}
2070+
FUNCTION {mastersthesis}
20672071
{ "D" set.entry.mark
20682072
monograph
20692073
}
@@ -2078,9 +2082,7 @@ FUNCTION {online}
20782082
electronic
20792083
}
20802084

2081-
FUNCTION {mastersthesis} { thesis }
2082-
2083-
FUNCTION {phdthesis} { thesis }
2085+
FUNCTION {phdthesis} { mastersthesis }
20842086

20852087
FUNCTION {proceedings}
20862088
{ "C" set.entry.mark
@@ -2097,13 +2099,11 @@ FUNCTION {standard}
20972099
misc
20982100
}
20992101

2100-
FUNCTION {report}
2102+
FUNCTION {techreport}
21012103
{ "R" set.entry.mark
21022104
misc
21032105
}
21042106

2105-
FUNCTION {techreport} { report }
2106-
21072107
FUNCTION {unpublished} { misc }
21082108

21092109
FUNCTION {default.type} { misc }

sudathesis.cls

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%% @Description :
55
%% @Email : [email protected]
66
%% @FilePath : /sudathesis-soochow-university-latex-template/sudathesis.cls
7-
%% @LastTime : 2024-05-04 18:53:42
7+
%% @LastTime : 2024-05-21 23:40:26
88
%% @LastAuthor : Albert Wang
99
%% @Software : Vscode
1010
%% @ Copyright Notice : Copyright (c) 2023 Albert Wang 王子睿, All Rights Reserved.
@@ -2031,10 +2031,12 @@
20312031
subsection = {
20322032
name = {,、},
20332033
number = \chinese{subsection},
2034+
aftername = {},
20342035
},
20352036
subsubsection = {
20362037
name = {(,)},
20372038
number = \chinese{subsubsection},
2039+
aftername = {},
20382040
},
20392041
}%
20402042
\fi
@@ -2851,6 +2853,7 @@
28512853
}
28522854
\thu@set@student@id
28532855
\thu@option@hook{thesis-type}{\thu@set@student@id}
2856+
\thu@option@hook{student-id}{\thu@set@student@id}
28542857
\newcommand\thu@titlepage@secret{%
28552858
\sffamily\sanhao
28562859
\ifx\thu@secret@level\@empty

0 commit comments

Comments
 (0)