[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16390: 24.3.50; [PATCH] texinfo-mode does not fontify @math{2^{61}}
From: |
Bastien |
Subject: |
bug#16390: 24.3.50; [PATCH] texinfo-mode does not fontify @math{2^{61}} correctly |
Date: |
Wed, 08 Jan 2014 00:32:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
> Bastien Guerry wrote:
>
>> The patch fixes this for @math only.
>
> No it doesn't.
> Even if you fix the obvious 2/1 typo that makes it raise an error during
> redisplay, it will make lines like
>
> @math{e} is used. If @var{arg} or @var{base} is negative, @code{log}
>
> look awful.
Yes. Attached is another patch that works, but looks ugly.
Let me know if there is another more elegant way to check for
the optional presence of balanced curly brace.
texinfo.el.patch
Description: Text Data
--
Bastien