blob: 56ac94e3c536c494d059f135d0468f7359adb83a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
%% fontfam-catalog.tex
%%%%%%%%%%%%%%%%%%%%%%
% Petr Olsak, 2016
% This is module for OPmac macros, see http://petr.olsak.net/opmac.html
% This module is automatically loaded when \fontfam[Catalog] is used.
% See end of the file fontfam.tex for more details.
\def\fontfamexecC#1#2#3#4#5#6#7{\testfotenc{#6}%
\iftrue\ifx\relax#2\relax \else
\par #7
\edef\basicfont{\fontname\the\font}%
\noindent {[#1]}\par\nobreak
\def\variants{#2}
\pcatA {}#3\relax
\medskip
\fi\fi
}
\def\pcatA#1{\ifx#1\relax\par\else
\def\prefix{#1}\expandafter\pcatB\variants\relax
\expandafter\pcatA\fi
}
\def\pcatB#1{\ifx#1\relax\par\else
\indent
{\currtt \ifx\prefix\empty \else \expandafter\string\prefix\fi
\string#1 }{\prefix#1%
\edef\tmp{\ifx\prefix\empty\else\fontname\the\font\fi}%
\ifx\tmp\basicfont {\currtt Not available}\else \fontfamsample \fi
\par}%
\expandafter\pcatB\fi
}
\nonum\sec Font Catalogue
\begingroup
Generated \the\day/\the\month/\the\year\space by
{\tt \string\fontfam[Catalog]} (from OPmac).
Encoding: \fotenc, \dimen0=\baselineskip
size: \expandafter\ignorept\the\fontdim /\expandafter\ignorept\the\dimen0
\bigskip
\ifx\sizespec\empty \def\sizespec{at10pt}\fi
\letfont\currtt=\tentt
\ifx\loadmathfonts\undefined \let\loadmathfonts=\relax \fi
\let\fontfamexec=\fontfamexecC
\ifx\fontfamsample\undefined
\def\fontfamsample{ABCDabcd áéíóúů řžč ÁÉÍÓÚŮ ŘŽČ 0123456789}
\fi
\fontfamL
\endgroup
\endinput
|