]> git.lyx.org Git - lyx.git/blob - lib/layouts/basic.module
ed0e12cbbd217fc638411cc8ca3f0616723b9531
[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 43
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         !cite {%label%[[%label%]][[#%key%]]}%!nextcite%
31
32         !nextcite {%next%[[%!sep% %!cite%]]}
33         !nexthashkey {%next%[[%!sep% #%key%%!nexthashkey%]]}
34         !nextkey {%next%[[%!sep% %key%%!nextkey%]]}
35
36         !textafter {%textafter%[[, %textafter%]]}
37
38         # cite styles
39         cite %!open%{%dialog%[[#ID]][[%!cite%]]}%!textafter%%!close%
40         nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
41 End