Debian Codegraph @

debian/patches/fix-natbib-add-spaces

raw
1 natbib \defcitealias adds spurious spaces, see bug #628044
2 fix this by adding some %
3 ---
4 texmf-dist/source/latex/natbib/natbib.dtx | 4 ++--
5 texmf-dist/tex/latex/natbib/natbib.sty | 4 ++--
6 2 files changed, 4 insertions(+), 4 deletions(-)
7
8 --- texlive-base-2013.20130509.orig/texmf-dist/source/latex/natbib/natbib.dtx
9 +++ texlive-base-2013.20130509/texmf-dist/source/latex/natbib/natbib.dtx
10 @@ -3992,8 +3992,8 @@
11 % indexing can be achieved.
12 % \begin{macrocode}
13 \newcommand\defcitealias[2]{%
14 - \@ifundefined{al@#1\@extra@b@citeb}{}
15 - {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}
16 + \@ifundefined{al@#1\@extra@b@citeb}{}%
17 + {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}%
18 \@namedef{al@#1\@extra@b@citeb}{#2}}
19 \DeclareRobustCommand\citetalias{\begingroup
20 \NAT@swafalse\let\NAT@ctype\thr@@\NAT@parfalse\NAT@citetp}
21 --- texlive-base-2013.20130509.orig/texmf-dist/tex/latex/natbib/natbib.sty
22 +++ texlive-base-2013.20130509/texmf-dist/tex/latex/natbib/natbib.sty
23 @@ -740,8 +740,8 @@
24 \DeclareRobustCommand\citefullauthor
25 {\citeauthor*}
26 \newcommand\defcitealias[2]{%
27 - \@ifundefined{al@#1\@extra@b@citeb}{}
28 - {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}
29 + \@ifundefined{al@#1\@extra@b@citeb}{}%
30 + {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}%
31 \@namedef{al@#1\@extra@b@citeb}{#2}}
32 \DeclareRobustCommand\citetalias{\begingroup
33 \NAT@swafalse\let\NAT@ctype\thr@@\NAT@parfalse\NAT@citetp}