ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Spacing problem (mixing Chinese with Latin characters)
@ 2006-01-09 18:40 Tobias Burnus
  2006-01-09 18:58 ` Hans Hagen
  2006-01-09 18:59 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Tobias Burnus @ 2006-01-09 18:40 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spacing problem (mixing Chinese with Latin characters)
  2006-01-09 18:40 Spacing problem (mixing Chinese with Latin characters) Tobias Burnus
@ 2006-01-09 18:58 ` Hans Hagen
  2006-01-09 18:59 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-01-09 18:58 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spacing problem (mixing Chinese with Latin characters)
  2006-01-09 18:40 Spacing problem (mixing Chinese with Latin characters) Tobias Burnus
  2006-01-09 18:58 ` Hans Hagen
@ 2006-01-09 18:59 ` Hans Hagen
  2006-01-12 17:14   ` Tobias Burnus
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-01-09 18:59 UTC (permalink / raw)


Tobias Burnus wrote:

> Hello,
>
> if I type "[<chinese>]" the output is "[<chinese><space>]". (Example 
> attached.)

no example  here

Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spacing problem (mixing Chinese with Latin characters)
  2006-01-09 18:59 ` Hans Hagen
@ 2006-01-12 17:14   ` Tobias Burnus
  2006-01-12 21:48     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Burnus @ 2006-01-12 17:14 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

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

[-- Attachment #2: chtest.tex --]
[-- Type: application/x-tex, Size: 96 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spacing problem (mixing Chinese with Latin characters)
  2006-01-12 17:14   ` Tobias Burnus
@ 2006-01-12 21:48     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-01-12 21:48 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-12 21:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-09 18:40 Spacing problem (mixing Chinese with Latin characters) Tobias Burnus
2006-01-09 18:58 ` Hans Hagen
2006-01-09 18:59 ` Hans Hagen
2006-01-12 17:14   ` Tobias Burnus
2006-01-12 21:48     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).