Fix suprious comma in book and thesis bib preview.

Fixes: #11272
(cherry picked from commit 399a4d7e71)
This commit is contained in:
Juergen Spitzmueller 2018-09-06 14:46:44 +02:00
parent ea43f293c2
commit 5133026b01
2 changed files with 7 additions and 4 deletions

View File

@ -54,16 +54,17 @@ CiteFormat default
!quotetitle "%title%"
!emphtitle {!<i>!}%title%{!</i>!}
!emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%journaltitle%]]}]]}{!</i>!}
!location {%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}
!locpub {%publisher%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%publisher%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}
!locinst {%school%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%school%, ]][[{%institution%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%institution%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}]]}
#
# Entry types. Note that final punctuation will be added later, if needed.
#
!insomething %fullnames:author%, %!quotetitle%, %B_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%)%!pages%{%note%[[. %note%]]}
!insomething %fullnames:author%, %!quotetitle%, %B_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]}
article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
!booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%){%note%[[. %note%]]}
!booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%){%note%[[. %note%]]}
book %!booklike%
collection %!booklike%
proceedings %!booklike%
@ -71,7 +72,7 @@ CiteFormat default
incollection %!insomething%
inproceedings %!insomething%
!theses %fullnames:author%, %title% (%!location%{%school%[[%school%]][[%institution%]]}, %year%){%note%[[. %note%]]}
!theses %fullnames:author%, %title% (%!locinst%%year%){%note%[[. %note%]]}
thesis %!theses%
phdthesis %!theses%
mastersthesis %!theses%

View File

@ -164,6 +164,8 @@ What's new
- Allow adjustment of margin settings in InsetLayout (bug 10177).
- Fix suprious comma in book and thesis bib preview (bug 11272).
* INTERNALS