]> git.lyx.org Git - lyx.git/blob - lib/layouts/basic.module
5cd393babd0e8c682473d92178e10a5fd0877e55
[lyx.git] / lib / layouts / basic.module
1 # \DeclareLyXModule{Default (basic)}
2 # DescriptionBegin
3 #   Use the basic citation capabilities provided by plain LaTeX.
4 # DescriptionEnd
5 # Excludes: jurabib | natbib
6 # Category: Citation engine
7
8 # Author: Julien Rioux <jrioux@lyx.org>
9
10 Format 45
11
12 CiteEngineType numerical
13 DefaultBiblio  plain
14
15 CiteEngine default
16         cite[]
17         nocite
18 End
19
20 CiteFormat default
21         # translatable bits
22         _notcited not cited
23         _addtobib Add to bibliography only.
24
25         # macros
26         !open [
27         !sep ,
28         !close ]
29
30         !startlink {!<a href='#LyXCite-%clean:key%'>!}
31         !endlink {!</a>!}
32
33         !cite %!startlink%{%label%[[%label%]][[#%key%]]}%!endlink%%!nextcite%
34
35         !nextcite {%next%[[%!sep% %!cite%]]}
36         !nexthashkey {%next%[[%!sep% #%key%%!nexthashkey%]]}
37         !nextkey {%next%[[%!sep% %key%%!nextkey%]]}
38
39         !textafter {%textafter%[[, %textafter%]]}
40
41         # cite styles
42         cite %!open%{%dialog%[[#ID]][[%!cite%]]}%!textafter%%!close%
43         nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
44 End