[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop IniTeX guards from l3backend (f36191277)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Aug 4 15:09:52 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/f3619127743a8eccf4e1ae354c36f7d36370b837

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

commit f3619127743a8eccf4e1ae354c36f7d36370b837
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Aug 4 14:09:52 2020 +0100

    Drop IniTeX guards from l3backend


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

f3619127743a8eccf4e1ae354c36f7d36370b837
 l3backend/l3backend-basics.dtx   |  4 ++--
 l3backend/l3backend-box.dtx      |  4 ++--
 l3backend/l3backend-color.dtx    |  4 ++--
 l3backend/l3backend-draw.dtx     |  4 ++--
 l3backend/l3backend-graphics.dtx |  4 ++--
 l3backend/l3backend-pdf.dtx      | 14 ++------------
 6 files changed, 12 insertions(+), 22 deletions(-)

diff --git a/l3backend/l3backend-basics.dtx b/l3backend/l3backend-basics.dtx
index 1cb6c18db..899127633 100644
--- a/l3backend/l3backend-basics.dtx
+++ b/l3backend/l3backend-basics.dtx
@@ -56,7 +56,7 @@
 % \section{\pkg{l3backend-basics} Implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %    \end{macrocode}
 %
 % Whilst there is a reasonable amount of code overlap between backends,
@@ -422,7 +422,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}
diff --git a/l3backend/l3backend-box.dtx b/l3backend/l3backend-box.dtx
index fa1427655..cc8241da4 100644
--- a/l3backend/l3backend-box.dtx
+++ b/l3backend/l3backend-box.dtx
@@ -56,7 +56,7 @@
 % \section{\pkg{l3backend-box} Implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %<@@=box>
 %    \end{macrocode}
 %
@@ -462,7 +462,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}
diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx
index 43c0d7c6c..3e90bd250 100644
--- a/l3backend/l3backend-color.dtx
+++ b/l3backend/l3backend-color.dtx
@@ -56,7 +56,7 @@
 % \section{\pkg{l3backend-color} Implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %<@@=color>
 %    \end{macrocode}
 %
@@ -434,7 +434,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}
diff --git a/l3backend/l3backend-draw.dtx b/l3backend/l3backend-draw.dtx
index 026f56ae5..cc70b3225 100644
--- a/l3backend/l3backend-draw.dtx
+++ b/l3backend/l3backend-draw.dtx
@@ -56,7 +56,7 @@
 % \section{\pkg{l3backend-draw} Implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %<@@=draw>
 %    \end{macrocode}
 %
@@ -1054,7 +1054,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}
diff --git a/l3backend/l3backend-graphics.dtx b/l3backend/l3backend-graphics.dtx
index ee054af9c..1e0d19ef8 100644
--- a/l3backend/l3backend-graphics.dtx
+++ b/l3backend/l3backend-graphics.dtx
@@ -56,7 +56,7 @@
 % \section{\pkg{l3backend-graphics} Implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %<@@=graphics>
 %    \end{macrocode}
 %
@@ -632,7 +632,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}
diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 233385451..a7a63ba18 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -56,7 +56,7 @@
 % \section{\pkg{l3backend-pdf} Implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %<@@=pdf>
 %    \end{macrocode}
 %
@@ -458,14 +458,9 @@
     \hbox_set:Nn \l_@@_backend_model_box { Gg }
     \exp_args:Nx \@@_backend_link_outerbox:n
       {
-%<*initex>
-         \l_galley_total_left_margin_dim
-%</initex>
-%<*package>
          \int_if_odd:nTF { \value { page } }
            { \oddsidemargin }
            { \evensidemargin }
-%</package>
       }
     \box_move_down:nn { \box_dp:N \l_@@_backend_content_box }
       { \hbox:n { \__kernel_backend_postscript:n { pdf.save.linkll } } }
@@ -527,12 +522,7 @@
           [
             \dim_to_decimal:n {#1} ~
             \dim_to_decimal:n { -\box_dp:N \l_@@_backend_model_box } ~
-%<*initex>
-            \dim_to_decimal:n { #1 + \l_galley_text_width_dim } ~
-%</initex>
-%<*package>
             \dim_to_decimal:n { #1 + \textwidth } ~
-%</package>
             \dim_to_decimal:n { \box_ht:N \l_@@_backend_model_box }
           ]
           [ exch { pdf.pt.dvi } forall ] def
@@ -1623,7 +1613,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}





More information about the latex3-commits mailing list.