GNU bug report logs - #25309
11.89.8; multi-level script fontification stacks incorrectly

Previous Next

Package: auctex;

Reported by: Gennady Uraltsev <gennady.uraltsev <at> gmail.com>

Date: Sat, 31 Dec 2016 14:14:01 UTC

Severity: normal

Found in version 11.89.8

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Gennady Uraltsev <gennady.uraltsev <at> gmail.com>
Cc: Uwe Brauer <oub <at> mat.ucm.es>, 25309 <at> debbugs.gnu.org
Subject: bug#25309: 11.89.8; multi-level script fontification stacks incorrectly
Date: Tue, 03 Jan 2017 09:27:20 +0100
[Message part 1 (text/plain, inline)]
Gennady Uraltsev <gennady.uraltsev <at> gmail.com> writes:

> 2) LaTeX (or at least AMS) forbids expressions of the type $a_b_c$ and
> $a^b^c$.
>
>
> ERROR: Double subscript.
>
> --- TeX said ---
> l.106 $a_b_
>            c$
> --- HELP ---
> There are two subscripts in a row in a mathematical
> formula---something like x_{2}_{3}, which makes no sense.
>
> The only acceptable syntax is:
>
> $a_{b_c}$

Ah, right.  That makes things a bit easier.  Basically, we can assume
that in $a^{b^c}$ the {b^c} part is already fontified and risen, so in
the case where we are going to fontify ^c we would need to
increment/decrement the `raise' value.  I'll play around with this.

Bye,
Tassilo
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.