[latex3-commits] [git/LaTeX3-latex3-latex2e] gh444: test file for gh444 with the bugs (6ba1be7a)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon Apr 26 19:34:46 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : gh444
Link : https://github.com/latex3/latex2e/commit/6ba1be7a449b623f4f665eab41e6869948bae221
>---------------------------------------------------------------
commit 6ba1be7a449b623f4f665eab41e6869948bae221
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Apr 26 19:34:46 2021 +0200
test file for gh444 with the bugs
>---------------------------------------------------------------
6ba1be7a449b623f4f665eab41e6869948bae221
base/testfiles/github-0444b.luatex.tlg | 22 ++++++++++++++
base/testfiles/github-0444b.lvt | 54 ++++++++++++++++++++++++++++++++++
base/testfiles/github-0444b.tlg | 21 +++++++++++++
3 files changed, 97 insertions(+)
diff --git a/base/testfiles/github-0444b.luatex.tlg b/base/testfiles/github-0444b.luatex.tlg
new file mode 100644
index 00000000..6a6a00e4
--- /dev/null
+++ b/base/testfiles/github-0444b.luatex.tlg
@@ -0,0 +1,22 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+Issue 1: we should get bx? not in the first case
+1a: \OT1/cmr/b/n/10
+1b: \OT1/cmr/b/n/10
+1c: \OT1/cmr/bx/n/10
+Issue 2: normalfont and usefont should unconditionally set the face
+2a: \OT1/cmr/b/n/10
+2b: \OT1/cmr/m/it/10
+2c: \OT1/cmr/b/n/10
+2d: \OT1/cmr/m/it/10
+Issue 3:
+3a: \OT1/cmr/m/n/10
+LaTeX Font Info: Trying to load font information for OT1+lmr on input line ...
+8.
+3b: \OT1/lmr/b/n/10
+3c: \OT1/cmr/b/n/10
+3d: \OT1/cmr/m/n/10
+3e: \OT1/lmr/b/n/10
+3f: \OT1/cmr/bx/n/10
+[1
+] (github-0444b.aux)
diff --git a/base/testfiles/github-0444b.lvt b/base/testfiles/github-0444b.lvt
new file mode 100644
index 00000000..db91ce81
--- /dev/null
+++ b/base/testfiles/github-0444b.lvt
@@ -0,0 +1,54 @@
+\documentclass{article}
+
+\input{test2e}
+
+\def\showit#1#2{{#2 \showfont{#1}}}
+\def\showfont#1{\typeout{#1: \the\font}}
+
+
+\begin{document}
+
+\START
+
+\typeout{Issue 1: we should get bx? not in the first case}
+
+\showit{1a}{\fontseries{b}\rmfamily Lorem ipsum }
+
+\showit{1b}{\rmfamily\fontseries{b}\selectfont Lorem ipsum }
+
+\showit{1c}{\fontseries{b}\selectfont\rmfamily Lorem ipsum }
+
+
+\typeout{Issue 2: normalfont and usefont should unconditionally set the face}
+
+\showit{2a}{\fontseries{b}\normalfont Lorem ipsum}%gives b
+
+\showit{2b}{\fontshape{it}\normalfont Lorem ipsum}%gives it
+
+\showit{2c}{\fontseries{b}\usefont{OT1}{cmr}{m}{n} Lorem ipsum}%gives b
+
+\showit{2d}{\fontshape{it}\usefont{OT1}{cmr}{m}{n} Lorem ipsum}%gives it
+
+
+\typeout{Issue 3: }
+
+{
+\fontseriesforce{m}\selectfont Lorem ipsum forced \showfont{3a}
+
+\usefont{OT1}{lmr}{b}{n} Lorem ipsum \showfont{3b}
+
+\rmfamily Lorem ipsum you get \showfont{3c}
+
+}
+
+{
+\fontseries{m}\selectfont Lorem ipsum not forced\showfont{3d}
+
+\usefont{OT1}{lmr}{b}{n} Lorem ipsum \showfont{3e}
+
+\rmfamily Lorem ipsum works: you get bx \showfont{3f}
+}
+
+
+
+\end{document}
diff --git a/base/testfiles/github-0444b.tlg b/base/testfiles/github-0444b.tlg
new file mode 100644
index 00000000..8a25578b
--- /dev/null
+++ b/base/testfiles/github-0444b.tlg
@@ -0,0 +1,21 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+Issue 1: we should get bx? not in the first case
+1a: \OT1/cmr/b/n/10
+1b: \OT1/cmr/b/n/10
+1c: \OT1/cmr/bx/n/10
+Issue 2: normalfont and usefont should unconditionally set the face
+2a: \OT1/cmr/b/n/10
+2b: \OT1/cmr/m/it/10
+2c: \OT1/cmr/b/n/10
+2d: \OT1/cmr/m/it/10
+Issue 3:
+3a: \OT1/cmr/m/n/10
+LaTeX Font Info: Trying to load font information for OT1+lmr on input line ....
+3b: \OT1/lmr/b/n/10
+3c: \OT1/cmr/b/n/10
+3d: \OT1/cmr/m/n/10
+3e: \OT1/lmr/b/n/10
+3f: \OT1/cmr/bx/n/10
+[1
+] (github-0444b.aux)
More information about the latex3-commits
mailing list.