1 # Standard formats for citations.
3 # Author: Richard Heck <rgheck@comcast.net>
4 # Jürgen Spitzmüller <spitz@lyx.org>
18 # The following are handled by BiblioInfo. Note that preceding and trailing spaces matter
19 _namesep , [[separate author names in citation, except for last name]]
20 _lastnamesep , and [[separate name of last author in citation]]
21 _pairnamesep and [[separate two authors in citation]]
26 # Scheme of the first author in the bibliography
27 !firstnameform %surname%, %prename%
28 # Scheme of other authors in the bibliography
29 !othernameform %surname%, %prename%
30 # Scheme of the first name in later parts (such as book editor)
31 !firstbynameform %prename% %surname%
32 # Scheme of other authors in later parts (such as book editor)
33 !otherbynameform %prename% %surname%
35 !pages {%pages%[[, %_pptext% %pages%]]}
37 !makeed {%ifmultiple:editor%[[%_edstext%]][[%_edtext%]]}
38 # author or editor, as fullnames, following the schemes above
39 !authoredit {%fullnames:author%[[%fullnames:author%, ]][[{%fullnames:editor%[[%fullnames:editor%, %!makeed%, ]]}]]}
41 !volnum {%volume%[[ %_voltext% %volume%, {%number%[[%_numtext% %number%]]}]]}
43 !emphtitle {!<i>!}%title%{!</i>!}
44 !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%journaltitle%]]}]]}{!</i>!}
45 !location {%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}
48 # Entry types. Note that final punctuation will be added later, if needed.
50 !insomething %fullnames:author%, %!quotetitle%, %_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%)%!pages%{%note%[[. %note%]]}
52 article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
54 !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%){%note%[[. %note%]]}
56 collection %!booklike%
57 proceedings %!booklike%
59 incollection %!insomething%
60 inproceedings %!insomething%
62 !theses %fullnames:author%, %title% (%!location%{%school%[[%school%]][[%institution%]]}, %year%){%note%[[. %note%]]}
65 mastersthesis %!theses%