如果我总结一下您的要求:
1a. 固定大小的注释框,或者
1b. 在处理完第 N+1 页后,扩大第 N 页的注释框
2. 在一个译文的周围加框。
3. 一种“双栏”(diglot),但不是按段落对齐,而是“正常”流动。
4. 所有注释都在一个全宽区域中(来自两个译文)
(4) 是可行的,我不记得它在用户界面的哪个位置,但开关是 \diglotSepNotesfalse
对于 1-3 的回答介于“我们做不到”和“我们目前还做不到”之间。
(2) 是一个强烈的需求,但它需要对多段代码进行重写。其中一些更改可能也是我正在缓慢开发的新的(目前处于开发阶段)多语复杂页面(polyglot-complexpages)插件所必需的。
(1b) 使用当前代码是不可能的。对于 polyglot-complexpages 插件,这或许有可能。鉴于您隐含地要求的大量重新调整,这将非常缓慢,并且会出现一些没有简单答案的混乱情况:想象第 X 页和第 X+1 页是相对的,但第 X+1 页的最后一行有一个长注释。我们扩大第 X 页的注释空间以匹配第 X+1 页,但这会将一行文本移到第 X+1 页,进而迫使第 X+1 页末尾的长注释移到第 X+2 页,结果第 X 页和第 X+1 页出现了不必要的空白,读者看到后会说:“这太糟糕了,他们为什么要这样做?”我倾向于说这在理论上是可能的,但我不想深入探讨。
然而,如果您告诉我,我可以从第 X 页和第 X+1 页的合并注释中构建一个单一的注释块,然后将其精确地一分为二,忽略注释实际出现的位置,那么这就容易得多,但某人可能会被全世界的排版师“私刑处死”。
(1a) 让我感到困惑。您是否认为可以保证脚注永远不会超过 N 行?如果事实证明并非如此,代码应该如何反应?TeX 确实有类似的功能,如果注释占据了页面的大部分,它会强制在脚注内/之前进行分页,但我预计它仅在非常特定的设置下才能工作。(目前绝对要求非段落化的注释,并且可能没有单独的交叉引用)。
目前还无法向注释区域添加额外空间,但这将是一个相当简单的更改。
(3) 使用上述提到的 polyglot-complexpages 插件,这很可能是可行的。
If I can summarise your request:
1a. fixed sized notebox or
1b. grow the notebox for page N after processing page N+1
2. box around one translation.
3. A 'diglot' but not one which is aligned at paragraphs, instead flowing 'normally'.
4. All notes in one, full-width area (from both translations)
(4) is possible, I can't remember where it is in the user interface, but the switch is \diglotSepNotesfalse
The answer for 1-3 is somewhere between we can't do that and we can't do that yet.
(2) is a strong desire, but it demands a rewrite of multiple bits of code. Some of those changes are likely also needed for a new (currently-in-development) polyglot-complexpages plugin I'm slowly chipping away at.
(1b) isn't possible with any of the current code. It might be possible for polyglot-complexpages. Given the amount of re-juggling you're implicitly asking for it will be slow and there will be horribly messy situations with no easy answers: Imagine page X and X+1 are facing each other, but X+1 has a long note on it's last line. We grow page X's notespace so that it matches X+1, but that moves a line of text onto X+1, which in turn forces the long note at the end of X+1 onto the page X+2, so that now page X and X+1 have needless blank space and readers look at it and say "That's horrible, why did they do that?" I'm tempted to say it might be theoretically possible but I'm not going to go there.
IF, HOWEVER you tell me I can build a single block of notes from the combined notes from pages X and X+1, and then split it exactly in half, ignoring where the notes actually appear, then it's much easier, but someone probably gets lynched by the world's typesetters.
(1a) is confusing to me. Are you thinking you can guarantee that there will never be more that N lines of footnotes? How should the code react if you're wrong? TeX Does have something similar that would force a pagebreak within / before the footnote if the note takes too much of the page, but I expect it will only work with a very specific set of settings. (non-paragraphed notes being an absolute must at the moment, and probably no separate cross-references).
Adding additional space to the note area isn't possible yet, but would be a fairly trivial change to make.
(3) Is something that is probably going to be possible with the above-mentioned polyglot-complexpages plugin.
机器翻译自 English