Page MenuHomePhabricator

Ensure that \bigl and friends are closed with corresponding right elements
Closed, InvalidPublic

Description

Currently, brackets written with \left( generate syntax errors if no corresponding \right) command is used. bigl et al. should also generate syntax errors.
See for example

physikerwelt@a1 texvcjs % ./bin/texvcjs '\bigl( a'
+{\bigl (}a
physikerwelt@a1 texvcjs % ./bin/texvcjs '\big( a' 
+{\big (}a
physikerwelt@a1 texvcjs % ./bin/texvcjs '\left( a'
S
  • change in texvcjs
  • change in wikitexvc

Event Timeline

Change 980006 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/services/texvcjs@master] Convert (bB)igg?(l|r) from literals to left/right objects

https://gerrit.wikimedia.org/r/980006

Change 980006 abandoned by Physikerwelt:

[mediawiki/services/texvcjs@master] Convert (bB)igg?(l|r) from literals to left/right objects

Reason:

this is unfortunately incorrect, one can use \bigl without error but not \left. without error

https://gerrit.wikimedia.org/r/980006

Unfortunately, it is not that easy. bigl and bigr are normal operators they only adjust the spacing to the left or right, but don't define grouping terms