[latex3-commits] [git/LaTeX3-latex3-latex3] main: Add no-ops for annotations in dvisvgm (ce378bf36)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Aug 4 15:36:16 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/ce378bf36d6f230ba2922fca325275cc9b136cd4

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

commit ce378bf36d6f230ba2922fca325275cc9b136cd4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Aug 4 14:36:16 2022 +0100

    Add no-ops for annotations in dvisvgm


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

ce378bf36d6f230ba2922fca325275cc9b136cd4
 l3backend/CHANGELOG.md      |  3 +++
 l3backend/l3backend-pdf.dtx | 50 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/l3backend/CHANGELOG.md b/l3backend/CHANGELOG.md
index 22b29d28e..21b66046f 100644
--- a/l3backend/CHANGELOG.md
+++ b/l3backend/CHANGELOG.md
@@ -6,6 +6,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+- Add no-op backend functions for annotations with `dvisvgm`
+
 ## [2022-07-01]
 
 #### Fixed
diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index df145f378..af20a6b25 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -1597,6 +1597,56 @@
 %<*dvisvgm>
 %    \end{macrocode}
 %
+% \subsubsection{Annotations}
+%
+% \begin{macro}{\@@_backend_annotation:nnnn}
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_backend_annotation:nnnn #1#2#3#4 { }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}[EXP]{\@@_backend_annotation_last:}
+%    \begin{macrocode}
+\cs_new:Npn \@@_backend_annotation_last: { }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}
+%   {\@@_backend_link_begin_goto:nnw, \@@_backend_link_begin_user:nnw}
+% \begin{macro}{\@@_backend_link_begin:nnnw}
+% \begin{macro}{\@@_backend_link_end:}
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_backend_link_begin_goto:nnw #1#2 { }
+\cs_new_protected:Npn \@@_backend_link_begin_user:nnw #1#2 { }
+\cs_new_protected:Npn \@@_backend_link_begin:nnnw #1#2#3 { }
+\cs_new_protected:Npn \@@_backend_link_end: { }
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@@_backend_link_last:}
+%    \begin{macrocode}
+\cs_new:Npx \@@_backend_link_last: { }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_backend_link_margin:n}
+%   A simple task: pass the data to the primitive.
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_backend_link_margin:n #1 { }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_backend_destination:nn}
+% \begin{macro}{\@@_backend_destination:nnnn}
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_backend_destination:nn #1#2 { }
+\cs_new_protected:Npn \@@_backend_destination:nnnn #1#2#3#4 { }
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
 % \subsubsection{Catalogue entries}
 %
 % \begin{macro}{\@@_backend_catalog_gput:nn, \@@_backend_info_gput:nn}





More information about the latex3-commits mailing list.