On 11/15/2011 08:29 AM, Rainer M Krug wrote:
>
>
> On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
> <[email protected] <mailto:[email protected]>> wrote:
>
>     On 11/15/11 at 02:16pm, Rainer M Krug wrote:
>     > Hi
>     >
>     > I just was confronted by a problem caused by the fact that the
>     preamble as
>     > specified in the document settings is added before the automatically
>     > created preamble entries: the package endfloat overwrites the
>     definitions
>     > of the sideways environment to enable the putting of the floats
>     to the end
>     > of the document. As rotate is added automatically *after* the manual
>     > preamble, this is reverted again, and does not work. I had to
>     manually
>     > insert
>     > \usepackage{rotate} before the \usepackage{endfloat} to make it
>     work.
>     >
>     > I don't have any idea how this can be solved, but it cost me
>     some time to
>     > figure this workaround out.
>
>     Maybe introducing a piece of syntax (an --after flag or some such)
>     that
>     instructs lyx to save that line of the preamble for after the
>     automatically
>     created preamble entries?
>
>
> That would be a neat idea - or to have two preamble sections in the
> settings dialog - one before the automatic one, and one after (and a
> display of the automatic created one).
>
You can always suppress automatic loading via:
    Provides badpkg 1
in some layout or other, e.g., in Local Layout if nowhere else. Then
load manually.

Richard

Reply via email to