Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12989 → Rev 12990

/trunk/Scribus/scribus/editorconfig/200_gnuplot.xml
2,9 → 2,11
<executable command="gnuplot" />
<imagefile extension=".png"/>
<highlighter>
<rule name="commands" regex="bind|call|cd|clear|exit|fit|help|history|if|load|lower|pause|plot|print|pwd|quit|raise|replot|reread|reset|save|set|shell|show|splot|system|test|undefine|unset|update" bold="true"/>
<rule name="set" regex="angles|arrow|autoscale|bars|bmargin|border|boxwidth|cbdata|cbdtics|cblabel|cbmtics|cbrange|cbtics|clabel|clip|cntrparam|colorbox|contour|datafile|date_specifiers|decimalsign|dgrid3d|dummy|encoding|fit|fontpath|format|grid|hidden3d|historysize|isosamples|key|label|lmargin|loadpath|locale|log|logscale|macros|mapping|margin|missing|mouse|multiplot|mx2tics|mxtics|my2tics|mytics|mztics|object|offsets|origin|output|palette|parametric|pm3d|pointsize|polar|print|rmargin|rrange|samples|size|style|surface|table|term|terminal|termoption|tics|ticscale|ticslevel|time_specifiers|timefmt|timestamp|title|tmargin|trange|urange|view|vrange|x2data|x2dtics|x2label|x2mtics|x2range|x2tics|x2zeroaxis|xdata|xdtics|xlabel|xmtics|xrange|xtics|xyplane|xzeroaxis|y2data|y2dtics|y2label|y2mtics|y2range|y2tics|y2zeroaxis|ydata|ydtics|ylabel|ymtics|yrange|ytics|yzeroaxis|zdata|zdtics|zero|zeroaxis|zlabel|zmtics|zrange|ztics|zzeroaxis" italic="true"/>
<rule name="filename" regex="&quot;[^&quot;]+&quot;" color="red" />
<rule name="commands" regex="^\s*(bind|call|cd|clear|exit|fit|help|history|if|load|lower|pause|plot|print|pwd|quit|raise|replot|reread|reset|save|set|shell|show|splot|system|test|undefine|unset|update)\b" bold="true"/>
<rule name="set" regex="^\s*set\s+(angles|arrow|autoscale|bars|bmargin|border|boxwidth|cbdata|cbdtics|cblabel|cbmtics|cbrange|cbtics|clabel|clip|cntrparam|colorbox|contour|datafile|date_specifiers|decimalsign|dgrid3d|dummy|encoding|fit|fontpath|format|grid|hidden3d|historysize|isosamples|key|label|lmargin|loadpath|locale|log|logscale|macros|mapping|margin|missing|mouse|multiplot|mx2tics|mxtics|my2tics|mytics|mztics|object|offsets|origin|output|palette|parametric|pm3d|pointsize|polar|print|rmargin|rrange|samples|size|style|surface|table|term|terminal|termoption|tics|ticscale|ticslevel|time_specifiers|timefmt|timestamp|title|tmargin|trange|urange|view|vrange|x2data|x2dtics|x2label|x2mtics|x2range|x2tics|x2zeroaxis|xdata|xdtics|xlabel|xmtics|xrange|xtics|xyplane|xzeroaxis|y2data|y2dtics|y2label|y2mtics|y2range|y2tics|y2zeroaxis|ydata|ydtics|ylabel|ymtics|yrange|ytics|yzeroaxis|zdata|zdtics|zero|zeroaxis|zlabel|zmtics|zrange|ztics|zzeroaxis)\b" bold="true"/>
<rule name="functions" regex="[^a-zA-Z0-9](abs|acos|acosh|arg|asin|asinh|atan|atan2|atanh|besj0|besj1|besy0|besy1|ceil|column|cos|cosh|defined|erf|erfc|exists|exp|floor|gamma|gprintf|ibeta|igamma|imag|int|inverf|invnorm|lambertw|lgamma|log|log10|norm|rand|random|real|sgn|sin|sinh|sprintf|sqrt|strcol|strftime|stringcolumn|strlen|strptime|strstrt|substr|system|tan|tanh|timecolumn|tm_hour|tm_mday|tm_min|tm_mon|tm_sec|tm_wday|tm_yday|tm_year|valid|word|words)[^a-zA-Z0-9]" color="blue" />
<rule name="variables" regex="[^a-zA-Z0-9](x|y|z)[^a-zA-Z0-9]" italic="true" />
<rule name="strings" regex="&quot;.+&quot;" color="red" minimal="true"/>
</highlighter>
<empty-frame-text>
plot sin(x), (cos(x))**2
/trunk/Scribus/scribus/editorconfig/100_latex.xml
2,11 → 2,11
<executable command="pdflatex --interaction nonstopmode" />
<imagefile extension=".pdf"/>
<highlighter>
<rule name="Math" regex="\\\[.*\\\]" color="#00a000"/>
<rule name="Math" regex="(\\\[.*\\\]|\$.*\$|\\begin\{equation\}(.*)\\end\{equation\})" color="#00a000" minimal="true"/>
<rule name="Command" regex="\\[a-zA-Z@*]+" color="#800000"/>
<rule name="Command argument" regex="\\[a-zA-Z@*]+\{([^\}]*)\}" color="blue"/>
<rule name="Section commands" regex="\\(?:section|subsection|subsubsection|paragraph|subparagraph)(?:[*]?)\{([^\}]*)\}" color="black" bold="true"/>
<rule name="Scribus specials" regex="\$scribus_([^$]*)\$" color="#FF00FF"/>
<rule name="Scribus specials" regex="\$scribus_(.*)\$" color="#FF00FF" minimal="true"/>
<rule name="Comments" regex="(?:(?:^|[^\\])(?:\\\\)*)(%.*)" color="#808080" italic="true"/>
</highlighter>
<empty-frame-text>