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.

> I'm using texinfo 6.5 under Debian. The texinfo.tex version is:
> 
> \def\texinfoversion{2013-02-01.11}
> 
> which seems to be the version installed by automake (same file as
> /usr/share/automake-1.15/texinfo.tex).

If you want to use the most recent version then delete that file out of 
the directory where your *.texi files are and get the most recent 
version from https://ftp.gnu.org/gnu/texinfo/.

Reply via email to