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>
26 # The following are handled by BiblioInfo. Note that preceding and trailing spaces matter
27 _namesep , [[separate author names in citation, except for last name]]
28 _lastnamesep , and [[separate name of last author in citation]]
29 _pairnamesep and [[separate two authors in citation]]
34 # Scheme of the first author in the bibliography
35 !firstnameform {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}{%prename%[[, %prename%]]}
36 # Scheme of other authors in the bibliography
37 !othernameform {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}{%prename%[[, %prename%]]}
38 # Scheme of the first name in later parts (such as book editor)
39 !firstbynameform %prename% {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}
40 # Scheme of other authors in later parts (such as book editor)
41 !otherbynameform %prename% {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]}
42 # Scheme of authors in citation references
43 !citenameform {%prefix%[[%prefix% ]]}%surname%
45 !pages {%pages%[[, %_pptext% %pages%]]}
47 !makeed {%ifmultiple:editor%[[%_edstext%]][[%_edtext%]]}
48 # author or editor, as fullnames, following the schemes above
49 !authoredit {%fullnames:author%[[%fullnames:author%, ]][[{%fullnames:editor%[[%fullnames:editor%, %!makeed%, ]]}]]}
51 !volnum {%volume%[[ %_voltext% %volume%, {%number%[[%_numtext% %number%]]}]]}
53 !emphtitle {!<i>!}%title%{!</i>!}
54 !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%journaltitle%]]}]]}{!</i>!}
55 !location {%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}
58 # Entry types. Note that final punctuation will be added later, if needed.
60 !insomething %fullnames:author%, %!quotetitle%, %_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%)%!pages%{%note%[[. %note%]]}
62 article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
64 !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%){%note%[[. %note%]]}
66 collection %!booklike%
67 proceedings %!booklike%
69 incollection %!insomething%
70 inproceedings %!insomething%
72 !theses %fullnames:author%, %title% (%!location%{%school%[[%school%]][[%institution%]]}, %year%){%note%[[. %note%]]}
75 mastersthesis %!theses%