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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
|
=====//===== \\ // ____
// \\ // |\ /| //
// //====== \V/ ||\ //| \\
// // // \\ || \// | /\ \\ ===\
// //==== // \\ || | // \ \\ |
// // // \\ || | //===\ \\___/
//======= // \
Volume 4 Number 6
A Mostly Unofficial Publication for
Users of the TeX Typesetting System
Contents
Departments
\footnote{}........................................................2
Letters to the Editor..............................................4
ToolBox............................................................5
Feature
Summary of Metafont Files Available................................6
TeXMaG Volume 4 Number 6 page 2
_______________________________________________________________________________
| |
| \footnote{On the Horizon} |
|_____________________________________________________________________________|
Looking back a couple issues, I noticed I had promised a mailer macro
for a coming issue. Needless to say it hasn't surfaced. It is actually
nearly complete, but was pushed aside in favor of some other local
activities like starting a local TUG. I do hope to include it sometime
in the near future.
I also mentioned last month the new releases of TeX 3.1 and MF 2.7,
with a note questioning the numbering scheme for MF. Well rumor has it
that the version number for TeX is approaching $\pi$ and MF is
approaching $e$. Just a tidbit for those of you who might be
interested. What else can you expect from a mathematical typesetter?
Things to be expecting over the next few months are the aforemen-
tioned mailer macro, software reviews on TeX packages for typesetting
both music and theses, and whatever else I happen to stumble across
between now and whenever.
-neil
p.s. There also seemed to be some confusion regarding the BiBTeX
Macros that I said were located at the ymir archive. The appropriate
files should be in the [ANONYMOUS.TEX.BIBTEX.STANDARD] directory.
TeXMaG Volume 4 Number 6 page 3
_______________________________________________________________________________
| |
| Letters to the Editor |
|_____________________________________________________________________________|
Hi you there,
This is to ask you to fix a bug at the end of each TeXMaG issue. You
state that "for SPAN archive see below" but .... there is no below!!
As I am looking after the SPAN/DECNET archive, could you please say
something like: "Those who are on SPAN can get in touch with Max
Calvani at 39003::CALVANI for infos about SPAN archive..."
Thanks,
Max
[oops...well, i'm embarassed! But it's fixed now! -ed.]
TeXMaG Volume 4 Number 6 page 4
_______________________________________________________________________________
| |
| The ToolBox |
|_____________________________________________________________________________|
The following was submitted to me from Thomas Dunbar (or so I suppose
it was he as his name appears as the author). I don't have a
postscript printer to try it on, but knew many of you do, and would
find this interesting.
%%%%%%<cut here>------------------------------------------------------
%this file is an example of using postscript specials to give
% headings a gray background
\hsize=5.7in \font\twelverm=cmr12 \font\twelvebb=cmb10 at 12pt
\font\fourteenbf=cmb10 scaled\magstep2 \nopagenumbers
\newdimen\grayht \newcount\grayheight
\def\getgrayheight#1#2#3{\grayht=#1bp \grayheight=#1 \setbox0=\vbox{#3}
\loop \ifdim\grayht < \ht0
\advance \grayht by\baselineskip \advance \grayheight by #2 \repeat}
\def\graybar#1#2#3#4#5{\special{ps::[local]
gsave #1 setgray #2 #3 rmoveto #4 0 rlineto 0 -#5 rlineto
-#4 0 rlineto 0 #5 rlineto closepath fill grestore}}
\def\grayhead{\graybar{.8}{-6}{13}{216}{\the\grayheight}}
\def\graybhead{\graybar{.7}{-28.8}{15}{12}{\the\grayheight}}
\def\graythead{\graybar{.8}{-6}{15}{380}{\the\grayheight}}
\def\grayahead{\graybar{.7}{-28.8}{13}{12}{\the\grayheight}}
\def\heada#1{{\hsize=210bp\vskip 24pt plus6pt minus4pt
{\twelvebb\parindent=6pt \baselineskip=14bp
\getgrayheight{20}{14}{#1}\item{}\grayhead #1\par}
\vskip 24pt plus 6pt minus 4pt}}
\def\startart#1#2{{\fourteenbf\baselineskip17bp\raggedright\hyphenpenalty=9000
\parindent=.4in\getgrayheight{22}{17}{#1}\item{}\graybhead\graythead#1\par}
{\twelverm\vglue 12pt plus6pt\parindent=.4in\baselineskip=14bp
\getgrayheight{20}{14}{#2} \item{}\grayahead #2\par} \vskip 4pt }
\startart{A Test of Inserting Postscript Code Into \TeX\ for
Graybars -- use with dvips}{Thomas Dunbar, ClearVu Technical Writing
{\tt\quad Bitnet:gstd at vtvm2}} \hsize=4in
\heada{1. Caveats\hfil\break and Cautions}
Warning: your print shop may not be able to use your pretty slick since
they may have difficulty photographing the graybar! The solution is to have
the linotronic print directly to film.
This file makes use of Arbortext's special for dvips: the current dvi
location is made the postscript {\tt currentpoint} and the default
postscript coordinate system and scaling (unit=bp) are used.
\heada{2. Code}
The coding is straightforward postscript except that the height of
the box is calculated via \TeX. If needed, the width could be
computed similarly. Note that the bar is to be painted first so the
text can overlay it.
\bye
%%%%%%<cut here>------------------------------------------------------
TeXMaG Volume 4 Number 6 page 5
_______________________________________________________________________________
| |
| Summary of Metafont Fonts Available |
|_____________________________________________________________________________|
by Liam R. E. Quin
[I ran across this informative article and thought I'd pass it along.
Address any correspondence to the author at:
lee@sq.com, SoftQuad Inc., Toronto, +1 (416) 963-8337
and of course you can drop me a note too! :-) -ed.]
This list includes all known fonts available in metafont format, whether
public domain or not. Archive sites for ftp are listed where known.
There is also a BITNET archive at LISTSERV@UBVM.CC.BUFFALO.EDU.
I also included some notes on how to use the fonts, in the (probably vain)
hope of avoiding a deluge of questions on the net. Note that I cannot
give instructions for specific packages, and I cannot answer questions
about specific printers. I have included some information about TeX and
troff, but I can't go into more much more detail over the net (i.e. I am
not offering to provide detailed technical support).
Contents:
About Metafont
What you need in order to use the fonts
How to use Metafont fonts with TeX
How to use Metafont fonts with Troff
Where to get bitmap versions of the fonts
Converting between font formats
Getting fonts by FTP and Mail
Fonts:
AMS (see under Euler)
APL (A Programming Language)
Babel -- language support
Bar Code
Chess
Chinese
Committee
Computer Modern
Concrete
Cyrillic
Duerer
Devanagari
Dingbats
Euler
Godel
Greek
Hebrew
Hershey
Helvetica
International Phonetic Alphabet
Music
OCR (Optical Character Recognition)
Oriya
Pandora
Pica
Pointing Hands
Punk
page 6
______________________________________________________________________
Sanskrit (see Fonts: Devanagari)
Sauter
Tengwar
Thai
Vietnamese
************************
About Metafont
************************
Metafont is a programming language for describing fonts. It was
written by Donald Knuth and is documented in
Computers & Typesetting/C: The METAFONTbook
Knuth, Donald E.
Addison Wesley, 1986
ISBN 0-201-13445-4, or 0-201-13444-6 (soft cover)
Library access: Z250.8.M46K58, or 686.2'24, or 85-28675.
A font written in Metafont is actually a computer program which, when
run, will generate a bitmap (`raster') for a given typeface at a given
size, for some particular device.
************************
What you need in order
to use the fonts
************************
You cannot print the metafont files directly (unless you want a
listing of the program, that is). Instead, you must generate a bitmap
font and use that to print something. If you have TeX or troff, the
process for doing this is outlined below. This is not meant to be
compete documentation, though, but simply enough to get you started.
If you want to use a font generated by metafont on an HP LaserJet, for
example, you must follow this general procedure:
- Generate the bitmap font with Metafont.
This will produce a file called (for example) "myfont10.300gf".
- Convert this to a pk format file -- the pk format is much more
compact, and is used by most software in preference to gf files.
You can use gftopk (which comes with metafont, or in a package
called mfware).
$ gftopk myfont10.300gf
$
This produces myfont10.300pk
- Convert the pk-format font into one suitable for your printer. For
an HP, there are several utilities -- the one I use is called pk2sfp:
$ pk2sfp myfont10.300pk > myfont10.300sfp
You will have to find this program. If you are using TeX you do not
need it, though -- see "Converting between font formats" below.
- Download the font to the printer. You will need to do more than
simply send the file to the printer. For example, on the HP you
must send an escape sequence like ESC*c100D to tell the printer
there's a font coming, and that it's going to be font number 100.
You then send the font, and then in the rest of the job say
something like ESC*c100ESC*c4FESC (100X to tell the printer you've
finished, and to start using the font. (ESC in these examples
stands for the ASCII Escape, chracter 033 octal, 27 in decimal). All
of this must be in the same print job.
Doing this without going insane involves setting up macros or
shell-scripts to automate it for you.
Library access: Z250.8.M46K58, or 686.2'24, or 85-28675.
A font written in Metafont is actually a computer program which, when
run, will generate a bitmap (`raster') for a given typeface at a given
size, for some particular device.
************************
What you need in order
to use the fonts
************************
You cannot print the metafont files directly (unless you want a
listing of the program, that is). Instead, you must generate a bitmap
font and use that to print something. If you have TeX or troff, the
process for doing this is outlined below. This is not meant to be
compete documentation, though, but simply enough to get you started.
If you want to use a font generated by metafont on an HP LaserJet, for
example, you must follow this general procedure:
- Generate the bitmap font with Metafont.
This will produce a file called (for example) "myfont10.300gf".
- Convert this to a pk format file -- the pk format is much more
compact, and is used by most software in preference to gf files.
You can use gftopk (which comes with metafont, or in a package
called mfware).
$ gftopk myfont10.300gf
$
This produces myfont10.300pk
- Convert the pk-format font into one suitable for your printer. For
an HP, there are several utilities -- the one I use is called pk2sfp:
$ pk2sfp myfont10.300pk > myfont10.300sfp
You will have to find this program. If you are using TeX you do not
need it, though -- see "Converting between font formats" below.
- Download the font to the printer. You will need to do more than
simply send the file to the printer. For example, on the HP you
must send an escape sequence like ESC*c100D to tell the printer
Date: Tue, 6 Nov 90 17:58 CST
From: Neil Burleson --- ACS TeX Support <NABTEXM@TAMVENUS>
Subject: TeXMaG V4N6 (part 1 of 3) --- second try
To: texmag-l@irlearn
Original_To: JNET%"texmag-l@irlearn"
=====//===== \\ // ____
// \\ // |\ /| //
// //====== \V/ ||\ //| \\
// // // \\ || \// | /\ \\ ===\
// //==== // \\ || | // \ \\ |
// // // \\ || | //===\ \\___/
//======= // \
Volume 4 Number 6
A Mostly Unofficial Publication for
Users of the TeX Typesetting System
Contents
Departments
\footnote{}........................................................2
Letters to the Editor..............................................4
ToolBox............................................................5
Feature
Summary of Metafont Files Available................................6
TeXMaG Volume 4 Number 6 page 2
_______________________________________________________________________________
| |
| \footnote{On the Horizon} |
|_____________________________________________________________________________|
Looking back a couple issues, I noticed I had promised a mailer macro
for a coming issue. Needless to say it hasn't surfaced. It is actually
nearly complete, but was pushed aside in favor of some other local
activities like starting a local TUG. I do hope to include it sometime
in the near future.
I also mentioned last month the new releases of TeX 3.1 and MF 2.7,
with a note questioning the numbering scheme for MF. Well rumor has it
that the version number for TeX is approaching $\pi$ and MF is
approaching $e$. Just a tidbit for those of you who might be
interested. What else can you expect from a mathematical typesetter?
Things to be expecting over the next few months are the aforemen-
tioned mailer macro, software reviews on TeX packages for typesetting
both music and theses, and whatever else I happen to stumble across
between now and whenever.
-neil
p.s. There also seemed to be some confusion regarding the BiBTeX
Macros that I said were located at the ymir archive. The appropriate
files should be in the [ANONYMOUS.TEX.BIBTEX.STANDARD] directory.
TeXMaG Volume 4 Number 6 page 3
_______________________________________________________________________________
| |
| Letters to the Editor |
|_____________________________________________________________________________|
Hi you there,
This is to ask you to fix a bug at the end of each TeXMaG issue. You
state that "for SPAN archive see below" but .... there is no below!!
As I am looking after the SPAN/DECNET archive, could you please say
something like: "Those who are on SPAN can get in touch with Max
Calvani at 39003::CALVANI for infos about SPAN archive..."
Thanks,
Max
[oops...well, i'm embarassed! But it's fixed now! -ed.]
TeXMaG Volume 4 Number 6 page 4
_______________________________________________________________________________
| |
| The ToolBox |
|_____________________________________________________________________________|
The following was submitted to me from Thomas Dunbar (or so I suppose
it was he as his name appears as the author). I don't have a
postscript printer to try it on, but knew many of you do, and would
find this interesting.
%%%%%%<cut here>------------------------------------------------------
%this file is an example of using postscript specials to give
% headings a gray background
\hsize=5.7in \font\twelverm=cmr12 \font\twelvebb=cmb10 at 12pt
\font\fourteenbf=cmb10 scaled\magstep2 \nopagenumbers
\newdimen\grayht \newcount\grayheight
\def\getgrayheight#1#2#3{\grayht=#1bp \grayheight=#1 \setbox0=\vbox{#3}
\loop \ifdim\grayht < \ht0
\advance \grayht by\baselineskip \advance \grayheight by #2 \repeat}
\def\graybar#1#2#3#4#5{\special{ps::[local]
gsave #1 setgray #2 #3 rmoveto #4 0 rlineto 0 -#5 rlineto
-#4 0 rlineto 0 #5 rlineto closepath fill grestore}}
\def\grayhead{\graybar{.8}{-6}{13}{216}{\the\grayheight}}
\def\graybhead{\graybar{.7}{-28.8}{15}{12}{\the\grayheight}}
\def\graythead{\graybar{.8}{-6}{15}{380}{\the\grayheight}}
\def\grayahead{\graybar{.7}{-28.8}{13}{12}{\the\grayheight}}
\def\heada#1{{\hsize=210bp\vskip 24pt plus6pt minus4pt
{\twelvebb\parindent=6pt \baselineskip=14bp
\getgrayheight{20}{14}{#1}\item{}\grayhead #1\par}
\vskip 24pt plus 6pt minus 4pt}}
\def\startart#1#2{{\fourteenbf\baselineskip17bp\raggedright\hyphenpenalty=9000
\parindent=.4in\getgrayheight{22}{17}{#1}\item{}\graybhead\graythead#1\par}
{\twelverm\vglue 12pt plus6pt\parindent=.4in\baselineskip=14bp
\getgrayheight{20}{14}{#2} \item{}\grayahead #2\par} \vskip 4pt }
\startart{A Test of Inserting Postscript Code Into \TeX\ for
Graybars -- use with dvips}{Thomas Dunbar, ClearVu Technical Writing
{\tt\quad Bitnet:gstd at vtvm2}} \hsize=4in
\heada{1. Caveats\hfil\break and Cautions}
Warning: your print shop may not be able to use your pretty slick since
they may have difficulty photographing the graybar! The solution is to have
the linotronic print directly to film.
This file makes use of Arbortext's special for dvips: the current dvi
location is made the postscript {\tt currentpoint} and the default
postscript coordinate system and scaling (unit=bp) are used.
\heada{2. Code}
The coding is straightforward postscript except that the height of
the box is calculated via \TeX. If needed, the width could be
computed similarly. Note that the bar is to be painted first so the
text can overlay it.
\bye
%%%%%%<cut here>------------------------------------------------------
TeXMaG Volume 4 Number 6 page 5
_______________________________________________________________________________
| |
| Summary of Metafont Fonts Available |
|_____________________________________________________________________________|
by Liam R. E. Quin
[I ran across this informative article and thought I'd pass it along.
Address any correspondence to the author at:
lee@sq.com, SoftQuad Inc., Toronto, +1 (416) 963-8337
and of course you can drop me a note too! :-) -ed.]
This list includes all known fonts available in metafont format, whether
public domain or not. Archive sites for ftp are listed where known.
There is also a BITNET archive at LISTSERV@UBVM.CC.BUFFALO.EDU.
I also included some notes on how to use the fonts, in the (probably vain)
hope of avoiding a deluge of questions on the net. Note that I cannot
give instructions for specific packages, and I cannot answer questions
about specific printers. I have included some information about TeX and
troff, but I can't go into more much more detail over the net (i.e. I am
not offering to provide detailed technical support).
Contents:
About Metafont
What you need in order to use the fonts
How to use Metafont fonts with TeX
How to use Metafont fonts with Troff
Where to get bitmap versions of the fonts
Converting between font formats
Getting fonts by FTP and Mail
Fonts:
AMS (see under Euler)
APL (A Programming Language)
Babel -- language support
Bar Code
Chess
Chinese
Committee
Computer Modern
Concrete
Cyrillic
Duerer
Devanagari
Dingbats
Euler
Godel
Greek
Hebrew
Hershey
Helvetica
International Phonetic Alphabet
Music
OCR (Optical Character Recognition)
Oriya
Pandora
Pica
Pointing Hands
Punk
page 6
______________________________________________________________________
Sanskrit (see Fonts: Devanagari)
Sauter
Tengwar
Thai
Vietnamese
************************
About Metafont
************************
Metafont is a programming language for describing fonts. It was
written by Donald Knuth and is documented in
Computers & Typesetting/C: The METAFONTbook
Knuth, Donald E.
Addison Wesley, 1986
ISBN 0-201-13445-4, or 0-201-13444-6 (soft cover)
Library access: Z250.8.M46K58, or 686.2'24, or 85-28675.
A font written in Metafont is actually a computer program which, when
run, will generate a bitmap (`raster') for a given typeface at a given
size, for some particular device.
************************
What you need in order
to use the fonts
************************
You cannot print the metafont files directly (unless you want a
listing of the program, that is). Instead, you must generate a bitmap
font and use that to print something. If you have TeX or troff, the
process for doing this is outlined below. This is not meant to be
compete documentation, though, but simply enough to get you started.
If you want to use a font generated by metafont on an HP LaserJet, for
example, you must follow this general procedure:
- Generate the bitmap font with Metafont.
This will produce a file called (for example) "myfont10.300gf".
- Convert this to a pk format file -- the pk format is much more
compact, and is used by most software in preference to gf files.
You can use gftopk (which comes with metafont, or in a package
called mfware).
$ gftopk myfont10.300gf
$
This produces myfont10.300pk
- Convert the pk-format font into one suitable for your printer. For
an HP, there are several utilities -- the one I use is called pk2sfp:
$ pk2sfp myfont10.300pk > myfont10.300sfp
You will have to find this program. If you are using TeX you do not
need it, though -- see "Converting between font formats" below.
- Download the font to the printer. You will need to do more than
simply send the file to the printer. For example, on the HP you
must send an escape sequence like ESC*c100D to tell the printer
there's a font coming, and that it's going to be font number 100.
You then send the font, and then in the rest of the job say
something like ESC*c100ESC*c4FESC (100X to tell the printer you've
finished, and to start using the font. (ESC in these examples
stands for the ASCII Escape, chracter 033 octal, 27 in decimal). All
of this must be in the same print job.
Doing this without going insane involves setting up macros or
shell-scripts to automate it for you.
page 7
______________________________________________________________________
************************
How to use Metafont
fonts with TeX
************************
In addition to generating a `gf' file, metafont will also generate a
'.tfm' file. You will need to put the tfm file into your TeX font
directory -- for example, /usr/local/tex/fonts. You will need to put
either the gf or the pk file there too -- probably the pk file. Some
dvi drivers need the font to be listed in a description file, too --
the name and location of this seems to vary wildly from site to site,
but FONTDESC is not unlikely. Chris Torek's `mctex' package includes
some drivers that need this.
For testing, you might be able to say something like
$ TEXFONTS="/users/lee/fonts:/usr/local/lib/tex/fonts"; export TEXFONTS
to get TeX to look in more than one directory -- see your local TeX
guide.
When you have installed the font, you can use it from TeX directly in
the usual way. For most fonts, the filename is the same as the font
name, so, for example, ccr10.300pk contains the bitmaps for a font
called ccr at size 10pt. You can look at the Metafont source for a
given font to determine the name of the font, and you might also be
able to cheat by editing the font description file FONTDESC.
Using other fonts with LaTeX generally requires more work.
************************
How to use Metafont
fonts with Troff
************************
If, when you run troff, you get the message `typesetter busy', you
have the original Ossanna-troff, also called otroff. Chris Lewis has
a package which will let you use TeX fonts with troff -- it's called
psroff, and comes with documentation.
ftp: gatekeeper.dec.com (16.1.0.2) pub/misc/psroff-2.0.tar.Z
ftp: cs.toronto.edu [128.100.1.65] pub/psroff.tar.Z
If, when you run troff, you get something like this:
x T 300
x res 300 1 1
you have ditroff. This is sometimes called titroff or psroff. In this
case, you will probably need to do the following:
1) convert the font to your printer's format
2) generate a width table for the font
3) add the font to the DESC file for the appropriate device
4) arrange for troff to download the font
5) tell troff about the font by running `makedev DESC' in the right
place.
If, when you run troff, you get something like this:
X hp(SCM)(CM)(AF)(AD) 300 1 1
Y P default letter 2550 3300 0 0 90 90 2460 3210
you have sqtroff, change (4) onwards to:
4) put the font in the appropriate raster directory
5) tell sqtroff about the font by running `sqmakedev DESC'
page 8
______________________________________________________________________
or `sqinstall'.
In each case, you should be able to get help from your vendor.
Note that Chris Lewis' psroff package has software to make width
tables for troff from pk files.
************************
Converting between
font formats
************************
Conversions to and from pbm and pk format were posted to comp.text.tex
and to alt.sources on the 9th of August, 1990 by Angus Duggan
(ajcd@cs.ed.ac.uk). The program is pbmtopk, and there are also at
least two patches.
Chris Lewis' psroff package includes a program to go from pk both to the
HP LaserJet and to PostScript.
John McClain (ophelp@tamvenus.bitnet) has some conversion programs for
various graphics formats to/and from pk files.
CAPTURE turns HPGL files into PK format (a PC program, $130 from
Micro Programs Inc., 251 Jackson Ave., Syosset, NY 11791
Metaplot can take pen-plotter files and prouce metafont files
wilcox@cis.ohio-state.edu
************************
Where to get bitmap
versions of the fonts
************************
There are archives containing the bitmaps of many of these fonts at
various sizes and resolutions. The fonts must have been generated for
the correct print engine: e.g. write-white or write-black. The
archives generally hold only the sizes used by TeX. These are
`magstep' sizes, and are not exact point sizes. It is probably better
to generate them from the Metafont sources yourself if you can.
The best place to look for raster fonts is almost certainly
mims-iris.waterloo.edu (129.97.129.116)
This probably has all the HP fonts in the world.... some others are:
ctrsci.math.utah.edu (128.110.198.1)
science.utah.edu (128.110.192.2)
ymir.claremont.edu (134.173.4.23)
The occasional posting of ftp sites to comp.misc and comp.archives
lists these and several other sites.
Getting fonts by FTP and Mail:
If you are using ftp, you will need either the name of the host or
the Internet number. For example, to connect to ymir, listed as
ftp: ymir.claremont.edu [134.173.4.23]
you will need to type something like
ftp ymir.claremont.edu
If that doesn't work, try using the number:
ftp 134.173.4.23
page 9
______________________________________________________________________
If that doesn't work, on Unix systems you can use nslookup (it's
usually /usr/etc/nslookup) to find the host number -- it might have
changed. Type the entire host name, and after a few seconds nslookup
will give you the address.
Once you have connected, you will need to go to the appropriate
directory, lists its contents, and retrieve the files.
Most of the machines listed here run Unix, and you use "ls" and "cd"
to list files and to change directories. Ymir runs VMS, and you will
have to put square brackets around directory names, like [this].
Remember that although Metafont sources are text files, pk fonts are
not ASCII, and you will have to use binary mode for them. In general,
use text mode for README files and *.mf files, and binary mode for
other font files. Files ending in .Z are compressed binary files --
you will need to use binary mode, and then uncompress the files when
you get them.
You can get files from ymir by sending mail messages to
mailserv@ymir.claremont.edu
For example,
send [tex.mf.misc]cmapl10.mf
will get the file cmapl10.mf from the directory "tex.mf.misc".
You can only get text files in this way.
************************
Fonts
************************
**
** AMS (see under Euler)
**
The American Mathematical Society has adopted TeX, and has had some
fonts designed especially by Herman Zapf. These are known as the
Euler fonts, and are described below. The Metafont sources are now
available by ftp.
NOTE that you should build these using virmf, or at least with a
version of Metafont that does not have cmbase pre-loaded. You may
also get errors reported when building some of the smaller sizes --
simply press return.
There are
- AMS Euler -- a calligraphic font. This is not suitable as it stands
for text use in TeX, because it has a non-standard encoding.
- AMS extra maths symbols
- AMS computer modern extensions
- AMS Cyrillic (this is the same as University of Washington Cyrillic)
There is also some documentation.
You can get them from the ams or from ymir:
ftp: e-math.ams.com [130.44.1.100] /ams/amsfonts/sources
ftp: ymir.claremont.edu (134.173.4.23)
page 10
______________________________________________________________________
**
** APL (A Programming Language)
**
ftp: ymir.claremont.edu (134.173.4.23): cd SOFTWARE:[anonymous.tex.misc]
ftp: (the file is cmapl10.mf). Associated macros and documentation
ftp: are in SOFTWARE:[anonymous:tex:periodicals.tugboat] and also
ftp: [anonymous.tex.inputs.plain-contrib] in files apldef.tex,
ftp: aplstyle.tex, and aplverb.tex.
ftp: power.eee.ndsu.nodak.edu (134.129.123.1) apl-tex-font/27-Jul-90
**
** Babel -- language support
**
The Babel archive at ymir.claremont.edu contains:
- Greek Fonts:
Brian Hamilton Kelly's cmgr family
Sylvio Levy's gr family [modern and classical]
Yannis Haramboulos' rgr family
- Hebrew fonts:
REDIS (a thin-looking sans serif)
burkis (coming in January??)
- Icelandic
Icelandic Modern (this is Computer Modern with extensions)
- Russian (Cyrillic)
IFVE's cmc family
U Washington's wncyr family
Bashkiren/Mongolian (not sure if this is there yet)
- Turkish
Turkish Modern (this is Computer Modern with extensions)
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.babel]
**
** Chess
**
Some chess typesetting macros were posted to comp.text.tex on July 31,
1990. The chess fonts are available for ftp from ymir.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.misc]
**
** Chinese
**
ChTeX is a set of macros and fonts for typesetting Chinese under TeX.
It only supports PostScript, and requires a modivied dvi2ps. You write
your article with PinYin.
ftp: 192.12.216.114 (name: chiris.stevens-tech.edu)
ftp: note that the usercode is "ftp", not "anonymous".
Included are source, fonts, VMS binary for 5.2, DOS binary, etc.
page 11
______________________________________________________________________
**
** Bar Code
**
Dimitri Vulis's barcode font
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Committee
**
This was produced during a workshop tutorial given by Donald Knuth.
This is said (by Don Hosek, whom I trust in such things) to be
hard-wired for the APS typesetter... It is described in Tugboat
Vol. 5 No. 2 (Nov. 84).
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.misc]
ftp: files are font1.mf and font1base.mf
**
** Computer Modern
**
Computer Modern is Donald Knuth's font family used for his later
`Art of Computer Programming' books. It contains
cmr -- computer modern roman
cmmi -- computer modern maths italic
cmti -- computer modern text italic
cmb -- computer modern bold
cmss -- computer modern sans serif
cmtt -- computer modern typewriter
cmvtt -- computer modern variable-spaced typewriter
and several variations on each of the above (e.g. bold extended...).
There are also some experimental fonts, such as cmff, a `funny' font,
and cmfib, a font based on Fibonacci numbers.
These are all included in a standard TeX distribution, although I only
know of one site archiving the metafont files seperately. The
official TeX distribution site is labrea.stanford.edu:
ftp: labrea.stanford.edu [36.8.0.47] cd pub/tex/cm
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.standard]
Many TeX ftp archive sites also give access to the bitmaps (pk files),
although you usually have to get them all at once.
There is also a reparameterised version of CM by John Sauter, which
makes it easy to generate fonts at desired sizes-- this is especially
useful for non-TeX users.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.sauter]
See also: Babel, Sauter
There are some more Computer Modern variants stored at ymir; these
include parameters for generating cm fonts at sizes 14, 18, 24 and
36pt.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.variants]
There is also a Pica typewriter font -- italic and bold come out with
straight and wavy underlines (respectively), however. This is in
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.pica]
page 12
______________________________________________________________________
Versions of these fonts suitable for use with an X Windows previewer
(xtex and SeeTeX) are available from
ftp: foobar.colorado.edu pub/SeeTeX
**
** Concrete
**
This font was designed for Donald Knuth's Concrete Mathematics book.
It looks a little like a cross between American Typewriter and Computer
Modern Roman. There are Roman and Italic faces.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Cyrillic
**
There are several Cyrillic (Russion-Alphabet) fonts:
Tom Ridgeway's Cyrillic fonts
[BITNET: LISTSERV@UBVM.CC.BUFFALO.EDU]
WN-Cyrillic
ftp: june.cs.washington.edu (128.95.1.4)
There is a mailing list, rustex-l, for discussion of typesetting
Cyrilic-based languages. To subscribe, send mail to
listserv@ubvm.bitnet containing the text
SUBSCRIBE RUSTEX-L <your name here>
or send mail to Dimitri Vulis, DLV%CUNYVMS1.BITNET@cunyvm.cuny.edu
**
** Duerer
**
Based on the 16th Century drawings of Albrecht Duerer -- see, for
example, his ``The Painter's Manual'' published in Fac Simile by
Abaris Books. Upper case only.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.duerer]
**
** Devanagari
**
(this is a font for use with Sanskrit)
Created by Frans Velthuis in 1987/88 and is available from him
(Velthuis%hgrrug5.earn@cunyvm.cunyvm.edu) for a small charge.
Another address is "velthuis@hgrrug5.bitnet".
F.J. Velthuis,
Nyensteinheerd 267
9736 TV Groningen
The Netherlands
page 13
______________________________________________________________________
**
** Dingbats
**
By Doug Henderson.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Euler
**
These were designed by Herman Zapf for the American Mathematical
Society. See AMS.
The fonts are Fraktur, Script, Upright Italic, Math extension.
(see TUGboat Vol. 10 No. 1)
**
** Greek
**
Sylvio Levy's Greek font.
ftp: xydeco.siemens.com (129.73.1.101) -- greek*
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.babel.greek.levy]
(But Don Hosek tells me this is really Brian Hamilton Kelly's Greek font)
Also the Sylvio Levy `gr' greek family, for both Modern and Classical
Greek. This includes roman, typewriter and bold, plus TeX macros.
Brian Hamilton Kelly's cmgr family
Yannis Haramboulos' rgr family
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.babel.greek]
See also Babel.
**
** Hebrew
**
There is a sans-serif Hebrew font called REDIS available from ymir.
It comes in three faces, including italic (slanting to the right, of
course).
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Helvetica
**
Produced by the Metafoundry and sold commercially.
Unfortunately they do not distribute the Metafont sources, so they are
not really very useful in this file ... :-( :-(
The Metafounndry,
OCLC Inc., MC 485
6565 Frantz Road
Dublin, OH 43017
USA
+1 614 764-6087
page 14
______________________________________________________________________
**
** Hershey
**
The Hershey fonts were designed for use by plotters, and published in
1972. These fonts are of relatively low typographic quality, but are
useful on devices with lower resolution.
ftp: cs.uoregon.edu [128.223.4.13]
(but these are not in Metafont -- does anyone know where to get the
metafont versions?)
**
** International Phonetic Alphabet
**
Used by linguists, and also in some dictionaries. It's designed to go
with Computer Modern. From WSU.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Music
**
MuTeX is a basic music package for TeX. It seems to be the same as
mtex, but with documentation in English rather than (or as well as)
German.
ftp: stolaf.edu [130.71.128.1] /pub/MuTeX.tar.Z /pub/MuTeX_doc.Z
ftp: suned.zoo.cs.yale.edu [128.36.21]
ftp: cs.ubc.edu [128.189.97.5] src/MuTeX/MuTeX.tar.Z (slow)
ftp: wuarchive.wustl.edu: /mirrors/msdos/tex/mutex.arc
ftp: ymir.claremont.edu [134.173.4.23]: cd [anonymous.tex.musix.mutex]
In Europe,
ftp: sol.cs.ruu.nl [131.211.80.5] in subdirectory pub/TEX
ftp: mtex.tar.Z (sources, including metafont sources and documentation)
ftp: mtexfonts.tar.Z (300dpi pk files)
These are also available in Europe by mail-server. Send mail to
mail-server@cs.ruu.nl with HELP in the subject and the body and
probably the .signature as well :-)
**
** OCR (Optical Character Recognition)
**
OCR A (this is not the font for printing on cheques)
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Subject: Fonts: Oriya
**
Sabita Panigrahi is working on Oriya (one of the modern Indian
scripts), but this is not yet available.
page 15
______________________________________________________________________
**
** Pandora
**
This is a little like Palatino, annd includes a sans-serif variant.
It is not yet of production quality, unfortunately.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Pica
**
There is also a Pica typewriter font -- italic and bold come out with
straight and wavy underlines (respectively), however. This is in
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.pica]
**
** Pointing Hands
**
Various manual extremities, designed by Georgia Tobin
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Punk
**
A punK hAndWritten fOnT...
For writing on walls, perhaps. The lower case is simply a smaller
version of the upper case.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Sanskrit
**
(see Fonts: Devanagari)
**
** Sauter
**
This is a rework of Computer Modern. The outlines are the same, as
far as I know, but it is much easier to generate the various fonts.
By John Sauter.
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf]
**
** Tengwar
**
There are at least two Tengwar fonts,
Mike Urban's:
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.mf.tengwar]
Julian Bradfield <jcb@lfcs.edinburgh.ac.uk> also has both Tengwar and
a prototype version of Cirth runes. Email only, although I have a
copy and can mail them to you if you can't reach Julian. I prefer
Julian's Tengwar, I think, but I am not an expert on Tolkien fonts...
page 16
______________________________________________________________________
**
** Thai
**
There are at least two Thai fonts around. The rmit font is a little
tricky to make, as it needs to be in a directory called ``thai2'',
because it refers to files called "../thai2/name".
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.babel.thai.rmit]
ftp: ymir.claremont.edu (134.173.4.23): cd [anonymous.tex.babel.thai.usl]
**
** Vietnamese
**
ftp: blackbox.hacc.washington.edu [128.95.200.1] cd /pub/testviet
This test package includes tfm and pk fonts at 10 point roman and
italic. I understand that you need TeX 3.0 or later to use this, and
drivers that cope with fonts containing more than 128 characters.
______________________________________________________________________
TeXMaG is an electronic magazine available free of charge to all
interested parties reachable by electronic mail. It is published
monthly. Letters to the editor may be sent to NABTEXM@TAMVENUS
(BITNet) or NABTEXM@VENUS.TAMU.EDU (Internet) and may be published in
a future issue.
Publisher: Academic Computing Services of
Texas A&M University
Managing Editor: Neil Burleson
TeX Consultant: Robert Nilsson
Copy Editor: Diana Armstrong
Chief Consultant: John McClain, Ph.D
SUBSCRIPTIONS:
CDNnet: Send a note to <list-request@relay.cdnnet.ca> asking to receive
TeXMaG.
JANET: Send a note to Peter Abbott, <Abbottp@Uk.Ac.Aston> asking to
receive TeXMaG.
All others: Send the following command as an interactive message
(Bitnet) or as a single-line mail message to LISTSERV@UICVM
or LISTSERV@UICVM.UIC.EDU:
SUBS TEXMAG-L Your_Full_Name.
If you have difficulty doing this, send a note to Neil Burleson
<NABTEXM@VENUS.TAMU.EDU>.
SUBMISSIONS:
Please send submissions to <TEXMAG-L@UICVM.UIC.EDU> or
<TEXMAG-L@UICVM>; they will automatically be forwarded to the
editor.
BACK ISSUES:
Back issues may be FTP'd from YMIR.CLAREMONT.EDU from the directory
[ANONYMOUS.TEX.PERIODICALS.TEXMAG]
Back issues may also be FTP'd from SUN.SOE.CLARKSON.EDU from the
directory pub/texmag. Users without FTP access may request back
issues from the Clarkson repository by sending a mail message
to <archive-server@sun.soe.clarkson.edu> with the form
path A_MAIL_PATH_FROM_CLARKSON_TO_YOU
get texmag texmag.V.NN
where V is the volume number and NN is the issue number. Including
a line "index texmag" in the message will return a list of back
issues available.
Janet users may obtain back issues from the Aston archive.
Those who are on SPAN can get in touch with Max Calvani at
39003::CALVANI for infos about SPAN archive. :)
\bye bye!
% End of TeXMaG
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|