jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [lib/] [geshi/] [latex.php] - Diff between revs 1 and 3

Show entire file Ignore whitespace

Rev 1 Rev 3
Line 2... Line 2...
/************************************************************************************* /*************************************************************************************
* latex.php * latex.php
* ----- * -----
* Author: efi, Matthias Pospiech (matthias@pospiech.eu) * Author: efi, Matthias Pospiech (matthias@pospiech.eu)
* Copyright: (c) 2006 efi, Matthias Pospiech (matthias@pospiech.eu), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2006 efi, Matthias Pospiech (matthias@pospiech.eu), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.1 * Release Version: 1.0.8.3
* Date Started: 2006/09/23 * Date Started: 2006/09/23
* *
* LaTeX language file for GeSHi. * LaTeX language file for GeSHi.
* *
* CHANGES * CHANGES
Line 58... Line 58...
'COMMENT_MULTI' => array(), 'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array(), 'QUOTEMARKS' => array(),
'ESCAPE_CHAR' => '', 'ESCAPE_CHAR' => '',
'KEYWORDS' => array( 'KEYWORDS' => array(
  1 => array(
  'appendix','backmatter','caption','captionabove','captionbelow',
  'def','documentclass','edef','equation','flushleft','flushright',
  'footnote','frontmatter','hline','include','input','item','label',
  'let','listfiles','listoffigures','listoftables','mainmatter',
  'makeatletter','makeatother','makebox','mbox','par','raggedleft',
  'raggedright','raisebox','ref','rule','table','tableofcontents',
  'textbf','textit','texttt','today'
  )
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(
"&", "\\", "{", "}", "[", "]" "&", "\\", "{", "}", "[", "]"
), ),
'CASE_SENSITIVE' => array( 'CASE_SENSITIVE' => array(
  1 => true,
GESHI_COMMENTS => false, GESHI_COMMENTS => false,
), ),
'STYLES' => array( 'STYLES' => array(
'KEYWORDS' => array( 'KEYWORDS' => array(
  1 => 'color: #800000; font-weight: bold;',
), ),
'COMMENTS' => array( 'COMMENTS' => array(
1 => 'color: #2C922C; font-style: italic;' 1 => 'color: #2C922C; font-style: italic;'
), ),
'ESCAPE_CHAR' => array( 'ESCAPE_CHAR' => array(
Line 84... Line 95...
'NUMBERS' => array( 'NUMBERS' => array(
), ),
'METHODS' => array( 'METHODS' => array(
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(
0 => 'color: #0000D0; ' 0 => 'color: #E02020; '
), ),
'REGEXPS' => array( 'REGEXPS' => array(
1 => 'color: #8020E0; font-weight: normal;', // Math inner 1 => 'color: #8020E0; font-weight: normal;', // Math inner
2 => 'color: #C08020; font-weight: normal;', // [Option] 2 => 'color: #C08020; font-weight: normal;', // [Option]
3 => 'color: #8020E0; font-weight: normal;', // Maths 3 => 'color: #8020E0; font-weight: normal;', // Maths
Line 104... Line 115...
), ),
'SCRIPT' => array( 'SCRIPT' => array(
) )
), ),
'URLS' => array( 'URLS' => array(
  1 => 'http://www.golatex.de/wiki/index.php?title=\\{FNAME}',
), ),
'OOLANG' => false, 'OOLANG' => false,
'OBJECT_SPLITTERS' => array( 'OBJECT_SPLITTERS' => array(
), ),
'REGEXPS' => array( 'REGEXPS' => array(
Line 180... Line 192...
'HIGHLIGHT_STRICT_BLOCK' => array( 'HIGHLIGHT_STRICT_BLOCK' => array(
), ),
'PARSER_CONTROL' => array( 'PARSER_CONTROL' => array(
'COMMENTS' => array( 'COMMENTS' => array(
'DISALLOWED_BEFORE' => '\\' 'DISALLOWED_BEFORE' => '\\'
  ),
  'KEYWORDS' => array(
  'DISALLOWED_BEFORE' => "(?<=\\\\)",
  'DISALLOWED_AFTER' => "(?=\b)(?!\w)"
), ),
'ENABLE_FLAGS' => array( 'ENABLE_FLAGS' => array(
'NUMBERS' => GESHI_NEVER, 'NUMBERS' => GESHI_NEVER,
'BRACKETS' => GESHI_NEVER 'BRACKETS' => GESHI_NEVER
) )
) )
); );
   
?> ?>
   

Powered by WebSVN 2.2.1