* texinfo.tex (\imagexxx): reset catcode ^^M in case we're inside

in an example.  Report from kama.
This commit is contained in:
Karl Berry 1999-03-16 12:49:21 +00:00
parent db865774df
commit e3d0d562da

View file

@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
\def\texinfoversion{1999-03-15.16}%
\def\texinfoversion{1999-03-15.17}%
%
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
% Free Software Foundation, Inc.
@ -5288,6 +5288,8 @@ width0pt\relax} \fi
% \epsfbox itself resets \epsf?size at each figure.
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
\begingroup
\catcode`\^^M = 5 % in case we're inside an example
% If the image is by itself, center it.
\ifvmode
\nobreak\medskip
@ -5298,6 +5300,7 @@ width0pt\relax} \fi
% In the middle of a paragraph, no extra space.
\epsfbox{#1.eps}%
\fi
\endgroup
}