Bug#668562: XeLaTeX fails to work if babel/french is used

2012-05-07 Thread Norbert Preining
tags 668562 + fixed-upstream pending
thanks

On Di, 17 Apr 2012, Daniel Flipo wrote:
> Hilmar Preuße a écrit le 16/04/2012 23:22 :
>> The following minimal example can't be compiled using XeLaTeX. The
>> error message is:
>>
>> ! Improper discretionary list.
>> \-  ...ulthyphenchar \else \hyphenchar \font \fi }
>>{}{}
>> l.6 http://www.debian.org/\-
>>  doc/\-manuals/\-debian-{}reference/\-
>> ? s

xecjk got an update in TeX Live today, so the next round of
TeX Live updates will close this bug.

Thanks.

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

MEETH (n.)
Something which American doctors will shortly tell us we are all
suffering from.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#668562: XeLaTeX fails to work if babel/french is used

2012-04-22 Thread Hilmar Preuße
On 19.04.12 Hilmar Preuße (hill...@web.de) wrote:

> Many thanks for analysis!
> 
Just a remark: we should check if #666569 and #666578 still occur if
this problem is solved.

H.
-- 
sigmentation fault



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#668562: XeLaTeX fails to work if babel/french is used

2012-04-19 Thread Hilmar Preuße
reassign 668562 texlive-xetex
retitle 668562 Interoperability problem of frenchb.ldf and xeCJK.sty
stop

On 19.04.12 Daniel Flipo (daniel.fl...@free.fr) wrote:

Dear Daniel,

> I have analysed the bug which occurs when babel/french is used in
> conjunction with xeCJK.sty.  I cc this email to Sun Wenchang, the
> author of xeCJK.
> 
Many thanks for analysis!

Hilmar
-- 
sigmentation fault



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#668562: XeLaTeX fails to work if babel/french is used

2012-04-19 Thread Norbert Preining
Dear Daniel,

On Do, 19 Apr 2012, Daniel Flipo wrote:
> Sun, could you please change this and assign all the classes you need  
> with \newXeTeXintercharclass?

Thanks for your detailed analysis and explanations!

Best wishes

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

Someone down there
is trying to kill us!'
`Terrific,' said Arthur.
`But don't you see what this means?'
`Yes. We are going to die.'
`Yes, but apart from that.'
`APART from that?'
`It means we must be on to something!'
`How soon can we get off it?'
 --- Zaphod and Arthur in a certain death situation over
 --- Magrathea.
 --- Douglas Adams, The Hitchhikers Guide to the Galaxy



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#668562: XeLaTeX fails to work if babel/french is used

2012-04-19 Thread Daniel Flipo

Hilmar Preuße a écrit le 16/04/2012 23:22 :

Dear Daniel,

http://bugs.debian.org/668562

The following minimal example can't be compiled using XeLaTeX. The
error message is:

! Improper discretionary list.
\-  ...ulthyphenchar \else \hyphenchar \font \fi }
   {}{}
l.6 http://www.debian.org/\-
 doc/\-manuals/\-debian-{}reference/\-
? s

--

\documentclass{article}
\usepackage[french]{babel}
\usepackage{xeCJK}

\begin{document}
http://www.debian.org/\-doc/\-manuals/\-debian-{}reference/\-
\end{document}

As this works for other languages (like spain, english) we suspect a
problem in frenchb.ldf. The problem can be reproduced using the
pre-release of TL 2012, which has been recently uploaded to Debian
unstable. The log for the XeLaTeX run is attached.
If you need help, please call back. Please keep the bug in Cc.

Regards,
   Hilmar


Dear Hilmar and Sun,

I have analysed the bug which occurs when babel/french is used in 
conjunction with xeCJK.sty.  I cc this email to Sun Wenchang, the author 
of xeCJK.


AFAIK, french is the only babel language which uses the 
"XeTeXinterchartok" mecanism (in order to add proper spacing before the 
`:;!?' punctuation signs), that's why the bug doesn't occur with other 
babel languages.


One big problem is that xeCJK assigns "\XeTeXcharclass" 4 to 6 to 
various ASCII characters instead of creating its own classes with 
"\newXeTeXintercharclass".  When babel/french uses 
"\newXeTeXintercharclass" to create its own classes, it gets classes 
already used by xeCJK and unpredictable results occur, one of them is 
that "\-" becomes "\ -" which causes the bug pointed out by Hilmar.


Sun, could you please change this and assign all the classes you need 
with \newXeTeXintercharclass?


Best regards,
--
Daniel Flipo



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#668562: XeLaTeX fails to work if babel/french is used

2012-04-17 Thread Hilmar Preusse
retitle 668562 Problems using XeLaTeX when babel/french is used
reassign 668562 texlive-latex-base
stop

On 17.04.12 Daniel Flipo (daniel.fl...@free.fr) wrote:
> Hilmar Preuße a écrit le 16/04/2012 23:22 :

Hi,

> >http://bugs.debian.org/668562
> >
> I confirm the bug; I will look at it asap but I am currently
> travelling outside Europe :-( so don't hold your breath.
> 
No problem, take your time. We have workarounds for the problem.

Thanks,
  Hilmar
-- 
sigmentation fault


signature.asc
Description: Digital signature


Bug#668562: XeLaTeX fails to work if babel/french is used

2012-04-17 Thread Daniel Flipo

Hilmar Preuße a écrit le 16/04/2012 23:22 :


http://bugs.debian.org/668562

The following minimal example can't be compiled using XeLaTeX. The
error message is:

! Improper discretionary list.
\-  ...ulthyphenchar \else \hyphenchar \font \fi }
   {}{}
l.6 http://www.debian.org/\-
 doc/\-manuals/\-debian-{}reference/\-
? s

--

\documentclass{article}
\usepackage[french]{babel}
\usepackage{xeCJK}

\begin{document}
http://www.debian.org/\-doc/\-manuals/\-debian-{}reference/\-
\end{document}

As this works for other languages (like spain, english) we suspect a
problem in frenchb.ldf. The problem can be reproduced using the
pre-release of TL 2012, which has been recently uploaded to Debian
unstable. The log for the XeLaTeX run is attached.
If you need help, please call back. Please keep the bug in Cc.


Dear Hilmar,

I confirm the bug; I will look at it asap but I am currently travelling 
outside Europe :-( so don't hold your breath.


Best regards,
--
Daniel Flipo



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org