Page LayoutBigfoot with marginpar creates "Dimension too large" error

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
sujato
Posts: 1
Joined: Tue Apr 01, 2014 8:55 am

Bigfoot with marginpar creates "Dimension too large" error

Post by sujato »

I am compiling a document that includes the `bigfoot` package with the `para` option, and also has `\marginpar`. If I compile a short paragraph with these options it goes through fine, but any length to it and it spits out a "Dimension too large" error.

This may be the same problem reported here https://groups.google.com/forum/?fromgr ... Gw6m82KCIJ, where the package author says that the then-current dev version didn't seem to have the problem. He offered to share the dev version privately, but later doesn't seem to be responding to messages and emails. (I hope he's ok!) The dev package doesn't seem to be available in the stated repository, either.

So I need to either adjust what I'm doing somehow, or, perhaps, use the dev version if that is available anywhere. Any ideas?

Here is an MWE. Note that this is actually a *working* example, to demonstrate what I want to achieve. To get the bug, simply duplicate the paragraph. Even such a limited expansion of the text is too much, whereas I want to compile a document of around 750,000 words, with some tens of thousands of margin notes and footnotes.

Code: Select all

    \documentclass{book}
    \usepackage{bigfoot}
    \AtBeginDocument{%
    \RestyleFootnote{default}{para}}
    \begin{document}
    \marginpar{Test}Lorem ipsum\footnote{Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. } dolor sit amet,\footnote{Note.} sed purto conclusionemque\footnote{Note.} et, \marginpar{Test} in luptatum efficiantur sea. 
    \end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply