Page MenuHomePhabricator

Quotes inside of <math>\text{...}</math> leads to lexing errors.
Closed, ResolvedPublic

Description

Author: nmichalo

Description:
While working at wikibooks recently I found the following problem:
*<math>\text{next year's}</math> leads to lexing errors
*<math>\text{next years}</math> does not.


Version: unspecified
Severity: normal
URL: http://en.wikibooks.org/w/index.php?title=Wikibooks:Reading_room/Technical_Assistance&oldid=1562066#TeX_problems.

Details

Reference
bz19547

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:39 PM
bzimport added a project: Math.
bzimport set Reference to bz19547.
bzimport added a subscriber: Unknown Object (MLST).

nmichalo wrote:

The following extends the patch extends the characters allowed in TeX boxes to include quotes.

Attached:

nmichalo wrote:

Forgot to mention this was fixed in revision r87092

r87092 and others have been reverted pending test cases and further review.

Is the single quote the only relevant character here? I notice that double quotes also don't work; indeed there seems to be a very large set of things that don't work. What limitations should actually be applied, and what is/isn't legal in here?

Reapplied as r97018 with a parser test case.

I'd still like to confirm whether more chars need to be supported here or how all this is supposed to work...