You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 860b2bf
Browse filesBrowse the repository at this point in the historyBrowse files
claude: Auto-infer PDF version from PDF/A standard requirements
PDF/A standards have maximum PDF version requirements:
- PDF/A-1 (a-1a, a-1b) -> PDF 1.4 (required by spec)
- PDF/A-2 (a-2a, a-2b, a-2u) -> PDF 1.7 (max version)
- PDF/A-3 (a-3a, a-3b, a-3u) -> PDF 1.7 (max version)
LaTeX defaults to PDF 2.0 with \DocumentMetadata, which caused verapdf
validation failures for PDF/A-2b. Now we automatically set the correct
pdfversion based on the requested standard.
Also fixes handling of unquoted numeric PDF versions in YAML (e.g.,
`pdf-standard: 2.0` which YAML parses as integer 2) in all three files:
- src/core/verapdf.ts
- src/format/pdf/format-pdf.ts
- src/command/render/output-typst.ts
Adds tests and .gitignore files for generated test outputs.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments