diff options
Diffstat (limited to 'inc/geshi/latex.php')
-rw-r--r-- | inc/geshi/latex.php | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/inc/geshi/latex.php b/inc/geshi/latex.php index e4926d956..bad2c1861 100644 --- a/inc/geshi/latex.php +++ b/inc/geshi/latex.php @@ -4,7 +4,7 @@ * ----- * Author: efi, Matthias Pospiech (matthias@pospiech.eu) * Copyright: (c) 2006 efi, Matthias Pospiech (matthias@pospiech.eu), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.8.3 + * Release Version: 1.0.8.4 * Date Started: 2006/09/23 * * LaTeX language file for GeSHi. @@ -61,13 +61,22 @@ $language_data = array ( 'ESCAPE_CHAR' => '', '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' + 'addlinespace','address','appendix','author','backmatter', + 'bfseries','bibitem','bigskip','blindtext','caption','captionabove', + 'captionbelow','cdot','centering','cite','color','colorbox','date', + 'def','definecolor','documentclass','edef','eqref','else','email','emph','fbox', + 'fi','flushleft','flushright','footnote','frac','frontmatter','graphicspath','hfill', + 'hline','hspace','huge','include','includegraphics','infty','input','int','ifx', + 'item','label','LaTeX','left','let','limits','listfiles','listoffigures', + 'listoftables','mainmatter','makeatletter','makeatother','makebox', + 'makeindex','maketitle','mbox','mediumskip','newcommand', + 'newenvironment','newpage','nocite','nonumber','pagestyle','par','paragraph','parbox', + 'parident','parskip','partial','raggedleft','raggedright','raisebox','ref', + 'renewcommand','renewenvironment','right','rule','section','setlength', + 'sffamily','subparagraph','subsection','subsubsection','sum','table', + 'tableofcontents','textbf','textcolor','textit','textnormal', + 'textsuperscript','texttt','title','today','ttfamily','urlstyle', + 'usepackage','vspace' ) ), 'SYMBOLS' => array( @@ -79,7 +88,7 @@ $language_data = array ( ), 'STYLES' => array( 'KEYWORDS' => array( - 1 => 'color: #800000; font-weight: bold;', + 1 => 'color: #800000;', ), 'COMMENTS' => array( 1 => 'color: #2C922C; font-style: italic;' @@ -117,7 +126,7 @@ $language_data = array ( ) ), 'URLS' => array( - 1 => 'http://www.golatex.de/wiki/index.php?title=\\{FNAME}', + 1 => 'http://www.golatex.de/wiki/index.php?title=%5C{FNAME}', ), 'OOLANG' => false, 'OBJECT_SPLITTERS' => array( @@ -197,7 +206,7 @@ $language_data = array ( ), 'KEYWORDS' => array( 'DISALLOWED_BEFORE' => "(?<=\\\\)", - 'DISALLOWED_AFTER' => "(?=\b)(?!\w)" + 'DISALLOWED_AFTER' => "(?![A-Za-z0-9])" ), 'ENABLE_FLAGS' => array( 'NUMBERS' => GESHI_NEVER, |