[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo.tex: accents in math mode
From: |
Karl Berry |
Subject: |
Re: texinfo.tex: accents in math mode |
Date: |
Fri, 18 Apr 2008 12:22:09 -0500 |
turn the @math{@'o} error
Oh, I didn't realize that it was enough to make the regular accent
commands work. That's easy. I made @dotless{i} and {j} work in @math
while I was there. I've committed the following patch, and will attach
my test file for good measure. Let me know if problems ...
Thanks,
Karl
--- texinfo.tex.~1.267.~ 2008-04-09 09:51:17.000000000 -0700
+++ texinfo.tex 2008-04-18 10:11:27.000000000 -0700
@@ -652,4 +652,4 @@
\def\temp{#1}%
- \ifx\temp\imacro \ptexi
- \else\ifx\temp\jmacro \j
+ \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi
+ \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi
\else address@hidden can be used only with i or j}%
@@ -1121,2 +1121,12 @@ where each line of input produces a line
\mathactive
+ % make the texinfo accent commands work in math mode
+ \let\"=\ddot
+ \let\'=\acute
+ \let\==\bar
+ \let\^=\hat
+ \let\`=\grave
+ \let\u=\breve
+ \let\v=\check
+ \let\~=\tilde
+ \let\dotaccent=\dot
$\finishmath
mathaccent.tex
Description: Binary data