Spacing problem (mixing Chinese with Latin characters)
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
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
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
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