[latex3-commits] [git/LaTeX3-latex3-latex2e] nfssaxes: don't use color (only pretend) (085435fc)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Oct 9 16:08:51 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : nfssaxes
Link       : https://github.com/latex3/latex2e/commit/085435fc7c27d517dcf44ec2b331af98871e803d

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

commit 085435fc7c27d517dcf44ec2b331af98871e803d
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Oct 9 16:08:51 2019 +0200

    don't use color (only pretend)


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

085435fc7c27d517dcf44ec2b331af98871e803d
 base/config-search.lua                     |  2 -
 base/testfiles-search/tlb-nfssaxes-004.lvt | 14 ++++---
 base/testfiles-search/tlb-nfssaxes-004.tlg | 66 +++++++++++++++---------------
 3 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/base/config-search.lua b/base/config-search.lua
index 449f1242..49d8de25 100644
--- a/base/config-search.lua
+++ b/base/config-search.lua
@@ -6,5 +6,3 @@ checksearch  = true
 testfiledir  = "./testfiles-search"
 
 testsuppdir  = testfiledir .. "/support"
-
-checkdeps = {maindir .. "/required/graphics"}
diff --git a/base/testfiles-search/tlb-nfssaxes-004.lvt b/base/testfiles-search/tlb-nfssaxes-004.lvt
index 740bf0f4..3604a564 100644
--- a/base/testfiles-search/tlb-nfssaxes-004.lvt
+++ b/base/testfiles-search/tlb-nfssaxes-004.lvt
@@ -2,11 +2,13 @@
 
 \input{test2e}
 
-\usepackage{color}
+% \usepackage{color}
+% instead of loading color de do
+\DeclareRobustCommand\color[1]{\def\currentcolor{#1}}
+\color{black}
 
 \makeatletter
-\def\showresult#1#2{#2\typeout{\detokenize{#2} -> \csname f@#1\endcsname}}
-\def\showfont{\typeout{\f at encoding/\f at family/\f at series/\f at shape}}
+\def\showfont{\typeout{\f at encoding/\f at family/\f at series/\f at shape \space (color: \currentcolor)}}
 \makeatother
 
 \begin{document}
@@ -40,7 +42,7 @@
 
 
 
-\typeout{========== it, sc, scit, but it already in force ==========}
+\typeout{========== it, sc, scit, but it already used ==========}
 \emfontdeclare{\itshape,\upshape\scshape,\itshape}
 \textit{% italics already in force
 \emph{\showfont First
@@ -50,7 +52,7 @@
 \emph{\showfont fifth}}}}}
 }
 
-\typeout{========== it, blue, bf, sc (but without emforce)  ==========}
+\typeout{========== it, blue, bf, sc (but without \string\emforce)  ==========}
 \emfontdeclare{\itshape,\color{blue},\bfseries,\color{black}\scshape}
 \emph{\showfont First
 \emph{\showfont second
@@ -60,7 +62,7 @@
 
   
 
-\typeout{========== it, blue, bf, sc (now with emforce)  ==========}
+\typeout{========== it, blue, bf, sc (now with \string\emforce)  ==========}
 \emfontdeclare{\itshape,\color{blue}\emforce,\bfseries,\color{black}\scshape}
 \emph{\showfont First
 \emph{\showfont second
diff --git a/base/testfiles-search/tlb-nfssaxes-004.tlg b/base/testfiles-search/tlb-nfssaxes-004.tlg
index e94eb106..fd5041b3 100644
--- a/base/testfiles-search/tlb-nfssaxes-004.tlg
+++ b/base/testfiles-search/tlb-nfssaxes-004.tlg
@@ -1,49 +1,49 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
 ========== std LaTeX ==========
-OT1/cmr/m/it
-OT1/cmr/m/n
-OT1/cmr/m/it
-OT1/cmr/m/n
-OT1/cmr/m/it
+OT1/cmr/m/it (color: black)
+OT1/cmr/m/n (color: black)
+OT1/cmr/m/it (color: black)
+OT1/cmr/m/n (color: black)
+OT1/cmr/m/it (color: black)
 ========== it, sc, scit ==========
-OT1/cmr/m/it
-OT1/cmr/m/sc
+OT1/cmr/m/it (color: black)
+OT1/cmr/m/sc (color: black)
 LaTeX Font Warning: Font shape `OT1/cmr/m/scit' undefined
 (Font)              using `OT1/cmr/m/it' instead on input line ....
-OT1/cmr/m/it
-OT1/cmr/m/n
-OT1/cmr/m/it
+OT1/cmr/m/it (color: black)
+OT1/cmr/m/n (color: black)
+OT1/cmr/m/it (color: black)
 ========== it, sc, scit, but with supported font ==========
 LaTeX Font Info:    Trying to load font information for OT1+qpl on input line ....
-OT1/qpl/m/it
-OT1/qpl/m/sc
-OT1/qpl/m/scit
-OT1/qpl/m/n
-OT1/qpl/m/it
-========== it, sc, scit, but it already in force ==========
-OT1/qpl/m/sc
-OT1/qpl/m/scit
-OT1/qpl/m/n
-OT1/qpl/m/it
-OT1/qpl/m/sc
-========== it, blue, bf, sc (but without emforce) ==========
-OT1/qpl/m/it
+OT1/qpl/m/it (color: black)
+OT1/qpl/m/sc (color: black)
+OT1/qpl/m/scit (color: black)
+OT1/qpl/m/n (color: black)
+OT1/qpl/m/it (color: black)
+========== it, sc, scit, but it already used ==========
+OT1/qpl/m/sc (color: black)
+OT1/qpl/m/scit (color: black)
+OT1/qpl/m/n (color: black)
+OT1/qpl/m/it (color: black)
+OT1/qpl/m/sc (color: black)
+========== it, blue, bf, sc (but without \emforce) ==========
+OT1/qpl/m/it (color: black)
 LaTeX Font Info:    Font shape `OT1/qpl/bx/it' in size <10> not available
 (Font)              Font shape `OT1/qpl/b/it' tried instead on input line ...
-OT1/qpl/bx/it
+OT1/qpl/bx/it (color: blue)
 LaTeX Font Info:    Font shape `OT1/qpl/bx/scit' in size <10> not available
 (Font)              Font shape `OT1/qpl/b/scit' tried instead on input line ....
-OT1/qpl/bx/scit
+OT1/qpl/bx/scit (color: black)
 LaTeX Font Info:    Font shape `OT1/qpl/bx/n' in size <10> not available
 (Font)              Font shape `OT1/qpl/b/n' tried instead on input line ...
-OT1/qpl/bx/n
-OT1/qpl/bx/it
-========== it, blue, bf, sc (now with emforce) ==========
-OT1/qpl/m/it
-OT1/qpl/m/it
-OT1/qpl/bx/it
-OT1/qpl/bx/scit
-OT1/qpl/bx/n
+OT1/qpl/bx/n (color: black)
+OT1/qpl/bx/it (color: black)
+========== it, blue, bf, sc (now with \emforce) ==========
+OT1/qpl/m/it (color: black)
+OT1/qpl/m/it (color: blue)
+OT1/qpl/bx/it (color: blue)
+OT1/qpl/bx/scit (color: black)
+OT1/qpl/bx/n (color: black)
 [1
 ]





More information about the latex3-commits mailing list