From b44817642640e80d3c987df992dde1b0b7a247a6 Mon Sep 17 00:00:00 2001 From: fstandhartinger Date: Sun, 1 Nov 2026 08:26:07 +0000 Subject: [PATCH] docs: pair pdfua with PDF/A-2b in the cURL examples The PDF/A & PDF/UA examples sent pdfa=PDF/A-1b together with pdfua=true. The warning on the LibreOffice page already says this pairing has no effect: LibreOffice writes PDF/A-1 as PDF 1.4 and only enables PDF/UA at PDF 1.7 or 2.0. Use PDF/A-2b so the examples produce what they request. Co-Authored-By: Claude Opus 5.5 (1M context) --- docs/_shared/_pdfa_pdfua_pdfengines.mdx | 4 ++-- docs/convert-with-libreoffice/convert-to-pdf.mdx | 2 +- docs/manipulate-pdfs/pdfa-pdfua.mdx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_shared/_pdfa_pdfua_pdfengines.mdx b/docs/_shared/_pdfa_pdfua_pdfengines.mdx index f6f45029..41874b73 100644 --- a/docs/_shared/_pdfa_pdfua_pdfengines.mdx +++ b/docs/_shared/_pdfa_pdfua_pdfengines.mdx @@ -30,7 +30,7 @@ LibreOffice rasterizes table cells that carry a background color, which costs ac curl \\ --request ${props.method} http://localhost:3000${props.path} \\ ${props.curlFormData} ---form pdfa=PDF/A-1b \\ +--form pdfa=PDF/A-2b \\ --form pdfua=true \\ ${props.curlOutput} `} @@ -44,7 +44,7 @@ ${props.curlOutput} curl \\ --request ${props.method} http://localhost:3000${props.path} \\ ${props.curlFormData} ---form pdfa=PDF/A-1b \\ +--form pdfa=PDF/A-2b \\ --form pdfua=true \\ ${props.curlOutput} `} diff --git a/docs/convert-with-libreoffice/convert-to-pdf.mdx b/docs/convert-with-libreoffice/convert-to-pdf.mdx index a028335a..046ba14d 100644 --- a/docs/convert-with-libreoffice/convert-to-pdf.mdx +++ b/docs/convert-with-libreoffice/convert-to-pdf.mdx @@ -741,7 +741,7 @@ LibreOffice rasterizes table cells that carry a background color, which costs ac curl \\ --request POST http://localhost:3000/forms/libreoffice/convert \\ --form files=@/path/to/document.docx \\ ---form pdfa=PDF/A-1b \\ +--form pdfa=PDF/A-2b \\ --form pdfua=true \\ -o my.pdf`} /> diff --git a/docs/manipulate-pdfs/pdfa-pdfua.mdx b/docs/manipulate-pdfs/pdfa-pdfua.mdx index e4b9752e..4aaeff26 100644 --- a/docs/manipulate-pdfs/pdfa-pdfua.mdx +++ b/docs/manipulate-pdfs/pdfa-pdfua.mdx @@ -66,7 +66,7 @@ PDF/A and PDF/UA conversion relies on **LibreOffice** to re-process documents, w curl \\ --request POST http://localhost:3000/forms/pdfengines/convert \\ --form files=@/path/to/pdf.pdf \\ ---form pdfa=PDF/A-1b \\ +--form pdfa=PDF/A-2b \\ --form pdfua=true \\ -o my.pdf`} responses={[