[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: refactoring/storing (4e4afea)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Jun 5 00:18:34 CEST 2019
Repository : https://github.com/latex3/pdfresources
On branch : backendtest
Link : https://github.com/latex3/pdfresources/commit/4e4afea99639a6ca6c72eae36389d1fe12beabec
>---------------------------------------------------------------
commit 4e4afea99639a6ca6c72eae36389d1fe12beabec
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Jun 5 00:18:34 2019 +0200
refactoring/storing
>---------------------------------------------------------------
4e4afea99639a6ca6c72eae36389d1fe12beabec
pdfresources.dtx | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/pdfresources.dtx b/pdfresources.dtx
index f2c6282..a5f5da3 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -304,7 +304,8 @@
% \subsection{ management / pagesattr }
% \begin{NOTE}{UF}
% The register is normally used only a few times in a document, so in pdfmode
-% it is okay to update the register at every change but is this also true for dvips?
+% it is okay to update the register at every change but is this also true for
+% dvips/dvipdfmx?
% We issue the push code also at the end of the document, so that it wins.
% \end{NOTE}
% \begin{function}[added = 2019-06-04]
@@ -386,10 +387,19 @@
% \end{macrocode}
%
% \subsection{pageattr / management commands}
+% \begin{NOTE}{UF}
+% dvips syntax: \special{ps: [{ThisPage}<</Rotate 90>> /PUT pdfmark}%
+% There seem to be an in-built management code: multiple uses don't lead to
+% multiple entries (/Rotate is special: there is always a /Rotate 0 in the dict, but seems
+% not to do harm).
+% dvipdfmx syntax: \special{pdf: put @thispage << /Rotate 90 >>}, like dvips has an in-built
+% management code.
+% Both change only the current page, so to get the pdftex behaviour (which sets
+% also the following pages) one need to repeat it on every shipout.
% Open is the question if one need more shipout hooks to set e.g. Rotate on specific
% pages. Open is the setter for /AF (and perhaps /OutputIntents).
% See also https://tex.stackexchange.com/questions/479812/extension-of-rotating-package-to-set-pdf-rotation
-
+% \end{NOTE}
% \begin{function}[added = 2019-06-04]
% {\pdf_pageattr_gput:nn}
% \begin{syntax}
More information about the latex3-commits
mailing list