On Sat, Jun 03, 2006 at 04:38:42PM +0300, Martin Vermeer wrote:
> On Sat, Jun 03, 2006 at 12:32:12PM +0200, Georg Baum wrote:

...

> When Latexing the document from LyX 1.3, I get
> 
> \begin{center}\textit{\scriptsize }\begin{minipage}[c]{0.8\columnwidth}%
> {\large For there is ... establish them.}{\large \par}
> 
> \begin{flushright}\textsc{David Hume}\end{flushright}\end{minipage}%
> \end{center}{\scriptsize \par}
> 
> Note that here, the \textit range is broken up by the minipage. This is
> correct, as LaTeX doesn't apply it to the inside of the minipage anyway.
> 
> So, I believe I understand the problem. But how to fix it?

I believe I know that too: noFontChange(). The attached fixes the reported
bug. I'll commit it soon to 1.5 and 1.4 if I hear no objection.

- Martin
 
Index: insetbox.h
===================================================================
--- insetbox.h  (revision 13989)
+++ insetbox.h  (working copy)
@@ -80,6 +80,8 @@ public:
        ///
        bool neverIndent() const { return true; }
        ///
+       bool noFontChange() const { return true; }
+       ///
        int latex(Buffer const &, std::ostream &,
                        OutputParams const &) const;
        ///

Attachment: pgpFgeXbZSd9x.pgp
Description: PGP signature

Reply via email to