Debian Codegraph @

doc/sphinx/olddocs/old/ja/PfaEdit-TeX.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <!-- Created with AOLpress/2.0 -->
4 <!-- AP: Created on: 27-Jan-2003 -->
5 <!-- AP: Last modified: 11-Dec-2005 -->
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
7 <!-- <TITLE>Using FontForge with TeX</TITLE> -->
8 <TITLE>FontForge を TeX とともに使用する方法</TITLE>
9 <LINK REL="icon" href="../../_static/fftype16.png">
10 <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
11 </HEAD>
12 <BODY>
13 <DIV id="in">
14 <H1 ALIGN=Center>
15 <!-- <A NAME="TeX">FontForge and TeX</A> -->
16 <A NAME="TeX">FontForge と TeX</A>
17 </H1>
18 <P>
19 <!--
20 FontForge has a number of features built in to it to deal with TeX. -->
21 FontForge には、TeX を取り扱うための多数の機能が組み込まれています。
22 <P>
23 <!--
24 It can read "pk" and "gf" bitmap files and
25 <A HREF="elementmenu.html#AutoTrace">autotrace</A> them to generate outline
26 fonts. It can even invoke metafont directly on a ".mf" file, generate a "gf"
27 bitmap from that, autotrace it and generate an outline font. -->
28 “pk”形式と“gf”形式のビットマップを読み込むことができ、それらに <A HREF="elementmenu.html#AutoTrace">autotrace</A> を適用してアウトラインフォントを生成することができます。
29 “.mf”ファイルに metafont を直接呼び出して“gf”ビットマップを生成し、autotrace にかけてアウトラインフォントを出力することさえ可能です。
30 <P>
31 <!--
32 It can read ligature, kerning information from a ".tfm" file. It can create
33 a tfm file. -->
34 合字とカーニングの情報を“.tfm”ファイルから読み込むことができます。
35 TFM ファイルを作成することもできます。
36 <P>
37 <!--
38 The <A HREF="../Encodings.ps.gz">encodings</A> file has a number of standard
39 TeX encodings built in to it. -->
40 <A HREF="https://fontforge.org/downloads/Encodings.ps.gz">エンコーディング</A> ファイルには、多数の標準 TeX エンコーディングが組み込まれています。
41 <P>
42 <!--
43 For large CJK truetype fonts it can read a sub-font definition file as defined
44 in the ttf2tfm man page and <A HREF="generate.html">generate</A> a series
45 of postscript type-1 fonts based on those two. -->
46 大規模な CJK の TrueType フォントに対しては、ttf2tfm のマニュアルページで手議されているとおりのサブフォント定義ファイルを読み込むことができ、この 2 つのファイルを元に一揃いの PostScript Type 1 フォントを <A HREF="generate.html">出力</A> することができます。
47 <P>
48 <!--
49 In consultation with the lilypond group we have designed a new
50 <A HREF="non-standard.html">SFNT table 'TeX </A>' for storing TeX specific
51 information in True/OpenType files. -->
52 Lilypond 開発者グループと協議して、TeX 固有の情報を True/OpenType ファイルに格納する <A HREF="non-standard.html">SFNT テーブル&lsquo;TeX&rsquo;</A> を新たに設計しました。
53 <H3>
54 <!-- Generating a tfm file (and an enc file). -->
55 TFM ファイル (と ENC ファイル) を出力する方法
56 </H3>
57 <P>
58 <!--
59 Before you generate a tfm file you should perform some of the following -->
60 TFM ファイルを出力する前に、以下の手順のいくつかを実行しなければなりません。
61 <DL>
62 <DT>
63 <!-- Set the font parameters -->
64 フォントのパラメータを設定する
65 <DD>
66 <!-- Do this with Element-&gt;Font Info-&gt;TeX. -->
67 これは、<CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[ΤεΧ]</CODE> で行います。
68 <DT>
69 <!-- Optionally set <A NAME="Italic">Italic</A> Correction values for glyphs-->
70 必要に応じて、グリフの<A NAME="Italic">イタリック</A>補正値を入力する
71 <DD>
72 <!-- (FontForge will generate default values for italic fonts, so you only need
73 do this if FontForge gets it wrong). -->
74 (FontForge はイタリックフォントに対してデフォルトの値を生成しますので、この作業は、FontForge の見積りが間違っているときのみ行えば十分です)
75 <UL>
76 <LI>
77 <!-- Select a glyph which should have an Italic Correction -->
78 イタリック補正を含むべきグリフを選択する
79 <LI>
80 <!-- Element-&gt;Glyph Info-&gt;Alt Pos -->
81 <CODE>エレメント(<U>L</U>)</CODE>→<CODE>グリフ情報(<U>I</U>)...→<CODE>[選択型の置換]</CODE> タブを選ぶ
82 <LI>
83 <!-- Press [New] -->
84 <CODE>[新規(<U>N</U>)]</CODE> を押す
85 <LI>
86 <!-- Set the tag to <CODE>Italic Correction</CODE> from the pulldown list -->
87 プルダウンリスト <CODE>タグ(<U>T</U>)</CODE> で <CODE>イタリック補正</CODE> を選ぶ
88 <LI>
89 <!-- Set the XAdvance to the italic correction -->
90 イタリック補正値を <CODE>ΔXadvance</CODE> に入力する
91 </UL>
92 <DT>
93 <!-- Optionally set any <A NAME="charlist">glyphlists</A>-->
94 必要に応じて、何らかの TeX <A NAME="charlist">グリフリスト</A>を設定する
95 <DD>
96 <UL>
97 <LI>
98 <!-- Select the first glyph in the charlist (the smallest one) -->
99 TeX 文字リストに含める最初の文字 (コードが最小の文字) をセレクトする
100 <LI>
101 <!-- Element-&gt;Glyph Info-&gt;Alt Subs -->
102 <CODE>エレメント(<U>L</U>)</CODE>→<CODE>文字情報(<U>I</U>)</CODE>→<CODE>[別の位置]</CODE> タブを選ぶ
103 <LI>
104 <!-- Press [New] -->
105 <CODE>[新規(<U>N</U>)...]</CODE> を押す
106 <LI>
107 <!-- Set the tag to <CODE>TeX Glyphlist</CODE> from the pulldown list -->
108 プルダウンリスト <CODE>タグ(<U>T</U>)</CODE> で <CODE>TeXグリフリスト</CODE> を選ぶ
109 <LI>
110 <!-- Type the names of all the other glyphs in the charlist into the Components
111 field<BR>
112 文字リストに含まれる他の全てのグリフの名前を <CODE>構成要素</CODE> フィールドに入力する<BR>
113 <!-- So if the charlist is for left parenthesis<BR> -->
114 例えば、左括弧に対する文字リストの場合:<BR>
115 <!-- You would select the lparen glyph and might type in "lparen.big lparen.bigger
116 lparen.biggest" -->
117 グリフ lparen を選択し、“<CODE>lparen.big lparen.bigger lparen.biggest</CODE>”と打ち込むことになる。
118 </UL>
119 <DT>
120 <!-- Optionally set any <A NAME="extension">extension</A> characters. -->
121 必要に応じて、何らかの<A NAME="extension">拡張</a>文字を設定する
122 <DD>
123 <UL>
124 <LI>
125 <!-- If the glyph is in a charlist then Select the last glyph in the charlist
126 (the largest one) -->
127 そのグリフが TeX グリフリストに存在する場合、グリフリストの最後のグリフ (インデックスが最大の文字) をセレクトする
128 <LI>
129 <!-- Element-&gt;Glyph Info-&gt;Mult Subs -->
130 <CODE>エレメント(<U>L</U>)</CODE>→<CODE>文字情報(<U>I</U>)</CODE>→<CODE>[複数の置換先]</CODE> タブを選ぶ
131 <LI>
132 <!-- Press [New] -->
133 <CODE>[新規(<U>N</U>)]</CODE> を押す
134 <LI>
135 <!-- Set the tag to <CODE>TeX Extension list </CODE>from the pulldown list -->
136 プルダウンリスト <CODE>タグ(<CODE>T</CODE>)</CODE> で <CODE>TeX拡張リスト</CODE> を選ぶ
137 <LI>
138 <!-- Type the names of the glyphs that this character decomposes into in the order:
139 top middle bottom extension<BR>
140 If a field is not present use .notdef<BR> -->
141 この文字が分解される各グリフの名前を、以下の順番で入力する:<BR>
142 上部、中央、下部、拡張<BR>
143 フィールドが存在しない場合、.notdef を使用する<BR>
144 <!-- So if the extension list is for left parenthesis<BR>
145 You would select the lparen.biggest glyph and might type in "lparen.top
146 lparen.mid lparen.bottom lparen.ext" -->
147 例えば、左括弧に対応する拡張リストの場合:
148 lparen.biggest を選択し、“<CODE>lparen.top lparen.mid lparen.bottom lparen.ext</CODE>" と入力することになる。
149 </UL>
150 </DL>
151 <P>
152 <!--
153 Note: When FontForge does a File-&gt;Merge Kern Info on a tfm file, it will
154 set these values appropriately. -->
155 注意: FontForge が <CODE>ファイル(<U>F</U>)</CODE>→<CODE>カーニング情報の統合(<U>M</U>)</CODE> を TFM ファイルに対して行った場合、これらの値は適切に設定されます。
156 <P>
157 <!--
158 Having done this to your satisfaction you are ready to generate a tfm file.
159 Go to File-&gt;Generate Fonts, select one of the postscript encodings from
160 the pulldown list, press the [Options] button and turn on the [*] Tfm &amp;
161 Enc check box. -->
162 満足の行くまでこれを行ったならば、TFM ファイルを出力する準備ができています。
163 <CODE>ファイル(<U>F</U>)</CODE>→<CODE>フォントを出力(<U>G</U>)</CODE> で出てくるプルダウンリストから PostScript エンコーディングのどれか 1 つを選び、<CODE>[オプション]</CODE> ボタンを押して <CODE>[*]TFMとENCを出力</CODE> チェックボックスをオンにします。
164 <P>
165 <!--
166 I'm not sure what you <EM>do</EM> with these files yet, but this should create
167 them. -->
168 あなたがこれらのファイルを使って何を<EM>行う</EM>のか筆者は完全に理解していませんが、それらはこの手順で作成できるでしょう。
169 <H3>
170 <!-- <A NAME="TeX-Install">Installing a type1 (pfb) postscript font for TeX</A> -->
171 <A NAME="TeX-Install">TeX に Type1 (PFB) PostScript フォントをインストールする方法</a>
172 </H3>
173 <P>
174 <!--
175 I am a novice TeX/LaTeX user so my comments should be taken with a grain
176 of salt. I did manage to get this process to work on my own system. -->
177 筆者は初心者の TeX/LaTeX ユーザなので、コメントは眉に唾をつけて読んでください。
178 手元のシステムではこの手順で動かすことに成功しました。
179 <P>
180 <!--
181 Installing a PostScript font for TeX is more complicated than one would hope
182 (and so far I've only figured out how to install a Latin font). Instead of
183 just moving the font file to some standard directory you must: -->
184 PostScript フォントを TeX にインストールするのは予想よりずっと複雑です (そのため、私はラテン文字のフォントをインストールする方法しか説明できません)。
185 フォントファイルを単に標準ディレクトリに移動するだけではなく以下のことをしなければなりません:
186 <UL>
187 <LI>
188 <!-- &lt;configure TeX so that it is prepared for local additions&gt; -->
189 &lt;TeX をローカルな追加に対応できるように設定しておく&gt;
190 <LI>
191 <!-- Rename the font file so that the filename is in a format TeX understands<BR>
192 (I'm told this isn't required, but I couldn't get things to work without
193 doing this. Perhaps I have an old system. Perhaps I didn't try hard enough) -->
194 フォントファイルの名前を TeX が理解可能なフォーマットに変更する<BR>
195 (これは不要だと聞いたのですが、この手順抜きではうまく動きませんでした。
196 筆者のシステムが古いのか、正しい手順を踏んでいないのだと思います)
197 <LI>
198 <!-- Create several helper files that TeX will use for its own purposes -->
199 TeX が自分の目的のために使ういくつかのヘルパーファイルを作成する
200 <LI>
201 <!-- Move each file type into its own special directory -->
202 ファイルをそれぞれのファイルタイプごとに専用のディレクトリに移動する
203 <LI>
204 <!-- Optionally: Create a package file to make it easy for LaTeX to find the font -->
205 必要に応じて: LaTeX がフォントを見つけやすくするためのパッケージファイルを作成する
206 <LI>
207 <!-- Optionally: Move the package file into its own directory -->
208 必要に応じて: パッケージファイルをそれ自身のディレクトリに移動する
209 <LI>
210 <!-- Use the updmap script or manually: -->
211 updmap スクリプトを使用するか手動で以下を行う:
212 <UL>
213 <LI>
214 <!-- Update dvips's configuration files so that it knows where to look for the
215 postscript fonts -->
216 dvips の設定ファイルを更新し、PostScript フォントを探す場所を知らせる
217
218 <LI>
219 <!-- Optionally: Update pdftex's configuration files so that it knows where to
220 look too. -->
221 必要に応じて、PdfTeX の設定ファイルも更新し、フォントを探す場所を知らせる
222 </UL>
223 </UL>
224 <P>
225 <!--
226 I suggest that before you read further you look at the following resources
227 on the web: -->
228 この先を読む前に、web 上の以下のリソースを参照することをお奨めします:
229 <UL>
230 <LI>
231 <!-- It is possible to add your fonts to the standard TeX directory structure,
232 but the TeX guru's frown on this as it makes updating TeX difficult. They
233 suggest instead that you make all your changes in some parallel directory
234 and provide they instructions on how to go about doing this at:
235 <A HREF="http://www.ctan.org/installationadvice/">Installation advice for
236 TeX fonts and directories</A>. They also provide an example of a font
237 installation but that is better explained in
238 <A HREF="http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf">the
239 LaTeX font-faq</A>.-->
240 自作フォントを TeX の標準ディレクトリ構造に追加することも可能ですが、これを行うと TeX のアップグレードが難しくなるので、TeX グルの顰蹙をかうでしょう。
241 彼らは、それと同じディレクトリ階層を別の場所に作って <A HREF="http://www.ctan.org/installationadvice/">TeX フォントとディレクトリに関するインストール上の助言</A> にあるように指定することを進めるでしょう。
242 彼らは、より詳しく説明されたフォントのインストールの例を <A HREF="http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf">the LaTeX font-faq</A> で提供しています。
243 <LI>
244 <!-- Old versions of TeX (ie. mine) are still worried about the old 8 character
245 limitation on DOS filenames. This means that the tools I was using don't
246 accept understandable filenames instead they require a format described in
247 <A HREF="http://www.tug.org/fontname/html/index.html">TeX font file naming
248 conventions</A>. If you are creating your own fonts this boils down to: -->
249 古いバージョンの TeX (例えば筆者のシステム) は、いまだに昔の DOS ファイル名の 8 文字制限を気にかけます。
250 つまり、筆者が使ったツールは <A HREF="http://www.tug.org/fontname/html/index.html">TeX font file naming conventions</A> の記述に従わないファイル名を理解しません。
251 自作フォントの場合、一言で言えばこういうことです:
252 <UL>
253 <LI>
254 <!-- the first letter of the font should be "f" (which means the font wasn't made
255 by one of the big-name font vendors) -->
256 フォントの最初の文字は“f”にします (これは、フォントが有名なフォントベンダ製のものではないことを意味します)
257 <LI>
258 <!-- the next two letters are some abbreviation of the family-name for your font -->
259 続く 2 文字はあなたのフォントのファミリー名を表す特定の略称です。
260 <LI>
261 <!-- the next letter (or two) should be "r" for a roman font, "i" for italic,
262 "o" for oblique, "b" for bold, and "bi" for bold italic -->
263 続く 1〜2 文字は、ローマン体のフォントには“r”, イタリックには“i”, オブリークには“o”, ボールドには“b”, ボールドイタリックには“bi”をつけます。
264 <LI>
265 <!-- the last two letters should be "8a" (which means your font is in Adobe Standard
266 Encoding. And your font <EM>must be</EM> in that encoding or things don't
267 work).<BR> -->
268 最後の 2 文字は“8a”とします (これは、フォントが Adobe 標準エンコーディングであるということであり、作成するフォントは<EM>必ず</EM>このエンコーディングでなければなりません。そうでないと動きません)<BR>
269
270 <!-- (Again I am told that you can use any encoding as long as you register it
271 with TeX. I was unable to get this to work. But my system is out of date) -->
272 (付言すると、どんなエンコーディングでも、きちんと登録すれば TeX で使えるようになると聞きました。これはうまく動きませんでしたが、筆者のシステムが旧式の物だからでしょう)
273 </UL>
274 <LI>
275 <!-- Finally
276 <A HREF="http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf">the
277 LaTeX font-faq</A> describes the gory details of how to go about installing
278 the font. It's only (minor) drawback is that it assumes you are installing
279 a font from Adobe. That is easily glossed over it means that: -->
280 最後に
281 <A HREF="http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf">the
282 LaTeX font-faq</A> はフォントのインストールをどう押し進めるかについての血まみれの細部について語っています。
283 唯一の (些細な) 難点は、インストールするフォントが Adobe 製であると仮定していることです。
284 以下の点に注意すれば読み替えることは簡単です:
285 <UL>
286 <LI>
287 <!-- fonts from Adobe should have font names beginning with "p" rather than "f". -->
288 Adobe 製フォントは“f”ではなく“p”で始まる名前をつけることになっています。
289 <LI>
290 <!-- the translation from adobe's font-families to 2 character abbreviations has
291 already been done, when using an adobe font you look the family up in a table
292 to get the 2 character abbreviation, when creating your own font you make
293 up your own. -->
294 Adobe のフォントファミリー名から 2 文字の略称への変換規則は既に存在しており、Adobe フォントを使う時はその表からファミリー名を探して 2 文字の略称を得ます。
295 自作のフォントファミリーを作る時は自分で決めます。
296 <LI>
297 <!-- the vendor directory for adobe is "adobe", but the vendor directory for fonts
298 you make should be "public" -->
299 Adobe 用のベンダディレクトリは“adobe”ですが、自作フォント用のベンダディレクトリは“public”になるでしょう。
300 <LI>
301 <!-- (I hope these comments will make sense after you've read the above links) -->
302 (上のリンク先を読むときに、このコメントが役に立てば幸いです)
303 </UL>
304 <LI>
305 <!-- I've not tried to work with truetype fonts, but here's a document that talks
306 about it to some extent. <A HREF="http://www.radamir.com/tex/ttf-tex.htm">LaTeX
307 and TTF</A> -->
308 TrueType フォントが使えるかを筆者は試してみていませんが、その点についていくつかの情報がこの文書にはあります。<A HREF="http://www.radamir.com/tex/ttf-tex.htm">LaTeX と TTF</a>
309 <LI>
310 <!-- If you are interested in the basics, here's the documentation on
311 <A HREF="http://www.ctan.org/tex-archive/fonts/utilities/fontinst/doc/fontinst.ps">fontinst</A>
312 itself. -->
313 基礎的な事柄に興味がある人には、ここに <A HREF="http://www.ctan.org/tex-archive/fonts/utilities/fontinst/doc/fontinst.ps">fontinst</A> のドキュメンテーションそのものがあります。
314 <LI>
315 <!-- I don't know how to deal with cyrillic (except that cyrillic T2 encodings
316 are called 6a), greek or CJK fonts yet. -->
317 筆者は、キリル文字やギリシャ文字、CJK のフォントをどう扱うかについてはまだ知りません (キリル文字の T2 エンコーディングは 6a と言うことだけは知っています)。
318 <LI>
319 <!-- Here's some info on how to use fonts once they are installed:
320 <A HREF="http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/fonts.html">LaTeX
321 and fonts</A> -->
322 インストールされたフォントをどう使うかについていくつかの情報があります。
323 <A HREF="http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/fonts.html">LaTeX とフォント</A>
324 </UL>
325 <P>
326 <P>
327 <!--
328 I did the following: -->
329 筆者は以下のようにしました:
330 <UL>
331 <LI>
332 <!-- I created a directory structure as described in
333 <A HREF="http://www.ctan.org/installationadvice/">Installation advice</A>
334 (and also in
335 <A HREF="http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf">the
336 LaTeX font-faq</A>). -->
337 <A HREF="http://www.ctan.org/installationadvice/">Installation advice</A> にあるとおりにディレクトリ構造を作りました (これは <A HREF="http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf">the LaTeX font-faq</A> にもあります)。
338 <LI>
339 <!-- I made a font (which I will call Cupola), initially I encoded it with the
340 TeX Base Encoding (this was to make sure I had all the characters I needed)
341 -->
342 フォントを作り (Cupola という名前です), まずこれを TeX ベースエンコーディングでエンコードしました (これは、必要な全ての文字を作ったことを確認するためです)
343 <LI>
344 <!-- Then just before generating it I reencoded it into Adobe Standard Encoding
345 (because TeX's fontinst routine expects that) -->
346 フォントの生成を行う直前に、これを Adobe 標準エンコーディングでエンコードし直しました (TeX の fontinst ルーチンがそう仮定しているからです)
347 <LI>
348 <!-- I generated the font naming it "fcur8a.pfb" which means: -->
349 フォントを“fcur8a.pfb”という名前で出力しました。意味は以下のとおりです:
350 <UL>
351 <LI>
352 <!-- f -- made by a small font vendor, public domain, etc. -->
353 f — 小さなフォントベンダの製品やパブリックドメインのフォントなど
354 <LI>
355 <!-- cu - - abbreviation for the family name "Cupola" -->
356 cu — ファミリー名“Cupola”の略称
357 <LI>
358 <!-- r - - roman face -->
359 r — ローマン体
360 <LI>
361 <!-- 8a - - Adobe Standard Encoding -->
362 8a — Adobe 標準エンコーディング
363 </UL>
364 <LI>
365 <!-- I applied the following script: -->
366 以下のスクリプトを実行しました:
367 <BLOCKQUOTE>
368 <PRE>#!/bin/bash <!--
369 # You will need to change the next two lines to suit your font.
370 # You may need to change the two after that as well. -->
371 # 以下の 2 行はあなたの作るフォントに合わせて修正する必要があるでしょう。
372 # その後ろの 2 行も変更したいかもしれません。
373 BASE=fcu
374 PACKAGE=cupola
375 VENDOR=public
376 LOCALTEXMF=/usr/local/share/texmf
377 <!--
378 # remove any old files that might be lying around and might confuse us later on -->
379 # 後で混乱の元になりそうなファイルが元からあれば全て削除します
380 csh -c "rm fi.tex *.mtx *.pl *.vpl"
381 <!--
382 # create a little script to get TeX to create various useful files it needs -->
383 # TeX が必要とする各種のファイルを生成できるように、小さなスクリプトを作成します
384 echo "\\input fontinst.sty" &gt;fi.tex
385 echo "\\latinfamily{$BASE}{}" &gt;&gt;fi.tex
386 echo "\\bye" &gt;&gt;fi.tex
387 <!--
388 #execute that script -->
389 # そのスクリプトを実行します
390 tex fi
391 <!--
392 # But we need to do a bit more processing on some of those files -->
393 # しかし、これらのファイルはちょっと追加の加工を行う必要があります
394 for file in *.pl ; do
395 pltotf $file
396 done
397 for file in *.vpl ; do
398 vptovf $file
399 done
400 <!--
401 # Get rid of stuff we don't need any more -->
402 # もう必要でなくなったゴミを削除します
403 rm fi.tex *.mtx *.pl *.vpl
404 <!--
405 # create the directories we need for the various components -->
406 # さまざまなコンポーネントが必要とするディレクトリを作成します
407 mkdir -p $LOCALTEXMF/fonts/type1/$VENDOR/$PACKAGE \
408 $LOCALTEXMF/fonts/afm/$VENDOR/$PACKAGE \
409 $LOCALTEXMF/fonts/tfm/$VENDOR/$PACKAGE \
410 $LOCALTEXMF/fonts/vf/$VENDOR/$PACKAGE \
411 $LOCALTEXMF/tex/latex/$VENDOR/$PACKAGE
412 <!--
413 # move everything into its expected directory -->
414 # 全ての物をあるべきディレクトリに置きます
415 cp $BASE*.pfb $LOCALTEXMF/fonts/type1/$VENDOR/$PACKAGE
416 cp $BASE*.afm $LOCALTEXMF/fonts/afm/$VENDOR/$PACKAGE
417 mv $BASE*.tfm $LOCALTEXMF/fonts/tfm/$VENDOR/$PACKAGE
418 mv $BASE*.vf $LOCALTEXMF/fonts/vf/$VENDOR/$PACKAGE
419 mv *$BASE*.fd $LOCALTEXMF/tex/latex/$VENDOR/$PACKAGE
420 <!--
421 # finally create the LaTeX package for this font (and put it in the right place) -->
422 # 最後にこのフォントの LaTeX パッケージを作成し (て、正しい場所に置き) ます
423 echo "\\ProvidesPackage{$PACKAGE}" &gt; $LOCALTEXMF/tex/latex/$VENDOR/$PACKAGE/$PACKAGE.sty
424 echo "\\renewcommand{\\rmdefault}{$BASE}" &gt;&gt; $LOCALTEXMF/tex/latex/$VENDOR/$PACKAGE/$PACKAGE.sty
425 echo "\\endinput" &gt;&gt; $LOCALTEXMF/tex/latex/$VENDOR/$PACKAGE/$PACKAGE.sty <!--
426 # but updating the map files required a bit more knowlege than this script has
427 # so I left that to be done by hand -->
428 # しかし map ファイルの更新にはこのスクリプトが知っているよりちょっと余分に
429 # 知識が必要です。筆者はこれを手動で行ってもらうことにしました
430 echo "*********************************************************************" <!--
431 echo You need to create your own map files
432 echo One should be called $LOCALTEXMF/dvips/config/$BASE.map and should
433 echo " contain a line for each file in the family. One might look like this:"
434 -->
435 echo あなたは自分のマップファイルを作成する必要があります。
436 echo 一つは $LOCALTEXMF/dvips/config/$BASE.map という名前で、ファミリーに
437 echo "含まれる各フォントを列挙した 1 行からなります 以下のような感じです:"
438 echo "${BASE}r8a $PACKAGE-Regular \"TexBase1Encoding ReEncodeFont\" &lt;8r.enc &lt;${BASE}r8a.pfb" <!--
439 echo Then change the config.ps file by looking for the location defining the
440 echo " standard map file and adding:" -->
441 echo それから config.ps ファイルで標準のマップファイルを定義している場所を
442 echo 探して、その後ろを以下のように書き換えてください:
443 echo "p +$BASE.map" <!--
444 echo " after it."
445 echo Then go to $LOCALTEXMF/pdftex/config/
446 echo Make a copy "(or a link)" of $LOCALTEXMF/dvips/config/$BASE.map
447 echo and edit pdftex.cfg and insert -->
448 echo それから $LOCALTEXMF/pdftex/config/ に移動し、
449 echo $LOCALTEXMF/dvips/config/$BASE.map をコピー "(またはリンク)" して
450 echo pdftex.cfg を編集し、これも同様に
451 echo "p +$BASE.map" <!--
452 echo at the appropriate place in it too. -->
453 echo という記述を適切な場所に追加してください。
454 </PRE>
455 </BLOCKQUOTE>
456 <LI>
457 </UL>
458 <P ALIGN=Center>
459 — <A HREF="scripting.html">前</A> — <A HREF="overview.html">目次</A> —
460 <A HREF="locale.html">次</A> —
461 </DIV>
462 </BODY></HTML>