2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"brown",
"blue",
"gray",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array();
32 $this->unindent =
array();
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"/",
"D",
"e",
"l",
"i",
"m",
"i",
"t",
"e",
"r",
"s",
" ",
"=",
" ",
"#",
"$",
"%",
"&",
"(",
")",
"+",
",",
"-",
".",
" ",
"{",
"=",
"}",
" ",
" ",
" ",
" ",
"/",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
":",
";",
"<",
">",
"[",
"]",
"^",
"_",
"|",
"~",
"`");
42 $this->linecommenton =
array(
"%");
43 $this->blockcommenton =
array(
"");
44 $this->blockcommentoff =
array(
"");
48 $this->keywords =
array(
80 "@incollection" =>
"5",
82 "@mastersthesis" =>
"5",
84 "@proceedings" =>
"5",
86 "@unpublished" =>
"5",
105 "\\arraybackslash" =>
"3",
106 "\\arrowvert" =>
"3",
109 "\\Arrowvert" =>
"3",
110 "\\backslash" =>
"3",
119 "\\bigotimes" =>
"3",
121 "\\bigtriangledown" =>
"3",
122 "\\bigtriangleup" =>
"3",
127 "\\boldsymbol" =>
"3",
130 "\\botfigrule" =>
"3",
131 "\\bottomcaption" =>
"3",
132 "\\bottomfraction" =>
"3",
135 "\\bracevert" =>
"3",
154 "\\copyright" =>
"3",
173 "\\diamondpar" =>
"3",
174 "\\diamondsuit" =>
"3",
176 "\\displaystyle" =>
"3",
181 "\\downarrow" =>
"3",
184 "\\Downarrow" =>
"3",
210 "\\heartsuit" =>
"3",
212 "\\hookleftarrow" =>
"3",
213 "\\hookrightarrow" =>
"3",
217 "\\hyphenation" =>
"3",
218 "\\hyphenchar" =>
"3",
221 "\\ignorespaces" =>
"3",
231 "\\isucaption" =>
"3",
233 "\\itdefault" =>
"3",
235 "\\itemindent" =>
"3",
253 "\\leftarrow" =>
"3",
254 "\\leftharpoondown" =>
"3",
255 "\\leftharpoonup" =>
"3",
256 "\\leftmargin" =>
"3",
258 "\\leftrightarrow" =>
"3",
270 "\\linebreak" =>
"3",
271 "\\linethickness" =>
"3",
272 "\\linewidth" =>
"3",
274 "\\lmoustache" =>
"3",
277 "\\longleftarrow" =>
"3",
278 "\\longleftrightarrow" =>
"3",
279 "\\longmapsto" =>
"3",
280 "\\longrightarrow" =>
"3",
284 "\\Leftarrow" =>
"3",
285 "\\Leftrightarrow" =>
"3",
286 "\\Longleftarrow" =>
"3",
287 "\\Longleftrightarrow" =>
"3",
288 "\\Longrightarrow" =>
"3",
292 "\\mathindent" =>
"3",
308 "\\nolinebreak" =>
"3",
309 "\\normalsize" =>
"3",
322 "\\overbrace" =>
"3",
323 "\\overleftarrow" =>
"3",
325 "\\overrightarrow" =>
"3",
360 "\\rightarrow" =>
"3",
361 "\\rightharpoondown" =>
"3",
362 "\\rightharpoonup" =>
"3",
363 "\\rightmark" =>
"3",
365 "\\rmoustache" =>
"3",
368 "\\Rightarrow" =>
"3",
376 "\\shortstack" =>
"3",
387 "\\spadesuit" =>
"3",
392 "\\sqsubseteq" =>
"3",
393 "\\sqsupseteq" =>
"3",
397 "\\stepcounter" =>
"3",
402 "\\subsubsection" =>
"3",
419 "\\textnormal" =>
"3",
424 "\\textstyle" =>
"3",
433 "\\triangleleft" =>
"3",
434 "\\triangleright" =>
"3",
438 "\\unboldmath" =>
"3",
439 "\\underbrace" =>
"3",
440 "\\underline" =>
"3",
444 "\\updownarrow" =>
"3",
447 "\\uHFileape" =>
"3",
450 "\\Updownarrow" =>
"3",
453 "\\varepsilon" =>
"3",
456 "\\varprojlim" =>
"3",
471 "\\widetilde" =>
"3",
485 "howpublished" =>
"2",
490 "organization" =>
"2",
506 $this->linkscripts =
array(
Create styles array
The data for the language used.