Commit Graph
269 Commits
Author SHA1 Message Date
gloamxun 569bec31b6 Expand maketitle into the article title block 2026-10-24 20:17:55 +08:00
gloamxun 925c916ea5 Align centered and flushed blocks within the measure 2026-10-24 20:15:31 +08:00
gloamxun 2783dfb284 Apply geometry package margins to the page 2026-10-24 20:11:27 +08:00
gloamxun 6ae609b60e Honour textwidth and setlength as the paragraph measure 2026-10-24 20:09:17 +08:00
gloamxun c494ad04ae Read documentclass size options as the base font size 2026-10-24 19:47:45 +08:00
gloamxun 9876895a84 Scale paragraphs by their declared base font size 2026-10-24 13:04:19 +08:00
gloamxun aa4d86d735 Distinguish slanted from italic and add italic typewriter
Add cmsl10/cmbxsl10/cmitt10 faces so \slshape and \textsl no longer reuse the italic cmti10 and \ttfamily\itshape reaches cmitt10. The NFSS state tracks italic, slanted and small caps separately, with last-shape-wins semantics for \em and the shape commands.
2026-10-24 12:58:41 +08:00
gloamxun 6df38ced25 Scope NFSS declarations to the rest of their group
A bare \bfseries or \em in a paragraph now switches the face from that point to the end of the enclosing group, instead of being emitted as literal text. Inline declarations recurse into the remaining body so nested groups keep their own scope.
2026-10-24 12:55:13 +08:00
gloamxun e303f7852f Select real Computer Modern small caps
Add the cmcsc10 face for \scshape and \textsc, including its Type1 outline, and compose the sc shape with the surrounding family and series. Bold small caps substitute cmbx10 and a later shape command wins, matching NFSS.
2026-10-24 12:52:15 +08:00
gloamxun 9140990a7d Add sans-serif bold and italic faces
Map \sffamily with \bfseries or \itshape onto the bundled cmssbx10 and cmssi10 metrics, with their Type1 outlines embedded alongside the other Computer Modern faces. Bold italic sans substitutes cmssbx10, matching the OT1 fallback in TeX.
2026-10-24 12:49:30 +08:00
gloamxun cce656a407 Lay out align and gather displays row by row 2026-10-24 12:39:02 +08:00
gloamxun 5f5fc393a4 Embed Computer Modern Type1 outlines in route-D PDFs 2026-10-24 03:28:10 +08:00
gloamxun 36f2aa12d7 Keep styled runs across incremental paragraph edits 2026-10-24 02:18:21 +08:00
gloamxun 4cf64a4d55 Compose nested inline faces relative to the surrounding run 2026-10-24 02:15:08 +08:00
gloamxun 0e8999671b Parse declaration groups in inline styled text 2026-10-24 02:12:29 +08:00
gloamxun 53fabe95db Paint inline NFSS runs with their own faces 2026-10-24 02:09:56 +08:00
gloamxun 67898d6a8a Support NFSS command forms and legacy declarations 2026-10-24 02:06:44 +08:00
gloamxun df43cade62 Select built-in faces from NFSS declarations 2026-10-24 02:04:14 +08:00
gloamxun f6726439ed Support tag and notag on numbered equations 2026-10-24 02:00:47 +08:00
gloamxun bb897411d0 Number equation environments in route-D 2026-10-24 01:57:18 +08:00
gloamxun 8f675bcabd Use Computer Modern math metrics for route-D formulas 2026-10-24 01:31:51 +08:00
gloamxun c9ad1e209a Split wide display formulas into lines 2026-10-24 01:26:29 +08:00
gloamxun 95e677b5c7 Map LaTeX tabular sources onto route-D halign 2026-10-24 01:22:36 +08:00
gloamxun 23956a012b Expose hsize and the page box width to the output routine 2026-10-24 00:14:55 +08:00
gloamxun a09b1d1d36 Clamp held-over insertion depth with splitmaxdepth 2026-10-23 23:35:20 +08:00
gloamxun 0f4c1f85ae Report paragraph depth to the page builder 2026-10-23 23:31:47 +08:00
gloamxun 6b3145fd09 Route route-D page breaking through the paged builder 2026-10-23 15:02:52 +08:00
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