--- texinfo.tex.orig 2006-02-13 21:41:40.000000000 +0100 +++ texinfo.tex 2006-02-13 21:48:42.000000000 +0100 @@ -2957,6 +2957,7 @@ \def\doignore#1{\begingroup % Scan in ``verbatim'' mode: + \obeylines \catcode`\@ = \other \catcode`\{ = \other \catcode`\} = \other @@ -2977,19 +2978,16 @@ \gdef\dodoignore#1{% % #1 contains the command name as a string, e.g., `ifinfo'. % - % Define a command to find the next address@hidden #1', which must be on a line - % by itself. Ignore anything after the `#1'; this matters in - % verbatim environments, where otherwise the newline after an - % ignored conditional would result in a blank line in the output. - address@hidden #1##2^^M{% + % Define a command to find the next address@hidden #1'. + address@hidden #1{% address@hidden + % % And this command to find another #1 command, at the beginning of a % line. (Otherwise, we would consider a line address@hidden @ifset', for % example, to count as an @ifset for nesting.) address@hidden % % And now expand that command. - \obeylines % \doignoretext ^^M% }% } @@ -3019,7 +3017,12 @@ } % Finish off ignored text. -\def\enddoignore{\endgroup\ignorespaces} +{ \obeylines% + % Ignore anything after the last address@hidden #1'; this matters in verbatim + % environments, where otherwise the newline after an ignored conditional + % would result in a blank line in the output. + \gdef\enddoignore#1^^M{\endgroup\ignorespaces}% +} % @set VAR sets the variable VAR to an empty value.