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:
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'?
Andre'