On 2017-12-02 01:21:44 +0000, Gavin Smith wrote:
> On Mon, Nov 27, 2017 at 09:52:58AM +0100, Vincent Lefevre wrote:
> > When @var is used in exponent with the raw formatter command, I get an
> > error in the PDF generation:
> >
> > @tex$2^{@var{foo}}$@end tex
> >
> > yields errors like
> >
> > ../../../.././mpfr.texi:2219: \scriptfont 5 is undefined (character f).
> > l.2219 @tex$2^{@var{foo}}$
> > @end tex
> > ../../../.././mpfr.texi:2219: \scriptfont 5 is undefined (character o).
> > l.2219 @tex$2^{@var{foo}}$
> > @end tex
> > ../../../.././mpfr.texi:2219: \scriptfont 5 is undefined (character o).
> > l.2219 @tex$2^{@var{foo}}$
> > @end tex
> >
> > The use of @var is important to get the correct typography
> > (slanted instead of italic, with kerning).
> >
>
> Confirmed also in the most recent version. I've made a change that
> appears to work for the case you are using.
Thanks. But I've noticed that the font size in exponent has changed.
In particular, this looks strange on:
$-\int_{t=0}^{@var{op}} \log(1-t)/t\ dt$
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)