gloamxun
08a312be82
Carry plus and minus on inter-paragraph skip glue
2026-10-23 14:53:00 +08:00
gloamxun
247cbf2b9e
Start route-D pages on newpage breaks
2026-10-23 14:32:27 +08:00
gloamxun
94559ee431
Carry TeX plus and minus on paragraph skips
2026-10-23 14:18:13 +08:00
gloamxun
0102a20120
Support explicit vertical skips between paragraphs
2026-10-23 14:15:17 +08:00
gloamxun
d596ef2a95
Apply page offsets to route-D preview pages
2026-10-23 14:11:05 +08:00
gloamxun
aea6c289ec
Read sfcode assignments from route-D sources
2026-10-23 14:07:37 +08:00
gloamxun
de35d1bcae
Read demerit registers from route-D sources
2026-10-23 14:05:25 +08:00
gloamxun
e823a1f415
Read page skip registers from route-D sources
2026-10-23 14:03:39 +08:00
gloamxun
bd462448d5
Read parfillskip and interline glue from route-D sources
2026-10-23 14:01:27 +08:00
gloamxun
dc68e76cd3
Read parshape measures from route-D sources
2026-10-23 13:58:15 +08:00
gloamxun
f86b507615
Read hyphenation exceptions from route-D sources
2026-10-23 13:54:58 +08:00
gloamxun
a6397fcfef
Honour TeX looseness when an alternative line count exists
2026-10-23 13:46:32 +08:00
gloamxun
96cd98f833
Read hang indent, spacing and tolerance registers from route-D sources
2026-10-23 13:34:13 +08:00
gloamxun
4f4171a6d1
Read paragraph registers from route-D sources and measure with TFM advances
2026-10-23 13:28:43 +08:00
gloamxun
97b72ac5d9
Honour textheight geometry and widen the page oracle
2026-10-23 13:07:11 +08:00
gloamxun
3b99f93ab8
Read vsize from route-D sources as the page goal
2026-10-23 12:56:47 +08:00
gloamxun
448152cea4
Support ragged-right paragraphs with an infinite rightskip
2026-10-23 04:08:32 +08:00
gloamxun
7b9d543e49
Honour declared paper size in route-D output
2026-10-23 03:53:32 +08:00
gloamxun
c5b3493998
Draw paged top floats with their text float separation
2026-10-23 03:32:36 +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
b7b75fbff1
Split paragraphs at line boundaries across pages
2026-10-23 02:23:18 +08:00
gloamxun
8d319b3b0c
Apply TeX page offsets in the route-D PDF endpoint
2026-10-23 01:57:48 +08:00
gloamxun
5db7acaff2
Shift the route-D page body by TeX page origin offsets
2026-10-23 01:55:28 +08:00
gloamxun
49bd9b63e6
Model TeX interline glue and parskip
2026-10-23 01:36:26 +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
gloamxun
24a96d1c7c
Model TeX demerit registers and hyphenation exceptions
2026-10-23 01:12:52 +08:00
texrra
3725cca9d7
Model TeX tolerance and hyphen penalty registers
2026-10-23 01:05:28 +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
f2deac541e
Reuse page prefixes for structural route-D edits
...
Extract Engine::relayout_from from Engine::edit so a caller can rebuild from any checkpoint with an unchanged unit prefix. Route-D project previews now use the first differing paragraph for both text and structural edits, keeping sealed pages before the change instead of always relaying out the whole document.
2026-10-21 08:53:17 +08:00
gloamxun
ceb31c4612
Replay multiple paragraph edits in route-D previews
...
Apply same-count paragraph edits sequentially from the earliest changed paragraph, reuse the earlier page checkpoints, and report the union of changed pages. Adds a multi-page regression.
2026-10-21 08:46:56 +08:00
gloamxun
68d2cef346
Compare two route-D pages with pdfTeX
2026-10-21 08:40:44 +08:00
gloamxun
c3277531d3
Export project PDFs through route-D when selected
2026-10-21 01:15:09 +08:00
gloamxun
ea69301804
Reuse route-D page checkpoints in project previews
2026-10-20 23:13:49 +08:00
gloamxun
fe7fd68321
Let project previews opt into the route-D core
2026-10-20 23:09:32 +08:00
gloamxun
40ed26e339
Right-align route-D paragraphs and preview flushright blocks
2026-10-20 22:23:47 +08:00
gloamxun
472f778e75
Center route-D paragraphs and preview center blocks
2026-10-20 22:12:39 +08:00
gloamxun
ccda740476
Indent quote blocks in the route-D preview
2026-10-20 22:04:50 +08:00
gloamxun
4772985ffe
Render description lists in the route-D preview
2026-10-20 22:03:19 +08:00
gloamxun
edf851438b
Render enumerate lists in the route-D preview
2026-10-20 22:01:02 +08:00
gloamxun
cea9ccddef
Render itemize lists in the route-D preview
2026-10-20 21:59:17 +08:00
gloamxun
63593e7ff3
Render display math in the route-D preview
2026-10-20 21:57:12 +08:00
gloamxun
2c4d968659
Map sections and emphasis in the route-D preview
2026-10-20 21:45:34 +08:00
gloamxun
ec9ce3b765
Export route-D preview pages as PDF
2026-10-20 21:41:46 +08:00
gloamxun
dbccedb579
Expose route-D page-hash diffs for paragraph edits
2026-10-20 21:18:57 +08:00
gloamxun
fab9a473fc
Render route-D preview pages at page size
2026-10-20 21:16:45 +08:00
gloamxun
875f8a7600
Expose route-D pages through a preview endpoint
2026-10-20 21:15:35 +08:00
gloamxun
99dbb5ebb0
Start route D incremental TeX core with M0 checkpoint spike
2026-10-20 12:06:39 +08:00