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%, ]]}]]}
52 # by author or editor, as fullnames, following the schemes above
53 !byauthoredit {%fullbynames:bookauthor%[[%fullbynames:bookauthor%, ]][[{%fullbynames:editor%[[%fullbynames:editor%, %!makeed%, ]]}]]}
55 !volnum {%volume%[[ %B_voltext% %volume%, {%number%[[%B_numtext% %number%]]}]]}
56 !fulltitle %title%{%subtitle%[[: %subtitle%]]}
57 !fullbooktitle %booktitle%{%booksubtitle%[[: %booksubtitle%]]}
58 !fulljournaltitle %journaltitle%{%journalsubtitle%[[: %journalsubtitle%]]}
59 !quotetitle "%!fulltitle%"
60 !emphtitle {!<i>!}%!fulltitle%{!</i>!}
61 !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%!fulljournaltitle%]]}]]}{!</i>!}
62 !locpub {%publisher%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%publisher%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}
63 !locinst {%school%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%school%, ]][[{%institution%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%institution%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}]]}
66 # Entry types. Note that final punctuation will be added later, if needed.
68 !insomething %fullnames:author%, %!quotetitle%, %B_in% %!byauthoredit% {!<i>!}%!fullbooktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]}
70 article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
72 !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%){%note%[[. %note%]]}
74 collection %!booklike%
75 proceedings %!booklike%
78 incollection %!insomething%
79 inproceedings %!insomething%
81 !theses %fullnames:author%, %!fulltitle% (%!locinst%%year%){%note%[[. %note%]]}
84 mastersthesis %!theses%