On Monday 10 February 2003 3:53 pm, Jean-Marc Lasgouttes wrote: > >> Is there a list of macros somewhere that accept an optional *? > > Angus> See lib/reLyX/syntax.default. Macros are defined explicitly as > Angus> \section \section* > > So they are considered as diffrent macros, right?
Yes. The preliminary parsing of the file by TeX.pm's 'eat' subroutine uses the $macro regex to decide what is a macro. It therefore recognises \section and \section* as valid 'possible' macro names as I understand it. I haven't yet established exactly what part syntax.default plays in all this, but it is certainly downstream of the preliminary parsing using $macro. Angus
