diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-16 03:01:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-16 03:01:05 +0000 |
commit | 725ce6a3e602c7516d471df841ea433b8c5bcd9d (patch) | |
tree | 6cc54f5bd90984b9b63976a0386ae2681a08b7cb /macros/latex/contrib/l3build/l3build.dtx | |
parent | d6f947fa36ed3b76d36a8dfad4e9247319b4d622 (diff) |
CTAN sync 202203160301
Diffstat (limited to 'macros/latex/contrib/l3build/l3build.dtx')
-rw-r--r-- | macros/latex/contrib/l3build/l3build.dtx | 83 |
1 files changed, 44 insertions, 39 deletions
diff --git a/macros/latex/contrib/l3build/l3build.dtx b/macros/latex/contrib/l3build/l3build.dtx index df9d152f9e..fbd84ff215 100644 --- a/macros/latex/contrib/l3build/l3build.dtx +++ b/macros/latex/contrib/l3build/l3build.dtx @@ -237,7 +237,7 @@ % }^^A % } % -% \date{Released 2022-02-24} +% \date{Released 2022-03-15} % % \maketitle % \tableofcontents @@ -1545,7 +1545,7 @@ % \meta{package}|-ctan.curlopt|. This is then passed to curl using its % |--config| commandline option. (Using an intermediate file helps % keep \pkg{l3build} portable between systems using different -% commandline quoting conventions. Any backslashes are doubled when writing +% commandline quoting conventions. Any backslashes are doubled when writing % to this file, so they do not need to be doubled in announcement and note texts.) % % By default the file is written into the current directory alongside @@ -2497,48 +2497,53 @@ % environment side (as not all output can be controlled here). % There is a limit to what can be done with the underlying PDF structure so % there is no point entirely suppressing \texttt{Producer}: simply avoid -% any version numbers. +% any version numbers. If the pdfmanagement is loaded we use its function +% if it exists. % \begin{macrocode} -\ifnum 0% - \ifx\pdfoutput\@undefined\else\ifnum\pdfoutput>0 1\fi\fi - \ifx\outputmode\@undefined\else\ifnum\outputmode>0 1\fi\fi - >0 % - \ifx\pdfvariable\@undefined - \pdfinfo{/Producer (\ifx\directlua\@undefined pdf\else Lua\fi TeX)} - \ifx\pdfinfoomitdate\@undefined\else - \pdfinfoomitdate = 1 % - \pdfsuppressptexinfo = \numexpr +\ifcsname pdfmeta_set_regression_data:\endcsname + \csname pdfmeta_set_regression_data:\endcsname +\else + \ifnum 0% + \ifx\pdfoutput\@undefined\else\ifnum\pdfoutput>0 1\fi\fi + \ifx\outputmode\@undefined\else\ifnum\outputmode>0 1\fi\fi + >0 % + \ifx\pdfvariable\@undefined + \pdfinfo{/Producer (\ifx\directlua\@undefined pdf\else Lua\fi TeX)} + \ifx\pdfinfoomitdate\@undefined\else + \pdfinfoomitdate = 1 % + \pdfsuppressptexinfo = \numexpr + 0 + + 1 % PTEX.Fullbanner + + 2 % PTEX.FileName + \relax + \pdftrailerid{} + \fi + \else + \pdfextension info{/Producer (LuaTeX)} + \pdfvariable suppressoptionalinfo \numexpr 0 - + 1 % PTEX.Fullbanner - + 2 % PTEX.FileName + + 1 % PTEX.Fullbanner + + 2 % PTEX.FileName + + 32 % CreationDate + + 64 % ModDate + + 512 % ID \relax - \pdftrailerid{} \fi \else - \pdfextension info{/Producer (LuaTeX)} - \pdfvariable suppressoptionalinfo \numexpr - 0 - + 1 % PTEX.Fullbanner - + 2 % PTEX.FileName - + 32 % CreationDate - + 64 % ModDate - + 512 % ID - \relax - \fi -\else - \ifx\XeTeXversion\@undefined - \special{! <</DocumentUUID (DocumentUUID)>> setpagedevice} - \special{! <</InstanceUUID (InstanceUUID)>> setpagedevice} - \else - \special{% - pdf: docinfo - << - /Creator (TeX) - /CreationDate () - /ModDate () - /Producer (xdvipdfmx) - >> - } + \ifx\XeTeXversion\@undefined + \special{! <</DocumentUUID (DocumentUUID)>> setpagedevice} + \special{! <</InstanceUUID (InstanceUUID)>> setpagedevice} + \else + \special{% + pdf: docinfo + << + /Creator (TeX) + /CreationDate () + /ModDate () + /Producer (xdvipdfmx) + >> + } + \fi \fi \fi % \end{macrocode} |