X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fciteengines%2Fjurabib.citeengine;h=2deffc8b64af7f0587b4284d258a5e4782a79569;hb=9bf3e7b045f38a8b45d69007e37fd812446cc217;hp=34f6e07af223fc5a2e3415275fb5f6adf8f5c1d9;hpb=425c190d623daeb6d05bce1aa2244b548225305a;p=lyx.git diff --git a/lib/citeengines/jurabib.citeengine b/lib/citeengines/jurabib.citeengine index 34f6e07af2..2deffc8b64 100644 --- a/lib/citeengines/jurabib.citeengine +++ b/lib/citeengines/jurabib.citeengine @@ -7,7 +7,7 @@ # Author: Julien Rioux -Format 63 +Format 74 Requires jurabib @@ -43,6 +43,8 @@ MaxCiteNames 3 # # 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). @@ -93,6 +95,7 @@ CiteEngine authoryear citeyearpar [][] fullcite [][] nocite + keyonly End # @@ -103,24 +106,31 @@ End # (inset button and citation dialog) as well as in XHTML, docbook and # plain text output. # + +# Input standard format definitions for the bibliography +Input stdciteformats.inc + CiteFormat authoryear # # MACROS # - # 1. Translatable bits (need to be marked by _ prefix) + # 1. Translatable bits (need to be marked by _ prefix, if translated to the GUI language, + # or B_, if translated to the buffer language) # Note that preceding and trailing spaces matter. # _notcited not cited _addtobib Add to bibliography only. + _keyonly Key only. + _key Key _fullcite bibliography entry _bibentry Bibliography entry. _before before _shorttitle short title # The following are handled by BiblioInfo - _etal et al. - _namesep / - _lastnamesep / - _pairnamesep / + B_etal et al. + B_namesep / + B_lastnamesep / + B_pairnamesep / # # 2. Macros re-used in the style definitions @@ -225,4 +235,6 @@ CiteFormat authoryear fullcite {%dialog%[[%_bibentry%]][[{%label%[[%!fullcite%]][[%key%%!nextkey% (%_fullcite%)]]}]]} # "Add to bibliography only." (dialog) / "Key; Key ... (not cited)" (button) nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]} + # Output only the key + keyonly {%dialog%[[%_keyonly%]][[%_key%: %key%%!nextkey%]]} End