On Thu, Mar 23, 2006 at 01:31:03PM -0800, Markus Mayer wrote:
> Hi,
> 
> I think I may have found a bug in the way character styles are handled.
> See attached sample document and sample styles.
> 
> If a character style is used in an "itemize" environment, LyX
> genereates LaTeX code like this:
> 
> \begin{itemize}
> \item item 1
> \item item 2
> \item item 3 has a \texttt{\begin{itemize}
> \item command
> \end{itemize}
> } and then some more text
> ...
> 
> That's not the intention. There is no reason to repeat "itemize" inside
> the "command" character style. It should have been
> 
> \begin{itemize}
> \item item 1
> \item item 2
> \item item 3 has a \texttt{command} and then some more text
> ...
> 

Ah. So we have to add a forceDefaultParagraphs = true definition...

- Martin

Attachment: pgpno73q80IKK.pgp
Description: PGP signature

Reply via email to