[latex3-commits] [l3svn] branch master updated: Back out page color support
noreply at latex-project.org
noreply at latex-project.org
Thu Oct 26 10:33:01 CEST 2017
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new db63e03 Back out page color support
db63e03 is described below
commit db63e03a015442d861b31d052ee9956d354a1d62
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Oct 26 09:27:43 2017 +0100
Back out page color support
Based on issues raised on the team list, it is not entirely clear what
should be meant by "page color". For the present, drop this code until
a better model is available.
This reverts commits:
- 4bc10d74493c71548daeae3e8e91a5a3c59ccc77
- b3893bb30909f806bcb205e0c05b047be4ed68f7
- 7f0fa0da0e1c7410d2cc5b5999ff89ee4792cfef
- 04c11b1f644e46a739cc6ec973843090a8f1cf71
- 26393f11e2475958421dd6a8fb34f224b04e49ba
- e97e9a011a580f8ea771acf789947a0f97fd7c8f
---
l3kernel/l3drivers.dtx | 47 ---------------------------
l3kernel/testfiles/m3expl001.luatex.tlg | 1 -
l3kernel/testfiles/m3expl001.ptex.tlg | 1 -
l3kernel/testfiles/m3expl001.tlg | 1 -
l3kernel/testfiles/m3expl001.uptex.tlg | 1 -
l3kernel/testfiles/m3expl001.xetex.tlg | 1 -
l3kernel/testfiles/m3expl003.luatex.tlg | 1 -
l3kernel/testfiles/m3expl003.ptex.tlg | 1 -
l3kernel/testfiles/m3expl003.tlg | 1 -
l3kernel/testfiles/m3expl003.uptex.tlg | 1 -
l3kernel/testfiles/m3expl003.xetex.tlg | 1 -
l3trial/l3color-extras/l3color-extras.dtx | 49 -----------------------------
12 files changed, 106 deletions(-)
diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index b75f9b2..6a2ddb8 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -143,15 +143,6 @@
% in the \meta{tl}.
% \end{function}
%
-% \begin{function}[added = 2017-10-24]
-% {\__driver_color_page:}
-% \begin{syntax}
-% \cs{__driver_color_page:}
-% \end{syntax}
-% Sets the page color to that specified by \cs{l__color_page_tl}, or clears
-% the page color if this variable is empty.
-% \end{function}
-%
% \section{Drawing}
%
% The drawing functions provided here are \emph{highly} experimental. They
@@ -596,22 +587,6 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\@@_color_page:}
-% Simple application of color support at the driver level.
-% \begin{macrocode}
-\cs_new_protected:Npn \@@_color_page:
- {
- \tex_special:D
- {
- background ~
- \tl_if_empty:NTF \g__color_page_tl
- { " newpath~clip }
- { \g__color_page_tl }
- }
- }
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macrocode}
%</dvisvgm|dvipdfmx|dvips|xdvipdfmx>
% \end{macrocode}
@@ -734,28 +709,6 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\@@_page_color:}
-% Direct PDF output doesn't natively support page color, requiring instead
-% a box to the size of the page. At present, the code is a no-op unless
-% \pkg{color} has been loaded.
-% \begin{macrocode}
-\cs_new_protected:Npn \@@_page_color: { }
-%<*package>
-\AtBeginDocument
- {
- \cs_if_exist:NT \set at page@color
- {
- \cs_set_protected:Npn \@@_page_color:
- {
- \tl_gset_eq:NN \current at page@color \g__color_page_tl
- \set at page@color
- }
- }
- }
-%</package>
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macrocode}
%</pdfmode>
% \end{macrocode}
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 4b32829..5de79eb 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -5758,7 +5758,6 @@ Defining \__driver_color_convert_cmyk:w on line ...
Defining \__driver_color_convert_rgb:w on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_page_color: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index f926a47..df550fc 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -5745,7 +5745,6 @@ Defining \__driver_convert_model:w on line ...
Defining \__driver_color_convert_spot:n on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_color_page: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 43185a9..b81f93a 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -5950,7 +5950,6 @@ Defining \__driver_color_convert_cmyk:w on line ...
Defining \__driver_color_convert_rgb:w on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_page_color: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 7a1159e..64fc735 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -5944,7 +5944,6 @@ Defining \__driver_convert_model:w on line ...
Defining \__driver_color_convert_spot:n on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_color_page: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 485ba96..1d54bfb 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -5728,7 +5728,6 @@ Defining \__driver_convert_model:w on line ...
Defining \__driver_color_convert_spot:n on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_color_page: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 4b32829..5de79eb 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -5758,7 +5758,6 @@ Defining \__driver_color_convert_cmyk:w on line ...
Defining \__driver_color_convert_rgb:w on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_page_color: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index f926a47..df550fc 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -5745,7 +5745,6 @@ Defining \__driver_convert_model:w on line ...
Defining \__driver_color_convert_spot:n on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_color_page: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 43185a9..b81f93a 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -5950,7 +5950,6 @@ Defining \__driver_color_convert_cmyk:w on line ...
Defining \__driver_color_convert_rgb:w on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_page_color: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 7a1159e..64fc735 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -5944,7 +5944,6 @@ Defining \__driver_convert_model:w on line ...
Defining \__driver_color_convert_spot:n on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_color_page: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 485ba96..1d54bfb 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -5728,7 +5728,6 @@ Defining \__driver_convert_model:w on line ...
Defining \__driver_color_convert_spot:n on line ...
Defining \__driver_color_convert_spot:w on line ...
Defining \__driver_color_reset: on line ...
-Defining \__driver_color_page: on line ...
Defining \__driver_literal:n on line ...
Defining \__driver_scope_begin: on line ...
Defining \__driver_scope_end: on line ...
diff --git a/l3trial/l3color-extras/l3color-extras.dtx b/l3trial/l3color-extras/l3color-extras.dtx
index b59ae3a..131478a 100644
--- a/l3trial/l3color-extras/l3color-extras.dtx
+++ b/l3trial/l3color-extras/l3color-extras.dtx
@@ -215,23 +215,6 @@
% and similar are not influenced by this setting.
% \end{variable}
%
-% \begin{function}{\color_page:n}
-% \begin{syntax}
-% \cs{color_page:n} \Arg{color expression}
-% \end{syntax}
-% Parses the \meta{color expression} and then activates the resulting
-% color specification for the page background.
-% \end{function}
-%
-% \begin{function}{\color_page_clear:}
-% \begin{syntax}
-% \cs{color_page:}
-% \end{syntax}
-% Deactivates any coloring of the current page. Note that this is different
-% from selecting a (typically) white color for the page: clearing the page
-% color means that no ink is selected at all.
-% \end{function}
-%
% \section{Spot colors}
% \label{l3color:sec:spot}
%
@@ -794,38 +777,6 @@
% \end{macrocode}
% \end{variable}
%
-% \subsection{Page color}
-%
-% \begin{variable}{\l_@@_page_tl, \g_@@_page_tl}
-% Space to track the page color. We need both a local and a global token list
-% here. The local one is used with other mechanisms for getting the data
-% set up, the global one as some drivers need to set the color at shipout.
-% \begin{macrocode}
-\tl_new:N \l_@@_page_tl
-\tl_new:N \g_@@_page_tl
-% \end{macrocode}
-% \end{variable}
-%
-% \begin{macro}{\color_page:n}
-% \begin{macro}{\color_page_clear:}
-% Set and clear the page color: mainly a job for the driver level.
-% \begin{macrocode}
-\cs_new_protected:Npn \color_page:n #1
- {
- \@@_parse:nN {#1} \l_@@_page_tl
- \@@_finalise:N \l_@@_page_tl
- \tl_gset_eq:NN \g_@@_page_tl \l_@@_page_tl
- \__driver_color_page:
- }
-\cs_new_protected:Npn \color_page_clear:
- {
- \tl_gclear:N \g_@@_page_tl
- \__driver_color_page:
- }
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-%
% \subsection{Diagnostics}
%
% \begin{macro}{\color_show:n}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list