From a7653041257b632893217eb135bb709edb8f0c25 Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Wed, 27 Jan 2021 15:56:49 +0000 Subject: [PATCH] Minot tidy-ups --- l3backend/l3backend-pdf.dtx | 5 +++-- l3experimental/l3pdf/l3pdf.dtx | 13 ++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx index 4349f714cd..3db879eb0b 100644 --- a/l3backend/l3backend-pdf.dtx +++ b/l3backend/l3backend-pdf.dtx @@ -621,7 +621,7 @@ % Here, we need to turn the zoom into a scale. We also need to know where % the current anchor point actually is: worked out in PostScript. For the % rectangle version, we have a bit more PostScript: we need two points. -% fitr without rule spec doesn't work, so it falls back to /Fit here. +% fitr without rule spec doesn't work, so it falls back to \texttt{/Fit} here. % \begin{macrocode} \cs_new_protected:Npn \@@_backend_destination:nn #1#2 { @@ -1483,7 +1483,8 @@ % Here, we need to turn the zoom into a scale. The method for \texttt{FitR} % is from Alexander Grahn: the idea is to avoid needing to do any calculations % in \TeX{} by using the backend data for \texttt{@xpos} and \texttt{@ypos}. -% fitr without rule spec doesn't work, so it falls back to /Fit here. +% \texttt{/FitR} without rule spec doesn't work, so it falls back to +% \texttt{/Fit} here. % \begin{macrocode} \cs_new_protected:Npn \@@_backend_destination:nn #1#2 { diff --git a/l3experimental/l3pdf/l3pdf.dtx b/l3experimental/l3pdf/l3pdf.dtx index f7df6908d1..4d2e9635e3 100644 --- a/l3experimental/l3pdf/l3pdf.dtx +++ b/l3experimental/l3pdf/l3pdf.dtx @@ -174,7 +174,9 @@ % This function may only be used up to the point where the PDF file is % initialised. % \end{function} +% % \subsection{Destinations} +% % Destinations are the places a link jumped too. % Unlike the name may suggest they don't described % an exact location in the PDF. Instead a destination contains a reference to @@ -197,10 +199,10 @@ % |fitv|, |fitb|, |fitbh|, |fitbv|, |fitr|, |xyz| % or an integer representing a scale factor in percent. % |fitr| here gives only a lightweight version of |/FitR|: -% The backend code defines |fitr| so that it will with pdflatex and -% lualatex use the coordinates of the surrounding box, -% with dvips and dvipdfmx it falls back to |fit|. For full control use -% \cs{pdf_destination_box:nn}. +% The backend code defines |fitr| so that it will with \pdfLaTeX{} and +% \LuaLaTeX{} use the coordinates of the surrounding box, +% with \texttt{dvips} and \texttt{dvipdfmx} it falls back to |fit|. +% For full control use \cs{pdf_destination:nnnn}. % % The keywords match to the PDF names as described in the following tabular. % @@ -237,7 +239,7 @@ % \begin{syntax} % \cs{pdf_destination:nnnn} \Arg{name} \Arg{width} \Arg{height} \Arg{depth} % \end{syntax} -% This creates a destination with |/FitR| type with the given dimensions relativ +% This creates a destination with |/FitR| type with the given dimensions relative % to the current location. The destination is in a box of size zero, but it doesn't % switch to horizontal mode. % \end{function} @@ -414,6 +416,7 @@ % \end{macro} % % \subsection{Destinations} +% % \begin{macro}{\pdf_destination:nn} % \begin{macrocode} \cs_new_protected:Npn \pdf_destination:nn #1 #2