On Thu, Oct 28, 2004 at 04:29:20PM +0300, Martin Vermeer wrote: > Hmmm... did you look at the way " is used in the other layout > files? And have a look at lyxlayout.C and lyxtextclass.C. Should we > think about unifying this with your use of <> ? Can we (i.e., is <> > sufficiently general for this purpose)?
This is just for 1.4, for 1.5/2.0 ;-) the right thing to do is fix the parser to allow double quotes inside arguments. For now I think that it is a lot more easier to read "id=<s#>" or "type=<italic>" Also _<_ and _>_ cann't ever appear in attributes, so we are on the safe side here. I am centralizing everything inside a single function told you this will disapper in next version. After all those are just 2 lines. :-) > - Martin > -- José Abílio Matos LyX and docbook a perfect match. :-)