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
gloamxun
b41a2a9a97
Fit table-cell images to their source aspect ratio
2026-10-20 02:32:42 +08:00
gloamxun
87a81f16cd
Embed table-cell images at their grid rectangles
2026-10-20 02:28:45 +08:00
gloamxun
d50b4bf560
Set journal abstracts one point below body text
2026-10-20 02:23:57 +08:00
gloamxun
b1b633636a
Apply the journal abstract inset to the body block
2026-10-20 02:15:54 +08:00
gloamxun
02218dbf42
Inset journal abstracts like the reference class
2026-10-20 02:11:24 +08:00
gloamxun
b8c2be8837
Format numeric bibliography authors with initials
2026-10-20 02:05:40 +08:00
gloamxun
261f0ea278
Fall back to ragged spacing at extreme justification ratios
2026-10-20 02:02:50 +08:00
gloamxun
93bc5ac945
Size PDF figure placeholders from their page aspect
2026-10-20 02:00:40 +08:00
gloamxun
65b50072af
Render operatorname as upright math text
2026-10-20 01:50:49 +08:00
gloamxun
d55f4e4059
Paint bitmap math accents before their base glyph
2026-10-20 01:44:18 +08:00
gloamxun
e1060924bf
Prevent overfull inline math from overlapping words
2026-10-20 01:37:54 +08:00
gloamxun
5d4920eb29
Prevent overfull inline math from overlapping words
2026-10-20 01:36:52 +08:00
gloamxun
d248a84764
Keep tables that fit on a single page intact
2026-10-20 01:30:22 +08:00
gloamxun
9ae7353376
Add a column cursor for the two-column page builder
2026-10-20 01:28:06 +08:00
gloamxun
fb361b7df9
Polish journal author and abstract typography
2026-10-20 01:19:40 +08:00
gloamxun
06cc88809e
Capture corresponding authors and class metadata cleanly
2026-10-20 01:15:02 +08:00
gloamxun
5fd5f92bb4
Consume class and theorem declaration options
2026-10-20 01:11:38 +08:00
gloamxun
466abd4ce6
Build structured journal front matter for sn-jnl
2026-10-20 01:08:37 +08:00
gloamxun
82542740e7
Preview SIVP with placeholders for PDF figures
2026-10-20 00:37:56 +08:00