From 54f0312d5f848a84b49e6fd8afd5408009e2dbb1 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Fri, 13 Sep 2024 15:53:27 +0200 Subject: [PATCH] error if PDF standard is unknown --- required/latex-lab/changes.txt | 3 +++ required/latex-lab/documentmetadata-support.dtx | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt index 3378f6410..f55d02d1e 100644 --- a/required/latex-lab/changes.txt +++ b/required/latex-lab/changes.txt @@ -1,3 +1,6 @@ +2024-09-13 Ulrike Fischer + * documentmetadata-support.dtx: change warning to error if pdfstandard is unknown, + see https://github.com/latex3/pdfresources/issues/77#issuecomment-2329522654. 2024-09-03 Ulrike Fischer * documentmetadata-support.dtx: switch to T1 encoding by default for non-Unicode diff --git a/required/latex-lab/documentmetadata-support.dtx b/required/latex-lab/documentmetadata-support.dtx index fbaa1a69d..6752e8098 100644 --- a/required/latex-lab/documentmetadata-support.dtx +++ b/required/latex-lab/documentmetadata-support.dtx @@ -18,8 +18,8 @@ % for those people who are interested or want to report an issue. % % \begin{macrocode} -\def\documentmetadatasupportversion{1.0i} -\def\documentmetadatasupportdate{2024-09-03} +\def\documentmetadatasupportversion{1.0j} +\def\documentmetadatasupportdate{2024-09-13} % \end{macrocode} % % @@ -498,7 +498,7 @@ } ,_pdfstandard / unknown .code:n = { - \msg_warning:nnn{pdf}{unknown-standard}{#1} + \msg_error:nnn{pdf}{unknown-standard}{#1} } ,testphase .multichoice: ,testphase / tagpdf .code:n =