On Wed, Oct 20, 2004 at 05:24:41PM +0000, Andreas Vox wrote: > José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: > > Hm, I think I haven't thought that completly through. > 1. and 3. can't be combined that easily. > We have to decide if namemangling is a setting of > a) a class
More than a class, it is a property from the backend. Docbook, in this case. This affects the validation of all docbook documents, be it article, book, set, chapter or whatever. > b) a document No way. :-) > c) a converter All the tools I know work only for valid documents. Is there any of the used tools who doesn't care about the the document validation? I don't think so. If this was a converter option the best option would be another flavour. Don't forget that we need to pass that option to lyx. > a) and b) can be combined easily, although b) needs a new dialog. > For c) there already is an entry for extra flags in the dialog for > converter definition, but that is independent of the .layout file. > > c) overrides b) overrides a) ? I think that we should implement only c) this is not perl, you know? ;-) > > This will probably imply to add cname to outputparams, > > unless buffer is a member... > > I would prefer "allowedNameChars" with the values: > "" only letters, digits, '-' and '.' > "all" no mangling accurs > "$+#!_*" only letters, digits, '-', '.' and the given chars are accepted. > Similarily for other char combinations. What is the logic behind? What about the upper part of the ascii table. I think that in a sane way there only three or four option. No need to complicate what doesn't need to. :-) > Oh BTW, Chris, if you read this: > what happens if the user activates '&' for names? ;-) You know the result. ;-) > José, I could add it to runparams. > For a) and b) it needs to be added to bufferparams or somewhere else; > I don't feel knowledgeable enough to do that. > Should we ask others before we change the .layout or .lyx format ?? ;-) Who said that we need to do that? :-) > /Andreas -- José Abílio Matos LyX and docbook a perfect match. :-)