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