%}
%{ "In " key * }
%if$
- pages empty$ { " \citealp" } { " \citealp[" format.chapter.pages * "]" * } if$
+ pages empty$ { "\citealp" } { "\citealp[" format.chapter.pages * "]" * } if$
"{" * crossref * "}" *
}
% }
% { format.crossref.editor * }
% if$
- pages empty$ { " \citealp" } { " \citealp[" format.chapter.pages * "]" * } if$
+ pages empty$ { "\citealp" } { "\citealp[" format.chapter.pages * "]" * } if$
"{" * crossref * "}" *
}
% }
% { "In " format.crossref.editor * }
% if$
- pages empty$ { " \citealp" } { " \citealp[" format.chapter.pages * "]" * } if$
+ pages empty$ { "\citealp" } { "\citealp[" format.chapter.pages * "]" * } if$
"{" * crossref * "}" *
}
if$
duplicate$ empty$
{ cite.title * "( \ \ \ \ \unskip\unskip\unskip\unskip\unskip \unskip)" * }
- {
+ { duplicate$
author.shared author.different =
{ "{vv~}{ll}" format.names.custom 's := }
{ author.shared author.last =
s
"( \ \ \ \ \unskip\unskip\unskip\unskip\unskip " *
author.duplicate { cite.title * }{ "\unskip" * } if$
- ")" * s *
+ ")" * swap$ "{ff~}{vv~}{ll}{, jj}" format.names.custom *
}
if$
%}
if$
new.block
format.btitle "title" output.check
- new.sentence
+ new.block
crossref missing$
- { author empty$ 'skip$ { format.editors.mid output new.sentence } if$
+ { author empty$ 'skip$ { format.editors.mid output new.block } if$
format.edition output
new.sentence
format.bvolume.or.num.series output
format.btitle "title" output.check
new.block
crossref missing$
- { author empty$ 'skip$ { format.editors.mid output new.sentence } if$
+ { author empty$ 'skip$ { format.editors.mid output new.block } if$
format.edition output
new.sentence
format.bvolume.or.num.series output
booktitle "booktitle" output.check
new.sentence
format.editors.mid output
- new.sentence
+ new.block
format.edition output
new.sentence
format.bvolume.or.num.series output
if$
new.block
format.btitle "title" output.check
- new.sentence
+ new.block
format.edition output
new.sentence
author empty$
FUNCTION {begin.bib}
{
citealp.used
- { "\ifx\undefined\citealp\let\citealp\cite\fi" write$ newline$ }
+ { "\expandafter\ifx\csname citealp\endcsname\relax\let\citealp\cite\fi"
+ write$ newline$ }
'skip$
if$
url.used
- { "\ifx\undefined\url\let\url\relax\fi" write$ newline$ }
+ { "\expandafter\ifx\csname citealp\endcsname\relax\url\let\url\relax\fi"
+ write$ newline$ }
'skip$
if$
preamble$ empty$