summaryrefslogtreecommitdiff
path: root/macros/latex-dev/required/l3kernel/l3pdf.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex-dev/required/l3kernel/l3pdf.dtx')
-rw-r--r--macros/latex-dev/required/l3kernel/l3pdf.dtx15
1 files changed, 10 insertions, 5 deletions
diff --git a/macros/latex-dev/required/l3kernel/l3pdf.dtx b/macros/latex-dev/required/l3kernel/l3pdf.dtx
index b0b17f2690..007cb5b5ad 100644
--- a/macros/latex-dev/required/l3kernel/l3pdf.dtx
+++ b/macros/latex-dev/required/l3kernel/l3pdf.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2024-04-11}
+% \date{Released 2024-05-08}
%
% \maketitle
%
@@ -179,11 +179,13 @@
% created. This is particularly useful for anonymous objects.
% \end{function}
%
-% \begin{function}[EXP, added = 2021-02-10]{\pdf_pageobject_ref:n}
+% \begin{function}[EXP, added = 2021-02-10, updated = 2024-04-22]
+% {\pdf_pageobject_ref:n}
% \begin{syntax}
-% \cs{pdf_pagobject_ref:n} \Arg{pageobject}
+% \cs{pdf_pageobject_ref:n} \Arg{abspage}
% \end{syntax}
-% Inserts the appropriate information to reference the \meta{pageobject}.
+% Inserts the appropriate information to reference the \meta{abspage};
+% the latter is expanded fully before further processing.
% \end{function}
%
% \section{Version}
@@ -230,6 +232,9 @@
% \end{syntax}
% Sets the page size (mediabox) of the PDF being created to the
% \meta{width} and \meta{height}, both of which are \meta{dimexpr}.
+% The page size can only be set at the start of the output with
+% \texttt{dvips}; with other backends, this can be adjusted on a
+% per-page basis.
% \end{function}
%
% \section{Compression}
@@ -659,7 +664,7 @@ end,'global')
% \begin{macro}{\pdf_pageobject_ref:n}
% \begin{macrocode}
\cs_new:Npn \pdf_pageobject_ref:n #1
- { \@@_backend_pageobject_ref:n {#1} }
+ { \exp_args:Ne \@@_backend_pageobject_ref:n {#1} }
% \end{macrocode}
% \end{macro}
%