Latex: several fixes (math mode, nested verbatim, ...)

Authored by jpoelen on Aug 7 2019, 9:56 PM.


  • nested { and macro identifier with math mode
  • add shortintertext, Cref, param with math env and fix providecommand
  • text macro in math mode
  • nested verbatim
  • ...

BUG: 320303
BUG: 410477

Diff Detail

R216 Syntax Highlighting
tex (branched from master)
No Linters Available
No Unit Test Coverage
Build Status
Buildable 14889
Build 14907: arc lint + arc unit
jpoelen requested review of this revision.Aug 7 2019, 9:56 PM
jpoelen created this revision.
cullmann accepted this revision.Aug 8 2019, 12:14 PM

I believe in your tests, as my LaTeX skills are just on "I wrote a bad phd with it" level ;=)
Feel free to push after you incremented the version number.

Btw. => Thanks a lot for the improvements! At least from the diff this looks like plenty of work.

This revision is now accepted and ready to land.Aug 8 2019, 12:14 PM
nibags added a subscriber: nibags.Aug 8 2019, 10:26 PM

There are many improvements to the Latex highlighter!
Recently I marked bugs 274440, 322081 and others as duplicates (in fact, this patch fixes them well)

jpoelen updated this revision to Diff 63378.Aug 8 2019, 11:54 PM

At first, I didn't have much change. But as I broke my teeth on one of the bugs and there were some problems here and there, I armed myself with a bulldozer :D

The 410477 did not exist when I started my modifications, I add it in the list.

jpoelen edited the summary of this revision. (Show Details)Aug 9 2019, 12:05 AM
This revision was automatically updated to reflect the committed changes.