https://bugzilla.wikimedia.org/show_bug.cgi?id=67307

            Bug ID: 67307
           Summary: LaTeX: curly bracket highlighting mismatch if
                    parameter is a command name
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: SyntaxHighlight (GeSHi)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to