Re: [NTG-context] chinese characters in an itemize environment

2006-09-26 Thread Lutz Haseloff
Peter Rolf schrieb:
 Lutz Haseloff wrote:
 Peter Rolf schrieb:
 just guessing (but worth a try):

 \setupitemgroups[inbetween=any fixed dimen]

 The default is .5ex, which depends on the current font (see end of
 core-itm.tex).

 HTH, Peter

 \setupitemgroups[inbetween=2cm]
 doesn't work.

 Iterestingly an inserted \mbox makes the error going away:

 It also works with \hbox{} or \null in front of the chinese text only.
 So I guess you are right with your assumption, that it's a (chinese)
 font specific problem. The additional indention of the chinese text is
 only clearly visible, when you mix the languages.
 
 Sorry, can't help you any further. BTW: is this the correct chinese
 translation?
 
 Greetings, Peter
 
 \startitemize[m,packed]
 \item\mbox{}三个小矮人
 \item\mbox{}Die drei Männlein im Walde
 \stopitemize

 Thats why i assume, this has to do with the chinese
 characters, and not only with the different fonts.


is there a cleaner way as to define something like
\def\myitem{\item\null} ?

Greetings

Lutz


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


Re: [NTG-context] chinese characters in an itemize environment

2006-09-22 Thread Peter Rolf
Lutz Haseloff wrote:
 Hi all,
 
 If I use:
 
 \startitemize[m,packed]
 \item 三个小矮人 (some chinese characters)
 \item Die drei Männlein im Walde
 \stopitemize
 
 I get more space between the number and the text in the
 chinese line as in the latin line.
 The difference is .3-.4em depending on the fonts.
 
 How can I avoid this?

just guessing (but worth a try):

\setupitemgroups[inbetween=any fixed dimen]

The default is .5ex, which depends on the current font (see end of
core-itm.tex).

HTH, Peter

 Greetings
 
 Lutz
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

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


Re: [NTG-context] chinese characters in an itemize environment

2006-09-22 Thread Lutz Haseloff
Peter Rolf schrieb:

 just guessing (but worth a try):
 
 \setupitemgroups[inbetween=any fixed dimen]
 
 The default is .5ex, which depends on the current font (see end of
 core-itm.tex).
 
 HTH, Peter
 

\setupitemgroups[inbetween=2cm]
doesn't work.

Iterestingly an inserted \mbox makes the error going away:

\startitemize[m,packed]
\item\mbox{}三个小矮人
\item\mbox{}Die drei Männlein im Walde
\stopitemize

Thats why i assume, this has to do with the chinese
characters, and not only with the different fonts.

Greetings

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


Re: [NTG-context] chinese characters in an itemize environment

2006-09-22 Thread Peter Rolf
Lutz Haseloff wrote:
 Peter Rolf schrieb:
 just guessing (but worth a try):

 \setupitemgroups[inbetween=any fixed dimen]

 The default is .5ex, which depends on the current font (see end of
 core-itm.tex).

 HTH, Peter

 
 \setupitemgroups[inbetween=2cm]
 doesn't work.
 
 Iterestingly an inserted \mbox makes the error going away:

It also works with \hbox{} or \null in front of the chinese text only.
So I guess you are right with your assumption, that it's a (chinese)
font specific problem. The additional indention of the chinese text is
only clearly visible, when you mix the languages.

Sorry, can't help you any further. BTW: is this the correct chinese
translation?

Greetings, Peter

 \startitemize[m,packed]
 \item\mbox{}三个小矮人
 \item\mbox{}Die drei Männlein im Walde
 \stopitemize
 
 Thats why i assume, this has to do with the chinese
 characters, and not only with the different fonts.
 
 Greetings
 
 Lutz
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

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