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

Ross Moore ross at ics.mq.edu.au
Mon Jan 5 01:52:37 CET 2009


On 05/01/2009, at 11:16 AM, Peter Dyballa wrote:

> 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

You cannot have a blank line ( = new paragraph )
within the \textsf text-command macro.

> 	
>    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
  Similarly here!

> 	
>    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):
>
> <XeTeX rich bug.pdf>
>
>
>  *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
>
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

------------------------------------------------------------------------
Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------





More information about the XeTeX mailing list