[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: remove old shipout.sty (13dec06)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Dec 26 21:57:12 CET 2020


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/13dec06b690629aec72b8eddc6ea91940d8a5d1e

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

commit 13dec06b690629aec72b8eddc6ea91940d8a5d1e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Dec 26 21:57:12 2020 +0100

    remove old shipout.sty


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

13dec06b690629aec72b8eddc6ea91940d8a5d1e
 build.lua        |   1 -
 tmpl3shipout.sty | 224 -------------------------------------------------------
 2 files changed, 225 deletions(-)

diff --git a/build.lua b/build.lua
index e695743..308e5f9 100644
--- a/build.lua
+++ b/build.lua
@@ -10,7 +10,6 @@ module  = "pdfresources"
 installfiles = {"*.sty","*.cls","*.def","*.lua"}
 sourcefiles =  {"*.dtx","*.ins",
                 "hgeneric-experimental.def",
-                "tmpl3shipout.sty",
                 "newpackages/new-transparent.sty",
                 "newpackages/new-transparent2.sty",
                 "newpackages/new-bookmark.sty",
diff --git a/tmpl3shipout.sty b/tmpl3shipout.sty
deleted file mode 100644
index bccc4a8..0000000
--- a/tmpl3shipout.sty
+++ /dev/null
@@ -1,224 +0,0 @@
-\RequirePackage{expl3}
-\ProvidesExplPackage{tmpl3shipout}{2019-05-15}{}
-  {XXXXXXXXXXXXXXXX L3 Experimental hooks}
-\RequirePackage{l3hooks}
-
-% \shipout_page_add:nn : #1 fg or bg
-% \shipout_box_add:nn  : #1 fg or bg
-% \shipout_header:n
-\hook_new:n { shipout }
-\int_new:N \g_shipout_page_int
-\int_gset:Nn \g_shipout_page_int{1}
-
-\int_new:N \l__shipout_group_level_int
-\box_new:N \l__shipout_main_box
-
-\cs_new_protected:Npn \__shipout:w
-  {
-    \int_set_eq:NN \l__shipout_group_level_int \tex_currentgrouplevel:D
-    \tex_afterassignment:D \__shipout_auxi:
-    \tex_setbox:D \l__shipout_main_box =
-  }
-\cs_new_protected:Npn \__shipout_auxi:
-  {
-    \int_compare:nNnTF \l__shipout_group_level_int < \tex_currentgrouplevel:D
-      { \group_insert_after:N \__shipout_auxii: }
-      { \__shipout_auxii: }
-  }
-\cs_new_protected:Npn \__shipout_auxii:
-  {
-    \box_if_empty:NTF \l__shipout_main_box
-      { \msg_warning:nn { shipout } { empty-shipout-box } }
-      {
-        \hook_use:n { shipout }
-        \box_if_empty:NF \l__shipout_main_box
-          { \int_gincr:N \g_shipout_page_int
-            \tex_shipout:D \box_use:N \l__shipout_main_box }
-      }
-  }
-\cs_new_protected:Npn \shipout_box_add:nn #1#2
-  {
-    \box_if_horizontal:NTF \l__shipout_main_box
-      { \__shipout_hbox_add:nn }
-      {
-        \box_if_vertical:NTF \l__shipout_main_box
-          { \__shipout_vbox_add:nn }
-          { \use_none:nn }
-      }
-        {#1} {#2}
-  }
-\box_new:N \l__shipout_tmp_box
-\cs_new_protected:Npn \__shipout_hbox_add_bg:nn #1#2
-  {
-    \use:x
-      {
-        \__shipout_hbox_add:nnnn
-          { \int_use:N \tex_hbadness:D }
-          { \dim_use:N tex_hfuzz:D }
-      }
-        {#1} {#2}
-  }
-\cs_new_protected:Npn \__shipout_hbox_add:nnnn #1#2#3#4
-  {
-    \int_set_eq:NN \tex_hbadness:D \c_max_int
-    \dim_set:Nn \tex_hfuzz:D { 1073741823sp }
-    \hbox_set_to_wd:Nnn \l__shipout_main_box
-      { \box_wd:N \l__shipout_main_box }
-      { \use:c { __shipout_hbox_ #3 :nnn } {#1} {#2} {#4} }
-    \int_set:Nn \tex_hbadness:D {#1}
-    \dim_set:Nn \tex_hfuzz:D {#2}
-  }
-\cs_new_protected:Npn \__shipout_hbox_bg:nnn #1#2#3
-  {
-    \hbox_set:Nn \l__shipout_tmp_box
-      {
-        \int_set:Nn \tex_hbadness:D {#1}
-        \dim_set:Nn \tex_hfuzz:D {#2}
-        #3
-      }
-    \__shipout_box_zero_size:N \l__shipout_tmp_box
-    \box_move_up:nn
-      { \box_ht:N \l__shipout_main_box }
-      { \box_use_drop:N \l__shipout_tmp_box }
-    \hbox_unpack_drop:N \l__shipout_main_box
-  }
-\cs_new_protected:Npn \__shipout_hbox_fg:nnn #1#2#3
-  {
-    \hbox_unpack:N \l__shipout_main_box
-    \tex_kern:D -\box_wd:N \l__shipout_main_box
-    \hbox_set:Nn \l__shipout_tmp_box
-      {
-        \int_set:Nn \tex_hbadness:D {#1}
-        \dim_set:Nn \tex_hfuzz:D {#2}
-        #3
-      }
-    \__shipout_box_zero_size:N \l__shipout_tmp_box
-    \box_move_up:nn
-      { \box_ht:N \l__shipout_main_box }
-      { \box_use:N \l__shipout_tmp_box }
-    \tex_kern:D \box_wd:N \l__shipout_main_box
-  }
-\cs_new_protected:Npn \__shipout_vbox_add:nn #1#2
-  {
-    \use:x
-      {
-        \__shipout_vbox_add:nnnnnn
-          { \int_use:N \tex_vbadness:D }
-          { \dim_use:N \tex_vfuzz:D }
-          { \box_ht:N \l__shipout_main_box }
-          { \box_dp:N \l__shipout_main_box }
-      }
-        {#1} {#2}
-  }
-\cs_new_protected:Npn \__shipout_vbox_add:nnnnnn #1#2#3#4#5#6
-  {
-    \int_set_eq:NN \tex_vbadness:D \c_max_int
-    \dim_set:Nn \tex_vfuzz:D { 1073741823sp }
-    \vbox_set_to_ht:Nnn \l__shipout_main_box
-      { \box_ht:N \l__shipout_main_box + \box_dp:N \l__shipout_main_box }
-      { \use:c { __shipout_vbox_ #5 :nnn } {#1} {#2} {#6} }
-    \int_set:Nn \tex_vbadness:D {#1}
-    \dim_set:Nn \tex_vfuzz:D {#2}
-    \box_set_ht:Nn \l__shipout_main_box {#3}
-    \box_set_dp:Nn \l__shipout_main_box {#4}
-  }
-\cs_new_protected:Npn \__shipout_vbox_bg:nnn #1#2#3
-  {
-    \hbox_set:Nn \l__shipout_tmp_box
-      {
-        \int_set:Nn \tex_vbadness:D {#1}
-        \dim_set:Nn \tex_vfuzz:D {#2}
-        #3
-      }
-    \__shipout_box_zero_size:N \l__shipout_tmp_box
-    \dim_zero:N \tex_baselineskip:D
-    \dim_zero:N \tex_lineskip:D
-    \dim_zero:N \tex_lineskiplimit:D
-    \box_use_drop:N \l__shipout_tmp_box
-    \vbox_unpack_drop:N \l__shipout_main_box
-    \tex_kern:D 0pt \scan_stop:
-  }
-\cs_new_protected:Npn \__shipout_vbox_fg:nnn #1#2#3
-  {
-    \hbox_set:Nn \l__shipout_tmp_box
-      {
-        \int_set:Nn \tex_vbadness:D {#1}
-        \dim_set:Nn \tex_vfuzz:D {#2}
-        #3
-      }
-    \__shipout_box_zero_size:N \l__shipout_tmp_box
-    \dim_zero:N \tex_baselineskip:D
-    \dim_zero:N \tex_lineskip:D
-    \dim_zero:N \tex_lineskiplimit:D
-    \vbox_unpack:N \l__shipout_main_box
-    \tex_kern:D
-      \dim_eval:n
-        { - \box_ht:N \l__shipout_main_box - \box_dp:N \l__shipout_main_box }
-        \scan_stop:
-    \box_use_drop:N \l__shipout_tmp_box
-    \tex_kern:D
-      \dim_eval:n
-        { \box_ht:N \l__shipout_main_box + \box_dp:N \l__shipout_main_box }
-        \scan_stop:
-  }
-\cs_new_protected:Npn \__shipout_box_zero_size:N #1
-  {
-    \box_set_wd:Nn #1 { 0pt }
-    \box_set_ht:Nn #1 { 0pt }
-    \box_set_dp:Nn #1 { 0pt }
-  }
-
-\bool_new:N \g__shipout_header_shipped_bool
-
-\cs_new_protected:Npn \shipout_header:n #1
-  {
-    \bool_if:NF \g__shipout_header_shipped_bool
-      {
-        \hook_pre_once:nn { shipout }
-          { \shipout_box_add:nn { fg } {#1} }
-      }
-  }
-\hook_pre_push:nn { shipout }
-  { \bool_gset_true:N \g__shipout_header_shipped_bool }
-
-\cs_new_protected:Npx \__shipout_page_horigin:
-  {
-    \cs_if_exist:NTF \tex_pdfvariable:D
-      { \tex_pdfvariable:D horigin }
-      {
-        \cs_if_exist:NTF \tex_pdfhorigin:D
-          { \tex_pdfhorigin:D }
-          { 72.27pt \scan_stop: }
-      }
-  }
-\cs_new_protected:Npx \__shipout_page_vorigin:
-  {
-    \cs_if_exist:NTF \tex_pdfvariable:D
-      { \tex_pdfvariable:D vorigin }
-      {
-        \cs_if_exist:NTF \tex_pdfvorigin:D
-          { \tex_pdfvorigin:D }
-          { 72.27pt \scan_stop: }
-      }
-  }
-
-\cs_new_protected:Npn \shipout_page_add:nn #1#2
-  {
-    \shipout_box_add:nn {#1}
-      {
-        \tex_kern:D -\__shipout_page_horigin:
-        \vbox_to_zero:n
-          {
-            \tex_kern:D -\__shipout_page_vorigin:
-            \hbox_set:Nn \l__shipout_tmp_box {#2}
-            \__shipout_box_zero_size:N \l__shipout_tmp_box
-            \box_use_drop:N \l__shipout_tmp_box
-            \tex_vss:D
-          }
-      }
-  }
-
-
-\cs_set_eq:NN \shipout \__shipout:w
-
-\endinput





More information about the latex3-commits mailing list.