diff options
Diffstat (limited to 'macros/latex/contrib/bibarts/bibarts.sty')
-rw-r--r-- | macros/latex/contrib/bibarts/bibarts.sty | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/macros/latex/contrib/bibarts/bibarts.sty b/macros/latex/contrib/bibarts/bibarts.sty index 72a6cb5613..c3c449f5e6 100644 --- a/macros/latex/contrib/bibarts/bibarts.sty +++ b/macros/latex/contrib/bibarts/bibarts.sty @@ -1,5 +1,5 @@ -%% BibArts 2.2 assists you to write LaTeX texts in arts and humanities. -%% Copyright (C) 2019 Timo Baumann bibarts[at]gmx.de (2019/03/03) +%% BibArts 2.3 assists you to write LaTeX texts in arts and humanities. +%% Copyright (C) 2021 Timo Baumann bibarts[at]gmx.de (2021/12/06) %% %% This program is free software; you can redistribute it and/or modify %% it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ %% COMPATIBILITY %% Change \DeclareRobustCommand into \def before using LaTeX 2.09. %% Then, you still NOT have to \protect BibArts-cmds in args of v-cmds. -%% BibArts 2.2 ONLY has an EMULATION for 1.3 texts: Keep copies of 1.x? +%% BibArts 2.3 ONLY has an EMULATION for 1.3 texts: Keep copies of 1.x? @@ -72,7 +72,7 @@ \def\errmessage@ba#1{{\protectchars@active\errmessage{#1.^^J \space. . . . . . . . . . . }}} -\typeout@ba{Style Option BibArts, Version 2.2 [2019] ...} +\typeout@ba{Style Option BibArts, Version 2.3 [2021] ...} \def\msg@bafontsubst#1#2{\typeout@ba{{\string#1 ...} is unknown; I'll substitute {\string#2 ...}.}} @@ -98,7 +98,7 @@ \def\baabkcorr{\bacorr} \def\balistcorr{\bacorr} \def\bakntsepcorr{\bacorr} -%% Only \barefcorr not yet unified in 2.2 %% +%% Only \barefcorr is not yet unified in 2.3 %% \def\setup@ba#1#2{\let\@bahdtest-{#1{% \ifdim\fontdimen\@ne\font=\z@{\ignorespaces #2\ba@textmode\iflasthasdot@ba{\global\let\@bahdtest+}{}}\else @@ -1154,6 +1154,12 @@ \def\ntvauthor#1#2{\protect@onlyout\vauthor{#1}{#2}\protect\ntsepnta} +\def\protmv@#1#2{\dofrco@ba\@printvname{#1}{\listlnfnsep}{#2}{1}{1}{\nsep}\ignorespaces} +\def\m@dvauthor{\protect\protmv@} %% new in 2.3 %% + +\def\protv@#1#2{\dofrco@ba\@printvname{#1}{\listlnfnsep}{#2}{1}{1}} +\def\v@uthor{\protect\protv@} %% new in 2.3 %% + \def\protmka#1{\dofrco@ba\@printkname{#1}{0}{\nsep}\ignorespaces} \def\midkauthor{\protect\protmka} @@ -1569,7 +1575,8 @@ \global\edef\nref@ba{#1}\fi} {\@footnotetrue\fillnref@ba{}} -\def\errmsg@bawarn#1#2#3{{\errorcontextlines=-1\type@bawarn{...#1-cmd}% + %% 2.3: change #1-cmd into #1 %% +\def\errmsg@bawarn#1#2#3{{\errorcontextlines=-1\type@bawarn{...#1}% \protec@scr{ \space\space\space [#2] overwrites `{\nref@ba}',}% \protec@scr{ \space\space\space but the foregoing #3.^^J^^J}}} @@ -1589,9 +1596,9 @@ \ifx\@testa\@leer \ifx\nmem@ba\@leer\else\ifx\nmem@ba\@leerz\else \ifwriwarn@ba{$\bullet$\penalty\@m \ }\fi - \if@baouter \type@bawarn{...#1-cmd repeats (first) author's lastname}% - \else \type@bawarn{Inner ...#1-cmd repeats author's lastname}% - \fi + \if@baouter \type@bawarn{...#1 repeats first author's lastname}% + \else \type@bawarn{Inner ...#1 repeats author's lastname}% + \fi %% 2.3: change #1-cmd into #1 and (first) into first %% \protec@scr{ \space\space\space `{\nmem@ba}'. Change to `...#1[m,f,p]'??^^J}% \fi\fi \else @@ -3631,7 +3638,6 @@ \def\pko{\ifhmode\nobreak\hskip -0.07em plus 0em\fi} \def\ko{\protect\pko} - \expandafter\ifx\csname omicron\endcsname\relax\def\omicron{o}\fi \def\pbasimgl{\normalfont} %{\normalfont\rule[.3ex]{.02em}{.5ex}\kern-.02em} @@ -3952,7 +3958,7 @@ \def\addtobib{\addtoarq{}} \newif\if@oldba\@oldbafalse \def\makebar{\typeout@ba{ \space ***** \space That is obviously a file based on BibArts 1.x \space ***** - ^^J \space ***** \space BibArts 2.2 starts compatibility mode for 1.3 \space *****}% + ^^J \space ***** \space BibArts 2.3 starts compatibility mode for 1.3 \space *****}% \def\bibarts{\BibArts}% \def\schrift{}% \def\barschrift{}% |