[XeTeX] no space after item no.

Adam Lindsay atl at comp.lancs.ac.uk
Mon Mar 13 12:46:51 CET 2006


Dalyoung Jeong wrote:
> Dear all,
> 
> Yesterday, I made a short text including itemized list more than 10.
> I have run it using XeTeX+ConTeXt and got a nice pdf file except one thing.
> 
> there is no space between item no and the sentence.
> 
> I tested the same file using ConTeXt(Mac Os Roman encoding), and have no 
> problem at all.
> There are spaces after item no less than 10.
> 
> Should I set something in XeTeX-ConTeXt?

Dalyoung,

This is much more a ConTeXt issue than a XeTeX issue. I *think* it comes 
up with XeConTeXt because the CJK font has (relatively) wider roman 
characters than with roman fonts.

Anyway, here are two different approaches. You can either correct it per 
item group (making it broad or a multiple thereof), or across all 
itemizes (insert whatever width that makes you happy).

\starttext

\startitemize[n,2*broad]
\dorecurse{13}{\item item }
\stopitemize

% or:
\setupitemize[width=2.5em]
\startitemize[n]
\dorecurse{13}{\item item }
\stopitemize

\stoptext


Hope that helps!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the XeTeX mailing list