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

Bug#255908: Processed: Re: Bug#255908: illuminator: FTBFS: latex errors



reassign 255908 illuminator
retitle 255908 Must care for underscores in architecture names when creating illuminator.tex
stop

No problem with contacting us that way, but in fact it is a bug in
illuminator, see below.

The build log said:

,----
| ! Missing $ inserted.
| <inserted text> 
|                 $
| l.8 \maketitle
`----

So in the text typeset by \maketitle, there is some character that may
only appear in maths.

Ah, and indeed illuminator.tex is created from illuminator.tex.in:

\title{{\tt Illuminator} Distributed Visualization Library}
\author{Adam Powell}
\date{Version @VERSION@ released @RELEASE_DATE@\\Built \today$\ $for a {\tt
    @build_vendor@} {\tt @build_cpu@} running {\tt @build_os@}}
\maketitle

By running "$(SHELL) config.status illuminator.tex", this is replaced by
the values found on the build system. And on ia64 build_cpu is "x86_64"
- the underscore is only allowed in math mode. 

The easiest solution would be to remove the information on the build_cpu
from the title. Personally I don't see much sense in it - the file ends
up in illuminator-doc which is architecture: all, and which may well be
on a volume shared by machines of different architectures. In this case
the information is not only useless, but might lead to the
misinterpretation that the documentation is architecture-dependent.

A different solution would be to replace underscores in build_cpu (or
any automatically inserted text) by "\_", or use latex_build_cpu for
this, but I don't completely understand the mechanism that creates
config.status. So I'd better not try to provide a patch.

Regards, Frank

P.S. \tt is code from the last millenium. Since a decade, \ttfamily
should be used instead.


-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: