Simplify pdf_to_md.py: remove rarely-used features causing bugs
Remove features that created problematic edge cases:
- --stdout, --no-cache, --no-images, --no-metadata
- --pages, --images-scale, --force-stale-cache
- Cache fallback when PDF is missing (find_by_source)
- Page slicing code (slice_pages_from_markdown, parse_page_range)
Keep core functionality:
- --docling for accurate tables
- --clear-cache, --clear-all-cache, --cache-stats
- Always extract images, always cache, always write metadata
This resolves 5 code review findings:
- 4 bugs eliminated by removing the problematic feature combinations
- 1 bug fixed (empty temp directory cleanup)
Result: 748 lines (was 1255), single code path, predictable behavior.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>