Commit Graph
5 Commits
Author SHA1 Message Date
sebastian 64c77d27fc Update spec after Stage 1 + Stage 2 review
Stage 1 (textual): 12 issues found, all fixed (re-ran clean on major axes)
Stage 2 (empirical): 6 claims tested with real python-docx code
  - H1, H2, H4, H5: SURVIVED (XML manipulation routes verified)
  - H3: PARTIALLY-REFUTED — CRITICAL. List Bullet 2/3 style names exist
    but produce flat lists. Spec now mandates manual numbering XML.
  - B2: claim SURVIVED, presentational_hints hypothesis REFUTED.
    Decision: eliminate --forms from md2pdf (YAGNI).
2026-07-27 19:47:34 +03:00
sebastian 23deb7b3f5 Add md2doc design spec
Design for new md2doc.py (Markdown to DOCX converter) plus two bug-fixes
for md2pdf.py (--footer dead in CLI, --forms produces no AcroForm).

Spec includes 5 empirical hypotheses (H1-H5) about python-docx capabilities
that must be validated before implementation.
2026-07-27 19:34:57 +03:00
sebastianandClaude Opus 4.5 630660adb2 Remove minimal style, add mono style, make elegant default
- Removed minimal style (not useful)
- Added mono style with JetBrains Mono font
- Changed default from default to elegant
- Fixed bullet consistency with list-style-type: disc

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 15:01:58 +02:00
sebastianandClaude Opus 4.5 48829d4007 Fix bullet points for PDF text extraction
Use list-style-position: inside so bullets are part of text flow,
not separate positioned elements. Fixes copy/paste issues.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:32:08 +02:00
sebastianandClaude Opus 4.5 c93974fd3d Initial commit: md2pdf markdown to PDF converter
- Python script with weasyprint for high-quality PDF output
- Wrapper script for easy execution with bundled venv
- Multiple styles: default, minimal, dark, elegant
- Supports single file or directory conversion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:28:59 +02:00