New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overfull \vbox with \footparagraphX enabled #256
Comments
I don't reproduce with the current version. Please send a full MWE (I think that is the "repeat ad nauseam", but I don't understand what I need to repeat)
|
Sure. A not so minimal MWE to fill up a couple of pages. \documentclass[12pt]{article}
\usepackage{libertine}
\usepackage{eledmac}
\footparagraph{A}
\begin{document}
\beginnumbering
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\pstart
immobili, hoc esset aut propter indigentiam motoris aut mobilis. Si
propter indigentiam motoris, aut ergo \edtext{propter
indigentiam}{\Afootnote{\emph{om.} M}} motoris primi aut
appropriati. Non propter indigentiam motoris simpliciter primi quia,
cum primus motor sit virtutis infinitae in motu suo, nullo indiget,
nec appropriati <quia>, cum \edtext{sit}{\Afootnote{sunt M}}
substantia separata, perfectionem suam
\edtext{recipit}{\Afootnote{recipiat MP}} a motore simpliciter
primo. Videtur igitur quod in motu suo <a> nullo inferiori dependeat,
quare etc. Nec propter indigentiam \edtext{mobilis}{\Afootnote{motoris
M}} quia, cum mobile sit continuum et aeternum, a nihilo dependet,
et maxime non indigebit aliquo quod est infra eum et ab eo causatum
est.
\pend
\endnumbering
\end{document} |
and why is it problematic for you to have overfull vbox ? that is directly link to the way footparagraph works, and it will be more complex to suppress them than to keep them... |
Well, doesn't the overfull \vbox mean that the layout breaks the "frame" of the page? This means that the text block flows into the margins (in this case the bottom margin) and interferes with the footer. I don't want it to suppress the warning, but to adjust the text on the page according to the apparatus size to avoid the overfull box. I realize that this might be a very fundamental problem. If there is no easy solution, I'll work around the problem instead. |
it's quite complex. In many time, it mean that. But not in the present case. The problem is here:
So there is a difference : that is why we have this overfull vbox. But that doesn't matter in the present case: while the overfull is lesser than a baselineskip, there will be only one too much line in notes. Use \usepackage{showframe} to see the problem. There is no way to solve this issue, except maybe with the future longparagraphnotes, but I have still something to test |
Thank you for the explanation. Some notes based on my experiments with this phenomenon:
When you set the type size to 11pt in the document class, this problem is limited to a tolerable level. But just a quick (probably stupid) question: Why not just calculate the "height" of the paragraphed notes as lineheight * round_up(number of lines)? |
What we don't use round before? that is quite complex and need to know how TeX insertion word. When you add a note (normal, not paragraphed) you use \insert command. That does three things:
So I I have this note or this note AAAAA AAA AAA In all case I decrease the \pagegoal of \baselineskip (at the note size). But the problem is for paragraphed notes. With normal footnote, all note is a vbox. To have paragraphed notes, we must do something strange : create a \hbox without line break, and call it as argument of \footins. That prevent to have paragraph break between notes. However, such hbox must be set to the approximatly vsize really occupied. That why we use a conversion to force the height of the hbox and ensure the \pagegoal will be well decreased. So we CAN'T round, because in this case we will decrease the \pagegoal too speed. There is many problem with paragraphed hbox, the first of them is the fact that such box can't be broken� I try a new way, but it's more complex that I thought |
As I said, I have limited the problem somewhat by not using I think the problem gets worse when you try to define page margins with But anyway, I noticed the desciption of the paragraphing approach in the handbook (§24.5), and I see that the problem is complex. If you can find a solution, it would be wonderful, but don't let it destroy your weekend for my sake. Thanks for your great work! |
as I say, I don't use koma and and I can't say. I use only standard class, that is cleaner |
I think the \footlongparagraph tool in the current branch should be useful for you. I have not yet added |
Well, I don't have a problem with long paragraphs (I only have short critical notes), and #247 does not change anything with the overfull vboxes. Should it do that? |
hum, I made a mistake. This problem could not be solved. But as I have explained, the "only" risk is to have one line too much at the bottom. not more |
as said in #334, you should play with footfudglefiddle. |
@stenskjaer: |
and any setting of geometry must be set before any \footparagraph{X}
|
Another point which has to be documented (see #324 ). |
@stenskjaer could you read my last comment on #334 (comment) and send feedback |
@maieul: A combination of |
strane space indeed. COuld open an issue with a mWE? |
Am I the only one who is stuggling with overfull
\vbox
es on almost every page as soon as I enable\footparagraphX
?Take this example:
This produces an output with
vbox
overflows on almost every page (if not every except the last). Setting\preXnotes
above the default only aggravates the problem.As soon as I turn of the paragraphed footnotes, there are no overfull pages. It surprises me that I can't find anything on this, since it seems to be a quite general problem, but maybe I'm doing something wrong.
The text was updated successfully, but these errors were encountered: