X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fciteengines%2Fbasic.citeengine;h=5bccaf767e56bd2d775759d43d4354d7f0bed941;hb=d4e30ad88f2967a2e464fd3a54a52feeb25e72f1;hp=49e67f4d04f05bdff30a9485379e5ec8f49150c9;hpb=b9aabe6d891b5347586bdfaeff407552213f94bb;p=lyx.git diff --git a/lib/citeengines/basic.citeengine b/lib/citeengines/basic.citeengine index 49e67f4d04..5bccaf767e 100644 --- a/lib/citeengines/basic.citeengine +++ b/lib/citeengines/basic.citeengine @@ -6,7 +6,7 @@ # Author: Julien Rioux -Format 63 +Format 64 # The framework (biblatex|bibtex) CiteFramework bibtex @@ -26,6 +26,7 @@ DefaultBiblio plain CiteEngine default cite[] nocite + keyonly End @@ -33,6 +34,9 @@ End # CITE FORMAT # +# Input standard format definitions for the bibliography +Input stdciteformats.inc + # The following defines how the commands are represented in the GUI # (inset button and citation dialog) as well as in XHTML, docbook and # plain text output. @@ -46,6 +50,8 @@ CiteFormat default # _notcited not cited _addtobib Add to bibliography only. + _keyonly Key only. + _key Key # # 2. Macros re-used in the style definitions @@ -53,6 +59,10 @@ CiteFormat default !open [ !sep , !close ] + # Modify scheme of the first author in the bibliography + !firstnameform %prename% {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]} + # Modify scheme of other authors in the bibliography + !othernameform %prename% {%prefix%[[%prefix% ]]}%surname%{%suffix%[[, %suffix%]]} # A link that lets us jump to the bibliography entry in LyXHTML # %clean:key% will be substituted by the cite key to give a unique id @@ -80,4 +90,6 @@ CiteFormat default cite %!open%{%dialog%[[#ID]][[%!makecite%]]}%!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