Document the two-column builder requirements
This commit is contained in:
1 parent
3afa8dc6c1
commit
f8dc31cae6
1 file changed
+27
@@ -79,3 +79,30 @@ Done: the paragraph now places against the full body goal and the title-note res
|
||||
|
||||
|
||||
- Fonts: pyftsubset bundles with retained glyph ids and filtered kern table bring the arXiv PDF to about 0.50 MB; exact per-document glyph subsetting remains a follow-up; font programs are Flate-compressed in the PDF and the unused FOGRA39 output intent is skipped.
|
||||
|
||||
## Two-column body builder (next)
|
||||
|
||||
The first attempt at `iicol` handled paragraphs and lists only. It reduced the
|
||||
SIVP PDF from 17 to 15 pages, but was reverted because:
|
||||
|
||||
- display math, tables, figures, and bibliography blocks still assumed the full
|
||||
text width and painted across both columns;
|
||||
- the list line loop and the following paragraph could target the same column
|
||||
cursor, producing overprinted text at the bottom of a column;
|
||||
- switching columns inside one block was not coordinated with float placement
|
||||
or footnote reserves.
|
||||
|
||||
The correct unit is a page-level column builder shared by every block arm:
|
||||
|
||||
1. Represent the body cursor as `(page, column, y)` with `column_width` and
|
||||
`column_x`.
|
||||
2. Give every positioned block a `span` (one column or full width). Full-width
|
||||
blocks force both columns to close before placement.
|
||||
3. Measure text, lists, display math, tables, and bibliography entries against
|
||||
`column_width`; offset every emitted item by `column_x`.
|
||||
4. Advance to the next column at the column goal, then start a new page after
|
||||
the last column.
|
||||
5. Keep footnote reserves and floats per column/page, not per document.
|
||||
|
||||
Do not re-enable the partial paragraph/list column code until all block arms
|
||||
share this cursor.
|
||||
Reference in new issue
Block a user