Commit Graph
31 Commits
Author SHA1 Message Date
gloamxun 8e274a252d Separate table columns by twice tabcolsep 2026-10-26 04:09:57 +08:00
gloamxun d89b71bfbc Measure table cells with Computer Modern metrics 2026-10-26 04:07:29 +08:00
gloamxun 569160f805 Check stacked limits against pdfLaTeX 2026-10-26 00:59:19 +08:00
gloamxun 52a74755f7 Check matrix and cases positions against pdfLaTeX 2026-10-26 00:53:40 +08:00
gloamxun c3bb8af8a9 Verify narrow-measure pretolerance against pdfLaTeX 2026-10-24 00:07:26 +08:00
gloamxun 4dd28b3aa7 Defer bottom floats like TeX page building 2026-10-23 23:48:28 +08:00
gloamxun fd9790cf28 Cover bottom float page placement with pdfLaTeX 2026-10-23 23:39:24 +08:00
gloamxun 0f4c1f85ae Report paragraph depth to the page builder 2026-10-23 23:31:47 +08:00
gloamxun db1cc98338 Place top floats on the page they appear on 2026-10-23 23:15:56 +08:00
gloamxun a78e0c1d0d Compare footnote insertions with pdfLaTeX page breaks 2026-10-23 15:09:18 +08:00
gloamxun 2d73486dd1 Cover tolerance-10000 line breaking with pdfLaTeX 2026-10-23 14:43:57 +08:00
gloamxun 2b2ccd511c Break pages only at legal glue points 2026-10-23 14:38:35 +08:00
gloamxun 247cbf2b9e Start route-D pages on newpage breaks 2026-10-23 14:32:27 +08:00
gloamxun e00e0038c1 Cover hyphenated breaks and hyphen demerits with pdfLaTeX 2026-10-23 13:52:04 +08:00
gloamxun a6397fcfef Honour TeX looseness when an alternative line count exists 2026-10-23 13:46:32 +08:00
gloamxun d63db8d12d Support explicit hfil and hfill glue orders 2026-10-23 13:15:40 +08:00
gloamxun 3df21201c2 Verify parindent, parshape and skips against pdfLaTeX 2026-10-23 13:10:40 +08:00
gloamxun 97b72ac5d9 Honour textheight geometry and widen the page oracle 2026-10-23 13:07:11 +08:00
gloamxun 448152cea4 Support ragged-right paragraphs with an infinite rightskip 2026-10-23 04:08:32 +08:00
gloamxun 6c3636c7c5 Compare route-D page breaks with pdfLaTeX 2026-10-23 03:40:08 +08:00
gloamxun 6cf8221ba7 Lay out insertion classes through the page builder 2026-10-23 02:53:04 +08:00
gloamxun 6305f059ac Shrink overfull final lines and widen the oracle matrix 2026-10-23 02:45:11 +08:00
gloamxun 4be0ff5787 Replace font glue with explicit spaceskip and xspaceskip 2026-10-23 02:38:12 +08:00
gloamxun 4acccaee86 Honour explicit sfcode assignments 2026-10-23 02:29:40 +08:00
gloamxun 295c934438 Apply TeX sentence spacing to interword glue 2026-10-23 01:26:04 +08:00
gloamxun bd109d03c5 Honour finite parfillskip on the last line 2026-10-23 01:22:16 +08:00
gloamxun 8993186005 Support hang indentation and parshape measures 2026-10-23 01:18:19 +08:00
texrra 3725cca9d7 Model TeX tolerance and hyphen penalty registers 2026-10-23 01:05:28 +08:00
texrra 4fbc43f5ff Match TeX hyphenation and justification semantics 2026-10-23 01:00:45 +08:00
gloamxun ac134b3c4e Reproduce TeX paragraph breaking with tolerance passes and demerits
- replace the single-tolerance DP with pass 0 (pretolerance, no hyphenation),
  pass 1 (tolerance, hyphenation) and an optional emergency pass
- add emergencystretch to ParagraphStyle; the emergency pass only runs when it
  is positive, otherwise TeX's overfull fallback applies and each line fills to
  the first break at or past the measure
- compute badness and fitness classes like TeX and fold them with penalties
  into demerits, ignoring the trailing forced penalty on the final line
- keep forward order in the greedy fallback
- enable the 180pt pdfLaTeX oracle fixture and add an emergencystretch test
- give route-D extraction tests scaled body styles so fixed-cell
  ParagraphStyle defaults no longer mix raw units with TFM advances
- document the passes, oracle results and remaining P1 gaps
2026-10-23 00:50:57 +08:00
gloamxun 9726f5f736 Add a pdfLaTeX oracle and clamp justification glue 2026-10-23 00:33:35 +08:00