Commit Graph
169 Commits
Author SHA1 Message Date
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
texrra 8c42f2de2f Add Fraktur letters, infix fractions and middle delimiters
- bundle eufm10 (TFM + Type1), add the MathFraktur face and map \mathfrak
  onto it, including PDF embedding and width lookup;
- parse TeX's infix fractions (\over, \atop, \choose, \brace,
  \brack, \overwithdelims, \atopwithdelims): the rest of the current
  row becomes the denominator, ar records whether a rule is drawn, and the
  painter no longer emits parentheses (a \frac painter bug) and only draws
  the bar for \over forms;
- add MathAtom::Middle, size top-level middle delimiters with the enclosing
  \left/\right group through the CMEX size classes, and paint
  SizedDelimiter at its selected size instead of the base glyph;
- skip the parser's '\u{0}' math spaces before \big, \middle,
  \left and the withdelims delimiters, so \big ( parses like \big(.

560 workspace tests (381 route-D unit).
2026-10-24 12:28:33 +08:00
gloamxun cb40cc4634 Draw mathbb letters from msbm10 2026-10-24 12:14:54 +08:00
gloamxun e229809581 Draw mathcal letters from cmsy10 2026-10-24 03:49:55 +08:00
gloamxun 66ceabad0e Draw big operators with cmex10 outlines 2026-10-24 03:46:50 +08:00
gloamxun 6446de6b6b Embed math symbols as Computer Modern Type1 outlines 2026-10-24 03:42:45 +08:00
gloamxun a07d93510f Map math alphabets onto Computer Modern Type1 faces 2026-10-24 03:38:53 +08:00
gloamxun 5b5fdab8a6 Parse Computer Modern Type1 programs for PDF embedding 2026-10-24 03:24:32 +08:00
gloamxun 36f2aa12d7 Keep styled runs across incremental paragraph edits 2026-10-24 02:18:21 +08:00
gloamxun 53fabe95db Paint inline NFSS runs with their own faces 2026-10-24 02:09:56 +08:00
gloamxun c9ad1e209a Split wide display formulas into lines 2026-10-24 01:26:29 +08:00
gloamxun 20011eadd3 Repeat longtable heads on continuation pages 2026-10-24 01:14:38 +08:00
gloamxun 8c3e410ffc Insert noalign glue between alignment rows 2026-10-24 01:10:49 +08:00
gloamxun 3681fd95db Honour @ column expressions in alignment templates 2026-10-24 01:07:48 +08:00
gloamxun c3e75bd244 Draw booktabs rules with their own weights and spans 2026-10-24 01:03:53 +08:00
gloamxun d0ffeea94b Honour explicit tabskip glue in alignments 2026-10-24 00:59:33 +08:00
gloamxun d1b93ac9be Wrap p-column cells and keep wrapped rows splittable 2026-10-24 00:57:09 +08:00
gloamxun 4153657d0a Continue long alignments across pages 2026-10-24 00:51:48 +08:00
gloamxun a93200cbfb Support classed marks in the output routine 2026-10-24 00:39:59 +08:00
gloamxun 91171f2a90 Carry output-routine marks onto the following page 2026-10-24 00:37:46 +08:00
gloamxun d4906a3cc5 Apply assigned insertion skip to later pages 2026-10-24 00:32:52 +08:00
gloamxun de84ffc979 Retarget later pages after a vsize assignment 2026-10-24 00:28:29 +08:00
gloamxun 0805f3c932 Reserve insertion class skip in the paged builder 2026-10-24 00:23:55 +08:00
gloamxun 1dc3e95a04 Run the output routine after each paged page 2026-10-24 00:20:32 +08:00
gloamxun 23956a012b Expose hsize and the page box width to the output routine 2026-10-24 00:14:55 +08:00
gloamxun 01ed1b7c21 Report page badness and held-over insertions to the output routine 2026-10-24 00:02:46 +08:00
gloamxun 66b2ccf380 Rebuild paged documents that defer bottom floats 2026-10-23 23:51:18 +08:00
gloamxun 4dd28b3aa7 Defer bottom floats like TeX page building 2026-10-23 23:48:28 +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 bd28917f05 Run TeX arithmetic on output registers 2026-10-23 23:21:55 +08:00
gloamxun db1cc98338 Place top floats on the page they appear on 2026-10-23 23:15:56 +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 4111080422 Ship the page after maxdeadcycles 2026-10-23 14:26:58 +08:00
gloamxun 8007fd1b6c Report TeX outputpenalty for glue breaks 2026-10-23 14:22:34 +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 be23fe9686 Expose the page box height and depth to the output routine 2026-10-23 13:24:14 +08:00
gloamxun 70b360e50e Keep output register assignments across pages 2026-10-23 13:20:56 +08:00
gloamxun 7a42ddc1bf Expose prevgraf to the output routine 2026-10-23 13:18:21 +08:00
gloamxun c6ebbea58d Let the output routine retarget later pages with vsize 2026-10-23 13:02:47 +08:00
gloamxun 59e77f4721 Allow the output routine to assign page registers 2026-10-23 12:53:40 +08:00
gloamxun 2a3393a61e Count dead cycles across output routine pages 2026-10-23 12:48:19 +08:00
gloamxun 66dfb10b60 Ship float-heavy pages without body material 2026-10-23 12:45:53 +08:00
gloamxun 54a8488fa2 Limit paged floats by topnumber and bottomnumber 2026-10-23 12:32:02 +08:00
gloamxun c2ba59906c Read insertion class registers in the output routine 2026-10-23 12:28:09 +08:00
gloamxun 72f5436318 Replay paged edits with later insertions and keep zero parskip breakpoints 2026-10-23 12:25:01 +08:00