Spacing problem (mixing Chinese with Latin characters)
![](https://secure.gravatar.com/avatar/4f90ced6bd47c80395b33c0fde81a0d0.jpg?s=120&d=mm&r=g)
Hello, if I type "[<chinese>]" the output is "[<chinese><space>]". (Example attached.) I addition I observed that "<chinese>;" will have a line break like "<chinese><new line>;" which looks quite ugly. (The ";" and "[]" are half-width Characters, i.e. the normal Latin characters and not those which are as wide as a Chinese character. Question: In the transliterization of Chinese the characters \definecharacter acaron {\buildtextaccent\textcaron a} % U+01CE \definecharacter icaron {\buildtextaccent\textcaron \dotlessi} % Unicode U+01D0 \definecharacter ocaron {\buildtextaccent\textcaron o} % U+01D2 \definecharacter ucaron {\buildtextaccent\textcaron u} % U+01D4 appear which are in the unicode block "Latin Extended B". Should/Could they be added? http://www.unicode.org/charts/PDF/U0180.pdf Tobias
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Tobias Burnus wrote:
Hello,
if I type "[<chinese>]" the output is "[<chinese><space>]". (Example attached.) I addition I observed that "<chinese>;" will have a line break like "<chinese><new line>;" which looks quite ugly. (The ";" and "[]" are half-width Characters, i.e. the normal Latin characters and not those which are as wide as a Chinese character.
Question: In the transliterization of Chinese the characters \definecharacter acaron {\buildtextaccent\textcaron a} % U+01CE \definecharacter icaron {\buildtextaccent\textcaron \dotlessi} % Unicode U+01D0 \definecharacter ocaron {\buildtextaccent\textcaron o} % U+01D2 \definecharacter ucaron {\buildtextaccent\textcaron u} % U+01D4
ok, i added those to enco-def (those then also need to go into the lm complient fonts)
appear which are in the unicode block "Latin Extended B". Should/Could they be added? http://www.unicode.org/charts/PDF/U0180.pdf
sure, just patch the right unic-*.tex vector and send me the file Hans
![](https://secure.gravatar.com/avatar/cbc7f16e099351c1fab3ca6d51c05c50.jpg?s=120&d=mm&r=g)
Hello, Hans Hagen wrote:
Tobias Burnus wrote:
if I type "[<chinese>]" the output is "[<chinese><space>]". (Example attached.) no example here Here it is. One has too look closely to the spacing, but the " " before "]" is clearly visible. I had also the problem in a mixed text (lot of Latin characters, Chinese character + ";" that there was a line break before the ";".
Tobias
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Tobias Burnus wrote:
Hello,
Hans Hagen wrote:
Tobias Burnus wrote:
if I type "[<chinese>]" the output is "[<chinese><space>]". (Example attached.)
no example here
Here it is. One has too look closely to the spacing, but the " " before "]" is clearly visible. I had also the problem in a mixed text (lot of Latin characters, Chinese character + ";" that there was a line break before the ";".
seems that there is a problem with lookahead and testing i'll send you a quick hack Hans
participants (3)
-
Hans Hagen
-
Tobias Burnus
-
Tobias Burnus