forked from Isabelle_DOF/Isabelle_DOF
Allow <> in LaTeX commands.
This commit is contained in:
parent
99882abafa
commit
77cfc621aa
|
@ -94,7 +94,7 @@ object LaTeXLexer extends RegexParsers {
|
|||
def end_env = end0 ~ arg ^^ {case end_txt ~ arg => ENDENV (end_txt,arg)}
|
||||
|
||||
def command: Parser[COMMAND] = {
|
||||
"\\\\[a-zA-Z0-9][a-zA-Z0-9*]*".r ^^ { str => COMMAND(str) }
|
||||
"\\\\[<>a-zA-Z0-9][a-zA-Z0-9*]*".r ^^ { str => COMMAND(str) }
|
||||
}
|
||||
|
||||
def vbackslash = "\\\\" ^^ (_ => VBACKSLASH )
|
||||
|
|
Reference in New Issue