From 3d4076b598deb18660e50ec9c327efc3b15f15d0 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 13 May 2013 20:29:49 +0200 Subject: [PATCH] Natbib authoryear uses (Ref1; Ref2) by default. I was confused when I checked this. It looks like plainnat.bst overwrites this default to use [Ref1, Ref2] style instead, but when using natbib's defaults you get the (Ref1; Ref2) style. --- lib/layouts/natbib.module | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/layouts/natbib.module b/lib/layouts/natbib.module index ba028c012d..b9195e58e5 100644 --- a/lib/layouts/natbib.module +++ b/lib/layouts/natbib.module @@ -45,10 +45,6 @@ CiteFormat default _addtobib Add to bibliography only. # macros - !open [ - !sep , - !close ] - !startlink {!!} !endlink {!!} @@ -69,6 +65,10 @@ CiteFormat default End CiteFormat authoryear + !open ( + !sep ; + !close ) + !citet %!startlink%%!abbrvauthor%%!endlink% %!open%%!textbefore%%!year%%!nextcitet% !citealt %!startlink%%!abbrvauthor% %!textbefore%%!year%%!endlink%%!nextcitealt% !citealp %!startlink%%!abbrvauthor%, %!year%%!endlink%%!nextcitealp% @@ -85,6 +85,10 @@ CiteFormat authoryear End CiteFormat numerical + !open [ + !sep , + !close ] + !citet %!abbrvauthor% %!open%%!textbefore%{%dialog%[[#ID]][[%!startlink%#%key%%!endlink%]]}%!nextcitet% !citealt %!abbrvauthor% %!textbefore%{%dialog%[[#ID]][[%!startlink%#%key%%!endlink%]]}%!nextcitealt%