Commit Graph
367 Commits
Author SHA1 Message Date
gloamxun 2018e5f8b8 Paint framed colorbox backgrounds 2026-10-26 03:08:37 +08:00
gloamxun d88e74cd29 Paint colorbox backgrounds 2026-10-26 03:05:07 +08:00
gloamxun c95cfa5967 Colour link annotation borders 2026-10-26 02:48:57 +08:00
gloamxun ea89bc1522 Colour href labels from hypersetup 2026-10-26 02:38:41 +08:00
gloamxun 1ab2a29bfa Fill the page background with pagecolor 2026-10-26 02:31:50 +08:00
gloamxun 028137a9ad Parse phantom bodies as braced groups 2026-10-26 01:41:27 +08:00
gloamxun 9ad404acee Paint textcolor runs in named colours 2026-10-26 01:41:00 +08:00
gloamxun 7ba66392ea Set operator names upright and declare new ones 2026-10-26 01:24:46 +08:00
gloamxun a4c4864d2b Nest PDF bookmarks by heading level 2026-10-26 01:20:41 +08:00
gloamxun 5f98c199a5 Write PDF bookmarks for section headings 2026-10-26 01:17:42 +08:00
gloamxun 863e7c1a81 Write PDF metadata from hypersetup 2026-10-26 01:15:02 +08:00
gloamxun 8686b9a35e Stack substack rows with TeX inter-row gaps 2026-10-26 01:12:00 +08:00
gloamxun ab5e857705 Build genfrac fractions with explicit delimiters 2026-10-26 01:03:31 +08:00
gloamxun d237e0cc9b Keep integral scripts beside the operator 2026-10-26 01:01:11 +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 e926bc9eb3 Honour explicit limits and nolimits on operators 2026-10-26 00:48:52 +08:00
gloamxun 29d363d47a Set multline rows flush to the margins 2026-10-26 00:46:22 +08:00
gloamxun 59b6ca571b Lay out matrix and array environments as grids 2026-10-26 00:39:28 +08:00
gloamxun 971190df26 Report diagnostics and lay out cases environments 2026-10-26 00:35:08 +08:00
gloamxun 6d0794ef3a Paint vertical rules from table column separators 2026-10-25 02:29:23 +08:00
gloamxun 8bd725e9ff Accept table position options and row separator gaps 2026-10-25 02:26:19 +08:00
gloamxun 0b2265580f Raise and lower superscript and subscript runs 2026-10-25 02:14:51 +08:00
gloamxun ae61d11859 Lead table-of-contents entries with dots 2026-10-25 01:37:38 +08:00
gloamxun 60281dc9ca Show page numbers in the table of contents 2026-10-25 01:19:10 +08:00
gloamxun aaa1ed8213 Map Type1 glyphs through their requested Unicode 2026-10-25 01:14:54 +08:00
gloamxun 7e006cea86 Cover Greek text through the Liberation fallback 2026-10-25 00:53:17 +08:00
gloamxun c6860b7b4a Fall back per glyph outside the Type1 encodings 2026-10-25 00:03:19 +08:00
gloamxun 2868a8f0d3 Draw cline partial rules in alignment tables 2026-10-24 23:54:38 +08:00
gloamxun 78ffd054d4 Span multicolumn cells in LaTeX tables 2026-10-24 23:51:28 +08:00
GloamXun 0f8aff7290 Embed project images in route-D previews and PDFs 2026-10-24 23:29:15 +08:00
gloamxun ae69eba64d Paint inline size changes at their own size 2026-10-24 23:22:29 +08:00
gloamxun b30bafca2b Annotate href links in route-D PDFs 2026-10-24 23:00:41 +08:00
gloamxun e008741aa5 Lay out inline math in paragraphs 2026-10-24 21:13:06 +08:00
gloamxun 925c916ea5 Align centered and flushed blocks within the measure 2026-10-24 20:15:31 +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 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 03925e3116 Scan TeX math skips and correct math-unit spacing 2026-10-24 12:43:01 +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 a95cf8092e Embed math italic letters as Computer Modern Type1 outlines 2026-10-24 03:35:33 +08:00
gloamxun f7849f39c2 Embed every Computer Modern face as Type1 outlines 2026-10-24 03:30:12 +08:00
gloamxun 5f5fc393a4 Embed Computer Modern Type1 outlines in route-D PDFs 2026-10-24 03:28:10 +08:00