File: latex-logfile.xml

package info (click to toggle)
kf6-syntax-highlighting 6.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,872 kB
  • sloc: xml: 205,656; cpp: 12,882; python: 3,055; sh: 965; perl: 814; ruby: 494; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; exp: 61; erlang: 54; sql: 51; java: 47; sed: 45; objc: 37; tcl: 36; awk: 31; asm: 30; fortran: 18; cs: 10
file content (65 lines) | stat: -rw-r--r-- 3,150 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>
<language name="LaTeX Log File" version="1" section="Markup" kateversion="5.0" extensions="*.log" priority="-20" author="Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="MIT" >
  <highlighting>
    <contexts>
      <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">
        <RegExpr      String="Package:? "  attribute="Normal Text" context="Package" firstNonSpace="true"/>
        <StringDetect String="LaTeX " context="Information Type" lookAhead="true" firstNonSpace="true"/>
        <IncludeRules context="File Name Start"/>
        <RegExpr String="^\)+" attribute="File Names" endRegion="FileOutput" column="0"/>
        <RegExpr String="\\[_a-zA-Z@][_a-zA-Z0-9@]+" attribute="Keyword" />
        <DetectChar char="!" attribute="Error" context="Error Message" firstNonSpace="true"/>
        <StringDetect String="Underfull \hbox" context="Warning Message" firstNonSpace="true"/>
        <StringDetect String="Overfull \hbox" context="Warning Message" firstNonSpace="true"/>
      </context>

      <context name="Package" attribute="Package" lineEndContext="#pop">
        <DetectIdentifier/>
        <DetectChar char=" " context="#pop!Information Type"/>
      </context>

      <context name="Information Type" attribute="Normal Text" lineEndContext="#pop">
        <RegExpr String="(LaTeX)?\s*(Font)?\s*Info:?" attribute="Info" context="#pop!Info Message"/>
        <RegExpr String="(LaTeX)?\s*Warning:?" attribute="Warning" context="#pop!Warning Message"/>
        <RegExpr String="(LaTeX)?\s*Error:?" attribute="Error" context="#pop!Error Message"/>
      </context>

      <context name="Warning Message" attribute="Warning" lineEndContext="#stay">
        <RegExpr String="[^(]" lookAhead="true" context="#pop" firstNonSpace="true"/>
        <IncludeRules context="File Name Start"/>
        <RegExpr String="[^(]+"/>
      </context>

      <context name="Error Message" attribute="Error" lineEndContext="#stay">
        <IncludeRules context="Warning Message"/>
      </context>

     <context name="Info Message" attribute="Info" lineEndContext="#stay">
       <IncludeRules context="Warning Message"/>
     </context>

     <context name="File Name Start" lineEndContext="#pop" attribute="File Names">
       <!-- '(' followed by a Linux or Windows path -->
       <RegExpr String="\(([/.]|&quot;?[CDE]:)" context="File Names" beginRegion="FileOutput"/>
     </context>

     <context name="File Names" attribute="File Names" lineEndContext="#pop">
     </context>

</contexts>
   <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal"/>
      <itemData name="Info" defStyleNum="dsDataType"/>
      <itemData name="Warning" defStyleNum="dsInformation"/>
      <itemData name="Error" defStyleNum="dsError"/>
      <itemData name="File Names" defStyleNum="dsNormal" bold="1"/>
      <itemData name="Package" defStyleNum="dsImport"/>
      <itemData name="Keyword" defStyleNum="dsVerbatimString" />
    </itemDatas>
</highlighting>

<general>
  <keywords weakDeliminator="\" wordWrapDeliminator=",{}[]"/>
</general>
</language>