ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
HFile_bibtex Class Reference
+ Inheritance diagram for HFile_bibtex:
+ Collaboration diagram for HFile_bibtex:

Public Member Functions

 HFile_bibtex ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 5 of file HFile_bibtex.php.

Member Function Documentation

◆ donothing()

HFile_bibtex::donothing (   $keywordin)

Definition at line 511 of file HFile_bibtex.php.

512 {
513  return $keywordin;
514 }

◆ HFile_bibtex()

HFile_bibtex::HFile_bibtex ( )

Definition at line 6 of file HFile_bibtex.php.

References array.

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // BibTeX
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "brown", "blue", "gray", "purple");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
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", ":", ";", "<", ">", "[", "]", "^", "_", "|", "~", "`");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("%");
39 $this->blockcommenton = array("");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "\\!" => "1",
46  "\\\"" => "1",
47  "\\&" => "1",
48  "\\\'" => "1",
49  "\\(" => "1",
50  "\\)" => "1",
51  "\\*" => "1",
52  "\\+" => "1",
53  "\\," => "1",
54  "\\-" => "1",
55  "\\." => "1",
56  "\\/" => "1",
57  "\\:" => "1",
58  "\\;" => "1",
59  "\\=" => "1",
60  "\\>" => "1",
61  "\\@" => "1",
62  "\\[" => "1",
63  "\\\\" => "1",
64  "\\]" => "1",
65  "\\^" => "1",
66  "\\_" => "1",
67  "=" => "8",
68  "{" => "8",
69  "}" => "8",
70  "," => "8",
71  "@article" => "5",
72  "@book" => "5",
73  "@booklet" => "5",
74  "@conference" => "5",
75  "@inbook" => "5",
76  "@incollection" => "5",
77  "@manual" => "5",
78  "@mastersthesis" => "5",
79  "@phdthesis" => "5",
80  "@proceedings" => "5",
81  "@techreport" => "5",
82  "@unpublished" => "5",
83  "@report" => "5",
84  "@thesis" => "5",
85  "@\\acute" => "5",
86  "\\a\'" => "3",
87  "\\a`" => "3",
88  "\\acute" => "3",
89  "\\aleph" => "3",
90  "\\alph" => "3",
91  "\\alpha" => "3",
92  "\\amalg" => "3",
93  "\\and" => "3",
94  "\\angle" => "3",
95  "\\approx" => "3",
96  "\\arabic" => "3",
97  "\\arccos" => "3",
98  "\\arcsin" => "3",
99  "\\arctan" => "3",
100  "\\arg" => "3",
101  "\\arraybackslash" => "3",
102  "\\arrowvert" => "3",
103  "\\ast" => "3",
104  "\\asymp" => "3",
105  "\\Arrowvert" => "3",
106  "\\backslash" => "3",
107  "\\bar" => "3",
108  "\\bf" => "3",
109  "\\bibitem" => "3",
110  "\\bigcap" => "3",
111  "\\bigcirc" => "3",
112  "\\bigcup" => "3",
113  "\\bigodot" => "3",
114  "\\bigoplus" => "3",
115  "\\bigotimes" => "3",
116  "\\bigsqcup" => "3",
117  "\\bigtriangledown" => "3",
118  "\\bigtriangleup" => "3",
119  "\\biguplus" => "3",
120  "\\bigvee" => "3",
121  "\\bigwedge" => "3",
122  "\\boldmath" => "3",
123  "\\boldsymbol" => "3",
124  "\\boolean" => "3",
125  "\\bot" => "3",
126  "\\botfigrule" => "3",
127  "\\bottomcaption" => "3",
128  "\\bottomfraction" => "3",
129  "\\bowtie" => "3",
130  "\\boxed" => "3",
131  "\\bracevert" => "3",
132  "\\branch" => "3",
133  "\\breve" => "3",
134  "\\bullet" => "3",
135  "\\Box" => "3",
136  "\\cal" => "3",
137  "\\cap" => "3",
138  "\\caption" => "3",
139  "\\cdot" => "3",
140  "\\cdots" => "3",
141  "\\cfrac" => "3",
142  "\\chi" => "3",
143  "\\circ" => "3",
144  "\\circle" => "3",
145  "\\circle*" => "3",
146  "\\cline" => "3",
147  "\\clubsuit" => "3",
148  "\\cong" => "3",
149  "\\coprod" => "3",
150  "\\copyright" => "3",
151  "\\cos" => "3",
152  "\\cosh" => "3",
153  "\\cot" => "3",
154  "\\coth" => "3",
155  "\\csc" => "3",
156  "\\cup" => "3",
157  "\\d" => "3",
158  "\\dag" => "3",
159  "\\dagger" => "3",
160  "\\dashbox" => "3",
161  "\\ddag" => "3",
162  "\\ddagger" => "3",
163  "\\ddot" => "3",
164  "\\ddots" => "3",
165  "\\deg" => "3",
166  "\\delta" => "3",
167  "\\det" => "3",
168  "\\diamond" => "3",
169  "\\diamondpar" => "3",
170  "\\diamondsuit" => "3",
171  "\\dim" => "3",
172  "\\displaystyle" => "3",
173  "\\dot" => "3",
174  "\\doteq" => "3",
175  "\\dotfill" => "3",
176  "\\dots" => "3",
177  "\\downarrow" => "3",
178  "\\Delta" => "3",
179  "\\Diamond" => "3",
180  "\\Downarrow" => "3",
181  "\\ell" => "3",
182  "\\em" => "3",
183  "\\emph" => "3",
184  "\\emptyset" => "3",
185  "\\enspace" => "3",
186  "\\epsilon" => "3",
187  "\\eqref" => "3",
188  "\\eta" => "3",
189  "\\exists" => "3",
190  "\\exp" => "3",
191  "\\fbox" => "3",
192  "\\flat" => "3",
193  "\\fnsymbol" => "3",
194  "\\forall" => "3",
195  "\\frac" => "3",
196  "\\frown" => "3",
197  "\\fussy" => "3",
198  "\\gamma" => "3",
199  "\\ge" => "3",
200  "\\geq" => "3",
201  "\\gets" => "3",
202  "\\gg" => "3",
203  "\\grave" => "3",
204  "\\Gamma" => "3",
205  "\\hat" => "3",
206  "\\heartsuit" => "3",
207  "\\hom" => "3",
208  "\\hookleftarrow" => "3",
209  "\\hookrightarrow" => "3",
210  "\\hspace" => "3",
211  "\\hspace*" => "3",
212  "\\huge" => "3",
213  "\\hyphenation" => "3",
214  "\\hyphenchar" => "3",
215  "\\Huge" => "3",
216  "\\idotsint" => "3",
217  "\\ignorespaces" => "3",
218  "\\imath" => "3",
219  "\\in" => "3",
220  "\\include" => "3",
221  "\\indent" => "3",
222  "\\inf" => "3",
223  "\\infty" => "3",
224  "\\input" => "3",
225  "\\int" => "3",
226  "\\iota" => "3",
227  "\\isucaption" => "3",
228  "\\it" => "3",
229  "\\itdefault" => "3",
230  "\\item" => "3",
231  "\\itemindent" => "3",
232  "\\itemsep" => "3",
233  "\\itshape" => "3",
234  "\\Im" => "3",
235  "\\jmath" => "3",
236  "\\jot" => "3",
237  "\\Join" => "3",
238  "\\kappa" => "3",
239  "\\ker" => "3",
240  "\\label" => "3",
241  "\\lambda" => "3",
242  "\\langle" => "3",
243  "\\large" => "3",
244  "\\lceil" => "3",
245  "\\ldots" => "3",
246  "\\le" => "3",
247  "\\leadsto" => "3",
248  "\\left" => "3",
249  "\\leftarrow" => "3",
250  "\\leftharpoondown" => "3",
251  "\\leftharpoonup" => "3",
252  "\\leftmargin" => "3",
253  "\\leftmark" => "3",
254  "\\leftrightarrow" => "3",
255  "\\leq" => "3",
256  "\\lfloor" => "3",
257  "\\lg" => "3",
258  "\\lgroup" => "3",
259  "\\lhd" => "3",
260  "\\lhead" => "3",
261  "\\lim" => "3",
262  "\\liminf" => "3",
263  "\\limits" => "3",
264  "\\limsup" => "3",
265  "\\line" => "3",
266  "\\linebreak" => "3",
267  "\\linethickness" => "3",
268  "\\linewidth" => "3",
269  "\\ll" => "3",
270  "\\lmoustache" => "3",
271  "\\ln" => "3",
272  "\\log" => "3",
273  "\\longleftarrow" => "3",
274  "\\longleftrightarrow" => "3",
275  "\\longmapsto" => "3",
276  "\\longrightarrow" => "3",
277  "\\LARGE" => "3",
278  "\\Lambda" => "3",
279  "\\Large" => "3",
280  "\\Leftarrow" => "3",
281  "\\Leftrightarrow" => "3",
282  "\\Longleftarrow" => "3",
283  "\\Longleftrightarrow" => "3",
284  "\\Longrightarrow" => "3",
285  "\\mapsto" => "3",
286  "\\mathbf" => "3",
287  "\\mathcal" => "3",
288  "\\mathindent" => "3",
289  "\\mathit" => "3",
290  "\\matrix" => "3",
291  "\\max" => "3",
292  "\\mid" => "3",
293  "\\min" => "3",
294  "\\mod" => "3",
295  "\\mp" => "3",
296  "\\mu" => "3",
297  "\\nabla" => "3",
298  "\\ne" => "3",
299  "\\nearrow" => "3",
300  "\\neg" => "3",
301  "\\neq" => "3",
302  "\\ni" => "3",
303  "\\nobreak" => "3",
304  "\\nolinebreak" => "3",
305  "\\normalsize" => "3",
306  "\\not" => "3",
307  "\\notin" => "3",
308  "\\nu" => "3",
309  "\\nwarrow" => "3",
310  "\\odot" => "3",
311  "\\oint" => "3",
312  "\\omega" => "3",
313  "\\ominus" => "3",
314  "\\oplus" => "3",
315  "\\oslash" => "3",
316  "\\otimes" => "3",
317  "\\oval" => "3",
318  "\\overbrace" => "3",
319  "\\overleftarrow" => "3",
320  "\\overline" => "3",
321  "\\overrightarrow" => "3",
322  "\\Omega" => "3",
323  "\\parallel" => "3",
324  "\\parbox" => "3",
325  "\\part" => "3",
326  "\\part*" => "3",
327  "\\partial" => "3",
328  "\\perp" => "3",
329  "\\phantom" => "3",
330  "\\phi" => "3",
331  "\\pi" => "3",
332  "\\pm" => "3",
333  "\\pmb" => "3",
334  "\\pmod" => "3",
335  "\\pod" => "3",
336  "\\prec" => "3",
337  "\\preceq" => "3",
338  "\\prime" => "3",
339  "\\prod" => "3",
340  "\\propto" => "3",
341  "\\psi" => "3",
342  "\\Phi" => "3",
343  "\\Pi" => "3",
344  "\\Pr" => "3",
345  "\\Psi" => "3",
346  "\\qquad" => "3",
347  "\\quad" => "3",
348  "\\rangle" => "3",
349  "\\rceil" => "3",
350  "\\ref" => "3",
351  "\\rfloor" => "3",
352  "\\rgroup" => "3",
353  "\\rhd" => "3",
354  "\\rho" => "3",
355  "\\right" => "3",
356  "\\rightarrow" => "3",
357  "\\rightharpoondown" => "3",
358  "\\rightharpoonup" => "3",
359  "\\rightmark" => "3",
360  "\\rm" => "3",
361  "\\rmoustache" => "3",
362  "\\roman" => "3",
363  "\\Re" => "3",
364  "\\Rightarrow" => "3",
365  "\\Roman" => "3",
366  "\\scshape" => "3",
367  "\\searrow" => "3",
368  "\\sec" => "3",
369  "\\secdef" => "3",
370  "\\sf" => "3",
371  "\\sharp" => "3",
372  "\\shortstack" => "3",
373  "\\sigma" => "3",
374  "\\sim" => "3",
375  "\\simeq" => "3",
376  "\\sin" => "3",
377  "\\sinh" => "3",
378  "\\sl" => "3",
379  "\\sloppy" => "3",
380  "\\small" => "3",
381  "\\smile" => "3",
382  "\\space" => "3",
383  "\\spadesuit" => "3",
384  "\\spcheck" => "3",
385  "\\sqcap" => "3",
386  "\\sqcup" => "3",
387  "\\sqrt" => "3",
388  "\\sqsubseteq" => "3",
389  "\\sqsupseteq" => "3",
390  "\\ss" => "3",
391  "\\stackrel" => "3",
392  "\\star" => "3",
393  "\\stepcounter" => "3",
394  "\\stretch" => "3",
395  "\\strut" => "3",
396  "\\subset" => "3",
397  "\\subseteq" => "3",
398  "\\subsubsection" => "3",
399  "\\succ" => "3",
400  "\\succeq" => "3",
401  "\\sum" => "3",
402  "\\sup" => "3",
403  "\\supset" => "3",
404  "\\supseteq" => "3",
405  "\\surd" => "3",
406  "\\swarrow" => "3",
407  "\\symbol" => "3",
408  "\\Sigma" => "3",
409  "\\tan" => "3",
410  "\\tanh" => "3",
411  "\\tau" => "3",
412  "\\texlmd" => "3",
413  "\\textbf" => "3",
414  "\\textit" => "3",
415  "\\textnormal" => "3",
416  "\\textrm" => "3",
417  "\\textsc" => "3",
418  "\\textsf" => "3",
419  "\\textsl" => "3",
420  "\\textstyle" => "3",
421  "\\texttt" => "3",
422  "\\textup" => "3",
423  "\\theta" => "3",
424  "\\tilde" => "3",
425  "\\times" => "3",
426  "\\tiny" => "3",
427  "\\top" => "3",
428  "\\triangle" => "3",
429  "\\triangleleft" => "3",
430  "\\triangleright" => "3",
431  "\\tt" => "3",
432  "\\twlrm" => "3",
433  "\\Theta" => "3",
434  "\\unboldmath" => "3",
435  "\\underbrace" => "3",
436  "\\underline" => "3",
437  "\\unlhd" => "3",
438  "\\unrhd" => "3",
439  "\\uparrow" => "3",
440  "\\updownarrow" => "3",
441  "\\uplus" => "3",
442  "\\uproot" => "3",
443  "\\uHFileape" => "3",
444  "\\upsilon" => "3",
445  "\\Uparrow" => "3",
446  "\\Updownarrow" => "3",
447  "\\Upsilon" => "3",
448  "\\vapace" => "3",
449  "\\varepsilon" => "3",
450  "\\varphi" => "3",
451  "\\varpi" => "3",
452  "\\varprojlim" => "3",
453  "\\varrho" => "3",
454  "\\varsigma" => "3",
455  "\\vartheta" => "3",
456  "\\vdash" => "3",
457  "\\vdots" => "3",
458  "\\vec" => "3",
459  "\\vector" => "3",
460  "\\vee" => "3",
461  "\\verb" => "3",
462  "\\vline" => "3",
463  "\\voffset" => "3",
464  "\\vrule" => "3",
465  "\\wedge" => "3",
466  "\\widehat" => "3",
467  "\\widetilde" => "3",
468  "\\wp" => "3",
469  "\\wr" => "3",
470  "\\xi" => "3",
471  "\\Xi" => "3",
472  "\\zeta" => "3",
473  "\\{" => "3",
474  "\\|" => "3",
475  "\\}" => "3",
476  "address" => "2",
477  "author" => "2",
478  "chapter" => "2",
479  "edition" => "2",
480  "editor" => "2",
481  "howpublished" => "2",
482  "journal" => "2",
483  "month" => "2",
484  "note" => "2",
485  "number" => "2",
486  "organization" => "2",
487  "pages" => "2",
488  "publisher" => "2",
489  "series" => "2",
490  "title" => "2",
491  "type" => "2",
492  "volume" => "2",
493  "year" => "2");
494 
495 // Special extensions
496 
497 // Each category can specify a PHP function that returns an altered
498 // version of the keyword.
499 
500 
501 
502 $this->linkscripts = array(
503  "1" => "donothing",
504  "8" => "donothing",
505  "5" => "donothing",
506  "3" => "donothing",
507  "2" => "donothing");
508 }
Create styles array
The data for the language used.
Definition: HFile.php:21

The documentation for this class was generated from the following file: