diff options
Diffstat (limited to 'kate/data/latex.xml')
-rw-r--r-- | kate/data/latex.xml | 280 |
1 files changed, 209 insertions, 71 deletions
diff --git a/kate/data/latex.xml b/kate/data/latex.xml index 4c944cd50..f138b53d9 100644 --- a/kate/data/latex.xml +++ b/kate/data/latex.xml @@ -1,28 +1,28 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> - <language name="LaTeX" version="1.33" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (braun@physik.fu-berlin.de)" license="LGPL" > +<language name="LaTeX" version="1.47" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" > <highlighting> <contexts> <!-- Normal text --> <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay"> - <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindEnvironment" beginRegion="block" /> - <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEnvironment" endRegion="block" /> + <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block" /> + <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEndEnvironment" /> <RegExpr String="\\(cite|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/> <RegExpr String="\\(cites|Cites|parencites|Parencites|autocites|Autocites|supercites|footcites|Footcites)(?=[^a-zA-Z])" attribute="Structure" context="FancyLabel"/> <RegExpr String="\\(cite|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> - <RegExpr String="\\(subref\*?|cref\*?|label|pageref|autoref|ref|vpageref|vref|pagecite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> + <RegExpr String="\\(subref\*?|cref\*?|label|pageref|autoref|ref|vpageref|vref|pagecite|eqref)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> <RegExpr String="\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\*?\s*(?=[\{\[])" attribute="Structure" context="Sectioning"/> - <RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Footnote" context="Footnoting"/> + <RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Keyword" context="Footnoting"/> <RegExpr String="\\(renewcommand|providenewcommand|newcommand)\*?(?=[^a-zA-Z])" attribute="Keyword" context="NewCommand"/> <RegExpr String="\\(e|g|x)?def(?=[^a-zA-Z])" attribute="Keyword" context="DefCommand"/> <RegExpr String="<<.*>>=" attribute="Normal Text" context="NoWeb" /> - <StringDetect String="\(" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <StringDetect String="\(" attribute="Math" context="MathMode" /> <StringDetect String="\[" attribute="Math" context="MathModeEquation" beginRegion="mathMode" /> <StringDetect String="\iffalse" attribute="Comment" context="Multiline Comment"/> <StringDetect String="\ensuremath{" attribute="Math" context="MathModeEnsure"/> <DetectChar char="\" attribute="Keyword" context="ContrSeq"/> <StringDetect String="$$" attribute="Math" context="MathModeDisplay" beginRegion="mathMode" /> - <DetectChar char="$" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <DetectChar char="$" attribute="Math" context="MathMode" /> <RegExpr String="%\s*BEGIN.*$" attribute="Region Marker" context="#stay" beginRegion="regionMarker" firstNonSpace="true" /> <RegExpr String="%\s*END.*$" attribute="Region Marker" context="#stay" endRegion="regionMarker" firstNonSpace="true" /> <DetectChar char="%" attribute="Comment" context="Comment"/> @@ -45,9 +45,9 @@ <context name="SectioningInside" attribute="Structure Text" lineEndContext="#stay"> <DetectChar char="{" attribute="Normal Text" context="SectioningInside"/> <DetectChar char="}" attribute="Normal Text" context="#pop"/> - <StringDetect String="\(" attribute="Structure Math" context="SectioningMathMode" beginRegion="mathMode" /> + <StringDetect String="\(" attribute="Structure Math" context="SectioningMathMode" /> <DetectChar char="\" attribute="Structure Keyword" context="SectioningContrSeq"/> - <DetectChar char="$" attribute="Structure Math" context="SectioningMathMode" beginRegion="mathMode" /> + <DetectChar char="$" attribute="Structure Math" context="SectioningMathMode" /> <DetectChar char="%" attribute="Comment" context="Comment"/> <DetectChar char="×" attribute="Bullet" context="#stay"/> </context> @@ -58,8 +58,8 @@ </context> <context name="SectioningMathMode" attribute="Structure Math" lineEndContext="#stay"> <StringDetect String="$$" attribute="Error" context="#stay" /> - <DetectChar char="$" attribute="Structure Math" context="#pop" endRegion="mathMode" /> - <Detect2Chars char="\" char1=")" attribute="Structure Math" context="#pop" endRegion="mathMode" /> + <DetectChar char="$" attribute="Structure Math" context="#pop" /> + <Detect2Chars char="\" char1=")" attribute="Structure Math" context="#pop" /> <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" /> <DetectChar char="\" attribute="Structure Keyword Mathmode" context="SectioningMathContrSeq"/> <DetectChar char="%" attribute="Comment" context="Comment"/> @@ -79,33 +79,19 @@ <DetectChar char="}" attribute="Normal Text" context="#pop"/> <DetectChar char="%" attribute="Comment" context="Comment"/> </context> - <context name="FootnotingInside" attribute="Footnote Text" lineEndContext="#stay"> + <context name="FootnotingInside" attribute="Normal Text" lineEndContext="#stay"> <DetectChar char="{" attribute="Normal Text" context="FootnotingInside"/> <DetectChar char="}" attribute="Normal Text" context="#pop"/> - <StringDetect String="\(" attribute="Footnote Math" context="FootnotingMathMode" beginRegion="mathMode" /> - <DetectChar char="\" attribute="Footnote Keyword" context="FootnotingContrSeq"/> - <DetectChar char="$" attribute="Footnote Math" context="FootnotingMathMode" beginRegion="mathMode" /> - <DetectChar char="%" attribute="Comment" context="Comment"/> - <DetectChar char="×" attribute="Bullet" context="#stay"/> - </context> - <context name="FootnotingContrSeq" attribute="Keyword" lineEndContext="#pop"> - <DetectChar char="×" attribute="Bullet" context="#stay"/> - <RegExpr String="[a-zA-Z]+(\+?|\*{0,3})" attribute="Footnote Keyword" context="#pop"/> - <RegExpr String="[^a-zA-Z]" attribute="Footnote Keyword" context="#pop" /> + <StringDetect String="\(" attribute="Math" context="FootnotingMathMode" /> + <DetectChar char="$" attribute="Math" context="FootnotingMathMode" /> + <IncludeRules context="Normal Text" /> </context> - <context name="FootnotingMathMode" attribute="Footnote Math" lineEndContext="#stay"> + <context name="FootnotingMathMode" attribute="Math" lineEndContext="#stay"> <StringDetect String="$$" attribute="Error" context="#stay" /> - <DetectChar char="$" attribute="Footnote Math" context="#pop" endRegion="mathMode" /> - <Detect2Chars char="\" char1=")" attribute="Footnote Math" context="#pop" endRegion="mathMode" /> + <DetectChar char="$" attribute="Math" context="#pop" /> + <Detect2Chars char="\" char1=")" attribute="Math" context="#pop" /> <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" /> - <DetectChar char="\" attribute="Footnote Keyword Mathmode" context="FootnotingMathContrSeq"/> - <DetectChar char="%" attribute="Comment" context="Comment"/> - <DetectChar char="×" attribute="Bullet" context="#stay"/> - </context> - <context name="FootnotingMathContrSeq" attribute="Footnote Keyword Mathmode" lineEndContext="#pop"> - <DetectChar char="×" attribute="Bullet" context="#stay"/> - <RegExpr String="[a-zA-Z]+\*?" attribute="Footnote Keyword Mathmode" context="#pop"/> - <RegExpr String="[^a-zA-Z]" attribute="Footnote Keyword Mathmode" context="#pop" /> + <IncludeRules context="MathMode" /> </context> <!-- LaTeX commands \newcommand and \renewcommand --> @@ -137,7 +123,7 @@ <!-- LaTeX command in text mode --> <context name="ContrSeq" attribute="Keyword" lineEndContext="#pop"> <StringDetect String="verb*" attribute="Keyword" context="Verb"/> - <RegExpr String="verb(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/> + <RegExpr String="(Verb|verb|lstinline)(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/> <DetectChar char="×" attribute="Bullet" context="#stay"/> <RegExpr String="[a-zA-Z@]+(\+?|\*{0,3})" attribute="Keyword" context="#pop"/> <RegExpr String="[^a-zA-Z]" attribute="Keyword" context="#pop" /> @@ -163,9 +149,9 @@ </context> <context name="LabelOption" attribute="Normal Text" lineEndContext="#stay"> - <StringDetect String="\(" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <StringDetect String="\(" attribute="Math" context="MathMode" /> <DetectChar char="\" attribute="Keyword" context="ContrSeq"/> - <DetectChar char="$" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <DetectChar char="$" attribute="Math" context="MathMode" /> <DetectChar char="%" attribute="Comment" context="Comment"/> <DetectChar char="×" attribute="Bullet" context="#stay"/> <RegExpr String="\s*\]\s*" attribute="Normal Text" context="#pop"/> @@ -189,26 +175,46 @@ </context> <context name="FancyLabelRoundBrackets" attribute="Normal Text" lineEndContext="#stay"> - <StringDetect String="\(" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <StringDetect String="\(" attribute="Math" context="MathMode" /> <DetectChar char="\" attribute="Keyword" context="ContrSeq"/> - <DetectChar char="$" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <DetectChar char="$" attribute="Math" context="MathMode" /> <DetectChar char="%" attribute="Comment" context="Comment"/> <DetectChar char="×" attribute="Bullet" context="#stay"/> <RegExpr String="\s*\)\s*" attribute="Normal Text" context="#pop"/> </context> + <!-- end of an environment --> + <context name="FindEndEnvironment" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Normal Text" context="EndEnvironment"/> + <RegExpr String="\S" attribute="Normal Text" context="#pop"/> + </context> + + <context name="EndEnvironment" attribute="Environment" lineEndContext="#stay"> + <RegExpr String="[a-zA-Z]" attribute="Environment" context="EndLatexEnv"/> + <RegExpr String="\s+" attribute="Error" context="#pop"/> + <RegExpr String="[^a-zA-Z]" attribute="Error" context="#pop"/> + </context> + + <context name="EndLatexEnv" attribute="Environment" lineEndContext="#stay"> + <DetectChar char="}" attribute="Normal Text" endRegion="block" context="#pop#pop#pop"/> + <RegExpr String="[a-zA-Z]+(\*)?" attribute="Environment" context="#stay"/> + <RegExpr String="\s+" attribute="Error" context="#stay"/> + <RegExpr String="[a-zA-Z]" attribute="Error" context="#pop#pop#pop"/> + </context> + <!-- start of an environment --> - <context name="FindEnvironment" attribute="Normal Text" lineEndContext="#stay"> - <DetectChar char="{" attribute="Normal Text" context="Environment"/> + <context name="FindBeginEnvironment" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Normal Text" context="BeginEnvironment"/> <RegExpr String="\S" attribute="Normal Text" context="#pop"/> </context> <!-- filter the environment name and check the type --> - <context name="Environment" attribute="Environment" lineEndContext="#stay"> + <context name="BeginEnvironment" attribute="Environment" lineEndContext="#stay"> <RegExpr String="(lstlisting|(B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/> <RegExpr String="(verbatim|boxedverbatim)" attribute="Environment" context="VerbatimEnv"/> + <RegExpr String="comment" attribute="Environment" context="CommentEnv"/> <RegExpr String="(alignat|xalignat|xxalignat)" attribute="Environment" context="MathEnvParam"/> - <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign)" attribute="Environment" context="MathEnv"/> + <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix)" attribute="Environment" context="MathEnv"/> <RegExpr String="(tabularx|tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)" attribute="Environment" context="TabEnv"/> <DetectChar char="×" attribute="Bullet" context="#stay"/> <RegExpr String="[a-zA-Z]" attribute="Environment" context="LatexEnv"/> @@ -251,6 +257,26 @@ <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/> </context> + <!-- begin comment environment --> + <context name="CommentEnv" attribute="Environment" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop#pop#pop"> + <DetectChar char="}" attribute="Normal Text" context="BlockComment"/> + <RegExpr String="[a-zA-Z]" attribute="Environment" lookAhead="true" context="#pop"/> + <IncludeRules context="EnvCommon" /> + </context> + + <!-- parse comment text --> + <context name="BlockComment" attribute="Comment" lineEndContext="#stay"> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="\\end(?=\s*\{comment\*?\})" attribute="Structure" context="CommFindEnd"/> + </context> + + <!-- end of comment environment --> + <context name="CommFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/> + <RegExpr String="comment\*?" attribute="Environment" context="#stay"/> + <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/> + </context> + <!-- environment type 4: math environment with its own mathmode --> <context name="MathEnv" attribute="Environment" lineEndContext="#stay"> <DetectChar char="}" attribute="Normal Text" context="MathModeEnv"/> @@ -276,9 +302,8 @@ <!-- parse math environment --> <context name="MathModeEnv" attribute="Math" lineEndContext="#stay"> - <RegExpr String="\\end(?=\s*\{(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat)\*?\})" 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" /> + <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block"/> + <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="MathFindEnd"/> <StringDetect String="\(" attribute="Error" context="#stay" /> <StringDetect String="\[" attribute="Error" context="#stay" /> <StringDetect String="\)" attribute="Error" context="#stay" /> @@ -296,7 +321,7 @@ <!-- end of math environment --> <context name="MathFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> <RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/> - <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat)\*?" attribute="Environment" context="#stay"/> + <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix)\*?" attribute="Environment" context="#stay"/> <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/> </context> @@ -332,8 +357,8 @@ <!-- math mode: starting with $ or \( --> <context name="MathMode" attribute="Math" lineEndContext="#stay"> <StringDetect String="$$" attribute="Error" context="#stay" /> - <DetectChar char="$" attribute="Math" context="#pop" endRegion="mathMode" /> - <Detect2Chars char="\" char1=")" attribute="Math" context="#pop" endRegion="mathMode" /> + <DetectChar char="$" attribute="Math" context="#pop" /> + <Detect2Chars char="\" char1=")" attribute="Math" context="#pop" /> <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" /> <IncludeRules context="MathModeCommon" /> </context> @@ -365,9 +390,9 @@ <!-- math mode common --> <context name="MathModeCommon" attribute="Math" lineEndContext="#stay"> - <RegExpr String="\\(begin|end)\s*\{(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat)\*?\}" attribute="Error" context="#stay"/> - <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" /> + <RegExpr String="\\(begin|end)\s*\{(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray)\*?\}" attribute="Error" context="#stay"/> + <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" /> <RegExpr String="\\(text|intertext|mbox)\s*(?=\{)" attribute="Keyword Mathmode" context="MathModeText" /> <DetectChar char="\" attribute="Keyword Mathmode" context="MathContrSeq"/> <DetectChar char="%" attribute="Comment" context="Comment"/> @@ -421,29 +446,24 @@ <itemDatas> <itemData name="Normal Text" defStyleNum="dsNormal"/> - <itemData name="Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0"/> + <itemData name="Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0" spellChecking="false"/> <itemData name="Comment" defStyleNum="dsComment"/> - <itemData name="Error" defStyleNum="dsAlert"/> - <itemData name="Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF" bold="0" italic="0"/> - <itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/> - <itemData name="Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="0" italic="0"/> - <itemData name="Environment" defStyleNum="dsNormal" color="#0000D0" selColor="#FFFF90" bold="0" italic="0"/> - <itemData name="Verbatim" defStyleNum="dsNormal" color="#a08000" selColor="#80D0FF" bold="0" italic="0"/> - <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> - <itemData name="Bullet" defStyleNum="dsNormal" color="#FF00C4" bold="1" underline="1"/> - <itemData name="Ampersand" defStyleNum="dsNormal" color="#002793" bold="1" /> - <itemData name="Column Separator" defStyleNum="dsNormal" color="#002793" /> - <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Error" defStyleNum="dsAlert" spellChecking="false"/> + <itemData name="Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF" bold="0" italic="0" spellChecking="false"/> + <itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0" spellChecking="false"/> + <itemData name="Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="0" italic="0" spellChecking="false"/> + <itemData name="Environment" defStyleNum="dsNormal" color="#0000D0" selColor="#FFFF90" bold="0" italic="0" spellChecking="false"/> + <itemData name="Verbatim" defStyleNum="dsNormal" color="#a08000" selColor="#80D0FF" bold="0" italic="0" spellChecking="false"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/> + <itemData name="Bullet" defStyleNum="dsNormal" color="#FF00C4" bold="1" underline="1" spellChecking="false"/> + <itemData name="Ampersand" defStyleNum="dsNormal" color="#002793" bold="1" spellChecking="false"/> + <itemData name="Column Separator" defStyleNum="dsNormal" color="#002793" spellChecking="false"/> + <itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/> <itemData name="Structure Text" defStyleNum="dsNormal" color="#000000" selColor="#FFFFFF" bold="1" italic="0"/> - <itemData name="Structure Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="1" italic="0"/> + <itemData name="Structure Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="1" italic="0" spellChecking="false"/> <itemData name="Structure Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF" bold="1" italic="0"/> - <itemData name="Structure Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="1" italic="0"/> - <itemData name="Footnote" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0"/> - <itemData name="Footnote Text" defStyleNum="dsNormal" color="#000000" selColor="#FFFFFF" bold="0" italic="0"/> - <itemData name="Footnote Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0"/> - <itemData name="Footnote Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF" bold="0" italic="0"/> - <itemData name="Footnote Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="0" italic="0"/> - </itemDatas> + <itemData name="Structure Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="1" italic="0" spellChecking="false"/> + </itemDatas> </highlighting> <general> @@ -452,4 +472,122 @@ <comment name="singleLine" start="%" /> </comments> </general> + + <spellchecking> + <configuration encodingReplacementPolicy="EncodeWhenPresent"/> + <encodings> + <encoding char="À" string="\`{A}" /> + <encoding char="À" string="\`A" /> + <encoding char="Á" string="\'{A}" /> + <encoding char="Á" string="\'A" /> + <encoding char="Â" string="\^{A}" /> + <encoding char="Â" string="\^A" /> + <encoding char="Ã" string="\~{A}" /> + <encoding char="Ã" string="\~A" /> + <encoding char="Ä" string="\"{A}" /> + <encoding char="Ä" string="\"A" /> + <encoding char="Å" string="\AA{}" /> + <encoding char="Æ" string="\AE{}" /> + <encoding char="Ç" string="\c{C}" /> + <encoding char="È" string="\`{E}" /> + <encoding char="È" string="\`E" /> + <encoding char="É" string="\'{E}" /> + <encoding char="É" string="\'E" /> + <encoding char="Ê" string="\^{E}" /> + <encoding char="Ê" string="\^E" /> + <encoding char="Ë" string="\"{E}" /> + <encoding char="Ë" string="\"E" /> + <encoding char="Ì" string="\`{I}" /> + <encoding char="Ì" string="\`I" /> + <encoding char="Í" string="\'{I}" /> + <encoding char="Í" string="\'I" /> + <encoding char="Î" string="\^{I}" /> + <encoding char="Î" string="\^I" /> + <encoding char="Ï" string="\"{I}" /> + <encoding char="Ï" string="\"I" /> + <encoding char="Ð" string="\DH{}" /> + <encoding char="Ñ" string="\~{N}" /> + <encoding char="Ñ" string="\~N" /> + <encoding char="Ò" string="\`{O}" /> + <encoding char="Ò" string="\`O" /> + <encoding char="Ó" string="\'{O}" /> + <encoding char="Ó" string="\'O" /> + <encoding char="Ô" string="\^{O}" /> + <encoding char="Ô" string="\^O" /> + <encoding char="Õ" string="\~{O}" /> + <encoding char="Õ" string="\~O" /> + <encoding char="Ö" string="\"{O}" /> + <encoding char="Ö" string="\"O" /> + <encoding char="Ø" string="\O{}" /> + <encoding char="Ù" string="\`{U}" /> + <encoding char="Ù" string="\`U" /> + <encoding char="Ú" string="\'{U}" /> + <encoding char="Ú" string="\'U" /> + <encoding char="Û" string="\^{U}" /> + <encoding char="Û" string="\^U" /> + <encoding char="Ü" string="\"{U}" /> + <encoding char="Ü" string="\"U" /> + <encoding char="Ý" string="\'{Y}" /> + <encoding char="Ý" string="\'Y" /> + <encoding char="Þ" string="\TH{}" /> + <encoding char="ß" string="\ss{}" /> + <encoding char="à" string="\`{a}" /> + <encoding char="à" string="\`a" /> + <encoding char="á" string="\'{a}" /> + <encoding char="á" string="\'a" /> + <encoding char="â" string="\^{a}" /> + <encoding char="â" string="\^a" /> + <encoding char="ã" string="\~{a}" /> + <encoding char="ã" string="\~a" /> + <encoding char="ä" string="\"{a}" /> + <encoding char="ä" string="\"a" /> + <encoding char="å" string="\aa{}" /> + <encoding char="æ" string="\ae{}" /> + <encoding char="ç" string="\c{c}" /> + <encoding char="è" string="\`{e}" /> + <encoding char="è" string="\`e" /> + <encoding char="é" string="\'{e}" /> + <encoding char="é" string="\'e" /> + <encoding char="ê" string="\^{e}" /> + <encoding char="ê" string="\^e" /> + <encoding char="ë" string="\"{e}" /> + <encoding char="ë" string="\"e" /> + <encoding char="ì" string="\`{i}" /> + <encoding char="ì" string="\`i" /> + <encoding char="í" string="\'{i}" /> + <encoding char="í" string="\'i" /> + <encoding char="î" string="\^{i}" /> + <encoding char="î" string="\^i" /> + <encoding char="ï" string="\"{i}" /> + <encoding char="ï" string="\"i" /> + <encoding char="ð" string="\dh{}" /> + <encoding char="ñ" string="\~{n}" /> + <encoding char="ñ" string="\~n" /> + <encoding char="ò" string="\`{o}" /> + <encoding char="ò" string="\`o" /> + <encoding char="ó" string="\'{o}" /> + <encoding char="ó" string="\'o" /> + <encoding char="ô" string="\^{o}" /> + <encoding char="ô" string="\^o" /> + <encoding char="õ" string="\~{o}" /> + <encoding char="õ" string="\~o" /> + <encoding char="ö" string="\"{o}" /> + <encoding char="ö" string="\"o" /> + <encoding char="ø" string="\o{}" /> + <encoding char="ù" string="\`{u}" /> + <encoding char="ù" string="\`u" /> + <encoding char="ú" string="\'{u}" /> + <encoding char="ú" string="\'u" /> + <encoding char="û" string="\^{u}" /> + <encoding char="û" string="\^u" /> + <encoding char="ü" string="\"{u}" /> + <encoding char="ü" string="\"u" /> + <encoding char="ý" string="\'{y}" /> + <encoding char="ý" string="\'y" /> + <encoding char="þ" string="\th{}" /> + <encoding char="ÿ" string="\"{y}" /> + <encoding char="ÿ" string="\"y" /> + <encoding string="''" ignored="true" /> + </encodings> + </spellchecking> </language> |