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 Heck <rgheck@comcast.net>
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%]]}]]}
55 !emphtitle {!<i>!}%title%{!</i>!}
56 !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%journaltitle%]]}]]}{!</i>!}
57 !locpub {%publisher%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%publisher%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}
58 !locinst {%school%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%school%, ]][[{%institution%[[{%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}%institution%, ]][[{%address%[[%address%, ]][[{%location%[[%location%, ]]}]]}]]}]]}
61 # Entry types. Note that final punctuation will be added later, if needed.
63 !insomething %fullnames:author%, %!quotetitle%, %B_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]}
65 article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
67 !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%){%note%[[. %note%]]}
69 collection %!booklike%
70 proceedings %!booklike%
72 incollection %!insomething%
73 inproceedings %!insomething%
75 !theses %fullnames:author%, %title% (%!locinst%%year%){%note%[[. %note%]]}
78 mastersthesis %!theses%