# Author: Julien Rioux <jrioux@lyx.org>
-Format 63
+Format 64
Requires natbib
#
# Note further:
#
+# * The LyXName "keyonly" has a special meaning: only the citation key,
+# without any latex command, is output.
# * Capitalization indicates that the command also has a capitalized
# form (\Latexcmd vs. \latexcmd). These usually enforce upcasing of
# name prefixes (von Goethe => Von Goethe).
citeyear[]
citeyearpar[][]
nocite
+ keyonly
End
CiteEngine numerical
citeyearpar[][]
citeyear
nocite
+ keyonly
End
# There are common definitions (default) and specific definitions for
# either cite engine type (which overwrite existing defaults.
#
+
+# Input standard format definitions for the bibliography
+Input stdciteformats.inc
+
CiteFormat default
#
# MACROS
#
_notcited not cited
_addtobib Add to bibliography only.
+ _keyonly Key only.
+ _key Key
# The following are handled by BiblioInfo
_etal et al.
_namesep , [[separate author names in citation, except for last name]]
citeyearpar %!open%%!textbefore%%!startlink%%!year%%!endlink%%!nextyear%%!textafter%%!close%
# "Add to bibliography only." (dialog) / "[ID] (not cited)" (button)
nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
+ # Output only the key
+ keyonly {%dialog%[[%_keyonly%]][[%_key%: %key%%!nextkey%]]}
End
CiteFormat authoryear