WikiPage Generation 2

Crossover: Pagination x Equations

Crossover Objective

Combine best traits from Gen 1 survivors

103 (Paged.js) GOOD: Equation rendering (external SVG)
BAD: Pagination (orphaned headings)
104 (CSS-only) GOOD: Pagination (no orphans)
BAD: Equation rendering (DATA URI breaks SVG)

Root Cause Identified

Solution: CSS pagination + selective image conversion

Convert regular images (PNG/JPG) to DATA URI for offline capability, but PRESERVE equation/SVG images as external URLs for correct rendering.

Population Tensor (Rank 3)

Candidate Pagination Equations Images Strategy
201 PRIMARY CSS (from 104) Preserved (from 103) Selective DATA URI Primary crossover
202 LIGHT CSS (from 104) Preserved (from 103) External URLs Lightweight variant
203 HYBRID CSS + JS detection Preserved Selective DATA URI Hybrid pagination
204 PROTECT Enhanced CSS Wrapped + protected Selective DATA URI Equation protection
205 CONTROL CSS (104 clone) No handling DATA URI (all) Baseline comparison

Candidates

Testing Recommendations

Comparison method: Generate PDFs from 205 (control) and compare against 201-204 for equation rendering and heading orphan issues.