1 # Standard formats for bibliography entries.
3 # This defines how LyX displays bibliographic information in the GUI
4 # as well as in text/xhtml output. The format of citation references
5 # is defined in the *.citeengines files, which might override the
6 # default formatting defined here.
8 # This file is included by the citation engines, so there is no need
9 # to include it in individual classes.
11 # Author: Richard Kimberly Heck <rikiheck@lyx.org>
12 # Jürgen Spitzmüller <spitz@lyx.org>
18 # Translatable bits (need to be marked by _ prefix, if translated to the GUI language,
19 # or B_, if translated to the buffer language)
20 # Note that preceding and trailing spaces matter.
28 # The following are handled by BiblioInfo. Note that preceding and trailing spaces matter
29 B_namesep , [[separate author names in citation, except for last name]]
30 B_lastnamesep , and [[separate name of last author in citation]]
31 B_pairnamesep and [[separate two authors in citation]]
36 # Scheme of the first author in the bibliography
37 !firstnameform {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}{%prename%[[, %prename%]]}
38 # Scheme of other authors in the bibliography
39 !othernameform {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}{%prename%[[, %prename%]]}
40 # Scheme of the first name in later parts (such as book editor)
41 !firstbynameform %prename% {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}
42 # Scheme of other authors in later parts (such as book editor)
43 !otherbynameform %prename% {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}
44 # Scheme of authors in citation references
45 !citenameform {%prefix%[[%prefix% ]]}%surname%
47 !pages {%pages%[[, %B_pptext% %pages%]]}
49 !makeed {%ifmultiple:editor%[[%B_edstext%]][[%B_edtext%]]}
50 # author or editor, as fullnames, following the schemes above
51 !authoredit {%fullnames:author%[[%fullnames:author%, ]][[{%fullnames:editor%[[%fullnames:editor%, %!makeed%, ]]}]]}
53 !volnum {%volume%[[ %B_voltext% %volume%, {%number%[[%B_numtext% %number%]]}]]}
54 !fulltitle %title%{%subtitle%[[: %subtitle%]]}
55 !fullbooktitle %booktitle%{%booksubtitle%[[: %booksubtitle%]]}
56 !fulljournaltitle %journaltitle%{%journalsubtitle%[[: %journalsubtitle%]]}
57 !quotetitle "%!fulltitle%"
58 !emphtitle {!<i>!}%!fulltitle%{!</i>!}
59 !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%!fulljournaltitle%]]}]]}{!</i>!}
60 !locpub {%publisher%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%publisher%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}
61 !locinst {%school%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%school%, ]][[{%institution%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%institution%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}]]}
64 # Entry types. Note that final punctuation will be added later, if needed.
66 !insomething %fullnames:author%, %!quotetitle%, %B_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%!fullbooktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]}
68 article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
70 !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%){%note%[[. %note%]]}
72 collection %!booklike%
73 proceedings %!booklike%
75 incollection %!insomething%
76 inproceedings %!insomething%
78 !theses %fullnames:author%, %!fulltitle% (%!locinst%%year%){%note%[[. %note%]]}
81 mastersthesis %!theses%