mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
cde541d785
The default citation capability of LaTeX is not a true numerical citation engine, rather it uses a mixture of labels/numbers. Thus we now distinguish them: "numerical" always increments the bibitem counter and uses its value as a numerical citation label, while "default" only uses the bibitem counter when no label is provided. LyX file format incremented to 471.
45 lines
982 B
Plaintext
45 lines
982 B
Plaintext
# \DeclareLyXModule{Default (basic)}
|
|
# DescriptionBegin
|
|
# Use the basic citation capabilities provided by plain LaTeX.
|
|
# DescriptionEnd
|
|
# Excludes: jurabib | natbib
|
|
# Category: Citation engine
|
|
|
|
# Author: Julien Rioux <jrioux@lyx.org>
|
|
|
|
Format 45
|
|
|
|
CiteEngineType default
|
|
DefaultBiblio plain
|
|
|
|
CiteEngine default
|
|
cite[]
|
|
nocite
|
|
End
|
|
|
|
CiteFormat default
|
|
# translatable bits
|
|
_notcited not cited
|
|
_addtobib Add to bibliography only.
|
|
|
|
# macros
|
|
!open [
|
|
!sep ,
|
|
!close ]
|
|
|
|
!startlink {!<a href='#LyXCite-%clean:key%'>!}
|
|
!endlink {!</a>!}
|
|
|
|
!cite %!startlink%{%label%[[%label%]][[{%numericallabel%[[%numericallabel%]][[#%key%]]}]]}%!endlink%%!nextcite%
|
|
|
|
!nextcite {%next%[[%!sep% %!cite%]]}
|
|
!nexthashkey {%next%[[%!sep% #%key%%!nexthashkey%]]}
|
|
!nextkey {%next%[[%!sep% %key%%!nextkey%]]}
|
|
|
|
!textafter {%textafter%[[, %textafter%]]}
|
|
|
|
# cite styles
|
|
cite %!open%{%dialog%[[#ID]][[%!cite%]]}%!textafter%%!close%
|
|
nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
|
|
End
|