| 1 |
NKARTA |
| 2 |
------ |
| 3 |
|
| 4 |
I have been unable to find the author or maintainer or copyright holder |
| 5 |
of the Metafont karta, containing map symbols. Problems have arisen with |
| 6 |
that font, mainly the usual ones: "Strange path" errors and capacity |
| 7 |
exceeded. I have change the coding a bit to try to avoid these. Also, |
| 8 |
there were two paths defined with incorrect turning number, and |
| 9 |
incorrect order of operations (a too-late unfill operation caused |
| 10 |
previously drawn elements of two figures to be erased). This was also |
| 11 |
corrected. Aside from that, no actual paths were changed. |
| 12 |
|
| 13 |
Licence |
| 14 |
------- |
| 15 |
To avoid confusion with the original files, I have renamed the result |
| 16 |
nkarta. Barring any legal claim by the creator of karta.mf, I hereby |
| 17 |
place nkarta in the public domain. |
| 18 |
|
| 19 |
Version |
| 20 |
------- |
| 21 |
This is version 0.2. The previous version failed to include a version |
| 22 |
number. It will be called version 0.1 when I need to refer to it. |
| 23 |
|
| 24 |
Use |
| 25 |
--- |
| 26 |
The character shapes are all in nkchars.mf, which is input by a driver |
| 27 |
file nkarta.mf. The font produced has design size 15pt. A file |
| 28 |
nkart15.mf is provided as an example showing how that design size can be |
| 29 |
changed. In order to get a 20pt font, just copy nkarta15.mf to |
| 30 |
nkarta20.mf and then edit it, changing 15 to 20 everywhere. |
| 31 |
|
| 32 |
To allow larger scaling without risking exceeding Metafont's capacity, I |
| 33 |
have ported the figures to MetaPost in nkarta.mp. These figures have the |
| 34 |
same numbers as the corresponding characters in nkarta.mf. That is, |
| 35 |
after "mpost nkarta.mp", the file nkarta.NNN contains the same picture |
| 36 |
as charater NNN in the nkarta font. Without scaling, they will be the |
| 37 |
same size that nkarta.mf produces. |
| 38 |
|
| 39 |
One can also run mpost on nkarta15.mf (or nkarta20.mf if prepared as |
| 40 |
above). In that case nkarta15.NNN (or nkarta20.NNN) has the same figure |
| 41 |
as character NNN of the font nkarta15 (or nkarta20). |
| 42 |
|
| 43 |
Files figtest.pdf and fonttest.pdf provide a table of the available |
| 44 |
figures/characters. |
| 45 |
|
| 46 |
Installing nkarta |
| 47 |
----------------- |
| 48 |
0. Run tex or latex on nkarta.ins to generate the *.mf and *.mp source |
| 49 |
files. |
| 50 |
|
| 51 |
1. Copy the .mf files somewhere Metafont will find them. In a TDS |
| 52 |
compliant system, that would be a subdirectory path similar to |
| 53 |
texmf/fonts/source/public/nkarta |
| 54 |
|
| 55 |
2. Copy the .tfm file somewhere TeX searches for TFM files, for example |
| 56 |
texmf/fonts/tfm/public/nkarta |
| 57 |
|
| 58 |
3. Copy the .mp files where MetaPost will find them, for example: |
| 59 |
texmf/metapost/nkarta |
| 60 |
|
| 61 |
4. Copy README, *.tex and *.pdf where documentation is kept, for example: |
| 62 |
texmf/doc/fonts/nkarta |
| 63 |
|
| 64 |
5. Copy nkarta.dtx and nkarta.ins where source files are kept, for example: |
| 65 |
texmf/source/fonts/nkarta |
| 66 |
|
| 67 |
6. Refresh the filename database (mktexlsr or MiKTeX Options). |
| 68 |
|
| 69 |
A list of the files and their uses. |
| 70 |
|
| 71 |
README This file |
| 72 |
nkarta.ins The script for unpacking nkarta.dtx |
| 73 |
nkarta.dtx The source for the next five files: |
| 74 |
nkarta.mf Preliminary definitions for MF |
| 75 |
nkarta.mp Preliminary definitions for MP |
| 76 |
nkchars.mf Actual characters, input by nkarta.mf |
| 77 |
nkchars.mp Actual figures, input by nkarta.mp (a) |
| 78 |
nkarta15.mf MF source for the font at 15pt |
| 79 |
nkarta15.tfm Prebuilt TFM file |
| 80 |
fonttable.tex Source for a table of the characters |
| 81 |
figtable.tex Source for a table of the figures |
| 82 |
fonttable.pdf Prebuilt PDF file (b) |
| 83 |
figtable.pdf Prebuilt PDF file (c) |
| 84 |
|
| 85 |
Notes: |
| 86 |
(a) nkchars.mf and nkchars.mp are identical (apart from comments). You |
| 87 |
can discard the second one if MetaPost is configured to find the |
| 88 |
first one. |
| 89 |
(b) fonttable.pdf was built by running |
| 90 |
tex fonttable.tex |
| 91 |
dvips fonttable.dvi |
| 92 |
ps2pdf fonttable.ps |
| 93 |
This requires testfont.tex and nkarta15.tfm |
| 94 |
(c) figtable.pdf was built by running |
| 95 |
mpost nkarta.mp |
| 96 |
tex figtable.tex |
| 97 |
dvips figtable.dvi |
| 98 |
ps2pdf figtable.ps |
| 99 |
This requires testfont.tex, epsf.tex and nkarta15.tfm. |
| 100 |
|
| 101 |
The only change from version 0.1 to 0.2 of nkarta to this one is a |
| 102 |
repackaging, and streamlining of the code. Also, more than 100K of |
| 103 |
garbage following "end" in nkarta.mp was removed. |
| 104 |
|
| 105 |
-- |
| 106 |
Daniel H. Luecking email: luecking at uark dot edu |
| 107 |
Department of Mathematical Sciences |
| 108 |
University of Arkansas |
| 109 |
Fayetteville, Arkansas 72701 |
| 110 |
USA |