[latex3-commits] [git/LaTeX3-latex3-latex2e] textcomp: added forgotten command (67fbb2e)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Apr 10 16:42:24 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : textcomp
Link : https://github.com/latex3/latex2e/commit/67fbb2ecd039b414224f2b5e4d509cc19c3c7f31
>---------------------------------------------------------------
commit 67fbb2ecd039b414224f2b5e4d509cc19c3c7f31
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Apr 10 16:42:24 2019 +0200
added forgotten command
>---------------------------------------------------------------
67fbb2ecd039b414224f2b5e4d509cc19c3c7f31
base/textcomp-adds.tex | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/base/textcomp-adds.tex b/base/textcomp-adds.tex
index 886f4f0..1725d4f 100644
--- a/base/textcomp-adds.tex
+++ b/base/textcomp-adds.tex
@@ -117,14 +117,25 @@
\@onlypreamble\DeclareEncodingSubset
-
+% maybe that should be kernel error now ...
+\def\tc at errorwarn{\PackageError}
\def\tc at error#1{%
- \PackageError{textcomp}% % should be latex error if general
+ \tc at errorwarn{textcomp}% % should be latex error if general
{Accent \string#1 not provided by\MessageBreak
font family \f at family\space
in TS1 encoding}\@eha
}
+
+\def\tc at subst#1{%
+ \tc at errorwarn{textcomp}% % should be latex error if general
+ {Symbol \string#1 not provided by\MessageBreak
+ font family \f at family\space
+ in TS1 encoding.\MessageBreak Default family used instead}\@eha
+ \bgroup\fontfamily\textcompsubstdefault\selectfont#1\egroup
+}
+
+
\def\tc at fake@euro#1{%
\leavevmode
\PackageInfo{textcomp}{Faking \noexpand#1for font family
More information about the latex3-commits
mailing list