[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kate/data
From: Jeroen Wijnhout <wijnhout () science ! uva ! nl>
Date: 2005-03-15 19:11:12
Message-ID: 20050315191112.D66CC16F45 () office ! kde ! org
[Download RAW message or body]
CVS commit by wijnhout:
fix bug 100251, added AMS math environments
M +3 -3 latex.xml 1.42
--- kdelibs/kate/data/latex.xml #1.41:1.42
@@ -38,5 +38,5 @@
<DetectChar char="]" attribute="Normal Text" context="#pop#pop"/>
<RegExpr String="(verbatim|lstlisting|boxedverbatim|Verbatim)\*?" \
attribute="Environment" context="VerbatimEnv"/>
- <RegExpr String="(equation|displaymath|eqnarray|math|multline)\*?" \
attribute="Environment" context="MathEnv"/> + <RegExpr \
String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign)\*?" \
attribute="Environment" context="MathEnv"/> </context>
@@ -77,5 +77,5 @@
</context>
<context name="MathModeEnv" attribute="Math" lineEndContext="#stay">
- <RegExpr String="\\end(?=\s*\{\s*[a-zA-Z]*(equation|displaymath|eqnarray|math|multline)\*?\s*\})" \
attribute="Structure" context="MathFindEnd"/> + <RegExpr \
String="\\end(?=\s*\{\s*[a-zA-Z]*(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign)\*?\s*\})" \
attribute="Structure" context="MathFindEnd"/>
<RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Keyword Mathmode" \
context="#stay" beginRegion="block" />
<RegExpr String="\\end(?=[^a-zA-Z])" attribute="Keyword Mathmode" \
context="#stay" endRegion="block" /> @@ -95,5 +95,5 @@
<context name="MathFindEnd" attribute="Normal Text" lineEndContext="#pop" \
fallthrough="true" fallthroughContext="#pop"> <DetectChar char="{" attribute="Normal \
Text" context="#stay"/>
- <RegExpr String="[a-zA-Z]*(equation|displaymath|eqnarray|math|multline)\*?" \
attribute="Environment" context="#stay"/> + <RegExpr \
String="[a-zA-Z]*(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign)\*?" \
attribute="Environment" context="#stay"/> <DetectSpaces />
<DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" \
endRegion="block"/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic