]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdciteformats.inc
Add tableaux to outliner
[lyx.git] / lib / layouts / stdciteformats.inc
1 # Standard formats for citations.
2 #
3 # Author: Richard Heck <rgheck@comcast.net>
4 #         Jürgen Spitzmüller <spitz@lyx.org>
5
6 Format 63
7
8 CiteFormat default
9         #
10         # Translatable bits
11         #
12         _pptext pp.
13         _edtext ed.
14         _edstext eds.
15         _voltext vol.
16         _numtext no.
17         _in in
18         # The following are handled by BiblioInfo. Note that preceding and trailing spaces matter
19         _namesep , [[separate author names in citation, except for last name]]
20         _lastnamesep , and [[separate name of last author in citation]]
21         _pairnamesep  and [[separate two authors in citation]]
22
23         #
24         # Macros
25         #
26         # Scheme of the first author in the bibliography
27         !firstnameform %surname%, %prename%
28         # Scheme of other authors in the bibliography
29         !othernameform %surname%, %prename%
30         # Scheme of the first name in later parts (such as book editor)
31         !firstbynameform %prename% %surname%
32         # Scheme of other authors in later parts (such as book editor)
33         !otherbynameform %prename% %surname%
34         # pagination
35         !pages {%pages%[[, %_pptext% %pages%]]}
36         # ed. or eds.
37         !makeed {%ifmultiple:editor%[[%_edstext%]][[%_edtext%]]}
38         # author or editor, as fullnames, following the schemes above
39         !authoredit {%fullnames:author%[[%fullnames:author%, ]][[{%fullnames:editor%[[%fullnames:editor%, %!makeed%, ]]}]]}
40         # "vol. 1, no.
41         !volnum {%volume%[[ %_voltext% %volume%, {%number%[[%_numtext% %number%]]}]]}
42         !quotetitle "%title%"
43         !emphtitle {!<i>!}%title%{!</i>!}
44         !emphjournal {!<i>!}{%journal%[[%journal%]][[{%journaltitle%[[%journaltitle%]]}]]}{!</i>!}
45         !location {%address%[[%address%: ]][[{%location%[[%location%: ]]}]]}
46
47         #
48         # Entry types. Note that final punctuation will be added later, if needed.
49         #
50         !insomething %fullnames:author%, %!quotetitle%, %_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!<i>!}%booktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%)%!pages%{%note%[[. %note%]]}
51
52         article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
53
54         !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!location%%publisher%, %year%){%note%[[. %note%]]}
55         book %!booklike%
56         collection %!booklike%
57         proceedings %!booklike%
58
59         incollection %!insomething%
60         inproceedings %!insomething%
61
62         !theses %fullnames:author%, %title% (%!location%{%school%[[%school%]][[%institution%]]}, %year%){%note%[[. %note%]]}
63         thesis %!theses%
64         phdthesis %!theses%
65         mastersthesis %!theses%
66 End