Skip to content

Commit

Permalink
Fix italic title in bibliography (fix #353)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed May 12, 2022
1 parent b6cb8cd commit f7db43e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions ustcthesis-bachelor.bst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
%%
%% This is file `gbt7714-numerical.bst',
%% This is file `variants/ustc/ustcthesis-numerical.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% gbt7714.dtx (with options: `2015,numerical')
%% gbt7714.dtx (with options: `2015,ustc,numerical')
%% -------------------------------------------------------------------
%% GB/T 7714 BibTeX Style
%% https://github.com/zepinglee/gbt7714-bibtex-style
Expand Down Expand Up @@ -963,7 +963,14 @@ FUNCTION {format.series.vol.num.title}
}
{ format.title.vol.num }
if$
format.btitle
type$ "book" =
type$ "inbook" = or
type$ "collection" = or
type$ "proceedings" = or
type$ "thesis" = or
'format.btitle
'skip$
if$
link.title
'add.link
'skip$
Expand Down Expand Up @@ -1386,7 +1393,8 @@ FUNCTION {hyphenate}
""
{ t empty$ not }
{ t #1 #1 substring$ "-" =
{ wave.dash.in.pages entry.lang lang.zh = and
{ wave.dash.in.pages
entry.lang lang.zh = and
{ "~" * }
{ "-" * }
if$
Expand Down

0 comments on commit f7db43e

Please sign in to comment.