[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, dvips-xform: document some dvips differences (6638c42)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jul 20 11:55:30 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branches: develop,dvips-xform
Link       : https://github.com/latex3/pdfresources/commit/6638c420a2f13fd3acf75d0a0e4ac302ae6e647f

>---------------------------------------------------------------

commit 6638c420a2f13fd3acf75d0a0e4ac302ae6e647f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jul 20 11:55:30 2021 +0200

    document some dvips differences


>---------------------------------------------------------------

6638c420a2f13fd3acf75d0a0e4ac302ae6e647f
 l3pdfannot.dtx | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/l3pdfannot.dtx b/l3pdfannot.dtx
index 1eeeaeb..88bc8d3 100644
--- a/l3pdfannot.dtx
+++ b/l3pdfannot.dtx
@@ -67,6 +67,33 @@
 % and link annotations. Commands for other annotations like widgets will be added
 % later.
 %
+% \subsection{dvips specialities}
+% With most engines and backend the content of arguments like \Arg{annot spec}
+% are dictionaries with keys and values which looks like the PDF.
+% With dvips this is different. As it write at first a postscript file which is
+% then interpreted along the rule of the pdfmark reference (and the rules of the postscript
+% language) the handling is in some parts so different that it is difficult to hide
+% this in abstraction like the one of this module.
+% And there is the additional complication that the
+% two postscript processor ghostscript (ps2pdf) and distiller handles some code differently too.
+%
+% For now the following differences have been spotted, it is yet not quite clear
+% how to resolve them
+% \begin{itemize}
+% \item distiller doesn't like it if the action is provided by directly
+% providing the |/A| key with some values.
+% Instead it expects a keyword \texttt{/Action}, which it will
+% then translate to |/A|. For |GoTo| links this has been resolved at the backend level,
+% but for other link types this problem is open.
+% \item ghostscript doesn't like object references as values in some places.
+% The work around here (which is e.g. used by hyperref for GoToR link) is to
+% write the whole dictionary first as an object and to use its reference, but this
+% is something distiller doesn't like, sigh.
+% \item How to escaping text and create unicode can be different.
+% \end{itemize}
+%
+%
+%
 % \subsection{General annotation commands}
 %
 % \begin{function}[added = 2019-09-05, updated = 2020-04-14]





More information about the latex3-commits mailing list.