Le 05/11/2010 04:28, Will Robertson a écrit :
> On 05/11/2010, at 1:54 PM, Manuel Pégourié-Gonnard wrote:
> 
>> \slshape bla
>>
>> doesn't work with LuaTeX, but does work with XeLaTeX. It also works with 
>> LuaTeX
>> replacing \slshape with \itshape.
> 
> Does it work if you use the version of fontspec on TLContrib?
> I've been meaning to make an update this week to fix a similar problem.
> 
I'll try. In the meanwhile, I found that the following hack seems to fix the
problem:

\renewcommand...@subst@correction{%
  \xdef\su...@correction{%
    \f...@name
    \global\expandafter\font
    \csname \c...@fontshape/\...@size\endcsname
    \noexpand"\fontname\font"%
    \relax}%
  \aftergroup\su...@correction
}

Manuel.

Reply via email to