texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7988] \resetmathfonts set \scriptfont


From: gavinsmith0123
Subject: [7988] \resetmathfonts set \scriptfont
Date: Sat, 2 Dec 2017 08:44:11 -0500 (EST)

Revision: 7988
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7988
Author:   gavin
Date:     2017-12-02 08:44:11 -0500 (Sat, 02 Dec 2017)
Log Message:
-----------
\resetmathfonts set \scriptfont

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-11-17 06:43:10 UTC (rev 7987)
+++ trunk/ChangeLog     2017-12-02 13:44:11 UTC (rev 7988)
@@ -1,3 +1,10 @@
+2017-12-02  Gavin Smith  <address@hidden>
+
+       * doc/texinfo.tex (\resetmathfonts): Define \scriptfont and 
+       \scriptscriptfont in addition to \textfont.  Vincent Lefevre 
+       reported that @var didn't work in superscript in math mode
+       (bug-texinfo, 2017-11-27).
+
 2017-11-17  Gavin Smith  <address@hidden>
 
        * doc/texinfo.tex (\enddoublecolums): Correct a conditional 

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2017-11-17 06:43:10 UTC (rev 7987)
+++ trunk/doc/texinfo.tex       2017-12-02 13:44:11 UTC (rev 7988)
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2017-11-17.06}
+\def\texinfoversion{2017-12-01.13}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -2503,13 +2503,25 @@
 
 
 % In order for the font changes to affect most math symbols and letters,
-% we have to define the \textfont of the standard families.  We don't
-% bother to reset \scriptfont and \scriptscriptfont; awaiting user need.
+% we have to define the \textfont of the standard families.
 %
 \def\resetmathfonts{%
   \textfont0=\rmfont \textfont1=\ifont \textfont2=\syfont
   \textfont\itfam=\itfont \textfont\slfam=\slfont \textfont\bffam=\bffont
   \textfont\ttfam=\ttfont \textfont\sffam=\sffont
+  %
+  \scriptfont0=\rmfont \scriptfont1=\ifont \scriptfont2=\syfont
+  \scriptfont\itfam=\itfont \scriptfont\slfam=\slfont \scriptfont\bffam=\bffont
+  \scriptfont\ttfam=\ttfont \scriptfont\sffam=\sffont
+  %
+  \scriptscriptfont0=\rmfont
+  \scriptscriptfont1=\ifont
+  \scriptscriptfont2=\syfont
+  \scriptscriptfont\itfam=\itfont
+  \scriptscriptfont\slfam=\slfont
+  \scriptscriptfont\bffam=\bffont
+  \scriptscriptfont\ttfam=\ttfont
+  \scriptscriptfont\sffam=\sffont
 }
 
 %




reply via email to

[Prev in Thread] Current Thread [Next in Thread]