Re: [XeTeX] bug in xltxtra?

2010-08-03 Thread Peter Dyballa


Am 03.08.2010 um 17:01 schrieb Ulrike Fischer:


\usepackage{fontspec} %version v2.0b, loads fontspec-patches



This explains the steady behaviour in preliminary TeX Live 2010, in TL  
'09 I'm using fontspec.sty2008/08/09 v1.18. And here the  
introduction of xltxtra changes the shape of the words from slanted 
+upright to slanted+slanted. TeX Live 2008 behaves like '09. The AUX  
files all have this line just as it should:


	\...@writefile{toc}{\contentsline {section}{\numberline {1.1}Blabla  
\emph  {blabla}}{2}}


The re-definition of \emph seems to happen in xltxtra...

--
Mit friedvollen Grüßen

  Pete

The day Microsoft makes something that doesn't suck is the day they  
start selling vacuum cleaners.

– Ernest Jan Plugge




--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] bug in xltxtra?

2010-08-03 Thread Ulrike Fischer
Am Tue, 3 Aug 2010 09:56:45 +0200 schrieb Yves Codet:

> Hello.
> 
> I think I found a bug in xltxtra, which is illustrated in the attached  
> file. If xltxtra is loaded, the word which is in italics in the  
> section title is also in italics in the running head, but it should be  
> in roman since the running head is in italics; if only fontspec is  
> loaded, the running head is alright.

No the running head is not in italic, it uses \slshape. And this is
the source of the problem: A current fontspec or your xltxtra
redefines \em/\emph so that it switches to upshape only if the
current shape is \itshape. 

\listfiles
\documentclass{book}

\usepackage{fontspec} %version v2.0b, loads fontspec-patches

\begin{document}
{\slshape blub \emph{bla}} %slshape + itshape

{\itshape blubb \emph{blabla}} %itshape + upshape

\end{document}


-- 
Ulrike Fischer 



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] bug in xltxtra?

2010-08-03 Thread Khaled Hosny
On Tue, Aug 03, 2010 at 11:56:53AM +0200, Peter Dyballa wrote:
> 
> Am 03.08.2010 um 09:56 schrieb Yves Codet:
> 
> >I think I found a bug in xltxtra
> 
> 
> Not necessarily...

[...] 

> In TeX Live 2010 I always get:

This have something to do with xltxtra re-implementation of \emph to
work with OpenType fonts. In fontspec 2, this code have been moved from
xltxtra to fontspec itself.


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] bug in xltxtra?

2010-08-03 Thread Peter Dyballa


Am 03.08.2010 um 09:56 schrieb Yves Codet:


I think I found a bug in xltxtra



Not necessarily...

Adding into the preamble the nice little line

\listfiles

would show for the case fontspec vs. xltxtra that in TeX Live 2009  
some more files can be suspected the culprit:


 *File List*
book.cls2007/10/19 v1.4h Standard LaTeX document class
bk10.clo2007/10/19 v1.4h Standard LaTeX file (size option)
fontspec.sty2008/08/09 v1.18 Advanced font selection for XeLaTeX
 ifxetex.sty2009/01/23 v0.5 Provides ifxetex conditional
calc.sty2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
 xkeyval.sty2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex2008/08/13 v2.6a key=value parser (HA)
 fontenc.sty
  eu1enc.def2010/01/28 v0.1f Experimental Unicode font encodings
  eu1lmr.fd2009/10/30 v1.6 Font defs for Latin Modern
fontspec.cfg
 ***

vs.

 *File List*
book.cls2007/10/19 v1.4h Standard LaTeX document class
bk10.clo2007/10/19 v1.4h Standard LaTeX file (size option)
 xltxtra.sty2009/12/26 v0.5b Improvements for the "XeLaTeX" format
 ifxetex.sty2009/01/23 v0.5 Provides ifxetex conditional
fontspec.sty2008/08/09 v1.18 Advanced font selection for XeLaTeX
calc.sty2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
 xkeyval.sty2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex2008/08/13 v2.6a key=value parser (HA)
 fontenc.sty
  eu1enc.def2010/01/28 v0.1f Experimental Unicode font encodings
  eu1lmr.fd2009/10/30 v1.6 Font defs for Latin Modern
