ShengHuo ZHU <zsh(a)cs.rochester.edu> writes:
Adrian Aichner <aichner(a)ecf.teradyne.com> writes:
[...]
> The same problem occures with texinfo-4.0, so it's probably worth
> reporting this to "The Gnus Bugfixing Girls + Boys":
>
> cd c:\XEmacs\xemacs-packages\man\gnus\
> d:\tmp\texinfo-4.0\makeinfo\makeinfo.exe --iftex gnus.texi
> Compilation started at Tue Jul 11 15:28:02 2000 +0200 (W. Europe Daylight Time)
> gnus.texi:17: Unknown command `iflatex'.
> gnus.texi:18: Misplaced {.
> gnus.texi:18: Misplaced }.
> <95 lines deleted by Adrian>
> gnus.texi:44: Misplaced {.
> gnus.texi:44: Misplaced }.
> Too many errors! Gave up.
In the Makefile, the text between @iflatex and @end iflatex are
trimmed.
.texi.dvi :
$(PERL) -n -e 'print unless (/\@iflatex/ .. /\@end iflatex/)' $< >
gnust
$(TEXI2DVI) gnustmp.texi
cp gnustmp.dvi $*.dvi
rm gnustmp.*
This dropps out rather valuable information. Let's
consider the first @iflatex
... @end iflatex section:
\documentclass[twoside,a4paper,openright,11pt]{book}
\usepackage[latin1]{inputenc}
\usepackage{pagestyle}
\usepackage{epsfig}
\usepackage{bembo}
\usepackage{pixidx}
\makeindex
\begin{document}
\newcommand{\gnuschaptername}{}
\newcommand{\gnussectionname}{}
\newcommand{\gnusbackslash}{/}
%% And so on ... (NP)
Further they use \begin{titlepage} ... \end{titlepage} to format nice
titlepage, and \tableofcontents and \gnuscleardoublepage to print the table of
contents.
I have printed this manual using sed. The script did the same as the perl above
but is a bit faster and does not require perl ;)
sed -e '/@iflatex/,/@end iflatex/d' gnus.texi > gnus-modified.texi
texi2dvi gnus-modified.texi
Anyway unless we have texinfo that supports @iflatex we should drop out @iflatex
... @end iflatex sections.
ShengHuo
Nick.