]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdciteformats.inc
Allow for simple conditions in name scheme.
[lyx.git] / lib / layouts / stdciteformats.inc
index d8506c0da556ebc1004bf21a87f5b1b18b949dad..67530bfa28ced6e4301106c16b934e4d4713ba6d 100644 (file)
@@ -1,4 +1,12 @@
-# Standard formats for citations.
+# Standard formats for bibliography entries.
+#
+# This defines how LyX displays bibliographic information in the GUI
+# as well as in text/xhtml output. The format of citation references
+# is defined in the *.citeengines files, which might override the
+# default formatting defined here.
+#
+# This file is included by the citation engines, so there is no need
+# to include it in individual classes.
 #
 # Author: Richard Heck <rgheck@comcast.net>
 #         Jürgen Spitzmüller <spitz@lyx.org>
@@ -24,9 +32,9 @@ CiteFormat default
        # Macros
        #
        # Scheme of the first author in the bibliography
-       !firstnameform %surname%, %prename%
+       !firstnameform %surname%{%prename%[[, %prename%]]}
        # Scheme of other authors in the bibliography
-       !othernameform %surname%, %prename%
+       !othernameform %surname%{%prename%[[, %prename%]]}
        # Scheme of the first name in later parts (such as book editor)
        !firstbynameform %prename% %surname%
        # Scheme of other authors in later parts (such as book editor)