Skip to content

Commit

Permalink
tweak bib style
Browse files Browse the repository at this point in the history
change "//" > ". "
  • Loading branch information
yzwduck committed Dec 25, 2018
1 parent fd73fd8 commit 6c8bb51
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions nuaabib.bst
Expand Up @@ -205,13 +205,14 @@ FUNCTION {fin.entry}
'pop$
'write$
if$
"." write$
newline$
% "\thudot" write$
% newline$
}

% FUNCTION {fin.entry}
% { add.period$
% { add.period$
% write$
% %remove.dots
% newline$
Expand Down Expand Up @@ -313,7 +314,7 @@ FUNCTION {format.names}
{ namesleft #0 > }
{ s nameptr
%"{ff }{ll}"
"{ll }{f{~}}"
"{ll }{f{~}}"
format.name$
remove.dots
%bibinfo bibinfo.check
Expand Down Expand Up @@ -354,11 +355,11 @@ FUNCTION {format.names}
{ ", " * t * }
{ lang "zh" =
{ ", " * t * }
'skip$
'skip$
if$
}
if$
}
}
if$
}
if$
Expand Down Expand Up @@ -779,7 +780,7 @@ FUNCTION {format.title.type}
if$
}

FUNCTION {book}
FUNCTION {book}
{ output.bibitem
author empty$
{ format.editors "author and editor" output.check }
Expand Down Expand Up @@ -807,12 +808,12 @@ FUNCTION {book}
format.edition output
format.address.publisher output
pages empty$
{ format.date "year" output.check
{ format.date "year" output.check
% new.sentence
% format.pages output
}
{ format.date ":" * format.pages * output }
if$
if$
fin.entry
}

Expand All @@ -836,7 +837,7 @@ FUNCTION {article}
}
if$
new.block
format.note output
format.note output
fin.entry
}

Expand Down Expand Up @@ -895,7 +896,7 @@ FUNCTION {incollection}
{ output.bibitem
format.authors "author" output.check
new.block
format.title "[M]//" * title output.check
format.title "[M]. " * title output.check
%format.title "title" output.check
new.block
crossref missing$
Expand Down Expand Up @@ -925,7 +926,7 @@ FUNCTION {inproceedings}
{ output.bibitem
format.authors "author" output.check
new.block
format.title "[C]//" * title output.check
format.title "[C]. " * title output.check
%format.title "title" output.check
new.block
crossref missing$
Expand All @@ -941,7 +942,7 @@ FUNCTION {inproceedings}
year output
}
{ %address output.nonnull
format.address.publisher output
format.address.publisher output
%format.date "year" output.check
year output
new.sentence
Expand All @@ -958,7 +959,7 @@ FUNCTION {inproceedings}
}
if$
new.block
note output
note output
fin.entry
}

Expand Down Expand Up @@ -1015,7 +1016,7 @@ FUNCTION {mastersthesis}
new.block
format.address.school output
%format.madd "address" output.check
%school "school" output.check
%school "school" output.check
format.date "year" output.check
new.block
note output
Expand All @@ -1041,7 +1042,7 @@ FUNCTION {phdthesis.type}
{ lang empty$
{ "[D]" }
{ "\thuphdbib" }
if$
if$
}

FUNCTION {phdthesis}
Expand All @@ -1053,7 +1054,7 @@ FUNCTION {phdthesis}
new.block
format.address.school output
%address output
%school "school" output.check
%school "school" output.check
format.date "year" output.check
new.block
note output
Expand Down

0 comments on commit 6c8bb51

Please sign in to comment.