Last modified: 2014-07-01 10:31:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69307, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67307 - LaTeX: curly bracket highlighting mismatch if parameter is a command name
LaTeX: curly bracket highlighting mismatch if parameter is a command name
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
unspecified
All All
: Low trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikibooks.org/wiki/LaTeX/Ta...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-30 15:40 UTC by LWChris
Modified: 2014-07-01 10:31 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description LWChris 2014-06-30 15:40:16 UTC
If a command is the parameter of another command, the bracket matcher does seem to get confused.

Example:

\setlength{\tabcolsep}{5pt}

Here, the two bracket pairs are colored as:
\setlength[1{]\tabcolsep[}2][{2]5pt[}1]

The correct bracket pairs are:
\setlength[1{]\tabcolsep[}1][2{]5pt[}2]

For a live example, see: http://en.wikibooks.org/wiki/LaTeX/Tables#Space_between_columns

Hint: the code there is generated by the "LaTeX/LaTeX" template which uses the <source> tag, if this is of any importance.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links