fontspec.cfg
xunicode.sty2008/02/08 v0.91 provides access to latin accents and  
many other characters in Unicode lower plane

metalogo.sty2009/09/04 v0.11 Extended TeX logo macros
graphicx.sty1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg2009/08/28 v1.8 graphics configuration of TeX Live
   xetex.def2009/11/22 v0.94 LaTeX color/graphics driver for  
XeTeX (RRM/JK)etex.sty1998/03/26 v2.0 eTeX basic definition  
package (PEB)

fixltx2e.sty2006/09/13 v1.1m fixes to LaTeX
 ***

But the difference in output cannot be produced by loading all the  
additional packages except xltxtra...



In TeX Live 2010 I always get:

<>



with these files:

 *File List*
book.cls2007/10/19 v1.4h Standard LaTeX document class
bk10.clo2007/10/19 v1.4h Standard LaTeX file (size option)
fontspec.sty2010/07/14 v2.0b Advanced font selection for XeLaTeX/ 
LuaLaTeX

   expl3.sty2010/07/13 v1982 L3 Experimental code bundle wrapper
 l3names.sty2010/07/11 v1981 L3 Experimental Naming Scheme for  
TeX Primitives

etex.sty1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty2010/06/07 v1942 L3 Experimental basic definitions
 l3expan.sty2010/06/10 v1948 L3 Experimental Argument Expansion  
module

l3tl.sty2010/05/22 v1919 L3 Experimental Token Lists
l3intexpr.sty2010/06/15 v1957 L3 Integer Expressions
 l3quark.sty2010/03/21 v1853 L3 Experimental Quark Commands
   l3seq.sty2010/03/29 v1879 L3 Experimental sequences and stacks
  l3toks.sty2010/05/25 v1933 L3 Experimental Token Registers
   l3int.sty2010/05/25 v1933 L3 Experimental Integer module
   l3prg.sty2010/03/21 v1853 L3 Experimental control structures
 l3clist.sty2010/03/29 v1878 L3 Experimental comma separated lists
 l3token.sty2010/04/11 v1890 L3 Experimental token investigation  
and manipulation

  l3prop.sty2010/03/21 v1857 L3 Experimental Property Lists
   l3msg.sty2010/03/23 v1866 L3 Experimental LaTeX Messages module
l3io.sty2010/05/22 v1923 L3 Experimental i/o module
  l3skip.sty2010/05/25 v1933 L3 Experimental skip registers
   l3box.sty2010/05/22 v1919 L3 Experimental Box module
l3keyval.sty2010/04/11 v1890 L3 Experimental keyval processing
  l3keys.sty2010/05/24 v1931 L3 Experimental key-value support
l3precom.sty2010/02/09 v1793 L3 Experimental precompilation module
  l3xref.sty2010/02/09 v1786 L3 Experimental cross referencing
  l3file.sty2010/03/21 v1853 L3 Experimental file loading
l3fp.sty2010/07/08 v1979 L3 Experimental floating-point  
operations

calc.sty2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  xparse.sty2010/05/23 v1927 Generic document command parser
 xkeyval.sty2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex2008/08/13 v2.6a key=value parser (HA)
fontspec-patches.sty2010/07/14 v2.0b Advanced font selection for  
XeLaTeX/LuaLaTeX

fixltx2e.sty2006/09/13 v1.1m fixes to LaTeX
 fontenc.sty
  eu1enc.def2010/05/27 v0.1g Experimental Unicode font encodings
  eu1lmr.fd2009/10/30 v1.6 Font defs for Latin Modern
fontspec.cfg
 ***

vs.

 *File List*
book.cls2007/10/19 v1.4h Standard LaTeX document class
bk10.clo2007/10/19 v1.4

[XeTeX] bug in xltxtra?

2010-08-03 Thread Yves Codet

Hello.

I think I found a bug in xltxtra, which is illustrated in the attached  
file. If xltxtra is loaded, the word which is in italics in the  
section title is also in italics in the running head, but it should be  
in roman since the running head is in italics; if only fontspec is  
loaded, the running head is alright.


My version of xltxtra is 0.5b (the latest version available through  
tlmgr, it seems).


Best wishes,

Yves



essai.tex
Description: Binary data





--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex