我很高兴脚注实际上已经为您正确分页了,这是进步!哦,实际上,您处于单栏模式,所以那可能是之前的修复... 您正在运行最新版本吗?(与此相关的最后一次脚注更改是在今年 3 月初修复的)。如果没有,请更新! 如果在使用最新版本时问题仍然存在,请继续阅读。
所以,可能有几种情况正在发生,而唯一能确切知道的方法是花大约半天时间阅读大量晦涩的日志文件,同时旁边打开源代码... 不过,我可以猜一两个原因.... 您会看到它包含了需要脚注的那一行,然后停止了。所以... 出于某种原因,它在读取脚注后决定,如果它在那处分割脚注,页面现在就是满的。 它可以在两个不同的地方做出这个决定:在读取输入时或在排版文本时。如果它在读取输入时做出了决定,那么“排版文本”部分就没有更多可用的输入了,因此您会看到间隙。 如果问题出在后半部分,那么... 嗯... 我可能在代码的某个地方算错了数学。也可能是,在放置脚注后,出于某种其他原因,它决定分页的理想位置就在其后。
我希望您的 ptxprint-mods.tex 文件中没有试图改变脚注行为的设置。如果有,请注释掉它们。我也希望您感到勇敢... 查看完整视图(Full view)中的“高级”(Advanced)选项卡,在右下角找到“显示 TeXpert 技巧”(Show TeXpert hacks):
然后转到打开的新选项卡。那里有一些控件供您调整:
* “增强段落脚注”(Enhanced paragraphed footnotes) 可能会有帮助,我不确定。这是一个“按旧方式做事”的兼容性标志,我似乎记得它也会对非段落脚注进行一些小的更改。 * 降低“最后脚注行间距惩罚”(Last note interline penalty)会告诉代码允许在更多位置分割脚注。(10000 应该意味着仅在段落处分割)。对于您这种正文与脚注的比例,您需要它更像 500。 * “单栏脚注因子”(Footnote factor single column)也可以调整。将其设置为 0 意味着在“读取输入”阶段它根本不会尝试计算脚注大小。这可能会导致其他问题,但希望我们现在已经解决了这些问题。实际上,我会尝试将其设置为类似 900 的值(假装它是 90%),这样即使原始值是 100(10%)出于历史原因,它也会接近正确。 * 最后提示:widowpenalty 和 Last note: clubpenalty 值 分别影响它认为在脚注段落的最后一行之前和第一行之后分页有多糟糕。
* 各种“分割脚注”(split note)数字希望是自解释的... 我不确定它们是否仅适用于段落脚注。
如果这些都没有帮助,那么发送给我存档是下一步最好的选择。我无法承诺我什么时候能抽出时间来深入挖掘。
I'm just glad that footnotes are actually breaking for you, that's progress! Oh, actually, you're in single column mode, so that might have been an earlier fix... Are you running a recent version? (the last footnote changes relevant for this were fixed in early March this year). If not, please update! If the problem is still there with a recent version, carry on reading.
So, there are several things that might be happening, and the only way to actually tell for certain is to spend about half a day reading lots of cryptic log files with the source code open beside you... But, I can make a guess or 2.... You'll see that it is including the line needing the footnote, and then stops. So... for some reason it decided, having read the footnote, that the page was now full if it split the footnote where it did. It can make that decision in 2 different places: while reading the input or while laying up the text. If it made the decision while reading the input then there's no more input available to the 'laying up text' bit, and so you'll get gaps. If the problem was in the second half, then... urm... I probably got some maths wrong somewhere in the code. It might also be that having placed the footnote, for some reason it decided that the ideal place to break the page was immediately after for some other reason.
I hope you don't have anything trying to alter footnote behaviour in your ptxprint-mods.tex file. If you do, please comment them out. I also hope that you're feeling brave... have a look at the Full view "Advanced" Tab, find "Show TeXpert hacks",on the bottom right:
and then go to the new tab that opens. Then there are some controls for you to play with:
* "Enhanced paragraphed footnotes" May help, I'm not sure. It's a "do things the old way" compatability flag, and I seem to remember it makes some minor changes to non-paragraphed footnotes too. * Reducing the "Last note interline penalty" will tell the code that it's allowed to break the footnote in more places. (10000 should mean only break at paragraphs). For your sort of text-footnote ratio, you need it to be more like 500. * "Footnote factor single column" could also be adjusted. Setting it to 0 will mean that it won't try to count footnote sizes at all during the "reading input" stage. That might cause other problems, but hopefully we've ironed those out by now. I'd actually try setting it to something like 900 (pretend it's 90%), so it's close to right, even though the original value is 100 (10%) for historical reasons... * Last note: widowpenalty and Last note: clubpenalty values affect how bad it considers breaking before the last line and after first line of paragraphs in the footnote respectively.
* The various "split note" numbers are hopefully self explanatory... I'm not sure if they only apply to paragraphed notes or not.
If none of this helps, then sending me an archive is the best next step. I can't make promises about when I'll be able to dedicate the time to digging though.
机器翻译自 English 显示原文