summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xypic/xypdf-co.tex
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 18:42:25 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 18:42:25 +0000
commit2424f614c861e623cc5f5c6053fc90e768648ce2 (patch)
tree12cbf19158f1506eff7cb7da73d251096c6afb95 /Master/texmf-dist/tex/generic/xypic/xypdf-co.tex
parentff94e44b3898f59065c492d5e5e597234f1b49b1 (diff)
xypic Version: 3.8.6 <2011/05/27>
git-svn-id: svn://tug.org/texlive/trunk@23327 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/xypic/xypdf-co.tex')
-rw-r--r--Master/texmf-dist/tex/generic/xypic/xypdf-co.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/xypic/xypdf-co.tex b/Master/texmf-dist/tex/generic/xypic/xypdf-co.tex
index 96b965bcfb5..60e4060dbb2 100644
--- a/Master/texmf-dist/tex/generic/xypic/xypdf-co.tex
+++ b/Master/texmf-dist/tex/generic/xypic/xypdf-co.tex
@@ -8,7 +8,7 @@
%%
%% The xypdf package for TeX and LaTeX
%% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
-%% <http://math.stanford.edu/\protect \unhbox \voidb@x \penalty \@M \ {}muellner>
+%% <http://math.stanford.edu/~muellner>
%% --------------------------------------------------------------------------
%%
%% This program is free software: you can redistribute it and/or modify it
@@ -66,6 +66,7 @@
\@ifdefinable\xP@colD\relax
\xP@hook{color}{newxycolor}
\newcommand*\xP@newxycolor[2]{\def\xP@colorname{#1}\xP@parsecolor#2 @}
+\xP@color@on
\@ifdefinable\xP@parsecolor\relax
\def\xP@parsecolor#1 #2 #3@{\def\xP@colA{#1}\def\xP@colB{#2}\ifx\xP@colB\xP@gray
\xP@newcolor\xP@colorname\xP@colA\xP@gray\newxycolor
@@ -111,7 +112,7 @@
\newcommand*\xP@newcolor[4]{\expandafter\let\expandafter\next@\csname shape [#1]\endcsname
\ifx\next@\relax
\@ifundefined{\string\color@#1}\relax
-{\xP@warning{xypdf}{The color `#1' is overridden by \string#4}}\DN@{\newxystyle{#1}{\xP@unnamedcolor{#2}{#3}}}\else
+{\xP@warning{xypdf}{The color `#1' is overridden by \string#4}}\edef\next@{\noexpand\newxystyle{#1}{\noexpand\xP@unnamedcolor{#2}{#3}}}\else
\DN@{}\fi
\next@\relax}
\newcommand*\xP@unnamedcolor[2]{\xP@color{[#2]{#1}}}