Theofilos Strinopoulos <[EMAIL PROTECTED]> writes:

> 
> For example 'equation for \eta' is an invalid label because of the '\'
> character. Can you make lyx give a warning when the user has entered an
> illegal label name?

For DocBook we automatically "sanitize" these names, ie. remove all
illegal characters and append a serial number to make the label unique,
eg. "Euro/$-Kurs"  -->  "Euro-Kurs-8"

For LaTeX the label is escaped, ie. all '%', '=' and code above 128 are replaced
by "="+hexcode. For some reason '\\', '{' and '}' are not escaped.

One way or the other LyX should make sure that the label does not produce
LaTeX errors (provided the user didn't mess around with catcodes)

If you tell me which way to go I can provide a mini-patch.

Ciao
/Andreas

Reply via email to