2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"brown",
"blue",
"gray",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array();
33 $this->delimiters = array(
"/",
"D",
"e",
"l",
"i",
"m",
"i",
"t",
"e",
"r",
"s",
" ",
"=",
" ",
"#",
"$",
"%",
"&",
"(",
")",
"+",
",",
"-",
".",
" ",
"{",
"=",
"}",
" ",
" ",
" ",
" ",
"/",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
":",
";",
"<",
">",
"[",
"]",
"^",
"_",
"|",
"~",
"`");
38 $this->linecommenton = array(
"%");
39 $this->blockcommenton = array(
"");
40 $this->blockcommentoff = array(
"");
44 $this->keywords = array(
76 "@incollection" =>
"5",
78 "@mastersthesis" =>
"5",
80 "@proceedings" =>
"5",
82 "@unpublished" =>
"5",
101 "\\arraybackslash" =>
"3",
102 "\\arrowvert" =>
"3",
105 "\\Arrowvert" =>
"3",
106 "\\backslash" =>
"3",
115 "\\bigotimes" =>
"3",
117 "\\bigtriangledown" =>
"3",
118 "\\bigtriangleup" =>
"3",
123 "\\boldsymbol" =>
"3",
126 "\\botfigrule" =>
"3",
127 "\\bottomcaption" =>
"3",
128 "\\bottomfraction" =>
"3",
131 "\\bracevert" =>
"3",
150 "\\copyright" =>
"3",
169 "\\diamondpar" =>
"3",
170 "\\diamondsuit" =>
"3",
172 "\\displaystyle" =>
"3",
177 "\\downarrow" =>
"3",
180 "\\Downarrow" =>
"3",
206 "\\heartsuit" =>
"3",
208 "\\hookleftarrow" =>
"3",
209 "\\hookrightarrow" =>
"3",
213 "\\hyphenation" =>
"3",
214 "\\hyphenchar" =>
"3",
217 "\\ignorespaces" =>
"3",
227 "\\isucaption" =>
"3",
229 "\\itdefault" =>
"3",
231 "\\itemindent" =>
"3",
249 "\\leftarrow" =>
"3",
250 "\\leftharpoondown" =>
"3",
251 "\\leftharpoonup" =>
"3",
252 "\\leftmargin" =>
"3",
254 "\\leftrightarrow" =>
"3",
266 "\\linebreak" =>
"3",
267 "\\linethickness" =>
"3",
268 "\\linewidth" =>
"3",
270 "\\lmoustache" =>
"3",
273 "\\longleftarrow" =>
"3",
274 "\\longleftrightarrow" =>
"3",
275 "\\longmapsto" =>
"3",
276 "\\longrightarrow" =>
"3",
280 "\\Leftarrow" =>
"3",
281 "\\Leftrightarrow" =>
"3",
282 "\\Longleftarrow" =>
"3",
283 "\\Longleftrightarrow" =>
"3",
284 "\\Longrightarrow" =>
"3",
288 "\\mathindent" =>
"3",
304 "\\nolinebreak" =>
"3",
305 "\\normalsize" =>
"3",
318 "\\overbrace" =>
"3",
319 "\\overleftarrow" =>
"3",
321 "\\overrightarrow" =>
"3",
356 "\\rightarrow" =>
"3",
357 "\\rightharpoondown" =>
"3",
358 "\\rightharpoonup" =>
"3",
359 "\\rightmark" =>
"3",
361 "\\rmoustache" =>
"3",
364 "\\Rightarrow" =>
"3",
372 "\\shortstack" =>
"3",
383 "\\spadesuit" =>
"3",
388 "\\sqsubseteq" =>
"3",
389 "\\sqsupseteq" =>
"3",
393 "\\stepcounter" =>
"3",
398 "\\subsubsection" =>
"3",
415 "\\textnormal" =>
"3",
420 "\\textstyle" =>
"3",
429 "\\triangleleft" =>
"3",
430 "\\triangleright" =>
"3",
434 "\\unboldmath" =>
"3",
435 "\\underbrace" =>
"3",
436 "\\underline" =>
"3",
440 "\\updownarrow" =>
"3",
443 "\\uHFileape" =>
"3",
446 "\\Updownarrow" =>
"3",
449 "\\varepsilon" =>
"3",
452 "\\varprojlim" =>
"3",
467 "\\widetilde" =>
"3",
481 "howpublished" =>
"2",
486 "organization" =>
"2",
502 $this->linkscripts = array(