Skip to content

Commit

Permalink
Update image file names and references
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowofgost committed May 21, 2024
1 parent e64f311 commit 7b5d9a2
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 37 deletions.
24 changes: 12 additions & 12 deletions bibstyle/thuthesis-author-year.bst
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ FUNCTION {extract.after.slash}

FUNCTION {format.year}
{ year empty$ not
{ year extract.before.slash extra.label * }
{ year extra.label * }
{ date empty$ not
{ date extract.before.dash extra.label * }
{ entry.is.electronic not
Expand Down Expand Up @@ -1494,7 +1494,7 @@ FUNCTION {format.periodical.year.volume.number}

FUNCTION {check.url}
{ url empty$ not
{ "\url{" url * "}" * 'entry.url :=
{ url 'entry.url :=
#1 'entry.is.electronic :=
}
{ howpublished empty$ not
Expand Down Expand Up @@ -1525,7 +1525,11 @@ FUNCTION {output.url}
{ show.url is.pure.electronic or
entry.url empty$ not and
{ new.block
entry.url output
entry.url #1 #5 substring$ "\url{" =
{ entry.url }
{ "\url{" entry.url * "}" * }
if$
output
}
'skip$
if$
Expand All @@ -1545,8 +1549,8 @@ FUNCTION {is.in.url}
{ entry.url empty$
{ #0 }
{ s text.length$ 'len :=
entry.url text.length$ 'charptr :=
{ entry.url charptr len substring$ s = not
entry.url "l" change.case$ text.length$ 'charptr :=
{ entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not
charptr #0 >
and
}
Expand Down Expand Up @@ -2073,7 +2077,7 @@ FUNCTION {map}

FUNCTION {manual} { monograph }

FUNCTION {thesis}
FUNCTION {mastersthesis}
{ "D" set.entry.mark
monograph
}
Expand All @@ -2088,9 +2092,7 @@ FUNCTION {online}
electronic
}

FUNCTION {mastersthesis} { thesis }

FUNCTION {phdthesis} { thesis }
FUNCTION {phdthesis} { mastersthesis }

FUNCTION {proceedings}
{ "C" set.entry.mark
Expand All @@ -2107,13 +2109,11 @@ FUNCTION {standard}
misc
}

FUNCTION {report}
FUNCTION {techreport}
{ "R" set.entry.mark
misc
}

FUNCTION {techreport} { report }

FUNCTION {unpublished} { misc }

FUNCTION {default.type} { misc }
Expand Down
24 changes: 12 additions & 12 deletions bibstyle/thuthesis-bachelor.bst
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ FUNCTION {extract.after.slash}

FUNCTION {format.year}
{ year empty$ not
{ year extract.before.slash extra.label * }
{ year extra.label * }
{ date empty$ not
{ date extract.before.dash extra.label * }
{ entry.is.electronic not
Expand Down Expand Up @@ -1484,7 +1484,7 @@ FUNCTION {format.periodical.year.volume.number}

FUNCTION {check.url}
{ url empty$ not
{ "\url{" url * "}" * 'entry.url :=
{ url 'entry.url :=
#1 'entry.is.electronic :=
}
{ howpublished empty$ not
Expand Down Expand Up @@ -1515,7 +1515,11 @@ FUNCTION {output.url}
{ show.url is.pure.electronic or
entry.url empty$ not and
{ new.block
entry.url output
entry.url #1 #5 substring$ "\url{" =
{ entry.url }
{ "\url{" entry.url * "}" * }
if$
output
}
'skip$
if$
Expand All @@ -1535,8 +1539,8 @@ FUNCTION {is.in.url}
{ entry.url empty$
{ #0 }
{ s text.length$ 'len :=
entry.url text.length$ 'charptr :=
{ entry.url charptr len substring$ s = not
entry.url "l" change.case$ text.length$ 'charptr :=
{ entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not
charptr #0 >
and
}
Expand Down Expand Up @@ -2063,7 +2067,7 @@ FUNCTION {map}

FUNCTION {manual} { monograph }

FUNCTION {thesis}
FUNCTION {mastersthesis}
{ "D" set.entry.mark
monograph
}
Expand All @@ -2078,9 +2082,7 @@ FUNCTION {online}
electronic
}

FUNCTION {mastersthesis} { thesis }

FUNCTION {phdthesis} { thesis }
FUNCTION {phdthesis} { mastersthesis }

FUNCTION {proceedings}
{ "C" set.entry.mark
Expand All @@ -2097,13 +2099,11 @@ FUNCTION {standard}
misc
}

FUNCTION {report}
FUNCTION {techreport}
{ "R" set.entry.mark
misc
}

FUNCTION {techreport} { report }

FUNCTION {unpublished} { misc }

FUNCTION {default.type} { misc }
Expand Down
24 changes: 12 additions & 12 deletions bibstyle/thuthesis-numeric.bst
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ FUNCTION {extract.after.slash}

FUNCTION {format.year}
{ year empty$ not
{ year extract.before.slash extra.label * }
{ year extra.label * }
{ date empty$ not
{ date extract.before.dash extra.label * }
{ entry.is.electronic not
Expand Down Expand Up @@ -1484,7 +1484,7 @@ FUNCTION {format.periodical.year.volume.number}

FUNCTION {check.url}
{ url empty$ not
{ "\url{" url * "}" * 'entry.url :=
{ url 'entry.url :=
#1 'entry.is.electronic :=
}
{ howpublished empty$ not
Expand Down Expand Up @@ -1515,7 +1515,11 @@ FUNCTION {output.url}
{ show.url is.pure.electronic or
entry.url empty$ not and
{ new.block
entry.url output
entry.url #1 #5 substring$ "\url{" =
{ entry.url }
{ "\url{" entry.url * "}" * }
if$
output
}
'skip$
if$
Expand All @@ -1535,8 +1539,8 @@ FUNCTION {is.in.url}
{ entry.url empty$
{ #0 }
{ s text.length$ 'len :=
entry.url text.length$ 'charptr :=
{ entry.url charptr len substring$ s = not
entry.url "l" change.case$ text.length$ 'charptr :=
{ entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not
charptr #0 >
and
}
Expand Down Expand Up @@ -2063,7 +2067,7 @@ FUNCTION {map}

FUNCTION {manual} { monograph }

FUNCTION {thesis}
FUNCTION {mastersthesis}
{ "D" set.entry.mark
monograph
}
Expand All @@ -2078,9 +2082,7 @@ FUNCTION {online}
electronic
}

FUNCTION {mastersthesis} { thesis }

FUNCTION {phdthesis} { thesis }
FUNCTION {phdthesis} { mastersthesis }

FUNCTION {proceedings}
{ "C" set.entry.mark
Expand All @@ -2097,13 +2099,11 @@ FUNCTION {standard}
misc
}

FUNCTION {report}
FUNCTION {techreport}
{ "R" set.entry.mark
misc
}

FUNCTION {techreport} { report }

FUNCTION {unpublished} { misc }

FUNCTION {default.type} { misc }
Expand Down
5 changes: 4 additions & 1 deletion sudathesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%% @Description :
%% @Email : [email protected]
%% @FilePath : /sudathesis-soochow-university-latex-template/sudathesis.cls
%% @LastTime : 2024-05-04 18:53:42
%% @LastTime : 2024-05-21 23:40:26
%% @LastAuthor : Albert Wang
%% @Software : Vscode
%% @ Copyright Notice : Copyright (c) 2023 Albert Wang 王子睿, All Rights Reserved.
Expand Down Expand Up @@ -2031,10 +2031,12 @@
subsection = {
name = {,、},
number = \chinese{subsection},
aftername = {},
},
subsubsection = {
name = {(,)},
number = \chinese{subsubsection},
aftername = {},
},
}%
\fi
Expand Down Expand Up @@ -2851,6 +2853,7 @@
}
\thu@set@student@id
\thu@option@hook{thesis-type}{\thu@set@student@id}
\thu@option@hook{student-id}{\thu@set@student@id}
\newcommand\thu@titlepage@secret{%
\sffamily\sanhao
\ifx\thu@secret@level\@empty
Expand Down

0 comments on commit 7b5d9a2

Please sign in to comment.