[XeTeX] More text output than input: bug or feature?

Peter Dyballa Peter_Dyballa at Web.DE
Mon Jan 5 01:16:04 CET 2009


Hello!

I wish this mechanism could work in my wallet! OK, I would have  
another crisis, broken seams, torn trousers ...

This input:

     1	\documentclass[a4paper,12pt]{article}
     2	  \usepackage{xltxtra}
     3	  \defaultfontfeatures{Mapping=tex-text}
     4	  \setromanfont{Baskerville}
     5	%  \setromanfont[ItalicFont={HiraMinPro-W3: 
+ital},BoldItalicFont={HiraMinPro-W6:+ital},BoldFont={HiraMinPro-W6}] 
{HiraMinPro-W3}
     6	  \setsansfont[ItalicFont={HiraKakuPro-W3:+ital},BoldFont= 
{HiraKakuPro-W6},BoldItalicFont={HiraKakuPro-W6:+ital}]{HiraKakuPro-W3}
     7	
     8	\listfiles
     9	\begin{document}
    10	
    11	\textsf{habitudes et un mot entre auteurs et \XeLaTeX\  
éditeurs. \XeLaTeX\
    12	
    13	habitudes et un \textit{certain} entre \textbf{auteurs} et  
\XeLaTeX\ \textbf{\itshape éditeurs} \XeLaTeX}
    14	
    15	\textsf{habitudes et un certain mot entre auteurs et \XeTeX\  
éditeurs. \XeTeX\
    16	
    17	et un {\itshape certain} entre {\bfseries auteurs} et \XeTeX\  
{\bfseries\itshape éditeurs} \XeTeX}
    18	
    19	\end{document}

seems to have some errors I can't see:

Runaway argument?
{habitudes et un mot entre auteurs et \XeLaTeX \ éditeurs. \XeLaTeX \^^M
! Paragraph ended before \text at command was complete.
<to be read again>
                    \par
l.13 ... \textit{certain} entre \textbf{auteurs} et \XeLaTeX\ \textbf 
{\itshape éditeurs} \XeLaTeX}

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
[...]
! Too many }'s.
<recently read> \egroup

l.13 ... \textit{certain} entre \textbf{auteurs} et \XeLaTeX\ \textbf 
{\itshape éditeurs} \XeLaTeX}

You've closed more groups than you opened.
Such booboos are generally harmless, so keep going.


Runaway argument?
{habitudes et un certain mot entre auteurs et \XeTeX \ éditeurs.  
\XeTeX \^^M
! Paragraph ended before \text at command was complete.
<to be read again>
                    \par
l.17 ...itshape certain} entre {\bfseries auteurs} et \XeTeX\  
{\bfseries\itshape éditeurs} \XeTeX}

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Too many }'s.
<recently read> \egroup

l.17 ...itshape certain} entre {\bfseries auteurs} et \XeTeX\  
{\bfseries\itshape éditeurs} \XeTeX}

You've closed more groups than you opened.
Such booboos are generally harmless, so keep going.

[1

]

and produces this reach and generous output (showing also the logo  
bugs):

-------------- next part --------------
A non-text attachment was scrubbed...
Name: XeTeX rich bug.pdf
Type: application/applefile
Size: 29430 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20090105/217b486b/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XeTeX rich bug.pdf
Type: application/pdf
Size: 47580 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20090105/217b486b/attachment-0001.pdf 
-------------- next part --------------



  *File List*
  article.cls    2005/09/16 v1.4f Standard LaTeX document class
   size12.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
  xltxtra.sty    2008/07/29 v0.4 Improvements for the "XeLaTeX" format
  ifxetex.sty    2006/08/21 v0.3 Provides ifxetex conditional
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
    xetex.def    2006/08/10 v0.92 LaTeX color/graphics driver for  
XeTeX (RRM, mod. JK)
fontspec.sty    2008/08/09 v1.18 Advanced font selection for XeLaTeX
     calc.sty    2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
  xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
  xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
  fontenc.sty
   eu1enc.def    2008/03/08 v0.1d Experimental unicode font encoding
   eu1lmr.fd    2007/01/14 v1.3 Font defs for Latin Modern
fontspec.cfg
xunicode.sty    2008/02/08 v0.91 provides access to latin accents and  
many other characters in Unicode lower plane
     etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
fixltx2e.sty    2006/03/24 v1.1n fixes to LaTeX


Mac OS X 10.4.11, TeX Live 2008 from MacTeX August 2008. This is  
XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)


--
Greetings

   Pete

One cannot live by television, video games, top ten CDs, and dumb  
movies alone.
				? Amiri Baraka, 1999





More information about the XeTeX mailing list