Andre Poenitz schrieb:
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:

Andre Poenitz schrieb:


I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'.

no, not for keywords and labels, where LyX controls the user input.


LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:

sure, that is significant to _all_ kinds programming languages.

fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}


Now use


\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?

we are talking about (La)TeX and not some packages and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or control characters in filesnames/labels/keywords. Everything in this way is on users risk! If it works, fine if not, c'est la vie ...

Herbert




Reply via email to