On 12.04.12 Norbert Preining (preining@logic.at) wrote:
> On Mi, 11 Apr 2012, David Prévot wrote:
Hi,
> > We have a similar “Improper discretionary list” issue with the French
> > Developers Reference, #666578 (once added tipa), and I'm a bit clueless
> > here, hopefully TeX maintainers may have a hint about this one.
>
> > > stdin.tex:5739: leading text: .../Bugs/}{http://www.debian.org/\-Bugs/\-}
> > > stdin.tex:5739: Improper discretionary list.
> > > stdin.tex:5739: leading text: .../Bugs/}{http://www.debian.org/\-Bugs/\-}
>
> It would be nice if you could provide a somehow minimal TeX file
> as example. Just drop all the main text and only include
> the discretionary calls. Then remove one usepackage after the other
> and see if the error goes away. If you arrived at something halfway
> decent minimal please send it.
>
I'm pretty sure it is not minimal:
\documentclass{article}
\usepackage{ifthen}
\IfFileExists{ifxetex.sty}{%
\usepackage{ifxetex}%
}{%
\newif\ifxetex
\xetexfalse
}
\ifxetex
\usepackage{xeCJK}
\else
\usepackage[T2A,T2D,T1]{fontenc}
\fi
\usepackage[french]{babel}
\begin{document}
http://www.debian.org/\-doc/\-manuals/\-debian-{}reference/\-
\end{document}
The first condition of that \IfFileExists is always true, as
ifxetex.sty is in texlive-base. The problem goes away if
\usepackage{xeCJK} or \usepackage[french]{babel} is commented. The
file can processed as it is using
- LaTeX from stable and unstable
- XeLaTeX from stable
*not* using XeLaTeX from unstable.
I'd vote for contacting (d)ctt to ask for a comment.
H.
--
Void where prohibited by law.
http://www.hilmar-preusse.de.vu/
Attachment:
signature.asc
Description: Digital signature