diff --git a/l3backend/build.lua b/l3backend/build.lua index c3a92a2c80..03aad10c61 100644 --- a/l3backend/build.lua +++ b/l3backend/build.lua @@ -9,7 +9,7 @@ bundle = "" -- Location of main directory: use Unix-style path separators maindir = ".." -installfiles = {"*.def", "*.pro"} +installfiles = {"*.def", "l3backend-luatex.lua", "*.pro"} sourcefiles = {"*.dtx", "*.ins"} tagfiles = {"*.dtx", "CHANGELOG.md", "README.md", "*.ins"} typesetfiles = {"l3backend-code.tex"} diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx index 7979b2d8e6..7a36a39ffa 100644 --- a/l3backend/l3backend-color.dtx +++ b/l3backend/l3backend-color.dtx @@ -411,7 +411,10 @@ % } % \begin{macro}{\@@_backend_select:nn} % \begin{macro}{\@@_backend_reset:} -% Store the values then pass to the stack. +% \begin{macro}{\@@_backend_stack_push:nn} +% Store the values then pass to the stack. The abstraction here allows for +% transparency needing the same fundamental approach but with switchable +% code for \LuaTeX{}. % \begin{macrocode} \cs_new_protected:Npn \@@_backend_select_cmyk:n #1 { \@@_backend_select:nn { #1 ~ k } { #1 ~ K } } @@ -423,15 +426,17 @@ { \tl_set:Nn \l_@@_backend_fill_tl {#1} \tl_set:Nn \l_@@_backend_stroke_tl {#2} - \__kernel_color_backend_stack_push:nn \l_@@_backend_stack_int { #1 ~ #2 } + \@@_backend_stack_push:nn \l_@@_backend_stack_int { #1 ~ #2 } \group_insert_after:N \@@_backend_reset: } \cs_new_protected:Npn \@@_backend_reset: { \__kernel_color_backend_stack_pop:n \l_@@_backend_stack_int } +\cs_new_eq:NN \@@_backend_stack_push:nn \__kernel_color_backend_stack_push:nn % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % % \begin{macrocode} % @@ -982,7 +987,7 @@ \cs_new_protected:Npn \@@_backend_fill:n #1 { \tl_set:Nn \l_@@_backend_fill_tl {#1} - \__kernel_color_backend_stack_push:nn \l_@@_backend_stack_int + \@@_backend_stack_push:nn \l_@@_backend_stack_int { #1 ~ \l_@@_backend_stroke_tl } \group_insert_after:N \@@_backend_reset: } @@ -995,7 +1000,7 @@ \cs_new_protected:Npn \@@_backend_stroke:n #1 { \tl_set:Nn \l_@@_backend_stroke_tl {#1} - \__kernel_color_backend_stack_push:nn \l_@@_backend_stack_int + \@@_backend_stack_push:nn \l_@@_backend_stack_int { \l_@@_backend_fill_tl \c_space_tl #1 } \group_insert_after:N \@@_backend_reset: } @@ -1248,6 +1253,339 @@ % % \end{macrocode} % +% \subsection{Color in \LuaTeX{}} +% +% \begin{macrocode} +%<*lua> +% \end{macrocode} +% +% In \LuaTeX{}, we can use an approach based on attributes to avoid having to +% insert whatsits. That means having the appropriate supporting Lua code. The +% underlying idea comes from Heiko Oberdiek's \pkg{luacolor} package. +% +% \begin{macro}{ltx.color} +% \begin{macro}{ltxcolor} +% The basic table should be set up in \pkg{l3luatex}, but we want a separate +% sub-table for color. +% \begin{macrocode} +ltx = ltx or {color = {}} +ltx.color = ltx.color or {} +local ltxcolor = ltx.color +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% Load basic support and print some information. +% \begin{macrocode} +require("ltluatex") +local luatexbase = luatexbase +luatexbase.provides_module({name = "l3backend-luatex", date = "2021-06-03"}) +% \end{macrocode} +% +% \begin{macro}{attr} +% An attribute to track color. There is no need to access this from \TeX{} so +% in contrast to \pkg{luacolor} we just allocate directly in Lua. +% \begin{macrocode} +local color_attr = luatexbase.new_attribute("color") +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{map} +% A map between color strings and their color_index, plus the tracking number. +% \begin{macrocode} +local map = {n = 0} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{color_index} +% Get the color_index of a color or create a new color_index if necessary. +% \begin{macrocode} +local function color_index(color) + local n = map[color] + if not n then + n = map.n + 1 + map[n] = color + map[color] = n + end + return n +end +% \end{macrocode} +% \end{macro} +% +% Local copies of global tables. +% \begin{macrocode} +local node = node +local string = string +local tex = tex +local texio = texio +% \end{macrocode} +% +% Local copies of standard functions. +% \begin{macrocode} +local module_error = luatexbase.module_error +local has_attribute = node.has_attribute +local id = node.id +local insert_before = node.insert_before +local node_new = node.new +local node_traverse = node.traverse +local set_attribute = tex.setattribute +local type = node.type +local subtype = node.subtype +% \end{macrocode} +% +% \begin{macro}{ltx.color.select} +% Get the color_index of a color or create a new color_index if necessary. +% \begin{macrocode} +local function select(color_str) + set_attribute(color_attr,color_index(color_str)) +end +ltxcolor.select = select +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{node_map, node_types,literals} +% We abstract the idea of different types of node where it makes sense: +% notice for example that in contrast to \pkg{luacolor} we extract some +% one-off information in the function that needs it. We also use a single +% local \enquote{map} for the node values. +% \begin{macrocode} +local node_map = { + list = 1 , + list_leaders = 2 , + list_disc = 3 , + color = 4 , + no_color = 5 + } +local node_types = { + [id("hlist")] = node_map.list , + [id("vlist")] = node_map.list , + [id("rule")] = node_map.color , + [id("glyph")] = node_map.color , + [id("disc")] = node_map.list_disc , + [id("whatsit")] = { + [subtype("pdf_colorstack")] = + function(n) return n.stack == 0 and node_map.no_color or nil end , + [subtype("special")] = node_map.color , + [subtype("pdf_literal")] = node_map.color , + [subtype("pdf_save")] = node_map.color , + [subtype("pdf_restore")] = node_map.color , + } , + [id("glue")] = + function(n) + if n.subtype >= 100 then + if n.leader.id == id("rule") then + return node_map.color + else + return node_map.list_leaders + end + end + end + } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{node_map, node_types,literals} +% We abstract the idea of different types of node where it makes sense: +% notice for example that in contrast to \pkg{luacolor} we extract some +% one-off information in the function that needs it. We also use a single +% local \enquote{map} for the node values. +% \begin{macrocode} +local node_map = { + list = 1 , + list_leaders = 2 , + list_disc = 3 , + color = 4 , + no_color = 5 + } +local node_types = { + [id("hlist")] = node_map.list , + [id("vlist")] = node_map.list , + [id("rule")] = node_map.color , + [id("glyph")] = node_map.color , + [id("disc")] = node_map.list_disc , + [id("whatsit")] = { + [subtype("pdf_colorstack")] = + function(n) return n.stack == 0 and node_map.no_color or nil end , + [subtype("special")] = node_map.color , + [subtype("pdf_literal")] = node_map.color , + [subtype("pdf_save")] = node_map.color , + [subtype("pdf_restore")] = node_map.color + } , + [id("glue")] = + function(n) + if n.subtype >= 100 then + if n.leader.id == id("rule") then + return node_map.color + else + return node_map.list_leaders + end + end + end + } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{get_type} +% Convert a node into the type, allowing for tables and functions. +% \begin{macrocode} +local function get_type(n) + local ret = node_types[n.id] + if type(ret) == "table" then + ret = ret[n.subtype] + end + if type(ret) == "function" then + ret = ret(n) + end + return ret +end +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{create_node} +% Create the the node containing color data. The mode is hard-coded as $2$: +% a PDF literal. +% \begin{macrocode} +local function create_node(color) + local color_node = node_new(id("whatsit"),subtype("pdf_literal")) + color_node.mode = 2 + color_node.data = color + return color_node +end +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{traverse} +% The business end of the process: transverse the node list. +% \begin{macrocode} +local function traverse(list,color,dry_run) +% \end{macrocode} +% We start with a sanity check: do we have a list at all. +% \begin{macrocode} + if not list then + return color + end +% \end{macrocode} +% Work out the type of head we have: should be a |list| or |list_disc|. +% \begin{macrocode} + local head + if get_type(list) == node_map.list then + head = list.head + elseif get_type(list) == node_map.list_disc then + head = list.replace + else + module_error("l3color","Wrong list type: " .. type(list.id)) + return color + end +% \end{macrocode} +% The main loop. We have various bits of recursion to do to map over +% the lists, before we get to the business end: color nodes. +% \begin{macrocode} + for n in node_traverse(head) do + local t = get_type(n) + if t == node_map.list or t == node_map.list_disc then + color = traverse(n,color,dry_run) + elseif t == node_map.list_leaders then + local color_after = traverse(n.leader,color,true) + if color == color_after then + traverse(n.leader,color,dry_run) + else + traverse(n.leader,"",dry_run) + color = "" + end + elseif t == node_map.color then + local c = has_attribute(n,color_attr) + if c then + local new_color = map[c] + if new_color ~= color then + color = new_color + if not dry_run then + print("NEW NODE") + head = insert_before(head,n,create_node(color)) + end + end + end + elseif t == node_map.no_color then + color = "" + end + end +% \end{macrocode} +% Loop done, set up the list. +% \begin{macrocode} + if get_type(list) == node_map.list then + list.head = head + else + list.replace = head + end + return color +end +% \end{macrocode} +% \end{macro} +% +% Activate the code: we assume that the |pre_shipout_filter| callback is +% available as this is pretty burning-edge stuff. +% \begin{macrocode} +if luatexbase.callbacktypes.pre_shipout_filter then + luatexbase.add_to_callback( + "pre_shipout_filter", + function(list) + traverse(list,"") + return true + end, + "color") +end +% \end{macrocode} +% +% For recent versions of \pkg{luaotfload}, we can register a callback to +% control how coloring glyph is handled for the color feature. +% \begin{macrocode} +if luaotfload and luaotfload.set_colorhandler then + local set_attribute = node.direct.set_attribute + luaotfload.set_colorhandler(function(head,n,color) + set_attribute(n,attribute,color_index(color)) + return head,n + end) +end +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \begin{macrocode} +%<*package> +% \end{macrocode} +% +% At present we only set up for \LuaTeX{} in PDF mode: later we will expand +% on that! +% +% \begin{macrocode} +%<*luatex> +% \end{macrocode} +% +% \begin{macrocode} +\lua_now:n { require("l3backend-luatex") } +% \end{macrocode} +% +% \begin{macro}{\@@_backend_stack_push:nn} +% \begin{macro}{\@@_backend_reset:} +% A simple reworking: we may need to check about transparency here. +% \begin{macrocode} +\cs_gset_protected:Npn \@@_backend_stack_push:nn #1#2 + { + \lua_now:e { ltx.color.select(" \lua_escape:n {#2} ") } + } +\cs_gset_protected:Npn \@@_backend_reset: { } +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +% % \end{implementation} % % \PrintIndex diff --git a/l3backend/l3backend.ins b/l3backend/l3backend.ins index 8e316be0f0..b0c87f2c6b 100644 --- a/l3backend/l3backend.ins +++ b/l3backend/l3backend.ins @@ -137,4 +137,30 @@ and all files in that bundle must be distributed together. } } +% Lua code + +\def\MetaPrefix{--} +\preamble + +Copyright (C) 2021 The LaTeX Project + +It may be distributed and/or modified under the conditions of +the LaTeX Project Public License (LPPL), either version 1.3c of +this license or (at your option) any later version. The latest +version of this license is in the file: + + https://www.latex-project.org/lppl.txt + +This file is part of the "l3kernel bundle" (The Work in LPPL) +and all files in that bundle must be distributed together. + +\endpreamble +\nopostamble + +\generate + { + \file{l3backend-luatex.lua} + {\from{l3backend-color.dtx}{lua}} + } + \endbatchfile diff --git a/l3experimental/l3draw/testfiles/m3draw003.luatex.tlg b/l3experimental/l3draw/testfiles/m3draw003.luatex.tlg new file mode 100644 index 0000000000..ddf4807b47 --- /dev/null +++ b/l3experimental/l3draw/testfiles/m3draw003.luatex.tlg @@ -0,0 +1,727 @@ +This is a generated file for the LaTeX (2e + expl3) validation system. +Don't change this file in any respect. +============================================================ +TEST 1: \draw_path_moveto:n +============================================================ +> \box...= +\hbox(0.4+0.0)x0.4, direction TLT +.\hbox(0.4+0.0)x0.4, direction TLT +..\glue -9.8 +..\hbox(0.0+0.0)x0.0, shifted 9.8, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{9.96265 9.96265 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 2: \draw_path_lineto:n +============================================================ +> \box...= +\hbox(0.4+0.0)x0.4, direction TLT +.\hbox(0.4+0.0)x0.4, direction TLT +..\glue -9.8 +..\hbox(0.0+0.0)x0.0, shifted 9.8, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{9.96265 9.96265 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 3: \draw_path_curveto:nnn +============================================================ +> \box...= +\hbox(28.85275+0.0)x28.85275, direction TLT +.\hbox(28.85275+0.0)x28.85275, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted 28.25276, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 28.34647 28.34647 28.34647 28.34647 56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 4: \draw_path_close: +============================================================ +> \box...= +\hbox(1.4+0.0)x1.4, direction TLT +.\hbox(1.4+0.0)x1.4, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0.99626 0 l} +....\pdfliteral origin{0.99626 0.99626 l} +....\pdfliteral origin{0 0.99626 l} +....\pdfliteral origin{h} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 5: \draw_path_curveto:nnn +============================================================ +> \box...= +\hbox(38.00368+0.0)x9.88425, direction TLT +.\hbox(38.00368+0.0)x9.88425, direction TLT +..\glue -18.76851 +..\hbox(0.0+0.0)x0.0, shifted 19.10184, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{18.89764 19.22972 28.34647 37.79527 28.34647 56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 6: \draw_path_arc:nnn (n) +============================================================ +> \box...= +\hbox(57.30551+0.0)x57.30551, direction TLT +.\hbox(57.30551+0.0)x57.30551, direction TLT +..\glue 57.10551 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 31.31062 -25.38228 56.69292 -56.69292 56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(57.30551+0.0)x114.21103, direction TLT +.\hbox(57.30551+0.0)x114.21103, direction TLT +..\glue 114.01103 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 31.31062 -25.38228 56.69292 -56.69292 56.69292 c} +....\pdfliteral origin{-88.00354 56.69292 -113.38583 31.31064 -113.38583 0 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(93.88367+0.0)x114.21103, direction TLT +.\hbox(93.88367+0.0)x114.21103, direction TLT +..\glue 114.01103 +..\hbox(0.0+0.0)x0.0, shifted -36.77815, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 31.31062 -25.38228 56.69292 -56.69292 56.69292 c} +....\pdfliteral origin{-88.00354 56.69292 -113.38583 31.31064 -113.38583 0 c} +....\pdfliteral origin{-113.38583 -13.32864 -108.6897 -26.23116 -100.12222 -36.4415 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(114.21103+0.0)x114.21103, direction TLT +.\hbox(114.21103+0.0)x114.21103, direction TLT +..\glue 114.01103 +..\hbox(0.0+0.0)x0.0, shifted -57.10551, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 31.31062 -25.38228 56.69292 -56.69292 56.69292 c} +....\pdfliteral origin{-88.00354 56.69292 -113.38583 31.31064 -113.38583 0 c} +....\pdfliteral origin{-113.38583 -31.31062 -88.00356 -56.69292 -56.69292 -56.69292 c} +....\pdfliteral origin{-25.3823 -56.69292 0 -31.31064 0 0 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(57.30551+0.0)x57.30551, direction TLT +.\hbox(57.30551+0.0)x57.30551, direction TLT +..\glue 57.10551 +..\hbox(0.0+0.0)x0.0, shifted -57.10551, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 -31.31062 -25.38228 -56.69292 -56.69292 -56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(57.30551+0.0)x114.21103, direction TLT +.\hbox(57.30551+0.0)x114.21103, direction TLT +..\glue 114.01103 +..\hbox(0.0+0.0)x0.0, shifted -57.10551, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 -31.31062 -25.38228 -56.69292 -56.69292 -56.69292 c} +....\pdfliteral origin{-88.00354 -56.69292 -113.38583 -31.31064 -113.38583 0 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(114.21103+0.0)x114.21103, direction TLT +.\hbox(114.21103+0.0)x114.21103, direction TLT +..\glue 114.01103 +..\hbox(0.0+0.0)x0.0, shifted -57.10551, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 -31.31062 -25.38228 -56.69292 -56.69292 -56.69292 c} +....\pdfliteral origin{-88.00354 -56.69292 -113.38583 -31.31064 -113.38583 0 c} +....\pdfliteral origin{-113.38583 31.31062 -88.00356 56.69292 -56.69292 56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(114.21103+0.0)x114.21103, direction TLT +.\hbox(114.21103+0.0)x114.21103, direction TLT +..\glue 114.01103 +..\hbox(0.0+0.0)x0.0, shifted -57.10551, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 -31.31062 -25.38228 -56.69292 -56.69292 -56.69292 c} +....\pdfliteral origin{-88.00354 -56.69292 -113.38583 -31.31064 -113.38583 0 c} +....\pdfliteral origin{-113.38583 31.31062 -88.00356 56.69292 -56.69292 56.69292 c} +....\pdfliteral origin{-25.3823 56.69292 0 31.31064 0 0 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(57.30551+0.0)x28.85275, direction TLT +.\hbox(57.30551+0.0)x28.85275, direction TLT +..\glue 28.65276 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 31.31062 -12.69115 56.69292 -28.34647 56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 7: \draw_path_arc_axes:nnnn +============================================================ +> \box...= +\hbox(25.87746+0.0)x57.30551, direction TLT +.\hbox(25.87746+0.0)x57.30551, direction TLT +..\glue 85.55827 +..\hbox(0.0+0.0)x0.0, shifted 88.13358, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{-28.34647 88.00356 -53.72874 113.38583 -85.03938 113.38583 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 8: \draw_path_ellipse:nnn +============================================================ +> \box...= +\hbox(5.50458+0.0)x5.50458, direction TLT +.\hbox(5.50458+0.0)x5.50458, direction TLT +..\glue 1.75229 +..\hbox(0.0+0.0)x0.0, shifted -1.75229, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{1.99252 1.99252 m} +....\pdfliteral origin{0.89209 3.09297 -0.44603 3.53902 -0.99626 2.98878 c} +....\pdfliteral origin{-1.5465 2.43857 -1.10045 1.10045 0 0 c} +....\pdfliteral origin{1.10045 -1.10045 2.43857 -1.5465 2.98878 -0.99626 c} +....\pdfliteral origin{3.53902 -0.44603 3.09297 0.89209 1.99252 1.99252 c} +....\pdfliteral origin{h} +....\pdfliteral origin{0.99626 0.99626 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(57.30551+0.0)x85.75827, direction TLT +.\hbox(57.30551+0.0)x85.75827, direction TLT +..\glue 14.42638 +..\hbox(0.0+0.0)x0.0, shifted -28.65276, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{70.86615 0 m} +....\pdfliteral origin{70.86615 15.65532 51.82942 28.34647 28.34647 28.34647 c} +....\pdfliteral origin{4.86348 28.34647 -14.17323 15.65532 -14.17323 0 c} +....\pdfliteral origin{-14.17323 -15.65532 4.86348 -28.34647 28.34647 -28.34647 c} +....\pdfliteral origin{51.82942 -28.34647 70.86615 -15.65532 70.86615 0 c} +....\pdfliteral origin{h} +....\pdfliteral origin{28.34647 0 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 9: \draw_path_circle:nn +============================================================ +> \box...= +\hbox(171.11652+0.0)x171.11652, direction TLT +.\hbox(171.11652+0.0)x171.11652, direction TLT +..\glue 84.55826 +..\hbox(0.0+0.0)x0.0, shifted -84.55826, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{86.03563 0.99626 m} +....\pdfliteral origin{86.03563 47.96222 47.96222 86.03563 0.99626 86.03563 c} +....\pdfliteral origin{-45.96968 86.03563 -84.0431 47.96222 -84.0431 0.99626 c} +....\pdfliteral origin{-84.0431 -45.96968 -45.96968 -84.0431 0.99626 -84.0431 c} +....\pdfliteral origin{47.96222 -84.0431 86.03563 -45.96968 86.03563 0.99626 c} +....\pdfliteral origin{h} +....\pdfliteral origin{0.99626 0.99626 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 10: \draw_path_rectangle:nn +============================================================ +> \box...= +\hbox(28.85275+0.0)x28.85275, direction TLT +.\hbox(28.85275+0.0)x28.85275, direction TLT +..\glue -56.70552 +..\hbox(0.0+0.0)x0.0, shifted 56.70552, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{56.69292 56.69292 28.34647 28.34647 re} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(28.85275+0.0)x57.30551, direction TLT +.\hbox(28.85275+0.0)x57.30551, direction TLT +..\glue -170.51656 +..\hbox(0.0+0.0)x0.0, shifted 56.70552, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{226.77168 85.03938 m} +....\pdfliteral origin{198.42522 85.03938 l} +....\pdfliteral origin{170.07875 56.69292 l} +....\pdfliteral origin{198.42522 56.69292 l} +....\pdfliteral origin{h} +....\pdfliteral origin{170.07875 56.69292 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(28.85275+0.0)x28.85275, direction TLT +.\hbox(28.85275+0.0)x28.85275, direction TLT +..\glue -56.70552 +..\hbox(0.0+0.0)x0.0, shifted 56.70552, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{83.04684 85.03938 m} +....\pdfliteral origin{58.68544 85.03938 l} +....\pdfliteral origin{57.585 85.03938 56.69292 84.1473 56.69292 83.04684 c} +....\pdfliteral origin{56.69292 58.68544 l} +....\pdfliteral origin{56.69292 57.585 57.585 56.69292 58.68544 56.69292 c} +....\pdfliteral origin{83.04684 56.69292 l} +....\pdfliteral origin{84.1473 56.69292 85.03938 57.585 85.03938 58.68544 c} +....\pdfliteral origin{85.03938 83.04684 l} +....\pdfliteral origin{85.03938 84.1473 84.1473 85.03938 83.04684 85.03938 c} +....\pdfliteral origin{h} +....\pdfliteral origin{56.69292 56.69292 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(28.85275+0.0)x28.85275, direction TLT +.\hbox(28.85275+0.0)x28.85275, direction TLT +..\glue -56.70552 +..\hbox(0.0+0.0)x0.0, shifted 56.70552, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{56.69292 56.69292 28.34647 28.34647 re} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 11: \draw_path_grid:nn +============================================================ +> \box...= +\hbox(142.66377+0.0)x142.66377, direction TLT +.\hbox(142.66377+0.0)x142.66377, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 141.73228 l} +....\pdfliteral origin{28.34645 0 m} +....\pdfliteral origin{28.34645 141.73228 l} +....\pdfliteral origin{56.69289 0 m} +....\pdfliteral origin{56.69289 141.73228 l} +....\pdfliteral origin{85.03934 0 m} +....\pdfliteral origin{85.03934 141.73228 l} +....\pdfliteral origin{113.38577 0 m} +....\pdfliteral origin{113.38577 141.73228 l} +....\pdfliteral origin{141.73222 0 m} +....\pdfliteral origin{141.73222 141.73228 l} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{141.73228 0 l} +....\pdfliteral origin{0 28.34645 m} +....\pdfliteral origin{141.73228 28.34645 l} +....\pdfliteral origin{0 56.69289 m} +....\pdfliteral origin{141.73228 56.69289 l} +....\pdfliteral origin{0 85.03934 m} +....\pdfliteral origin{141.73228 85.03934 l} +....\pdfliteral origin{0 113.38577 m} +....\pdfliteral origin{141.73228 113.38577 l} +....\pdfliteral origin{0 141.73222 m} +....\pdfliteral origin{141.73228 141.73222 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x142.66377, direction TLT +.\hbox(142.66377+0.0)x142.66377, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 141.73228 l} +....\pdfliteral origin{28.34645 0 m} +....\pdfliteral origin{28.34645 141.73228 l} +....\pdfliteral origin{56.69289 0 m} +....\pdfliteral origin{56.69289 141.73228 l} +....\pdfliteral origin{85.03934 0 m} +....\pdfliteral origin{85.03934 141.73228 l} +....\pdfliteral origin{113.38577 0 m} +....\pdfliteral origin{113.38577 141.73228 l} +....\pdfliteral origin{141.73222 0 m} +....\pdfliteral origin{141.73222 141.73228 l} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{141.73228 0 l} +....\pdfliteral origin{0 28.34645 m} +....\pdfliteral origin{141.73228 28.34645 l} +....\pdfliteral origin{0 56.69289 m} +....\pdfliteral origin{141.73228 56.69289 l} +....\pdfliteral origin{0 85.03934 m} +....\pdfliteral origin{141.73228 85.03934 l} +....\pdfliteral origin{0 113.38577 m} +....\pdfliteral origin{141.73228 113.38577 l} +....\pdfliteral origin{0 141.73222 m} +....\pdfliteral origin{141.73228 141.73222 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x142.66377, direction TLT +.\hbox(142.66377+0.0)x142.66377, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 141.73228 l} +....\pdfliteral origin{28.34645 0 m} +....\pdfliteral origin{28.34645 141.73228 l} +....\pdfliteral origin{56.69289 0 m} +....\pdfliteral origin{56.69289 141.73228 l} +....\pdfliteral origin{85.03934 0 m} +....\pdfliteral origin{85.03934 141.73228 l} +....\pdfliteral origin{113.38577 0 m} +....\pdfliteral origin{113.38577 141.73228 l} +....\pdfliteral origin{141.73222 0 m} +....\pdfliteral origin{141.73222 141.73228 l} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{141.73228 0 l} +....\pdfliteral origin{0 28.34645 m} +....\pdfliteral origin{141.73228 28.34645 l} +....\pdfliteral origin{0 56.69289 m} +....\pdfliteral origin{141.73228 56.69289 l} +....\pdfliteral origin{0 85.03934 m} +....\pdfliteral origin{141.73228 85.03934 l} +....\pdfliteral origin{0 113.38577 m} +....\pdfliteral origin{141.73228 113.38577 l} +....\pdfliteral origin{0 141.73222 m} +....\pdfliteral origin{141.73228 141.73222 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x142.66377, direction TLT +.\hbox(142.66377+0.0)x142.66377, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 141.73228 l} +....\pdfliteral origin{28.34645 0 m} +....\pdfliteral origin{28.34645 141.73228 l} +....\pdfliteral origin{56.69289 0 m} +....\pdfliteral origin{56.69289 141.73228 l} +....\pdfliteral origin{85.03934 0 m} +....\pdfliteral origin{85.03934 141.73228 l} +....\pdfliteral origin{113.38577 0 m} +....\pdfliteral origin{113.38577 141.73228 l} +....\pdfliteral origin{141.73222 0 m} +....\pdfliteral origin{141.73222 141.73228 l} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{141.73228 0 l} +....\pdfliteral origin{0 56.6929 m} +....\pdfliteral origin{141.73228 56.6929 l} +....\pdfliteral origin{0 113.3858 m} +....\pdfliteral origin{141.73228 113.3858 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 12: \draw_path_canvas_moveto:n +============================================================ +> \box...= +\hbox(0.4+0.0)x0.4, direction TLT +.\hbox(0.4+0.0)x0.4, direction TLT +..\glue -9.8 +..\hbox(0.0+0.0)x0.0, shifted 9.8, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{9.96265 9.96265 m} +....\pdfliteral origin{9.96265 9.96265 m} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 13: \draw_path_canvas_lineto:n +============================================================ +> \box...= +\hbox(0.4+0.0)x0.4, direction TLT +.\hbox(0.4+0.0)x0.4, direction TLT +..\glue -9.8 +..\hbox(0.0+0.0)x0.0, shifted 9.8, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{9.96265 9.96265 l} +....\pdfliteral origin{9.96265 9.96265 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 14: \draw_path_canvas_curveto:nnn +============================================================ +> \box...= +\hbox(28.85275+0.0)x28.85275, direction TLT +.\hbox(28.85275+0.0)x28.85275, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted 28.25276, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 28.34647 28.34647 28.34647 28.34647 56.69292 c} +....\pdfliteral origin{0 28.34647 28.34647 28.34647 28.34647 56.69292 c} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ diff --git a/l3experimental/l3draw/testfiles/m3draw004.luatex.tlg b/l3experimental/l3draw/testfiles/m3draw004.luatex.tlg new file mode 100644 index 0000000000..cb4bdffd98 --- /dev/null +++ b/l3experimental/l3draw/testfiles/m3draw004.luatex.tlg @@ -0,0 +1,443 @@ +This is a generated file for the LaTeX (2e + expl3) validation system. +Don't change this file in any respect. +============================================================ +TEST 1: \l_draw_default_linewidth_dim +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(285.52756+0.0)x57.90552, direction TLT +.\hbox(285.52756+0.0)x57.90552, direction TLT +..\glue 0.5 +..\hbox(0.0+0.0)x0.0, shifted -0.5, direction TLT +...\pdfsave +...\pdfliteral origin{0.99626 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 2: \draw_linewidth:n +============================================================ +> \box...= +\hbox(285.52756+0.0)x57.90552, direction TLT +.\hbox(285.52756+0.0)x57.90552, direction TLT +..\glue 0.5 +..\hbox(0.0+0.0)x0.0, shifted -0.5, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0.99626 w} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 3: \draw_dash_pattern:nn +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{[] 0 d} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{[5.6693 5.6693] 0 d} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{[5.6693 5.6693] 2.83464 d} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 4: \draw_cap_ ... +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 J} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{2 J} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{1 J} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 5: \draw_join_ ... +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{2 j} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 j} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{1 j} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 6: \draw_miterlimit:n +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{1 M} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{2 M} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{10 M} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 7: \color_select:n +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 28.34647 28.34647 re} +....\pdfliteral origin{f} +....\pdfliteral origin{0 0 28.34647 28.34647 re} +....\pdfliteral origin{B} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 8: \color_fill:n +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 28.34647 28.34647 re} +....\pdfliteral origin{f} +....\pdfliteral origin{0 0 28.34647 28.34647 re} +....\pdfliteral origin{B} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 9: \color_stroke:n +============================================================ +> \box...= +\hbox(284.92755+0.0)x57.30551, direction TLT +.\hbox(284.92755+0.0)x57.30551, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 28.34647 28.34647 re} +....\pdfliteral origin{f} +....\pdfliteral origin{0 0 28.34647 28.34647 re} +....\pdfliteral origin{B} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ diff --git a/l3experimental/l3draw/testfiles/m3draw005.luatex.tlg b/l3experimental/l3draw/testfiles/m3draw005.luatex.tlg new file mode 100644 index 0000000000..d24177ac3e --- /dev/null +++ b/l3experimental/l3draw/testfiles/m3draw005.luatex.tlg @@ -0,0 +1,83 @@ +This is a generated file for the LaTeX (2e + expl3) validation system. +Don't change this file in any respect. +============================================================ +TEST 1: \draw_scope_begin: +============================================================ +> \box...= +\hbox(569.75511+0.0)x57.90552, direction TLT +.\hbox(569.75511+0.0)x57.90552, direction TLT +..\glue 0.5 +..\hbox(0.0+0.0)x0.0, shifted -0.5, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfsave +....\pdfliteral origin{0.99626 w} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 0 l} +....\pdfliteral origin{S} +....\pdfrestore +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 566.92912 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 2: \draw_suspend_begin: +============================================================ +> \box...= +\hbox(569.55511+0.0)x58.40552, direction TLT +.\hbox(569.55511+0.0)x58.40552, direction TLT +..\glue 0.5 +..\hbox(0.0+0.0)x0.0, shifted -0.5, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(285.52756+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 0 1} +......\hbox(285.52756+0.0)x0.0, glue set - 57.90552fil, direction TLT +.......\hbox(285.52756+0.0)x57.90552, direction TLT +........\hbox(285.52756+0.0)x57.90552, direction TLT +.........\glue 0.5 +.........\hbox(0.0+0.0)x0.0, shifted -0.5, direction TLT +..........\pdfsave +..........\pdfliteral origin{0.3985 w} +..........\pdfliteral origin{0 J} +..........\pdfliteral origin{0 j} +..........\pdfliteral origin{10 M} +..........\pdfliteral origin{[] 0 d} +..........\hbox(0.0+0.0)x0.0, direction TLT +...........\pdfliteral origin{0.99626 w} +...........\pdfliteral origin{0 0 m} +...........\pdfliteral origin{28.34647 283.46457 l} +...........\pdfliteral origin{56.69292 0 l} +...........\pdfliteral origin{S} +..........\pdfrestore +........\pdfrestore +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{28.34647 283.46457 l} +....\pdfliteral origin{56.69292 566.92912 l} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ diff --git a/l3experimental/l3draw/testfiles/m3draw006.luatex.tlg b/l3experimental/l3draw/testfiles/m3draw006.luatex.tlg new file mode 100644 index 0000000000..c24140246f --- /dev/null +++ b/l3experimental/l3draw/testfiles/m3draw006.luatex.tlg @@ -0,0 +1,350 @@ +This is a generated file for the LaTeX (2e + expl3) validation system. +Don't change this file in any respect. +============================================================ +TEST 1: \draw_box_use:N +============================================================ +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(6.94444+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 0 1} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\OT1/cmr/m/n/10 H +........\OT1/cmr/m/n/10 e +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(6.94444+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{2 0 0 2} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\OT1/cmr/m/n/10 H +........\OT1/cmr/m/n/10 e +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(6.94444+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 1 1} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\OT1/cmr/m/n/10 H +........\OT1/cmr/m/n/10 e +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern56.90552 +.....\hbox(6.94444+0.0)x0.0, shifted -56.90552, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 0 1} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\OT1/cmr/m/n/10 H +........\OT1/cmr/m/n/10 e +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 l +........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 2: \draw_coffin_use:N +============================================================ +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(6.94444+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 0 1} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\hbox(6.94444+0.0)x22.50005, direction TLT +.........\hbox(0.0+0.0)x0.0, direction TLT +.........\kern0.0 +.........\kern0.0 +.........\hbox(6.94444+0.0)x22.50005, direction TLT +..........\OT1/cmr/m/n/10 H +..........\OT1/cmr/m/n/10 e +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(145.936+0.0)x295.97757, direction TLT +.\hbox(145.936+0.0)x295.97757, direction TLT +..\glue 11.25002 +..\hbox(0.0+0.0)x0.0, shifted -3.47223, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(3.47221+3.47223)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 0 1} +......\hbox(3.47221+3.47223)x0.0, glue set - 11.25003fil, direction TLT +.......\hbox(3.47221+3.47223)x11.25003, direction TLT +........\hbox(3.47221+3.47223)x11.25003, direction TLT +.........\hbox(0.0+0.0)x0.0, direction TLT +.........\kern0.0 +.........\kern-11.25002 +.........\hbox(6.94444+0.0)x22.50005, shifted 3.47223, direction TLT +..........\OT1/cmr/m/n/10 H +..........\OT1/cmr/m/n/10 e +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(6.94444+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{2 0 0 2} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\hbox(6.94444+0.0)x22.50005, direction TLT +.........\hbox(0.0+0.0)x0.0, direction TLT +.........\kern0.0 +.........\kern0.0 +.........\hbox(6.94444+0.0)x22.50005, direction TLT +..........\OT1/cmr/m/n/10 H +..........\OT1/cmr/m/n/10 e +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern0.0 +.....\hbox(6.94444+0.0)x0.0, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 1 1} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\hbox(6.94444+0.0)x22.50005, direction TLT +.........\hbox(0.0+0.0)x0.0, direction TLT +.........\kern0.0 +.........\kern0.0 +.........\hbox(6.94444+0.0)x22.50005, direction TLT +..........\OT1/cmr/m/n/10 H +..........\OT1/cmr/m/n/10 e +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(142.66377+0.0)x284.92755, direction TLT +.\hbox(142.66377+0.0)x284.92755, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{283.46457 0 l} +....\pdfliteral origin{141.73228 0 m} +....\pdfliteral origin{141.73228 141.73228 l} +....\pdfliteral origin{S} +....\hbox(0.0+0.0)x0.0, direction TLT +.....\kern56.90552 +.....\hbox(6.94444+0.0)x0.0, shifted -56.90552, direction TLT +......\pdfsave +......\pdfsetmatrix{1 0 0 1} +......\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil, direction TLT +.......\hbox(6.94444+0.0)x22.50005, direction TLT +........\hbox(6.94444+0.0)x22.50005, direction TLT +.........\hbox(0.0+0.0)x0.0, direction TLT +.........\kern0.0 +.........\kern0.0 +.........\hbox(6.94444+0.0)x22.50005, direction TLT +..........\OT1/cmr/m/n/10 H +..........\OT1/cmr/m/n/10 e +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 l +..........\OT1/cmr/m/n/10 o +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\pdfrestore +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ diff --git a/l3experimental/l3draw/testfiles/m3draw007.luatex.tlg b/l3experimental/l3draw/testfiles/m3draw007.luatex.tlg new file mode 100644 index 0000000000..32dd70262f --- /dev/null +++ b/l3experimental/l3draw/testfiles/m3draw007.luatex.tlg @@ -0,0 +1,138 @@ +This is a generated file for the LaTeX (2e + expl3) validation system. +Don't change this file in any respect. +============================================================ +TEST 1: stroke +============================================================ +> \box...= +\hbox(114.21101+0.0)x114.21101, direction TLT +.\hbox(114.21101+0.0)x114.21101, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 113.38582 l} +....\pdfliteral origin{113.38582 113.38582 l} +....\pdfliteral origin{113.38582 0 l} +....\pdfliteral origin{h} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 2: fill +============================================================ +> \box...= +\hbox(113.81102+0.0)x113.81102, direction TLT +.\hbox(113.81102+0.0)x113.81102, direction TLT +..\glue 0.0 +..\hbox(0.0+0.0)x0.0, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 113.38582 l} +....\pdfliteral origin{113.38582 113.38582 l} +....\pdfliteral origin{113.38582 0 l} +....\pdfliteral origin{h} +....\pdfliteral origin{f} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 3: draw +============================================================ +> \box...= +\hbox(114.21101+0.0)x114.21101, direction TLT +.\hbox(114.21101+0.0)x114.21101, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 113.38582 l} +....\pdfliteral origin{113.38582 113.38582 l} +....\pdfliteral origin{113.38582 0 l} +....\pdfliteral origin{h} +....\pdfliteral origin{S} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 4: fill,stroke +============================================================ +> \box...= +\hbox(114.21101+0.0)x114.21101, direction TLT +.\hbox(114.21101+0.0)x114.21101, direction TLT +..\glue 0.2 +..\hbox(0.0+0.0)x0.0, shifted -0.2, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 113.38582 l} +....\pdfliteral origin{113.38582 113.38582 l} +....\pdfliteral origin{113.38582 0 l} +....\pdfliteral origin{h} +....\pdfliteral origin{B} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 5: clip;fill +============================================================ +> \box...= +\hbox(113.81102+0.0)x113.81102, direction TLT +.\hbox(113.81102+0.0)x113.81102, direction TLT +..\glue 0.0 +..\hbox(0.0+0.0)x0.0, direction TLT +...\pdfsave +...\pdfliteral origin{0.3985 w} +...\pdfliteral origin{0 J} +...\pdfliteral origin{0 j} +...\pdfliteral origin{10 M} +...\pdfliteral origin{[] 0 d} +...\hbox(0.0+0.0)x0.0, direction TLT +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 113.38582 l} +....\pdfliteral origin{113.38582 0 l} +....\pdfliteral origin{h} +....\pdfliteral origin{W} +....\pdfliteral origin{n} +....\pdfliteral origin{0 0 m} +....\pdfliteral origin{0 113.38582 l} +....\pdfliteral origin{113.38582 113.38582 l} +....\pdfliteral origin{113.38582 0 l} +....\pdfliteral origin{h} +....\pdfliteral origin{f} +...\pdfrestore +! OK. + \l_tmpa_box +l. ... } +============================================================ diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg b/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg index f6414e82a3..8fc616b612 100644 --- a/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg +++ b/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg @@ -30,9 +30,7 @@ TEST 2: 2: setting coffins ============================================================ > \box...= \hbox(6.83331+0.0)x7.50002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 A -.\pdfcolorstack 0 pop ! OK. \SetHorizontalCoffin \aaa {A}\showbox \aaa \ShowCoffinStructure \aaa \SetVertic diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg b/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg index c803656283..49d8dac787 100644 --- a/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg +++ b/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg @@ -828,24 +828,16 @@ TEST 2: Test 2: rotation+alignment ...\kern0.0 ...\kern-0.5 ...\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -....\pdfcolorstack 0 push {0 g 0 G} -....\pdfcolorstack 0 push {0.0 0.0 1.0 0.0 k 0.0 0.0 1.0 0.0 K} ....\hbox(1.0+0.0)x1.0, direction TLT .....\rule(1.0+*)x1.0 -....\pdfcolorstack 0 pop -....\pdfcolorstack 0 pop ..\kern0.0 ..\kern-20.11115 ..\hbox(7.5+2.5)x18.11115, shifted 9.5, direction TLT -...\pdfcolorstack 0 push {0 g 0 G} -...\pdfcolorstack 0 push {0.0 0.0 1.0 0.0 k 0.0 0.0 1.0 0.0 K} ...\OT1/cmss/m/n/10 ( ...\OT1/cmss/m/n/10 b ...\OT1/cmss/m/n/10 , ...\OT1/cmss/m/n/10 l ...\OT1/cmss/m/n/10 ) -...\pdfcolorstack 0 pop -...\pdfcolorstack 0 pop .\kern0.0 .\kern30.0 .\hbox(0.0+0.0)x0.0, direction TLT @@ -895,25 +887,17 @@ TEST 2: Test 2: rotation+alignment ...\kern0.0 ...\kern-0.5 ...\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -....\pdfcolorstack 0 push {0 g 0 G} -....\pdfcolorstack 0 push {0.0 0.0 1.0 0.0 k 0.0 0.0 1.0 0.0 K} ....\hbox(1.0+0.0)x1.0, direction TLT .....\rule(1.0+*)x1.0 -....\pdfcolorstack 0 pop -....\pdfcolorstack 0 pop ..\kern0.0 ..\kern-13.41669 ..\hbox(7.5+2.5)x26.83339, shifted -0.5, direction TLT -...\pdfcolorstack 0 push {0 g 0 G} -...\pdfcolorstack 0 push {0.0 0.0 1.0 0.0 k 0.0 0.0 1.0 0.0 K} ...\OT1/cmss/m/n/10 ( ...\OT1/cmss/m/n/10 B ...\OT1/cmss/m/n/10 , ...\OT1/cmss/m/n/10 h ...\OT1/cmss/m/n/10 c ...\OT1/cmss/m/n/10 ) -...\pdfcolorstack 0 pop -...\pdfcolorstack 0 pop ! OK. ...s \aaa [b,l]\bbb [B,hc](30pt,0pt)\showbox \aaa x\fbox {\usebox \aaa }x diff --git a/l3kernel/testfiles/d3pdfmode.luatex.tlg b/l3kernel/testfiles/d3pdfmode.luatex.tlg index 02fc077bca..481762133c 100644 --- a/l3kernel/testfiles/d3pdfmode.luatex.tlg +++ b/l3kernel/testfiles/d3pdfmode.luatex.tlg @@ -7,6 +7,9 @@ File: l3debug.def ....-..-.. L3 Debugging support ) (l3backend-luatex.def File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX) \l__color_backend_stack_int=\count... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. \l__pdf_internal_box=\box... )) Author: Joseph Wright @@ -573,7 +576,6 @@ TEST 4: Color ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -586,7 +588,6 @@ TEST 4: Color .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } diff --git a/l3kernel/testfiles/d3xetex.luatex.tlg b/l3kernel/testfiles/d3xetex.luatex.tlg index 4581ddc55d..73126ad7e9 100644 --- a/l3kernel/testfiles/d3xetex.luatex.tlg +++ b/l3kernel/testfiles/d3xetex.luatex.tlg @@ -15,6 +15,9 @@ the active engine. LaTeX3 will use the 'luatex' backend instead. (l3backend-luatex.def File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX) \l__color_backend_stack_int=\count... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. \l__pdf_internal_box=\box... )) Author: Joseph Wright @@ -581,7 +584,6 @@ TEST 4: Color ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -594,7 +596,6 @@ TEST 4: Color .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } diff --git a/l3kernel/testfiles/m3coffins001.luatex.tlg b/l3kernel/testfiles/m3coffins001.luatex.tlg index cf97287060..a352073876 100644 --- a/l3kernel/testfiles/m3coffins001.luatex.tlg +++ b/l3kernel/testfiles/m3coffins001.luatex.tlg @@ -193,9 +193,7 @@ Poles of coffin \l_tmpb_coffin: l. ... } > \box...= \hbox(4.30554+1.94444)x5.00002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 g -.\pdfcolorstack 0 pop ! OK. \l_tmpb_coffin l. ... } @@ -215,9 +213,7 @@ Poles of coffin \g_tmpb_coffin: > T => {0pt}{0pt}{1000pt}{0pt}. > \box...= \hbox(4.30554+1.94444)x5.00002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 g -.\pdfcolorstack 0 pop ! OK. \g_tmpb_coffin l. ... } @@ -255,17 +251,13 @@ Poles of coffin \g_tmpb_coffin: l. ... } > \box...= \hbox(6.83331+0.0)x7.50002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 A -.\pdfcolorstack 0 pop ! OK. \l_tmpb_coffin l. ... } > \box...= \hbox(6.83331+0.0)x7.50002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 A -.\pdfcolorstack 0 pop ! OK. \g_tmpb_coffin l. ... } @@ -303,17 +295,13 @@ Poles of coffin \g_tmpb_coffin: l. ... } > \box...= \hbox(4.30554+1.94444)x5.00002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 g -.\pdfcolorstack 0 pop ! OK. \l_tmpb_coffin l. ... } > \box...= \hbox(6.83331+0.0)x7.50002, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 A -.\pdfcolorstack 0 pop ! OK. \g_tmpb_coffin l. ... } @@ -343,7 +331,6 @@ Defining \2 on line ... ......\kern0.0 ......\kern0.0 ......\hbox(10.34444+3.4)x45.1334, shifted -3.4, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} .......\hbox(10.34444+3.4)x45.1334, direction TLT ........\hbox(13.74443+0.0)x45.1334, shifted 3.4, direction TLT .........\vbox(13.74443+0.0)x45.1334, direction TLT @@ -367,11 +354,9 @@ Defining \2 on line ... ............\glue 3.0 ...........\rule(*+*)x0.4 ..........\rule(0.4+0.0)x* -.......\pdfcolorstack 0 pop .....\kern-45.1334 .....\kern-45.41116 .....\hbox(10.34444+3.4)x45.41116, shifted -3.4, direction TLT -......\pdfcolorstack 0 push {0 g 0 G} ......\hbox(10.34444+3.4)x45.41116, direction TLT .......\hbox(13.74443+0.0)x45.41116, shifted 3.4, direction TLT ........\vbox(13.74443+0.0)x45.41116, direction TLT @@ -396,29 +381,20 @@ Defining \2 on line ... ...........\glue 3.0 ..........\rule(*+*)x0.4 .........\rule(0.4+0.0)x* -......\pdfcolorstack 0 pop .....\kern45.1334 ....\kern-90.54457 ....\kern-0.5 ....\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} -.....\pdfcolorstack 0 push {1.0 0.0 0.0 rg 1.0 0.0 0.0 RG} .....\hbox(1.0+0.0)x1.0, direction TLT ......\rule(1.0+*)x1.0 -.....\pdfcolorstack 0 pop -.....\pdfcolorstack 0 pop ...\kern-90.54457 ...\kern-11.61815 ...\hbox(3.75+1.25)x9.61815, shifted 5.75, direction TLT -....\pdfcolorstack 0 push {0 g 0 G} -....\pdfcolorstack 0 push {1.0 0.0 0.0 rg 1.0 0.0 0.0 RG} ....\OT1/cmss/m/n/5 ( ....\OT1/cmss/m/n/5 l ....\OT1/cmss/m/n/5 , ....\OT1/cmss/m/n/5 b ....\OT1/cmss/m/n/5 ) -....\pdfcolorstack 0 pop -....\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ...} @@ -440,7 +416,6 @@ l. ...} ........\kern0.0 ........\kern0.0 ........\hbox(10.34444+3.4)x45.1334, shifted -3.4, direction TLT -.........\pdfcolorstack 0 push {0 g 0 G} .........\hbox(10.34444+3.4)x45.1334, direction TLT ..........\hbox(13.74443+0.0)x45.1334, shifted 3.4, direction TLT ...........\vbox(13.74443+0.0)x45.1334, direction TLT @@ -464,11 +439,9 @@ l. ...} ..............\glue 3.0 .............\rule(*+*)x0.4 ............\rule(0.4+0.0)x* -.........\pdfcolorstack 0 pop .......\kern-45.1334 .......\kern-45.41116 .......\hbox(10.34444+3.4)x45.41116, shifted -3.4, direction TLT -........\pdfcolorstack 0 push {0 g 0 G} ........\hbox(10.34444+3.4)x45.41116, direction TLT .........\hbox(13.74443+0.0)x45.41116, shifted 3.4, direction TLT ..........\vbox(13.74443+0.0)x45.41116, direction TLT @@ -493,43 +466,28 @@ l. ...} .............\glue 3.0 ............\rule(*+*)x0.4 ...........\rule(0.4+0.0)x* -........\pdfcolorstack 0 pop .......\kern45.1334 ......\kern-90.54457 ......\kern-0.5 ......\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} -.......\pdfcolorstack 0 push {1.0 0.0 0.0 rg 1.0 0.0 0.0 RG} .......\hbox(1.0+0.0)x1.0, direction TLT ........\rule(1.0+*)x1.0 -.......\pdfcolorstack 0 pop -.......\pdfcolorstack 0 pop .....\kern-90.54457 .....\kern-11.61815 .....\hbox(3.75+1.25)x9.61815, shifted 5.75, direction TLT -......\pdfcolorstack 0 push {0 g 0 G} -......\pdfcolorstack 0 push {1.0 0.0 0.0 rg 1.0 0.0 0.0 RG} ......\OT1/cmss/m/n/5 ( ......\OT1/cmss/m/n/5 l ......\OT1/cmss/m/n/5 , ......\OT1/cmss/m/n/5 b ......\OT1/cmss/m/n/5 ) -......\pdfcolorstack 0 pop -......\pdfcolorstack 0 pop ....\kern-90.54457 ....\kern44.77228 ....\hbox(1.0+0.0)x1.0, shifted -6.37222, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} -.....\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .....\hbox(1.0+0.0)x1.0, direction TLT ......\rule(1.0+*)x1.0 -.....\pdfcolorstack 0 pop -.....\pdfcolorstack 0 pop ...\kern-90.54457 ...\kern37.51178 ...\hbox(3.75+1.25)x15.52101, shifted -5.62222, direction TLT -....\pdfcolorstack 0 push {0 g 0 G} -....\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ....\OT1/cmss/m/n/5 ( ....\OT1/cmss/m/n/5 h ....\OT1/cmss/m/n/5 c @@ -537,8 +495,6 @@ l. ...} ....\OT1/cmss/m/n/5 v ....\OT1/cmss/m/n/5 c ....\OT1/cmss/m/n/5 ) -....\pdfcolorstack 0 pop -....\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ...} @@ -576,7 +532,6 @@ Poles of coffin \l_tmpa_coffin: ..........\kern0.0 ..........\kern0.0 ..........\hbox(10.34444+3.4)x45.1334, shifted -3.4, direction TLT -...........\pdfcolorstack 0 push {0 g 0 G} ...........\hbox(10.34444+3.4)x45.1334, direction TLT ............\hbox(13.74443+0.0)x45.1334, shifted 3.4, direction TLT .............\vbox(13.74443+0.0)x45.1334, direction TLT @@ -589,11 +544,9 @@ Poles of coffin \l_tmpa_coffin: ................\glue 3.0 ...............\rule(*+*)x0.4 ..............\rule(0.4+0.0)x* -...........\pdfcolorstack 0 pop .........\kern-45.1334 .........\kern-45.41116 .........\hbox(10.34444+3.4)x45.41116, shifted -3.4, direction TLT -..........\pdfcolorstack 0 push {0 g 0 G} ..........\hbox(10.34444+3.4)x45.41116, direction TLT ...........\hbox(13.74443+0.0)x45.41116, shifted 3.4, direction TLT ............\vbox(13.74443+0.0)x45.41116, direction TLT @@ -618,43 +571,28 @@ Poles of coffin \l_tmpa_coffin: ...............\glue 3.0 ..............\rule(*+*)x0.4 .............\rule(0.4+0.0)x* -..........\pdfcolorstack 0 pop .........\kern45.1334 ........\kern-90.54457 ........\kern-0.5 ........\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -.........\pdfcolorstack 0 push {0 g 0 G} -.........\pdfcolorstack 0 push {1.0 0.0 0.0 rg 1.0 0.0 0.0 RG} .........\hbox(1.0+0.0)x1.0, direction TLT ..........\rule(1.0+*)x1.0 -.........\pdfcolorstack 0 pop -.........\pdfcolorstack 0 pop .......\kern-90.54457 .......\kern-11.61815 .......\hbox(3.75+1.25)x9.61815, shifted 5.75, direction TLT -........\pdfcolorstack 0 push {0 g 0 G} -........\pdfcolorstack 0 push {1.0 0.0 0.0 rg 1.0 0.0 0.0 RG} ........\OT1/cmss/m/n/5 ( ........\OT1/cmss/m/n/5 l ........\OT1/cmss/m/n/5 , ........\OT1/cmss/m/n/5 b ........\OT1/cmss/m/n/5 ) -........\pdfcolorstack 0 pop -........\pdfcolorstack 0 pop ......\kern-90.54457 ......\kern44.77228 ......\hbox(1.0+0.0)x1.0, shifted -6.37222, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} -.......\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .......\hbox(1.0+0.0)x1.0, direction TLT ........\rule(1.0+*)x1.0 -.......\pdfcolorstack 0 pop -.......\pdfcolorstack 0 pop .....\kern-90.54457 .....\kern37.51178 .....\hbox(3.75+1.25)x15.52101, shifted -5.62222, direction TLT -......\pdfcolorstack 0 push {0 g 0 G} -......\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ......\OT1/cmss/m/n/5 ( ......\OT1/cmss/m/n/5 h ......\OT1/cmss/m/n/5 c @@ -662,22 +600,14 @@ Poles of coffin \l_tmpa_coffin: ......\OT1/cmss/m/n/5 v ......\OT1/cmss/m/n/5 c ......\OT1/cmss/m/n/5 ) -......\pdfcolorstack 0 pop -......\pdfcolorstack 0 pop ....\kern-90.54457 ....\kern44.91116 ....\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} -.....\pdfcolorstack 0 push {0.0 1.0 0.0 rg 0.0 1.0 0.0 RG} .....\hbox(1.0+0.0)x1.0, direction TLT ......\rule(1.0+*)x1.0 -.....\pdfcolorstack 0 pop -.....\pdfcolorstack 0 pop ...\kern-90.54457 ...\kern46.41116 ...\hbox(3.75+1.25)x23.78499, shifted 1.25, direction TLT -....\pdfcolorstack 0 push {0 g 0 G} -....\pdfcolorstack 0 push {0.0 1.0 0.0 rg 0.0 1.0 0.0 RG} ....\OT1/cmss/m/n/5 ( ....\OT1/cmss/m/n/5 \ ....\OT1/cmss/m/n/5 1 @@ -693,8 +623,6 @@ Poles of coffin \l_tmpa_coffin: .....= \OT1/cmss/m/n/5 - ....\OT1/cmss/m/n/5 b ....\OT1/cmss/m/n/5 ) -....\pdfcolorstack 0 pop -....etc. ! OK. \l_tmpa_coffin l. ...} @@ -736,7 +664,6 @@ TEST 6: Rotation .....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} .....\hbox(6.94444+0.0)x0.0, direction TLT ......\hbox(6.94444+0.0)x50.02786, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} .......\OT1/cmr/m/n/10 H .......\OT1/cmr/m/n/10 e .......\OT1/cmr/m/n/10 l @@ -749,7 +676,6 @@ TEST 6: Rotation .......\OT1/cmr/m/n/10 r .......\OT1/cmr/m/n/10 l .......\OT1/cmr/m/n/10 d -.......\pdfcolorstack 0 pop .....\pdfrestore ! OK. \l_tmpa_coffin @@ -766,7 +692,6 @@ l. ... } .....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} .....\hbox(6.94444+0.0)x0.0, direction TLT ......\hbox(6.94444+0.0)x50.02786, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} .......\OT1/cmr/m/n/10 H .......\OT1/cmr/m/n/10 e .......\OT1/cmr/m/n/10 l @@ -779,7 +704,6 @@ l. ... } .......\OT1/cmr/m/n/10 r .......\OT1/cmr/m/n/10 l .......\OT1/cmr/m/n/10 d -.......\pdfcolorstack 0 pop .....\pdfrestore ! OK. \g_tmpa_coffin @@ -818,7 +742,6 @@ Poles of coffin \g_tmpa_coffin: l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -831,7 +754,6 @@ l. ... } .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } @@ -847,7 +769,6 @@ l. ... } .....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} .....\hbox(6.94444+0.0)x0.0, direction TLT ......\hbox(6.94444+0.0)x50.02786, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} .......\OT1/cmr/m/n/10 H .......\OT1/cmr/m/n/10 e .......\OT1/cmr/m/n/10 l @@ -860,7 +781,6 @@ l. ... } .......\OT1/cmr/m/n/10 r .......\OT1/cmr/m/n/10 l .......\OT1/cmr/m/n/10 d -.......\pdfcolorstack 0 pop .....\pdfrestore ! OK. \g_tmpa_coffin @@ -909,7 +829,6 @@ l. ... } .....\pdfsetmatrix{0.86603 0.5 -0.5 0.86603} .....\hbox(6.94444+0.0)x0.0, direction TLT ......\hbox(6.94444+0.0)x50.02786, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} .......\OT1/cmr/m/n/10 H .......\OT1/cmr/m/n/10 e .......\OT1/cmr/m/n/10 l @@ -922,7 +841,6 @@ l. ... } .......\OT1/cmr/m/n/10 r .......\OT1/cmr/m/n/10 l .......\OT1/cmr/m/n/10 d -.......\pdfcolorstack 0 pop .....\pdfrestore ! OK. \l_tmpa_coffin @@ -949,7 +867,6 @@ l. ... } ...........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} ...........\hbox(6.94444+0.0)x0.0, direction TLT ............\hbox(6.94444+0.0)x50.02786, direction TLT -.............\pdfcolorstack 0 push {0 g 0 G} .............\OT1/cmr/m/n/10 H .............\OT1/cmr/m/n/10 e .............\OT1/cmr/m/n/10 l @@ -962,7 +879,6 @@ l. ... } .............\OT1/cmr/m/n/10 r .............\OT1/cmr/m/n/10 l .............\OT1/cmr/m/n/10 d -.............\pdfcolorstack 0 pop ...........\pdfrestore .....\pdfrestore ! OK. @@ -1002,7 +918,6 @@ Poles of coffin \g_tmpa_coffin: l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -1015,7 +930,6 @@ l. ... } .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } @@ -1041,7 +955,6 @@ l. ... } ...........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} ...........\hbox(6.94444+0.0)x0.0, direction TLT ............\hbox(6.94444+0.0)x50.02786, direction TLT -.............\pdfcolorstack 0 push {0 g 0 G} .............\OT1/cmr/m/n/10 H .............\OT1/cmr/m/n/10 e .............\OT1/cmr/m/n/10 l @@ -1054,7 +967,6 @@ l. ... } .............\OT1/cmr/m/n/10 r .............\OT1/cmr/m/n/10 l .............\OT1/cmr/m/n/10 d -.............\pdfcolorstack 0 pop ...........\pdfrestore .....\pdfrestore ! OK. @@ -1104,7 +1016,6 @@ l. ... } .....\pdfsetmatrix{0.70711 -0.70711 0.70711 0.70711} .....\hbox(6.94444+0.0)x0.0, direction TLT ......\hbox(6.94444+0.0)x50.02786, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} .......\OT1/cmr/m/n/10 H .......\OT1/cmr/m/n/10 e .......\OT1/cmr/m/n/10 l @@ -1117,7 +1028,6 @@ l. ... } .......\OT1/cmr/m/n/10 r .......\OT1/cmr/m/n/10 l .......\OT1/cmr/m/n/10 d -.......\pdfcolorstack 0 pop .....\pdfrestore ! OK. \l_tmpa_coffin @@ -1154,7 +1064,6 @@ l. ... } .................\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} .................\hbox(6.94444+0.0)x0.0, direction TLT ..................\hbox(6.94444+0.0)x50.02786, direction TLT -...................\pdfcolorstack 0 push {0 g 0 G} ...................\OT1/cmr/m/n/10 H ...................\OT1/cmr/m/n/10 e ...................\OT1/cmr/m/n/10 l @@ -1167,7 +1076,6 @@ l. ... } ...................\OT1/cmr/m/n/10 r ...................\OT1/cmr/m/n/10 l ...................\OT1/cmr/m/n/10 d -...................\pdfcolorstack 0 pop .................\pdfrestore ...........\pdfrestore .....\pdfrestore @@ -1208,7 +1116,6 @@ Poles of coffin \g_tmpa_coffin: l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -1221,7 +1128,6 @@ l. ... } .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } @@ -1257,7 +1163,6 @@ l. ... } .................\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711} .................\hbox(6.94444+0.0)x0.0, direction TLT ..................\hbox(6.94444+0.0)x50.02786, direction TLT -...................\pdfcolorstack 0 push {0 g 0 G} ...................\OT1/cmr/m/n/10 H ...................\OT1/cmr/m/n/10 e ...................\OT1/cmr/m/n/10 l @@ -1270,7 +1175,6 @@ l. ... } ...................\OT1/cmr/m/n/10 r ...................\OT1/cmr/m/n/10 l ...................\OT1/cmr/m/n/10 d -...................\pdfcolorstack 0 pop .................\pdfrestore ...........\pdfrestore .....\pdfrestore @@ -1322,7 +1226,6 @@ TEST 7: Scaling ...\pdfsetmatrix{1 0 0 1.1} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1335,7 +1238,6 @@ TEST 7: Scaling .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1351,7 +1253,6 @@ l. ... } ...\pdfsetmatrix{1 0 0 1.1} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1364,7 +1265,6 @@ l. ... } .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1405,7 +1305,6 @@ Poles of coffin \g_tmpa_coffin: l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -1418,7 +1317,6 @@ l. ... } .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } @@ -1431,7 +1329,6 @@ l. ... } ...\pdfsetmatrix{1 0 0 1.1} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1444,7 +1341,6 @@ l. ... } .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1492,7 +1388,6 @@ l. ... } ...\pdfsetmatrix{2 0 0 0.5} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1505,7 +1400,6 @@ l. ... } .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1528,7 +1422,6 @@ l. ... } .......\pdfsetmatrix{1 0 0 1.1} .......\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ........\hbox(6.94444+0.0)x50.02786, direction TLT -.........\pdfcolorstack 0 push {0 g 0 G} .........\OT1/cmr/m/n/10 H .........\OT1/cmr/m/n/10 e .........\OT1/cmr/m/n/10 l @@ -1541,7 +1434,6 @@ l. ... } .........\OT1/cmr/m/n/10 r .........\OT1/cmr/m/n/10 l .........\OT1/cmr/m/n/10 d -.........\pdfcolorstack 0 pop ........\glue 0.0 plus 1.0fil minus 1.0fil .......\pdfrestore ......\glue 0.0 plus 1.0fil minus 1.0fil @@ -1585,7 +1477,6 @@ Poles of coffin \g_tmpa_coffin: l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -1598,7 +1489,6 @@ l. ... } .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } @@ -1618,7 +1508,6 @@ l. ... } .......\pdfsetmatrix{1 0 0 1.1} .......\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ........\hbox(6.94444+0.0)x50.02786, direction TLT -.........\pdfcolorstack 0 push {0 g 0 G} .........\OT1/cmr/m/n/10 H .........\OT1/cmr/m/n/10 e .........\OT1/cmr/m/n/10 l @@ -1631,7 +1520,6 @@ l. ... } .........\OT1/cmr/m/n/10 r .........\OT1/cmr/m/n/10 l .........\OT1/cmr/m/n/10 d -.........\pdfcolorstack 0 pop ........\glue 0.0 plus 1.0fil minus 1.0fil .......\pdfrestore ......\glue 0.0 plus 1.0fil minus 1.0fil @@ -1686,7 +1574,6 @@ TEST 8: Resizing ...\pdfsetmatrix{0.56874 0 0 8.19439} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1699,7 +1586,6 @@ TEST 8: Resizing .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1715,7 +1601,6 @@ l. ... } ...\pdfsetmatrix{0.56874 0 0 8.19439} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1728,7 +1613,6 @@ l. ... } .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1769,7 +1653,6 @@ Poles of coffin \g_tmpa_coffin: l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -1782,7 +1665,6 @@ l. ... } .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \l_tmpa_coffin l. ... } @@ -1795,7 +1677,6 @@ l. ... } ...\pdfsetmatrix{0.56874 0 0 8.19439} ...\hbox(6.94444+0.0)x0.0, glue set - 50.02786fil, direction TLT ....\hbox(6.94444+0.0)x50.02786, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} .....\OT1/cmr/m/n/10 H .....\OT1/cmr/m/n/10 e .....\OT1/cmr/m/n/10 l @@ -1808,7 +1689,6 @@ l. ... } .....\OT1/cmr/m/n/10 r .....\OT1/cmr/m/n/10 l .....\OT1/cmr/m/n/10 d -.....\pdfcolorstack 0 pop ....\glue 0.0 plus 1.0fil minus 1.0fil ...\pdfrestore ..\glue 0.0 plus 1.0fil minus 1.0fil @@ -1902,153 +1782,97 @@ TEST 9: Complex poles ............................................\pdfsetmatrix{0.86603 0.5 -0.5 0.86603} ............................................\hbox(113.81102+0.0)x0.0, direction TLT .............................................\hbox(113.81102+0.0)x113.81102, direction TLT -..............................................\pdfcolorstack 0 push {0 g 0 G} ..............................................\hbox(113.81102+0.0)x113.81102, direction TLT ...............................................\rule(113.81102+0.0)x113.81102 -..............................................\pdfcolorstack 0 pop ............................................\pdfrestore .......................................\kern-155.46873 .......................................\kern56.4055 .......................................\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -........................................\pdfcolorstack 0 push {0 g 0 G} -........................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ........................................\hbox(1.0+0.0)x1.0, direction TLT .........................................\rule(1.0+*)x1.0 -........................................\pdfcolorstack 0 pop -........................................\pdfcolorstack 0 pop ......................................\kern-155.46873 ......................................\kern45.28735 ......................................\hbox(3.75+1.25)x9.61815, shifted 5.75, direction TLT -.......................................\pdfcolorstack 0 push {0 g 0 G} -.......................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .......................................\OT1/cmss/m/n/5 ( .......................................\OT1/cmss/m/n/5 l .......................................\OT1/cmss/m/n/5 , .......................................\OT1/cmss/m/n/5 b .......................................\OT1/cmss/m/n/5 ) -.......................................\pdfcolorstack 0 pop -.......................................\pdfcolorstack 0 pop .....................................\kern-155.46873 .....................................\kern27.95274 .....................................\hbox(1.0+0.0)x1.0, shifted -48.78163, direction TLT -......................................\pdfcolorstack 0 push {0 g 0 G} -......................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ......................................\hbox(1.0+0.0)x1.0, direction TLT .......................................\rule(1.0+*)x1.0 -......................................\pdfcolorstack 0 pop -......................................\pdfcolorstack 0 pop ....................................\kern-155.46873 ....................................\kern14.7686 ....................................\hbox(3.75+1.25)x11.68414, shifted -48.03163, direction TLT -.....................................\pdfcolorstack 0 push {0 g 0 G} -.....................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .....................................\OT1/cmss/m/n/5 ( .....................................\OT1/cmss/m/n/5 l .....................................\OT1/cmss/m/n/5 , .....................................\OT1/cmss/m/n/5 v .....................................\OT1/cmss/m/n/5 c .....................................\OT1/cmss/m/n/5 ) -.....................................\pdfcolorstack 0 pop -.....................................\pdfcolorstack 0 pop ...................................\kern-155.46873 ...................................\kern-0.5 ...................................\hbox(1.0+0.0)x1.0, shifted -98.06322, direction TLT -....................................\pdfcolorstack 0 push {0 g 0 G} -....................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ....................................\hbox(1.0+0.0)x1.0, direction TLT .....................................\rule(1.0+*)x1.0 -....................................\pdfcolorstack 0 pop -....................................\pdfcolorstack 0 pop ..................................\kern-155.46873 ..................................\kern-10.79349 ..................................\hbox(3.75+1.25)x8.79349, shifted -101.81322, direction TLT -...................................\pdfcolorstack 0 push {0 g 0 G} -...................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...................................\OT1/cmss/m/n/5 ( ...................................\OT1/cmss/m/n/5 l ...................................\OT1/cmss/m/n/5 , ...................................\OT1/cmss/m/n/5 t ...................................\OT1/cmss/m/n/5 ) -...................................\pdfcolorstack 0 pop -...................................\pdfcolorstack 0 pop .................................\kern-155.46873 .................................\kern56.4055 .................................\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT -..................................\pdfcolorstack 0 push {0 g 0 G} -..................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ..................................\hbox(1.0+0.0)x1.0, direction TLT ...................................\rule(1.0+*)x1.0 -..................................\pdfcolorstack 0 pop -..................................\pdfcolorstack 0 pop ................................\kern-155.46873 ................................\kern44.2804 ................................\hbox(3.75+1.25)x10.6251, shifted -0.75, direction TLT -.................................\pdfcolorstack 0 push {0 g 0 G} -.................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .................................\OT1/cmss/m/n/5 ( .................................\OT1/cmss/m/n/5 l .................................\OT1/cmss/m/n/5 , .................................\OT1/cmss/m/n/5 H .................................\OT1/cmss/m/n/5 ) -.................................\pdfcolorstack 0 pop -.................................\pdfcolorstack 0 pop ...............................\kern-155.46873 ...............................\kern11.52554 ...............................\hbox(1.0+0.0)x1.0, shifted -77.23438, direction TLT -................................\pdfcolorstack 0 push {0 g 0 G} -................................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ................................\hbox(1.0+0.0)x1.0, direction TLT .................................\rule(1.0+*)x1.0 -................................\pdfcolorstack 0 pop -................................\pdfcolorstack 0 pop ..............................\kern-155.46873 ..............................\kern13.02554 ..............................\hbox(3.75+1.25)x9.323, shifted -76.48438, direction TLT -...............................\pdfcolorstack 0 push {0 g 0 G} -...............................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...............................\OT1/cmss/m/n/5 ( ...............................\OT1/cmss/m/n/5 l ...............................\OT1/cmss/m/n/5 , ...............................\OT1/cmss/m/n/5 x ...............................\OT1/cmss/m/n/5 ) -...............................\pdfcolorstack 0 pop -...............................\pdfcolorstack 0 pop .............................\kern-155.46873 .............................\kern105.68712 .............................\hbox(1.0+0.0)x1.0, shifted -27.95276, direction TLT -..............................\pdfcolorstack 0 push {0 g 0 G} -..............................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ..............................\hbox(1.0+0.0)x1.0, direction TLT ...............................\rule(1.0+*)x1.0 -..............................\pdfcolorstack 0 pop -..............................\pdfcolorstack 0 pop ............................\kern-155.46873 ............................\kern99.45961 ............................\hbox(3.75+1.25)x13.45502, shifted -22.70276, direction TLT -.............................\pdfcolorstack 0 push {0 g 0 G} -.............................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .............................\OT1/cmss/m/n/5 ( .............................\OT1/cmss/m/n/5 h .............................\OT1/cmss/m/n/5 c .............................\OT1/cmss/m/n/5 , .............................\OT1/cmss/m/n/5 b .............................\OT1/cmss/m/n/5 ) -.............................\pdfcolorstack 0 pop -.............................\pdfcolorstack 0 pop ...........................\kern-155.46873 ...........................\kern77.23436 ...........................\hbox(1.0+0.0)x1.0, shifted -77.23439, direction TLT -............................\pdfcolorstack 0 push {0 g 0 G} -............................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ............................\hbox(1.0+0.0)x1.0, direction TLT .............................\rule(1.0+*)x1.0 -............................\pdfcolorstack 0 pop -............................\pdfcolorstack 0 pop ..........................\kern-155.46873 ..........................\kern69.97386 ..........................\hbox(3.75+1.25)x15.52101, shifted -76.48439, direction TLT -...........................\pdfcolorstack 0 push {0 g 0 G} -...........................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...........................\OT1/cmss/m/n/5 ( ...........................\OT1/cmss/m/n/5 h ...........................\OT1/cmss/m/n/5 c @@ -2056,265 +1880,167 @@ TEST 9: Complex poles ...........................\OT1/cmss/m/n/5 v ...........................\OT1/cmss/m/n/5 c ...........................\OT1/cmss/m/n/5 ) -...........................\pdfcolorstack 0 pop -...........................\pdfcolorstack 0 pop .........................\kern-155.46873 .........................\kern48.78162 .........................\hbox(1.0+0.0)x1.0, shifted -126.51598, direction TLT -..........................\pdfcolorstack 0 push {0 g 0 G} -..........................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ..........................\hbox(1.0+0.0)x1.0, direction TLT ...........................\rule(1.0+*)x1.0 -..........................\pdfcolorstack 0 pop -..........................\pdfcolorstack 0 pop ........................\kern-155.46873 ........................\kern42.96645 ........................\hbox(3.75+1.25)x12.63036, shifted -130.26598, direction TLT -.........................\pdfcolorstack 0 push {0 g 0 G} -.........................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .........................\OT1/cmss/m/n/5 ( .........................\OT1/cmss/m/n/5 h .........................\OT1/cmss/m/n/5 c .........................\OT1/cmss/m/n/5 , .........................\OT1/cmss/m/n/5 t .........................\OT1/cmss/m/n/5 ) -.........................\pdfcolorstack 0 pop -.........................\pdfcolorstack 0 pop .......................\kern-155.46873 .......................\kern105.68712 .......................\hbox(1.0+0.0)x1.0, shifted -27.95276, direction TLT -........................\pdfcolorstack 0 push {0 g 0 G} -........................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ........................\hbox(1.0+0.0)x1.0, direction TLT .........................\rule(1.0+*)x1.0 -........................\pdfcolorstack 0 pop -........................\pdfcolorstack 0 pop ......................\kern-155.46873 ......................\kern98.95613 ......................\hbox(3.75+1.25)x14.46198, shifted -29.20276, direction TLT -.......................\pdfcolorstack 0 push {0 g 0 G} -.......................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .......................\OT1/cmss/m/n/5 ( .......................\OT1/cmss/m/n/5 h .......................\OT1/cmss/m/n/5 c .......................\OT1/cmss/m/n/5 , .......................\OT1/cmss/m/n/5 H .......................\OT1/cmss/m/n/5 ) -.......................\pdfcolorstack 0 pop -.......................\pdfcolorstack 0 pop .....................\kern-155.46873 .....................\kern77.23436 .....................\hbox(1.0+0.0)x1.0, shifted -77.23439, direction TLT -......................\pdfcolorstack 0 push {0 g 0 G} -......................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ......................\hbox(1.0+0.0)x1.0, direction TLT .......................\rule(1.0+*)x1.0 -......................\pdfcolorstack 0 pop -......................\pdfcolorstack 0 pop ....................\kern-155.46873 ....................\kern78.73436 ....................\hbox(3.75+1.25)x13.15987, shifted -76.48439, direction TLT -.....................\pdfcolorstack 0 push {0 g 0 G} -.....................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .....................\OT1/cmss/m/n/5 ( .....................\OT1/cmss/m/n/5 h .....................\OT1/cmss/m/n/5 c .....................\OT1/cmss/m/n/5 , .....................\OT1/cmss/m/n/5 x .....................\OT1/cmss/m/n/5 ) -.....................\pdfcolorstack 0 pop -.....................\pdfcolorstack 0 pop ...................\kern-155.46873 ...................\kern154.96873 ...................\hbox(1.0+0.0)x1.0, shifted -56.4055, direction TLT -....................\pdfcolorstack 0 push {0 g 0 G} -....................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ....................\hbox(1.0+0.0)x1.0, direction TLT .....................\rule(1.0+*)x1.0 -....................\pdfcolorstack 0 pop -....................\pdfcolorstack 0 pop ..................\kern-155.46873 ..................\kern157.46873 ..................\hbox(3.75+1.25)x10.16504, shifted -51.1555, direction TLT -...................\pdfcolorstack 0 push {0 g 0 G} -...................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...................\OT1/cmss/m/n/5 ( ...................\OT1/cmss/m/n/5 r ...................\OT1/cmss/m/n/5 , ...................\OT1/cmss/m/n/5 b ...................\OT1/cmss/m/n/5 ) -...................\pdfcolorstack 0 pop -...................\pdfcolorstack 0 pop .................\kern-155.46873 .................\kern126.51598 .................\hbox(1.0+0.0)x1.0, shifted -105.68713, direction TLT -..................\pdfcolorstack 0 push {0 g 0 G} -..................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ..................\hbox(1.0+0.0)x1.0, direction TLT ...................\rule(1.0+*)x1.0 -..................\pdfcolorstack 0 pop -..................\pdfcolorstack 0 pop ................\kern-155.46873 ................\kern129.01598 ................\hbox(3.75+1.25)x12.23103, shifted -104.93713, direction TLT -.................\pdfcolorstack 0 push {0 g 0 G} -.................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .................\OT1/cmss/m/n/5 ( .................\OT1/cmss/m/n/5 r .................\OT1/cmss/m/n/5 , .................\OT1/cmss/m/n/5 v .................\OT1/cmss/m/n/5 c .................\OT1/cmss/m/n/5 ) -.................\pdfcolorstack 0 pop -.................\pdfcolorstack 0 pop ...............\kern-155.46873 ...............\kern98.06323 ...............\hbox(1.0+0.0)x1.0, shifted -154.96872, direction TLT -................\pdfcolorstack 0 push {0 g 0 G} -................\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ................\hbox(1.0+0.0)x1.0, direction TLT .................\rule(1.0+*)x1.0 -................\pdfcolorstack 0 pop -................\pdfcolorstack 0 pop ..............\kern-155.46873 ..............\kern100.56323 ..............\hbox(3.75+1.25)x9.34038, shifted -158.71872, direction TLT -...............\pdfcolorstack 0 push {0 g 0 G} -...............\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...............\OT1/cmss/m/n/5 ( ...............\OT1/cmss/m/n/5 r ...............\OT1/cmss/m/n/5 , ...............\OT1/cmss/m/n/5 t ...............\OT1/cmss/m/n/5 ) -...............\pdfcolorstack 0 pop -...............\pdfcolorstack 0 pop .............\kern-155.46873 .............\kern154.96873 .............\hbox(1.0+0.0)x1.0, shifted -56.4055, direction TLT -..............\pdfcolorstack 0 push {0 g 0 G} -..............\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ..............\hbox(1.0+0.0)x1.0, direction TLT ...............\rule(1.0+*)x1.0 -..............\pdfcolorstack 0 pop -..............\pdfcolorstack 0 pop ............\kern-155.46873 ............\kern157.46873 ............\hbox(3.75+1.25)x11.172, shifted -57.6555, direction TLT -.............\pdfcolorstack 0 push {0 g 0 G} -.............\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .............\OT1/cmss/m/n/5 ( .............\OT1/cmss/m/n/5 r .............\OT1/cmss/m/n/5 , .............\OT1/cmss/m/n/5 H .............\OT1/cmss/m/n/5 ) -.............\pdfcolorstack 0 pop -.............\pdfcolorstack 0 pop ...........\kern-155.46873 ...........\kern142.94318 ...........\hbox(1.0+0.0)x1.0, shifted -77.23438, direction TLT -............\pdfcolorstack 0 push {0 g 0 G} -............\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ............\hbox(1.0+0.0)x1.0, direction TLT .............\rule(1.0+*)x1.0 -............\pdfcolorstack 0 pop -............\pdfcolorstack 0 pop ..........\kern-155.46873 ..........\kern144.44318 ..........\hbox(3.75+1.25)x9.86989, shifted -76.48438, direction TLT -...........\pdfcolorstack 0 push {0 g 0 G} -...........\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...........\OT1/cmss/m/n/5 ( ...........\OT1/cmss/m/n/5 r ...........\OT1/cmss/m/n/5 , ...........\OT1/cmss/m/n/5 x ...........\OT1/cmss/m/n/5 ) -...........\pdfcolorstack 0 pop -...........\pdfcolorstack 0 pop .........\kern-155.46873 .........\kern191.0454 .........\hbox(1.0+0.0)x1.0, shifted -77.23438, direction TLT -..........\pdfcolorstack 0 push {0 g 0 G} -..........\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ..........\hbox(1.0+0.0)x1.0, direction TLT ...........\rule(1.0+*)x1.0 -..........\pdfcolorstack 0 pop -..........\pdfcolorstack 0 pop ........\kern-155.46873 ........\kern192.5454 ........\hbox(3.75+1.25)x10.79872, shifted -76.48438, direction TLT -.........\pdfcolorstack 0 push {0 g 0 G} -.........\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .........\OT1/cmss/m/n/5 ( .........\OT1/cmss/m/n/5 b .........\OT1/cmss/m/n/5 , .........\OT1/cmss/m/n/5 x .........\OT1/cmss/m/n/5 ) -.........\pdfcolorstack 0 pop -.........\pdfcolorstack 0 pop .......\kern-155.46873 .......\kern77.23438 .......\hbox(1.0+0.0)x1.0, shifted -77.23438, direction TLT -........\pdfcolorstack 0 push {0 g 0 G} -........\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ........\hbox(1.0+0.0)x1.0, direction TLT .........\rule(1.0+*)x1.0 -........\pdfcolorstack 0 pop -........\pdfcolorstack 0 pop ......\kern-155.46873 ......\kern78.73438 ......\hbox(3.75+1.25)x12.86472, shifted -76.48438, direction TLT -.......\pdfcolorstack 0 push {0 g 0 G} -.......\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .......\OT1/cmss/m/n/5 ( .......\OT1/cmss/m/n/5 v .......\OT1/cmss/m/n/5 c .......\OT1/cmss/m/n/5 , .......\OT1/cmss/m/n/5 x .......\OT1/cmss/m/n/5 ) -.......\pdfcolorstack 0 pop -.......\pdfcolorstack 0 pop .....\kern-155.46873 .....\kern-36.57664 .....\hbox(1.0+0.0)x1.0, shifted -77.23438, direction TLT -......\pdfcolorstack 0 push {0 g 0 G} -......\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ......\hbox(1.0+0.0)x1.0, direction TLT .......\rule(1.0+*)x1.0 -......\pdfcolorstack 0 pop -......\pdfcolorstack 0 pop ....\kern-155.46873 ....\kern-35.07664 ....\hbox(3.75+1.25)x9.97406, shifted -76.48438, direction TLT -.....\pdfcolorstack 0 push {0 g 0 G} -.....\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} .....\OT1/cmss/m/n/5 ( .....\OT1/cmss/m/n/5 t .....\OT1/cmss/m/n/5 , .....\OT1/cmss/m/n/5 x .....\OT1/cmss/m/n/5 ) -.....\pdfcolorstack 0 pop -.....\pdfcolorstack 0 pop ...\kern-155.46873 ...\kern191.0454 ...\hbox(1.0+0.0)x1.0, shifted -77.23438, direction TLT -....\pdfcolorstack 0 push {0 g 0 G} -....\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ....\hbox(1.0+0.0)x1.0, direction TLT .....\rule(1.0+*)x1.0 -....\pdfcolorstack 0 pop -....\pdfcolorstack 0 pop ..\kern-155.46873 ..\kern192.5454 ..\hbox(3.75+1.25)x11.80568, shifted -76.48438, direction TLT -...\pdfcolorstack 0 push {0 g 0 G} -...\pdfcolorstack 0 push {0.0 0.0 1.0 rg 0.0 0.0 1.0 RG} ...\OT1/cmss/m/n/5 ( ...\OT1/cmss/m/n/5 H ...\OT1/cmss/m/n/5 , ...\OT1/cmss/m/n/5 x ...\OT1/cmss/m/n/5 ) -...\pdfcolorstack 0 pop -...\pdfcolorstack 0 pop ! OK. \l_tmpa_box l. ... } diff --git a/l3kernel/testfiles/m3color003.luatex.tlg b/l3kernel/testfiles/m3color003.luatex.tlg new file mode 100644 index 0000000000..f79bb22dcd --- /dev/null +++ b/l3kernel/testfiles/m3color003.luatex.tlg @@ -0,0 +1,466 @@ +This is a generated file for the LaTeX (2e + expl3) validation system. +Don't change this file in any respect. +Author: Joseph Wright +============================================================ +TEST 1: Multiple models: selecting +============================================================ +> \box...= +\hbox(6.94444+0.0)x22.50005, direction TLT +.\OT1/cmr/m/n/10 H +.\OT1/cmr/m/n/10 e +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 o +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(6.94444+0.0)x22.50005, direction TLT +.\OT1/cmr/m/n/10 H +.\OT1/cmr/m/n/10 e +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 o +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(6.94444+0.0)x22.50005, direction TLT +.\OT1/cmr/m/n/10 H +.\OT1/cmr/m/n/10 e +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 o +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(6.94444+0.0)x22.50005, direction TLT +.\OT1/cmr/m/n/10 H +.\OT1/cmr/m/n/10 e +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 o +! OK. + \l_tmpa_box +l. ... } +> \box...= +\hbox(6.94444+0.0)x22.50005, direction TLT +.\OT1/cmr/m/n/10 H +.\OT1/cmr/m/n/10 e +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 l +.\OT1/cmr/m/n/10 o +! OK. + \l_tmpa_box +l. ... } +============================================================ +============================================================ +TEST 2: Multiple models: named +============================================================ +Defining \l__color_named_foo1_tl on line ... +Defining \l__color_named_foo1_prop on line ... +Defining \l__color_named_test_tl on line ... +Defining \l__color_named_test_prop on line ... +The color test has the properties: +> model => cmyk +> cmyk => 0.55 0.1 0.15 0.2. + } +l. ... } +The color test has the properties: +> model => rgb +> rgb => 0.05 0.05 0.6. + } +l. ... } +============================================================ +============================================================ +TEST 3: Multiple models: xcolor data +============================================================ +Defining \l__color_named_foo2_tl on line ... +Defining \l__color_named_foo2_prop on line ... +The color foo2 has the properties: +> model => rgb +> rgb => 0.1 0.1 0.2. + } +l. ... } +============================================================ +============================================================ +TEST 4: Mixing multiple models +============================================================ +Defining \l__color_named_myexpr1_tl on line ... +Defining \l__color_named_myexpr1_prop on line ... +The color myexpr1 has the properties: +> model => rgb +> rgb => 1 0 1 +> cmyk => 1 0 0 1. + } +l. ... } +Defining \l__color_named_myexpr2_tl on line ... +Defining \l__color_named_myexpr2_prop on line ... +The color myexpr2 has the properties: +> model => cmyk +> cmyk => 1 0 0 1 +> rgb => 1 0 1. + } +l. ... } +Defining \l__color_named_myC_tl on line ... +Defining \l__color_named_myC_prop on line ... +The color myC has the properties: +> model => rgb +> rgb => 0.79 0.79 0.79 +> cmyk => 0.09 0.09 0.09 0.09. + } +l. ... } +Defining \l__color_named_myD_tl on line ... +Defining \l__color_named_myD_prop on line ... +The color myD has the properties: +> model => cmyk +> cmyk => 0.09 0.09 0.09 0.09 +> rgb => 0.79 0.79 0.79. + } +l. ... } +============================================================ +============================================================ +TEST 5: Exporting multiple models +============================================================ +> \l_tmpa_tl={rgb}{0.3 0.3 0.3}. + } +l. ... } +> \l_tmpa_tl={cmyk}{1.0 0.0 0.0 0.0}. + } +l. ... } +> \l_tmpa_tl=1.0,0.0,0.0,0.0. + } +l. ... } +> \l_tmpa_tl=1.0,0.0,0.0,0.0. + } +l. ... } +> \l_tmpa_tl=0.3,0.3,0.3. + } +l. ... } +> \l_tmpa_tl=0.3,0.3,0.3. + } +l. ... } +> \l_tmpa_tl=4C4C4C. + } +l. ... } +> \l_tmpa_tl=4C4C4C. + } +l. ... } +> \l_tmpa_tl=1.0 0.0 0.0 0.0. + } +l. ... } +> \l_tmpa_tl=1.0 0.0 0.0 0.0. + } +l. ... } +> \l_tmpa_tl=0.3 0.3 0.3. + } +l. ... } +> \l_tmpa_tl=0.3 0.3 0.3. + } +l. ... } +============================================================ +============================================================ +TEST 6: Showing multiple models +============================================================ +The color foo1 has the properties: +> model => cmyk +> cmyk => 0.1 0.2 0.3 0.4 +> rgb => 0.1 0.1 0.2. + } +l. ... } +============================================================ +============================================================ +TEST 7: Multiple models with model fixed +============================================================ +Defining \l__color_named_mixA_tl on line ... +Defining \l__color_named_mixA_prop on line ... +The color mixA has the properties: +> model => rgb +> rgb => 1 0 0 +> cmyk => 1 0 0 0. + } +l. ... } +The color mixA has the properties: +> model => rgb +> rgb => 1 0 0 +> cmyk => 1 0 0 0. + } +l. ... } +The color mixA has the properties: +> model => rgb +> rgb => 1 0 0 +> cmyk => 1 0 0 0. + } +l. ... } +============================================================ +============================================================ +TEST 8: Creating new models +============================================================ +Defining \c__color_fallback_BarToneCMYK_tl on line ... +Defining \__color_backend_fill_BarToneCMYK:n on line ... +Defining \__color_backend_stroke_BarToneCMYK:n on line ... +Defining \__color_backend_select_BarToneCMYK:n on line ... +Defining \__color_model_BarToneCMYK_white: on line ... +Defining \__color_parse_mix_BarToneCMYK:nw on line ... +Defining \__color_parse_model_BarToneCMYK:w on line ... +Defining \__color_convert_BarToneCMYK_cmyk:w on line ... +Defining \__color_convert_BarToneCMYK_rgb:w on line ... +Defining \__color_convert_BarToneCMYK_gray:w on line ... +Defining \l__color_named_fooCMYK_tl on line ... +Defining \l__color_named_fooCMYK_prop on line ... +The color fooCMYK has the properties: +> model => BarToneCMYK +> BarToneCMYK => 0.5. + } +l. ... } +Defining \c__color_fallback_BarToneRGB_tl on line ... +Defining \__color_backend_fill_BarToneRGB:n on line ... +Defining \__color_backend_stroke_BarToneRGB:n on line ... +Defining \__color_backend_select_BarToneRGB:n on line ... +Defining \__color_model_BarToneRGB_white: on line ... +Defining \__color_parse_mix_BarToneRGB:nw on line ... +Defining \__color_parse_model_BarToneRGB:w on line ... +Defining \__color_convert_BarToneRGB_rgb:w on line ... +Defining \__color_convert_BarToneRGB_cmyk:w on line ... +Defining \__color_convert_BarToneRGB_gray:w on line ... +Defining \l__color_named_fooRGB_tl on line ... +Defining \l__color_named_fooRGB_prop on line ... +The color fooRGB has the properties: +> model => BarToneRGB +> BarToneRGB => 0.5. + } +l. ... } +Defining \c__color_fallback_BarToneGray_tl on line ... +Defining \__color_backend_fill_BarToneGray:n on line ... +Defining \__color_backend_stroke_BarToneGray:n on line ... +Defining \__color_backend_select_BarToneGray:n on line ... +Defining \__color_model_BarToneGray_white: on line ... +Defining \__color_parse_mix_BarToneGray:nw on line ... +Defining \__color_parse_model_BarToneGray:w on line ... +Defining \__color_convert_BarToneGray_cmyk:w on line ... +Defining \__color_convert_BarToneGray_gray:w on line ... +Defining \__color_convert_BarToneGray_rgb:w on line ... +Defining \l__color_named_fooGray_tl on line ... +Defining \l__color_named_fooGray_prop on line ... +The color fooGray has the properties: +> model => BarToneGray +> BarToneGray => 0.5. + } +l. ... } +Defining \c__color_fallback_BarToneCIELAB_tl on line ... +Defining \__color_backend_fill_BarToneCIELAB:n on line ... +Defining \__color_backend_stroke_BarToneCIELAB:n on line ... +Defining \__color_backend_select_BarToneCIELAB:n on line ... +Defining \__color_model_BarToneCIELAB_white: on line ... +Defining \__color_parse_mix_BarToneCIELAB:nw on line ... +Defining \__color_parse_model_BarToneCIELAB:w on line ... +Defining \c__pdf_backend_object___color_illuminant_CIELAB_d65_int on line ... +Defining \__color_convert_BarToneCIELAB_cmyk:w on line ... +Defining \__color_convert_BarToneCIELAB_rgb:w on line ... +Defining \__color_convert_BarToneCIELAB_gray:w on line ... +The color BarToneCIELAB is undefined. +> . + } +l. ... } +============================================================ +============================================================ +TEST 9: Creating new models: errors +============================================================ +! LaTeX3 Error: Color model 'BarToneCMYK' already defined. +For immediate help type H . + ... +l. ... } +LaTeX was asked to define a new color model called 'BarToneCMYK', but this +color model already exists. +! LaTeX3 Error: Unknown color model type 'nope'. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a new color model called 'nope', but this type +of model was never set up. +! LaTeX3 Error: Separation color space 'foo2' require a formal name. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a separation color space, but no + name = +key was given with the correct information. +! LaTeX3 Error: Separation color space 'foo2' require an alternative model. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a separation color space, but no + alternative-model = +key was given with the correct information. +! LaTeX3 Error: Missing/extra '=' in 'alternative-model' (in '..._keyval:Nn') +Type to continue. + ... +l. ... } +LaTeX does not know anything more about this error, sorry. +Try typing to proceed. +If that doesn't work, type X to quit. +! LaTeX3 Error: Separation color space 'foo3' require an alternative model. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a separation color space, but no + alternative-model = +key was given with the correct information. +! LaTeX3 Error: Separation color space 'foo' require an valid alternative +(LaTeX3) space. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a separation color space, but the model given +as + alternative-model = +is unknown. +! LaTeX3 Error: Separation color space 'foo5' require values for the +(LaTeX3) alternative space. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a separation color space, but no + alternative-values = +key was given with the correct information. +! LaTeX3 Error: Separation color space 'foo5' require values for the +(LaTeX3) alternative space. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a separation color space, but no + alternative-values = +key was given with the correct information. +============================================================ +============================================================ +TEST 10: Converting new models +============================================================ +> \l_tmpa_tl=BFB2A6. + } +l. ... } +> \l_tmpa_tl=0.05 0.1 0.15 0.2. + } +l. ... } +> \l_tmpa_tl=EFECE9. + } +l. ... } +============================================================ +============================================================ +TEST 11: Mixing separations +============================================================ +Defining \l__color_named_foo_tl on line ... +Defining \l__color_named_foo_prop on line ... +The color foo has the properties: +> model => BarToneCMYK +> BarToneCMYK => 0.35. + } +l. ... } +The color foo has the properties: +> model => BarToneCMYK +> BarToneCMYK => 0.55. + } +l. ... } +The color foo has the properties: +> model => BarToneCMYK +> BarToneCMYK => 0.35. + } +l. ... } +The color foo has the properties: +> model => BarToneCIELAB +> BarToneCIELAB => 0.55. + } +l. ... } +============================================================ +============================================================ +TEST 12: Mixing separation: failures +============================================================ +The color foo has the properties: +> model => BarToneCMYK +> BarToneCMYK => 1. + } +l. ... } +The color foo has the properties: +> model => BarToneCMYK +> BarToneCMYK => 1. + } +l. ... } +The color foo has the properties: +> model => BarToneCMYK +> BarToneCMYK => 1. + } +l. ... } +The color foo has the properties: +> model => BarToneCIELAB +> BarToneCIELAB => 1. + } +l. ... } +The color foo has the properties: +> model => BarToneCIELAB +> BarToneCIELAB => 1. + } +l. ... } +The color foo has the properties: +> model => BarToneCIELAB +> BarToneCIELAB => 1. + } +l. ... } +============================================================ +============================================================ +TEST 13: DeviceN spaces +============================================================ +Defining \c__color_fallback_TwoUp_tl on line ... +Defining \__color_backend_fill_TwoUp:n on line ... +Defining \__color_backend_stroke_TwoUp:n on line ... +Defining \__color_backend_select_TwoUp:n on line ... +Defining \__color_model_TwoUp_white: on line ... +Defining \__color_parse_model_TwoUp:w on line ... +Defining \__color_parse_mix_TwoUp:nw on line ... +Defining \__color_convert_TwoUp_gray:w on line ... +Defining \__color_convert_TwoUp_rgb:w on line ... +Defining \__color_convert_TwoUp_cmyk:w on line ... +Defining \l__color_named_twoup_tl on line ... +Defining \l__color_named_twoup_prop on line ... +The color foo has the properties: +> model => TwoUp +> TwoUp => 0.75 0.25. + } +l. ... } +The color foo has the properties: +> model => TwoUp +> TwoUp => 0.375 0.125. + } +l. ... } +Defining \c__color_fallback_AllIn_tl on line ... +Defining \__color_backend_fill_AllIn:n on line ... +Defining \__color_backend_stroke_AllIn:n on line ... +Defining \__color_backend_select_AllIn:n on line ... +Defining \__color_model_AllIn_white: on line ... +Defining \__color_parse_model_AllIn:w on line ... +Defining \__color_parse_mix_AllIn:nw on line ... +Defining \__color_convert_AllIn_gray:w on line ... +Defining \__color_convert_AllIn_rgb:w on line ... +Defining \__color_convert_AllIn_cmyk:w on line ... +Defining \l__color_named_allin_tl on line ... +Defining \l__color_named_allin_prop on line ... +The color foo has the properties: +> model => AllIn +> AllIn => 0.75 0.25 0.0 0.0 0.0. + } +l. ... } +The color foo has the properties: +> model => AllIn +> AllIn => 0.375 0.125 0 0 0. + } +l. ... } +============================================================ +============================================================ +TEST 14: DeviceN errors +============================================================ +! LaTeX3 Error: DeviceN color spaces require a single alternative space. +For immediate help type H . + ... +l. ... } +LaTeX has been asked to create a DeviceN color space 'TwoUpMixed', but the +constituent colors do not have a common alternative color. +============================================================ diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg index bd3e87db5f..1c8bb86283 100644 --- a/l3kernel/testfiles/m3expl001.luatex.tlg +++ b/l3kernel/testfiles/m3expl001.luatex.tlg @@ -42,6 +42,7 @@ Defining \__color_backend_select_gray:n on line ... Defining \__color_backend_select_rgb:n on line ... Defining \__color_backend_select:nn on line ... Defining \__color_backend_reset: on line ... +Defining \__color_backend_stack_push:nn on line ... Defining \__color_backend_select_separation:nn on line ... Defining \__color_backend_select_devicen:nn on line ... Defining \__color_backend_separation_init:nnnnn on line ... @@ -62,6 +63,9 @@ Defining \__color_backend_fill_separation:nn on line ... Defining \__color_backend_stroke_separation:nn on line ... Defining \__color_backend_fill_devicen:nn on line ... Defining \__color_backend_stroke_devicen:nn on line ... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. Defining \__box_backend_clip:N on line ... Defining \__box_backend_rotate:Nn on line ... Defining \__box_backend_rotate_aux:Nn on line ... diff --git a/l3kernel/testfiles/m3expl002.luatex.tlg b/l3kernel/testfiles/m3expl002.luatex.tlg index 7bf1eba50a..520443cc5f 100644 --- a/l3kernel/testfiles/m3expl002.luatex.tlg +++ b/l3kernel/testfiles/m3expl002.luatex.tlg @@ -7,5 +7,8 @@ File: l3debug.def ....-..-.. L3 Debugging support ) (l3backend-luatex.def File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX) \l__color_backend_stack_int=\count... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. \l__pdf_internal_box=\box... )) diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg index bd3e87db5f..1c8bb86283 100644 --- a/l3kernel/testfiles/m3expl003.luatex.tlg +++ b/l3kernel/testfiles/m3expl003.luatex.tlg @@ -42,6 +42,7 @@ Defining \__color_backend_select_gray:n on line ... Defining \__color_backend_select_rgb:n on line ... Defining \__color_backend_select:nn on line ... Defining \__color_backend_reset: on line ... +Defining \__color_backend_stack_push:nn on line ... Defining \__color_backend_select_separation:nn on line ... Defining \__color_backend_select_devicen:nn on line ... Defining \__color_backend_separation_init:nnnnn on line ... @@ -62,6 +63,9 @@ Defining \__color_backend_fill_separation:nn on line ... Defining \__color_backend_stroke_separation:nn on line ... Defining \__color_backend_fill_devicen:nn on line ... Defining \__color_backend_stroke_devicen:nn on line ... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. Defining \__box_backend_clip:N on line ... Defining \__box_backend_rotate:Nn on line ... Defining \__box_backend_rotate_aux:Nn on line ... diff --git a/l3kernel/testfiles/m3expl004.luatex.tlg b/l3kernel/testfiles/m3expl004.luatex.tlg index 71fe2bd7e8..0d80bb0245 100644 --- a/l3kernel/testfiles/m3expl004.luatex.tlg +++ b/l3kernel/testfiles/m3expl004.luatex.tlg @@ -5,5 +5,8 @@ Package: expl3 ....-..-.. L3 programming layer (loader) (l3backend-luatex.def File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX) \l__color_backend_stack_int=\count... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. \l__pdf_internal_box=\box... )) diff --git a/l3kernel/testfiles/m3expl006.luatex.tlg b/l3kernel/testfiles/m3expl006.luatex.tlg index 4eb2a498e5..c98862f858 100644 --- a/l3kernel/testfiles/m3expl006.luatex.tlg +++ b/l3kernel/testfiles/m3expl006.luatex.tlg @@ -6,5 +6,8 @@ Package: expl3 ....-..-.. L3 programming layer (loader) (l3backend-luatex.def File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX) \l__color_backend_stack_int=\count... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. \l__pdf_internal_box=\box... )) diff --git a/l3kernel/testfiles/m3expl007.luatex.tlg b/l3kernel/testfiles/m3expl007.luatex.tlg index 179b9d29f3..b5ccf8ba36 100644 --- a/l3kernel/testfiles/m3expl007.luatex.tlg +++ b/l3kernel/testfiles/m3expl007.luatex.tlg @@ -6,6 +6,9 @@ Package: expl3 ....-..-.. L3 programming layer (loader) (l3backend-luatex.def File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX) \l__color_backend_stack_int=\count... +Lua module: l3backend-luatex ....-..-.. +Lua-only attribute color = 1 +Inserting `color' at position 1 in `pre_shipout_filter'. \l__pdf_internal_box=\box... )) (expl3.sty Package: expl3 ....-..-.. L3 programming layer (loader) diff --git a/l3trial/xbox/testfiles/xbox001.luatex.tlg b/l3trial/xbox/testfiles/xbox001.luatex.tlg index 8e06e96b6e..e37c9e1b0d 100644 --- a/l3trial/xbox/testfiles/xbox001.luatex.tlg +++ b/l3trial/xbox/testfiles/xbox001.luatex.tlg @@ -40,7 +40,6 @@ TEST 2: \sbox ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -53,7 +52,6 @@ TEST 2: \sbox .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -63,7 +61,6 @@ LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line .... > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\mathon .\OML/cmm/m/it/10 y .\kern0.35878 (italic) @@ -77,13 +74,11 @@ LaTeX Font Info: External font `cmex10' loaded for size .\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 .\OML/cmm/m/it/10 c .\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\mathon .\OML/cmm/m/it/10 y .\kern0.35878 (italic) @@ -97,13 +92,11 @@ l. ... } .\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 .\OML/cmm/m/it/10 c .\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+1.94444)x62.58345, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 I .\OT1/cmr/m/n/10 n .\discretionary (penalty 50) @@ -120,13 +113,11 @@ l. ... } .\OT1/cmr/m/n/10 o .\OT1/cmr/m/n/10 u .\OT1/cmr/m/n/10 p -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\mathon .\OML/cmm/m/it/10 y .\kern0.35878 (italic) @@ -140,7 +131,6 @@ l. ... } .\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 .\OML/cmm/m/it/10 c .\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -155,7 +145,6 @@ TEST 3: \savebox as \sbox ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -168,13 +157,11 @@ TEST 3: \savebox as \sbox .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\mathon .\OML/cmm/m/it/10 y .\kern0.35878 (italic) @@ -188,13 +175,11 @@ l. ... } .\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 .\OML/cmm/m/it/10 c .\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\mathon .\OML/cmm/m/it/10 y .\kern0.35878 (italic) @@ -208,13 +193,11 @@ l. ... } .\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 .\OML/cmm/m/it/10 c .\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+1.94444)x62.58345, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 I .\OT1/cmr/m/n/10 n .\discretionary (penalty 50) @@ -231,13 +214,11 @@ l. ... } .\OT1/cmr/m/n/10 o .\OT1/cmr/m/n/10 u .\OT1/cmr/m/n/10 p -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\mathon .\OML/cmm/m/it/10 y .\kern0.35878 (italic) @@ -251,7 +232,6 @@ l. ... } .\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 .\OML/cmm/m/it/10 c .\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -266,7 +246,6 @@ TEST 4: \savebox to various widths ============================================================ > \box...= \hbox(6.94444+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -282,13 +261,11 @@ TEST 4: \savebox to various widths ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x20.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x20.0, glue set - 15.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -304,13 +281,11 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 25.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -326,13 +301,11 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x56.9723, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x56.9723, glue set 3.47223fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -348,7 +321,6 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -358,7 +330,6 @@ TEST 5: \savebox to width with alignment ============================================================ > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 25.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -374,13 +345,11 @@ TEST 5: \savebox to width with alignment ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 50.02786fil, direction TLT ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e @@ -395,13 +364,11 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 50.02786fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -416,7 +383,6 @@ l. ... } ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -437,7 +403,6 @@ Underfull \hbox (badness 10000) detected at line 87 .\OT1/cmr/m/n/10 d > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 30.0169, direction TLT ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e @@ -451,7 +416,6 @@ Underfull \hbox (badness 10000) detected at line 87 ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -461,7 +425,6 @@ TEST 6: \savebox picture mode syntax ============================================================ > \box...= \hbox(20.0+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(20.0+0.0)x10.0, glue set 6.52779fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT @@ -481,13 +444,11 @@ TEST 6: \savebox picture mode syntax ...\glue 0.0 plus 1.0fil minus 1.0fil ..\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(20.0+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(20.0+0.0)x10.0, glue set 13.05556fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT @@ -506,13 +467,11 @@ l. ... } ...\OT1/cmr/m/n/10 d ...\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(20.0+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(20.0+0.0)x10.0, glue set 13.05556fil, direction TLT ..\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT ...\glue 0.0 plus 1.0fil minus 1.0fil @@ -531,13 +490,11 @@ l. ... } ...\glue 0.0 plus 1.0fil minus 1.0fil ..\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(56.9055+0.0)x142.26378, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(56.9055+0.0)x142.26378, glue set 24.98053fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\hbox(6.94444+0.0)x142.26378, glue set 46.11797fil, direction TLT @@ -557,7 +514,6 @@ l. ... } ...\glue 0.0 plus 1.0fil minus 1.0fil ..\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -573,7 +529,6 @@ TEST 7: lrbox ============================================================ > \box...= \hbox(6.83331+0.0)x123.52777, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 S .\OT1/cmr/m/n/10 o .\OT1/cmr/m/n/10 m @@ -587,7 +542,6 @@ TEST 7: lrbox .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\hbox(6.83331+0.0)x69.19458, direction TLT -..\pdfcolorstack 0 push {0 g 0 G} ..\OT1/cmr/m/n/10 S ..\OT1/cmr/m/n/10 o ..\OT1/cmr/m/n/10 m @@ -602,8 +556,6 @@ TEST 7: lrbox ..\OT1/cmr/m/n/10 e ..\OT1/cmr/m/n/10 x ..\OT1/cmr/m/n/10 t -..\pdfcolorstack 0 pop -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -613,7 +565,6 @@ TEST 8: \usebox ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\OT1/cmr/m/n/10 H .\OT1/cmr/m/n/10 e .\OT1/cmr/m/n/10 l @@ -626,15 +577,12 @@ TEST 8: \usebox .\OT1/cmr/m/n/10 r .\OT1/cmr/m/n/10 l .\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x50.02786, direction TLT -..\pdfcolorstack 0 push {0 g 0 G} ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e ..\OT1/cmr/m/n/10 l @@ -647,8 +595,6 @@ l. ... } ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -..\pdfcolorstack 0 pop -.\pdfcolorstack 0 pop ! OK. \myboxb l. ... } diff --git a/l3trial/xbox/testfiles/xbox002.luatex.tlg b/l3trial/xbox/testfiles/xbox002.luatex.tlg index 59f945c490..37eaf6a79c 100644 --- a/l3trial/xbox/testfiles/xbox002.luatex.tlg +++ b/l3trial/xbox/testfiles/xbox002.luatex.tlg @@ -6,7 +6,6 @@ TEST 1: \mbox ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x50.02786, direction TLT ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e @@ -20,7 +19,6 @@ TEST 1: \mbox ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -30,7 +28,6 @@ LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line .... > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(5.83333+1.94444)x49.63992, direction TLT ..\mathon ..\OML/cmm/m/it/10 y @@ -45,13 +42,11 @@ LaTeX Font Info: External font `cmex10' loaded for size ..\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 ..\OML/cmm/m/it/10 c ..\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(5.83333+1.94444)x49.63992, direction TLT ..\mathon ..\OML/cmm/m/it/10 y @@ -66,7 +61,6 @@ l. ... } ..\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 ..\OML/cmm/m/it/10 c ..\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -76,7 +70,6 @@ TEST 2: \makebox as \mbox ============================================================ > \box...= \hbox(6.94444+0.0)x50.02786, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x50.02786, direction TLT ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e @@ -90,13 +83,11 @@ TEST 2: \makebox as \mbox ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(5.83333+1.94444)x49.63992, direction TLT ..\mathon ..\OML/cmm/m/it/10 y @@ -111,13 +102,11 @@ l. ... } ..\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 ..\OML/cmm/m/it/10 c ..\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(5.83333+1.94444)x49.63992, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(5.83333+1.94444)x49.63992, direction TLT ..\mathon ..\OML/cmm/m/it/10 y @@ -132,7 +121,6 @@ l. ... } ..\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217 ..\OML/cmm/m/it/10 c ..\mathoff -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -142,7 +130,6 @@ TEST 3: \makebox to various widths ============================================================ > \box...= \hbox(6.94444+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -158,13 +145,11 @@ TEST 3: \makebox to various widths ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x20.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x20.0, glue set - 15.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -180,13 +165,11 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 25.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -202,13 +185,11 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x56.9723, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x56.9723, glue set 3.47223fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -224,7 +205,6 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -234,7 +214,6 @@ TEST 4: \makebox to width with alignment ============================================================ > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 25.01393fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -250,13 +229,11 @@ TEST 4: \makebox to width with alignment ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 50.02786fil, direction TLT ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e @@ -271,13 +248,11 @@ l. ... } ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d ..\glue 0.0 plus 1.0fil minus 1.0fil -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 50.02786fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\OT1/cmr/m/n/10 H @@ -292,7 +267,6 @@ l. ... } ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -313,7 +287,6 @@ Underfull \hbox (badness 10000) detected at line 66 .\OT1/cmr/m/n/10 d > \box...= \hbox(6.94444+0.0)x100.05573, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\hbox(6.94444+0.0)x100.05573, glue set 30.0169, direction TLT ..\OT1/cmr/m/n/10 H ..\OT1/cmr/m/n/10 e @@ -327,7 +300,6 @@ Underfull \hbox (badness 10000) detected at line 66 ..\OT1/cmr/m/n/10 r ..\OT1/cmr/m/n/10 l ..\OT1/cmr/m/n/10 d -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } @@ -337,7 +309,6 @@ TEST 5: \makebox picture mode syntax ============================================================ > \box...= \hbox(20.0+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(20.0+0.0)x10.0, glue set 6.52779fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT @@ -357,13 +328,11 @@ TEST 5: \makebox picture mode syntax ...\glue 0.0 plus 1.0fil minus 1.0fil ..\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(20.0+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(20.0+0.0)x10.0, glue set 13.05556fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT @@ -382,13 +351,11 @@ l. ... } ...\OT1/cmr/m/n/10 d ...\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(20.0+0.0)x10.0, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(20.0+0.0)x10.0, glue set 13.05556fil, direction TLT ..\hbox(6.94444+0.0)x10.0, glue set - 20.01393fil, direction TLT ...\glue 0.0 plus 1.0fil minus 1.0fil @@ -407,13 +374,11 @@ l. ... } ...\glue 0.0 plus 1.0fil minus 1.0fil ..\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... } > \box...= \hbox(56.9055+0.0)x142.26378, direction TLT -.\pdfcolorstack 0 push {0 g 0 G} .\vbox(56.9055+0.0)x142.26378, glue set 24.98053fil, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil ..\hbox(6.94444+0.0)x142.26378, glue set 46.11797fil, direction TLT @@ -433,7 +398,6 @@ l. ... } ...\glue 0.0 plus 1.0fil minus 1.0fil ..\glue 0.0 plus 1.0fil minus 1.0fil ..\kern0.0 -.\pdfcolorstack 0 pop ! OK. \myboxa l. ... }