[latex3-commits] [git/LaTeX3-latex3-latex3] master: Don't need \draw_hbox_set:Nn (e5fe2d9)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Mar 4 12:07:28 CET 2018


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

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

commit e5fe2d96a0f6618136ccd069221606ca736d73fc
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Mar 4 10:00:23 2018 +0000

    Don't need \draw_hbox_set:Nn
    
    We'll come back to a better interface shortly!


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

e5fe2d96a0f6618136ccd069221606ca736d73fc
 l3experimental/l3draw/l3draw-boxes.dtx |   18 ------------------
 l3experimental/l3draw/l3draw.dtx       |   10 ----------
 2 files changed, 28 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-boxes.dtx b/l3experimental/l3draw/l3draw-boxes.dtx
index 024a334..5ecc423 100644
--- a/l3experimental/l3draw/l3draw-boxes.dtx
+++ b/l3experimental/l3draw/l3draw-boxes.dtx
@@ -68,24 +68,6 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}{\draw_hbox_set:Nn}
-%   Collect up the input and box, reset all of the structures and typeset.
-%   Note that in \pkg{pgf} the various reset parts are set up in an auxiliary,
-%   but this is not done here at present as it is all done only once.
-%    \begin{macrocode}
-\cs_new_protected:Npn \draw_hbox_set:Nn #1#2
-  {
-    \hbox_set:Nn #1
-      {
-        \color_ensure_current:
-        \draw_suspend_begin:
-          #2
-        \draw_suspend_end:
-      }
-  }
-%    \end{macrocode}
-% \end{macro}
-%
 % \begin{macro}{\draw_hbox_use:N}
 %   Before inserting a box, we need to make sure that the bounding box is being
 %   updated correctly. As drawings track transformations as a whole, rather
diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index 85336ba..bfb6142 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -874,16 +874,6 @@
 %
 % \subsection{Text}
 %
-% \begin{function}{\draw_hbox_set:Nn}
-%   \begin{syntax}
-%     \cs{draw_hbox_set:Nn} \meta{box} \Arg{content}
-%   \end{syntax}
-%   Sets the \meta{box} to contain the \meta{content} in a form suitable for
-%   insertion into a drawing. Broadly, the box contents set up in this way
-%   are augmented compared to using \cs{hbox_set:Nn}, to ensure that the
-%   interaction between the box and the drawing are correct.
-% \end{function}
-%
 % \begin{function}{\draw_hbox_use:N}
 %   \begin{syntax}
 %     \cs{draw_hbox_use:N} \meta{box}





More information about the latex3-commits mailing list