Lexer

From: anton <averbit....at.yandex.ru>
Date: Tue, 14 Jun 2011 11:58:30 -0700 (PDT)

Hi all,

I want to do the following thing.
In Latex commands look like this
\commandname or \commandname{variable}
but some of them can have parameters, i.e.
\commandname[parameters]{variable}
The classical example is
\documentclass[12pt,a4paper, oneside,ngerman]{scrbook}.

Can someone help me with lexing of parameters?
I've tried # operator but without success.

Thanks,
anton
Received on Tue 14 Jun 2011 - 14:58:30 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:10:44 EST