version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
t1mapper |
|
|
2 |
!!!t1mapper |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
EXAMPLES |
|
|
8 |
FILES |
|
|
9 |
SEE ALSO |
|
|
10 |
AUTHOR |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
t1mapper - A tool to help xdvi use all your t1 fonts |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__t1mapper__ [[''OPTIONS''] ''TeX-fontdir |
|
|
20 |
Type1-font-file-spec'' |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
__t1mapper__ [[''OPTIONS''] -gs ''GS-fontmap |
|
|
24 |
GS-fontdir TeX-fontdir'' |
|
|
25 |
!!DESCRIPTION |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
The __t1mapper__ comes with __xdvik.__ It was made to |
|
|
29 |
make it simple to make all sorts of Postscript |
|
|
30 |
__xdvi.__ The first |
|
|
31 |
invocation is to hi-jack fonts from your Ghostscript |
|
|
32 |
installation, which will supply __xdvi__ with all the |
|
|
33 |
standard T1 fonts it needs. The second is for hi-jacking any |
|
|
34 |
other T1 fonts you may have floating around on your |
|
|
35 |
systems. |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
__t1mapper__ relies on a installed and working |
|
|
39 |
__texk__ system to be present. In particular it uses |
|
|
40 |
__kpsewhich__ to locate the __fontname__ package .map |
|
|
41 |
files which maps between Postscript |
|
|
42 |
__teTeX__ is one such __texk__ |
|
|
43 |
system. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
When invoked without the __-gs__ option t1mapper will |
|
|
47 |
examine each of the fonts specified. It will attempt to |
|
|
48 |
determine the Postscript name of the font by looking inside |
|
|
49 |
the font file, and if that name has a TeX equivalent it will |
|
|
50 |
copy, link or symlink your the file into the TeX font |
|
|
51 |
directory you named first on the command line. The name in |
|
|
52 |
the TeX font directory will be according to the |
|
|
53 |
TeX/KB-fontname scheme, so that the font names used in |
|
|
54 |
__.dvi__ files matches the names found in the TeX font |
|
|
55 |
directories. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
When invoked with the __-gs__ option __t1mapper__ will |
|
|
59 |
read the named GS Fontmap file to determine which GS font |
|
|
60 |
files correspond to which standard Postscript fonts (GS' |
|
|
61 |
version of Times-Roman is not called ''Times-Roman'', |
|
|
62 |
it's actually called ''NimbusRomNo9L-Regu''), and then |
|
|
63 |
proceed to copy or link the files in the named GS font |
|
|
64 |
directory into the named TeX font directory. |
|
|
65 |
!!OPTIONS |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
All options except __-gs__ have to do with how the font |
|
|
69 |
files are copied or linked into the TeX font |
|
|
70 |
directories: |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
__-cp__ |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
Copy the files from the ''GS-fontdir'' or matching the |
|
|
77 |
''Type1-font-file-spec'' into the ''TeX-fontdir''. |
|
|
78 |
This is the default and will always work. |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
__-ln__ |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
Hard link the files. This requires the fonts to reside on |
|
|
85 |
the same disk, but it will save space, and the files will |
|
|
86 |
not disappear from the ''TeX-fontdir'' if they are |
|
|
87 |
removed from the source directory. |
|
|
88 |
|
|
|
89 |
|
|
|
90 |
__-lns__ |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
Symlink the files. This saves space, but if the original |
|
|
94 |
files are removed the symlinks will be broken. |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
__-lnlns__ |
|
|
98 |
|
|
|
99 |
|
|
|
100 |
Attempt hard-link first, if it fails make |
|
|
101 |
symlink. |
|
|
102 |
|
|
|
103 |
|
|
|
104 |
__-lncp__ |
|
|
105 |
|
|
|
106 |
|
|
|
107 |
Attempt hard-link first, if that fails, copy the |
|
|
108 |
font. |
|
|
109 |
!!EXAMPLES |
|
|
110 |
|
|
|
111 |
|
|
|
112 |
If your Ghostscript is installed in |
|
|
113 |
__/usr/local/share/ghostscript__ and your TeX lives in |
|
|
114 |
__/usr/local/teTeX__ then this command might make your GS |
|
|
115 |
fonts available to xdvi: |
|
|
116 |
|
|
|
117 |
|
|
|
118 |
t1mapper -lns -gs \ |
|
|
119 |
/usr/local/share/ghostscript/5.50/Fontmap \ |
|
|
120 |
/usr/local/share/ghostscript/fonts \ |
|
|
121 |
/usr/local/teTeX/share/texmf/fonts/type1/gs |
|
|
122 |
|
|
|
123 |
|
|
|
124 |
The first argument here is the full path to the GS Fontmap. |
|
|
125 |
The second is the GS font directory, note the lack of |
|
|
126 |
wildcards here (as opposed to the next example). The third |
|
|
127 |
argument is the TeX font directory. If it does not exist it |
|
|
128 |
will be made. Texk and teTeX uses quite finely structured |
|
|
129 |
font directories, and the above reflects this. |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
If have a Solaris machine with Display Postscript fonts then |
|
|
133 |
this command might make them available to xdvi: |
|
|
134 |
|
|
|
135 |
|
|
|
136 |
t1mapper -lns \ /usr/local/teTeX/share/texmf/fonts/type1/gs |
|
|
137 |
\ /usr/openwin/lib/X11/fonts/Type1/*.pfa |
|
|
138 |
|
|
|
139 |
|
|
|
140 |
Here the first argument is the TeX font directory and |
|
|
141 |
thereafter comes a wildcard that specifies which fonts to |
|
|
142 |
examine for copying/linking into the TeX font |
|
|
143 |
directory. |
|
|
144 |
!!FILES |
|
|
145 |
|
|
|
146 |
|
|
|
147 |
__fontname__ Postscript to TeX name mapping files from |
|
|
148 |
__http://tug.org/fontname/,__ these are included in |
|
|
149 |
teTeX. |
|
|
150 |
|
|
|
151 |
|
|
|
152 |
__Ghostscript__ fonts from |
|
|
153 |
__http://sourceforge.net/projects/ghostscript/__ or |
|
|
154 |
__http://www.gnu.org/software/ghostscript/ghostscript.html__ |
|
|
155 |
!!SEE ALSO |
|
|
156 |
|
|
|
157 |
|
|
|
158 |
kpsewhich(1), xdvi(1), ln(1), |
|
|
159 |
__README.t1fonts__ in the source |
|
|
160 |
distribution |
|
|
161 |
!!AUTHOR |
|
|
162 |
|
|
|
163 |
|
|
|
164 |
Nicolai Langfeldt for the xdvik project at sourceforge, |
|
|
165 |
please see |
|
|
166 |
__http://sourceforge.net/projects/xdvi/__ |
|
|
167 |
---- |