Coder Social home page Coder Social logo

Comments (6)

FrankMittelbach avatar FrankMittelbach commented on June 30, 2024 1

one could think I have quoted very rude words :-)

from fmitex-fewerfloatpages.

FrankMittelbach avatar FrankMittelbach commented on June 30, 2024

This month I read in tugboat about your new package fewerfloatpages. I immediately started using it and I'm happy with it so far.

good. the issue you list is truely weird but it has nothing to do with your figures just doing

\begin{landscape}
	\begin{figure}
  XXX
	\end{figure}
\end{landscape}

triggers it, so it has to do with the page being not full enough.

The isssue is that lscape remembers the definition of @makefcolumn when it is loaded and uses that one. But makefewerfloatpages changes the definition because during a clearpage it has to change behavior. But it does so only after begin document (for a number of reasons) so basically lscape uses the saved (wrong) definition. As a result we get the float unraveled when it shouldn't be unraveled (you can see this if you use the option "trace") and it is sort of discussed in the package documentation.

Immediate workaround: use explicitly [p] for your figure so that it is never been unraveled.
As to how we can make the packages work together I have to discuss this with @davidcarlisle how to best make this happen.

from fmitex-fewerfloatpages.

davidcarlisle avatar davidcarlisle commented on June 30, 2024

I suppose we could just move

\let\LS@makefcolumn=\@makefcolumn

from the top level into the definition of \landscape ?

from fmitex-fewerfloatpages.

FrankMittelbach avatar FrankMittelbach commented on June 30, 2024

from fmitex-fewerfloatpages.

paultjevdh avatar paultjevdh commented on June 30, 2024

I understand nothing of what you're talking about, but I'm very glad it was picked up so fast.
Thanks very much, also for the [p] workaround. Works for me.

Best regards,
Paul van der Hulst

from fmitex-fewerfloatpages.

FrankMittelbach avatar FrankMittelbach commented on June 30, 2024

Given that there is a workaround for now (using [p]) I'll close this here. It will be addressed in lscape which will see a new release in fall.

from fmitex-fewerfloatpages.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.