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