"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/tex.lang" (12 May 2020, 860 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Description="TeX and LaTeX"
    3 
    4 Categories = {"markup", "document"}
    5 
    6 Keywords={
    7   { Id=1,
    8     Regex=[[\\\w+]],
    9   },
   10   { Id=2,
   11     List={"a4paper", "report", "ngerman", "dvips", "graphicx", "latin1", "inputenc",
   12             "T1", "fontenc", "color", "alltt", "document", "tabbing", "tocdepth"},
   13   },
   14   { Id=3,
   15     Regex=[[\#\d+]],
   16   },
   17 }
   18 
   19 IgnoreCase=false
   20 
   21 Comments={
   22   { Block=false,
   23     Delimiter= { [[(?<!\\)%.*$]] },
   24   },
   25   { Block=true,
   26     Nested=false,
   27     Delimiter= { [[\(\*]],[[\*\)]],}
   28   }
   29 }
   30 
   31 NestedSections = {
   32   { Lang="perl", Delimiter= { [[\\perl(?:re)?newcommand\{\\\w+\}\[.*\]\{]], [[\{]] } },
   33   { Lang="perl", Delimiter= { [[\\perl(?:re)?newenvironment\{\w+\}\[.*\]\{]], [[\{]] } },
   34   { Lang="inc_luatex", Delimiter= { [[\\directlua0?.*?\{]], [[(?<!\{)\}]] } },
   35   { Lang="r", Delimiter= { [[<<.*>>=]], [[@]] } },
   36 }
   37 
   38 Operators=[[ \{|\}|\[|\] ]]
   39