Commit Graph
7 Commits
Author SHA1 Message Date
sebastian 5891ed892c Plan: address Stage 1 re-review feedback
Fixes:
- CRITICAL: Task 2 Step 3 no longer overwrites md2doc.py — extends in place
- MAJOR: COMMON.keep_with_next_headings now wired into _render_heading
- MINOR: added test for keep_with_next assertion
- MINOR: Task 9 note about footer param preservation
- MINOR: _render_pre now preserves newlines via add_break()
- MINOR: Notes section documents fixture location, security, COMMON wiring
2026-07-27 23:51:21 +03:00
sebastian 5f8c2bdbc2 Plan: address Stage 1 reviewer feedback
Fixes:
- Critical: add Task 1.5 (_bulletize copy with complete code)
- Major: enrich STYLES dict (5 styles now visually distinct)
- Major: implement COMMON dict partial (keep_with_next on headings)
- Major: inline code now gets run-level shading (spec §4)
- Minor: heading color assertion added
- Minor: Task 5 Step 4.5 H3 keystone manual checkpoint (spec §4.2)
- Minor: Task 8 exact line numbers from Research Summary
- Minor: Task 10 renamed to characterization test
2026-07-27 23:46:45 +03:00
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