Skip to content

Commit

Permalink
Fix length of url prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed May 16, 2024
1 parent 59aa8ed commit 66e95cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 27 deletions.
13 changes: 4 additions & 9 deletions thuthesis-author-year.bst
Original file line number Diff line number Diff line change
Expand Up @@ -602,17 +602,12 @@ FUNCTION {format.name}
{ bbl.et.al }
{ t get.str.lang 'name.lang :=
name.lang lang.en =
{ t #1 "{vv~}{ll}" format.name$
{ t #1 "{vv~}{ll}{ f{~}}" format.name$
uppercase.name
{ t #1 #1 substring$ "{" =
t #1 "{ff}" format.name$ empty$ not and
{ "\MakeUppercase{" swap$ * "}" * }
{ "u" change.case$ }
if$
}
{ "u" change.case$ }
'skip$
if$
t #1 "{ f{~}}{, jj}" format.name$ *
t #1 "{, jj}" format.name$ *
}
{ t #1 "{ll}{ff}" format.name$ }
if$
Expand Down Expand Up @@ -1530,7 +1525,7 @@ FUNCTION {output.url}
{ show.url is.pure.electronic or
entry.url empty$ not and
{ new.block
entry.url #1 #4 substring$ "\url{" =
entry.url #1 #5 substring$ "\url{" =
{ entry.url }
{ "\url{" entry.url * "}" * }
if$
Expand Down
13 changes: 4 additions & 9 deletions thuthesis-bachelor.bst
Original file line number Diff line number Diff line change
Expand Up @@ -592,17 +592,12 @@ FUNCTION {format.name}
{ bbl.et.al }
{ t get.str.lang 'name.lang :=
name.lang lang.en =
{ t #1 "{vv~}{ll}" format.name$
{ t #1 "{vv~}{ll}{ f{~}}" format.name$
uppercase.name
{ t #1 #1 substring$ "{" =
t #1 "{ff}" format.name$ empty$ not and
{ "\MakeUppercase{" swap$ * "}" * }
{ "u" change.case$ }
if$
}
{ "u" change.case$ }
'skip$
if$
t #1 "{ f{~}}{, jj}" format.name$ *
t #1 "{, jj}" format.name$ *
}
{ t #1 "{ll}{ff}" format.name$ }
if$
Expand Down Expand Up @@ -1520,7 +1515,7 @@ FUNCTION {output.url}
{ show.url is.pure.electronic or
entry.url empty$ not and
{ new.block
entry.url #1 #4 substring$ "\url{" =
entry.url #1 #5 substring$ "\url{" =
{ entry.url }
{ "\url{" entry.url * "}" * }
if$
Expand Down
13 changes: 4 additions & 9 deletions thuthesis-numeric.bst
Original file line number Diff line number Diff line change
Expand Up @@ -592,17 +592,12 @@ FUNCTION {format.name}
{ bbl.et.al }
{ t get.str.lang 'name.lang :=
name.lang lang.en =
{ t #1 "{vv~}{ll}" format.name$
{ t #1 "{vv~}{ll}{ f{~}}" format.name$
uppercase.name
{ t #1 #1 substring$ "{" =
t #1 "{ff}" format.name$ empty$ not and
{ "\MakeUppercase{" swap$ * "}" * }
{ "u" change.case$ }
if$
}
{ "u" change.case$ }
'skip$
if$
t #1 "{ f{~}}{, jj}" format.name$ *
t #1 "{, jj}" format.name$ *
}
{ t #1 "{ll}{ff}" format.name$ }
if$
Expand Down Expand Up @@ -1520,7 +1515,7 @@ FUNCTION {output.url}
{ show.url is.pure.electronic or
entry.url empty$ not and
{ new.block
entry.url #1 #4 substring$ "\url{" =
entry.url #1 #5 substring$ "\url{" =
{ entry.url }
{ "\url{" entry.url * "}" * }
if$
Expand Down

0 comments on commit 66e95cf

Please sign in to comment.