LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sun, 1 Jun 2014 21:48:10 +0200
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID:
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset=ISO-8859-1; format=flowed
From:
Arno Trautmann <[log in to unmask]>
Parts/Attachments:
text/plain (62 lines)
Ulrike Fischer wrote:
> Am Sun, 1 Jun 2014 21:23:39 +0200 schrieb Frank Mittelbach:
>
>
>>> This code breaks the float package if fixltx2e is loaded afterwards.
>>> Which happens if one has the habit of loading packages alphabetically
>>> and invoking fontspec which requires fixltx2e. By this, documents with
>>> the header
>>>
>>> \documentclass{article}
>>> \usepackage{float}
>>> \usepackage{fixltx2e}
>>>
>>> \begin{document}
>>>
>>> will not compile anymore. Is this intended? Would it help or do any harm
>>> if the float check would be added \AtBeginDocument?
>
>> just checked: CTAN has the right file with version number 1.1q for
>> fix-cm and that file doesn't have the extra rubbish inside any longer,
>> so it looks like you still run the initial beta where the docstrip guard
>> was missing
>
> Arno wrote about fixltx2e and not fix-cm. And he is right: If loaded
> after float fixltx2e overwrites the float definition of float:
>
> \documentclass{article}
> \usepackage{float}
> \usepackage{fixltx2e}
> \begin{document}
> \begin{figure}[H]
> blub
> \end{figure}
>
> \end{document}
>
> gives:
> ! LaTeX Error: Unknown float option `H'.

Exactly this is the error I get. File list: (happens with pdflatex, too)

This is LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971)

  *File List*
  article.cls    2007/10/19 v1.4h Standard LaTeX document class
   size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
    float.sty    2001/11/08 v1.3d Float enhancements (AL)
fixltx2e.sty    2014/05/13 v1.1q fixes to LaTeX
  ***********

> I run into a similar problem some days ago: If loaded after setspace
> fixltx2e overwrite the setspace patches for floats.
>
> Imho fixltx2e should be loaded like fix-cm before documentclass to
> avoid such problems.

How would you then treat packages that require fixltx2e and are loaded 
at a later point? (As in your code example?)

best,
Arno

ATOM RSS1 RSS2