[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534458: texinfo: tildes are shown when compiling (La)TeX files



Alexandre Duret-Lutz <adl@lrde.epita.fr> wrote:

> Package: texinfo
> Version: 4.13a.dfsg.1-4
> Severity: normal
>
>
> The patch applied to fix #487974 turned ~ into characters that show up
> everywhere.  This might be OK when compiling texinfo files, but
> texi2dvi is also used to compile (La)TeX files, where ~ should be a
> space (this is documented in the manual and in the --help text of
> texi2dvi).  As I'm using texi2dvi only to compile (La)TeX files these
> days, this change has made the script unusable for me.

Indeed the man page for texi2dvi says

DESCRIPTION
       Run  each  Texinfo  or  (La)TeX FILE through TeX in turn until all cross-references are resolved, building all
       indices.  The directory containing each FILE is searched for included files.  The suffix of FILE  is  used  to
       determine  its  language  ((La)TeX  or  Texinfo).  To process (e)plain TeX files, set the environment variable
       LATEX=tex.

I wasn't aware of this, and probably the others, too.  It shouldn't be
hard to move the setting of catcode_special down into run_tex() where
$in_lang is checked anyway.

Regards, Frank


-- 
Dr. Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg



Reply to: