diff --git a/docs/TEX_CORE.md b/docs/TEX_CORE.md index de185fe..1560608 100755 --- a/docs/TEX_CORE.md +++ b/docs/TEX_CORE.md @@ -94,6 +94,13 @@ Multi-width pdfTeX comparison (same 24-word ASCII paragraph): The remaining difference is the TeX tolerance/demerit model, not CMR10 metrics: TeX accepts moderately overfull lines that our DP rejects. + +Concrete 120pt first-line candidates: a 3-word line has natural 109.4pt, +stretch 4.6pt, badness 396; a 5-word line has natural 142.8pt, shrink 5.6pt, +overfull ratio 4.11, badness 6942. TeX rejects the underfull candidate under +its tolerance but still emits the moderately overfull 5-word line. Reproducing +this needs a two-pass tolerance algorithm with an emergency overfull pass, not +a single cost function. - Page breaking only handles vertical boxes/glue; vertical penalties are recorded but not interpreted. - No macro state, output routine, math, fonts or PDF output in the new core yet.