]> git.lyx.org Git - lyx.git/blobdiff - lib/citeengines/basic.citeengine
Adapt citengine to current layout format.
[lyx.git] / lib / citeengines / basic.citeengine
index 2163641bfef34cf036a7f24428096d32b71fc1d5..5bccaf767e56bd2d775759d43d4354d7f0bed941 100644 (file)
@@ -6,7 +6,7 @@
 
 # Author: Julien Rioux <jrioux@lyx.org>
 
-Format 63
+Format 64
 
 # The framework (biblatex|bibtex)
 CiteFramework bibtex
@@ -34,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.
@@ -56,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