[XeTeX] zhspacing interferes with latin apostrophe (2019)

Axel Kielhorn axel.nospam at gmx.de
Wed Oct 20 17:31:59 CEST 2010


Hello!

I've been contacted with a problem report involving zhspacing and a Unicode Apostrophe:

The Apostrophe is replaced by a Chinese character, which looks horrible in context.
When I use a ' and Mapping=tex-text the correct character is printed.

The document enclosed does not include Chinese text, just loading zhspacing is sufficient to produce the error.

If I put zhspacing into a group, everything is fine, I'm just wondering why it acts on non-chinese text. (Well, it doesn't know the text is non-chinese.)

My TL2010 is about a week old:

 *File List*
 scrbook.cls    2010/09/17 v3.07 KOMA-Script document class (book)
scrkbase.sty    2010/09/17 v3.07 KOMA-Script package (KOMA-Script-dependent bas
ics and keyval usage)
 scrbase.sty    2010/09/17 v3.07 KOMA-Script package (KOMA-Script-independent b
asics and keyval usage)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty    2009/03/25 v3.03 KOMA-Script package (loading files)
tocbasic.sty    2010/09/14 v3.06a KOMA-Script package (handling toc-files)
scrsize10pt.clo    2010/09/17 v3.07 KOMA-Script font size class option (10pt)
typearea.sty    2010/09/17 v3.07 KOMA-Script package (type area)
fontspec.sty    2010/09/29 v2.1b Advanced font selection for XeLaTeX/LuaLaTeX
   expl3.sty    2010/09/16 v2022 L3 Experimental code bundle wrapper
 l3names.sty    2010/09/26 v2048 L3 Experimental Naming Scheme for TeX Primitiv
es
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty    2010/09/20 v2037 L3 Experimental basic definitions
 l3expan.sty    2010/09/20 v2037 L3 Experimental Argument Expansion module
    l3tl.sty    2010/09/21 v2040 L3 Experimental Token Lists
l3intexpr.sty    2010/09/22 v2045 L3 Integer Expressions
 l3quark.sty    2010/09/20 v2036 L3 Experimental Quark Commands
   l3seq.sty    2010/03/29 v1879 L3 Experimental sequences and stacks
  l3toks.sty    2010/09/20 v2037 L3 Experimental Token Registers
   l3int.sty    2010/09/19 v2029 L3 Experimental Integer module
   l3prg.sty    2010/09/22 v2043 L3 Experimental control structures
 l3clist.sty    2010/09/20 v2037 L3 Experimental comma separated lists
 l3token.sty    2010/09/19 v2029 L3 Experimental token investigation and manipu
lation
  l3prop.sty    2010/03/21 v1857 L3 Experimental Property Lists
   l3msg.sty    2010/03/23 v1866 L3 Experimental LaTeX Messages module
    l3io.sty    2010/05/22 v1923 L3 Experimental i/o module
  l3skip.sty    2010/09/23 v2047 L3 Experimental skip registers
   l3box.sty    2010/09/26 v2048 L3 Experimental Box module
l3keyval.sty    2010/04/11 v1890 L3 Experimental keyval processing
  l3keys.sty    2010/05/24 v1931 L3 Experimental key-value support
l3precom.sty    2010/02/09 v1793 L3 Experimental precompilation module
  l3xref.sty    2010/02/09 v1786 L3 Experimental cross referencing
  l3file.sty    2010/03/21 v1853 L3 Experimental file loading
    l3fp.sty    2010/09/19 v2029 L3 Experimental floating-point operations
l3luatex.sty    2010/07/18 v1985 L3 Experimental LuaTeX functions
    calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  xparse.sty    2010/09/20 v2037 Generic document command parser
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
fontspec-patches.sty    2010/09/29 v2.1b Advanced font selection for XeLaTeX/Lu
aLaTeX
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
 fontenc.sty
  eu1enc.def    2010/05/27 v0.1h Experimental Unicode font encodings
  eu1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty    2010/05/18 v0.95 provides access to latin accents and many othe
r characters in Unicode lower plane
fontspec.cfg
polyglossia.sty    2010/07/27 v1.2.0a Babel replacement for XeLaTeX
etoolbox.sty    2010/09/12 v2.0a e-TeX tools for LaTeX
makecmds.sty    2009/09/03 v1.0a extra command making commands
gloss-english.ldf    polyglossia: module for english
zhspacing.sty    2008/01/02
 ***********

Axel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: apostroph.tex
Type: application/octet-stream
Size: 1165 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101020/6da6ad08/attachment.obj>


More information about the XeTeX mailing list