]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdciteformats.inc
Remove hebrew letter document class
[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 Kimberly Heck <rikiheck@lyx.org>
12 #         Jürgen Spitzmüller <spitz@lyx.org>
13
14 Format 104
15
16 CiteFormat default
17         #
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.
21         #
22         B_pptext pp.
23         B_edtext ed.
24         B_edstext eds.
25         B_voltext vol.
26         B_numtext no.
27         B_in in
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]]
32
33         #
34         # Macros
35         #
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%
46         # pagination
47         !pages {%pages%[[, %B_pptext% %pages%]]}
48         # ed. or eds.
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%, ]]}]]}
54         # "vol. 1, no.
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%, ]]}]]}]]}]]}
64
65         #
66         # Entry types. Note that final punctuation will be added later, if needed.
67         #
68         !insomething %fullnames:author%, %!quotetitle%, %B_in% %!byauthoredit% {!<i>!}%!fullbooktitle%{!</i>!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]}
69
70         article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]}
71
72         !booklike %!authoredit%%!emphtitle%%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%){%note%[[. %note%]]}
73         book %!booklike%
74         collection %!booklike%
75         proceedings %!booklike%
76
77         inbook %!insomething%
78         incollection %!insomething%
79         inproceedings %!insomething%
80
81         !theses %fullnames:author%, %!fulltitle% (%!locinst%%year%){%note%[[. %note%]]}
82         thesis %!theses%
83         phdthesis %!theses%
84         mastersthesis %!theses%
85 End