]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdciteformats.inc
Add needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit].
[lyx.git] / lib / layouts / stdciteformats.inc
1 # Standard formats for bibliography entries.
2 #
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.
7 #
8 # This file is included by the citation engines, so there is no need
9 # to include it in individual classes.
10 #
11 # Author: Richard Heck <rgheck@comcast.net>
12 #         Jürgen Spitzmüller <spitz@lyx.org>
13
14 Format 63
15
16 CiteFormat default
17         #
18         # Translatable bits
19         #
20         _pptext pp.
21         _edtext ed.
22         _edstext eds.
23         _voltext vol.
24         _numtext no.
25         _in in
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]]
30
31         #
32         # Macros
33         #
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%
44         # pagination
45         !pages {%pages%[[, %_pptext% %pages%]]}
46         # ed. or eds.
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%, ]]}]]}
50         # "vol. 1, no.
51         !volnum {%volume%[[ %_voltext% %volume%, {%number%[[%_numtext% %number%]]}]]}
52         !quotetitle "%title%"
53         !emphtitle {!<i>!}%title%{!</i>!}
54         !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%journaltitle%]]}]]}{!</i>!}
55         !location {%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}
56
57         #
58         # Entry types. Note that final punctuation will be added later, if needed.
59         #
60         !insomething %fullnames:author%, %!quotetitle%, %_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%)%!pages%{%note%[[. %note%]]}
61
62         article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
63
64         !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%){%note%[[. %note%]]}
65         book %!booklike%
66         collection %!booklike%
67         proceedings %!booklike%
68
69         incollection %!insomething%
70         inproceedings %!insomething%
71
72         !theses %fullnames:author%, %title% (%!location%{%school%[[%school%]][[%institution%]]}, %year%){%note%[[. %note%]]}
73         thesis %!theses%
74         phdthesis %!theses%
75         mastersthesis %!theses%
76 End