[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cjk] CJKutf8.sty wrongly put address@hidden after a non-CJK charact
From: |
Leo Liu |
Subject: |
Re: [cjk] CJKutf8.sty wrongly put address@hidden after a non-CJK character |
Date: |
Sun, 29 Jun 2014 04:15:18 +0800 |
Sorry again for the duplicate messages.
After testing, I noticed that we should add \expandafter before
address@hidden when CJKspace package may be used.
The updated patch is attached. I hope it doesn't bring new bugs.
Best,
Leo
2014-06-29 2:50 GMT+08:00 Leo Liu <address@hidden>:
> Sorry, the patch I posted is incomplete. Here is the new one.
>
> 2014-06-29 2:40 GMT+08:00 Leo Liu <address@hidden>:
>> Hello,
>>
>> I find a bug of CJKutf8.sty, that an extra address@hidden is
>> appended after a non-CJK character.
>>
>> A simple test is:
>>
>> \documentclass{article}
>> \usepackage{CJKutf8}[2012/05/07]% v4.8.3
>>
>> \begin{document}
>> \begin{CJK*}{UTF8}{gbsn}
>>
>> 文字 文字
>>
>> café café
>>
>> \CJKspace
>>
>> café café
>>
>> \end{CJK*}
>> \end{document}
>>
>> In the result is incorrect that the space after letter é is missing.
>>
>> The patch file is attached. I hope it will be fixed soon.
>>
>> Best,
>> Leo Liu
CJKutf8.sty.diff
Description: Text document
CJKutf8-new.sty
Description: Text Data