summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/opmac/fontfam.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-03 21:31:31 +0000
committerKarl Berry <karl@freefriends.org>2016-05-03 21:31:31 +0000
commit23ec1d8f81a005ed2c9f96fd3037a36a80acb6e2 (patch)
tree3e0a90863ba179580665b57346ccdcbfdd749a67 /Master/texmf-dist/tex/csplain/opmac/fontfam.tex
parentbe75a0741713bc316a35792a635625bb6835d960 (diff)
csplain (3may16)
git-svn-id: svn://tug.org/texlive/trunk@40870 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/opmac/fontfam.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/opmac/fontfam.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/csplain/opmac/fontfam.tex b/Master/texmf-dist/tex/csplain/opmac/fontfam.tex
index 519249fbb83..863f5051860 100644
--- a/Master/texmf-dist/tex/csplain/opmac/fontfam.tex
+++ b/Master/texmf-dist/tex/csplain/opmac/fontfam.tex
@@ -10,7 +10,7 @@
% Font Family Names if unknown. Example:
% \fontfam [Times] or \fontfam [Times Roman] ... does \input ctimes
-% See end of this file this for more details.
+% See end of this file for more details.
\ifx\OPmacversion\udefined \input opmac \fi
@@ -58,6 +58,8 @@
}
\def\famalias#1#2{\slet{fs:#1}{fs:#2}}
+\def\fontfamnote#1{\addto\fontfamL{\fontfamnoteA{#1}}}
+\def\fontfamnoteA#1{\immediate\write16{=== #1 ===}}
\input fontfam-global
@@ -119,6 +121,8 @@ And \famalias can be used:
The aliasname and origname must be lowecase and without spaces. See
fontfam-global.tex for examples.
+\fontfamnote{text} prints text to the listing of font families.
+
Note that the macro file fontfam.tex and the data fontfam-global.tex and
fontfam-local.tex are read on demand only when \fontfam macro is used in
OPmac. It is not loaded by OPmac directly because user may not need to use