hns - 日記自動生成システム - Version 2.19.9

先月 2003年10月 来月
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
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2003年10月14日(火) 旧暦 [n年日記]

#1 [METAFONT] mode_def

/usr/pkg/share/texmf/metafont/misc/modes.mf にある。

網かけ (LaTeX):

/usr/pkg/share//texmf.local/ptex/platex/base/ascmac.sty
にあって、
\usepackage{ascmac}
として使えるようになる、 Maskbox, mask, maskbox などで利用される A-K の網種は、 ascgrp という metafont に定義されている。 その定義は /usr/pkg/share/texmf.local/fonts/source/ascgrp/ascgrp.mf にある。

仮に、これを変更して:

mf '\mode=canonex; input ascgrp.mf'
とすると ascgrp.tfm が出来るので、これを、
/usr/pkg/share/texmf.local/fonts/tfm/ascgrp/ascgrp.tfm
に戻すと、網種を変更したり追加したりすることが出来る。
この時に(もし変更したとすると)、
/var/spool/texfonts/pk/ljfour/ascgrp/ascgrp.600pk
のようなものを消しておく必要がある。 (そうでないと、以前に作られた同じ名前のものが有効になってしまうから) 新しく作られると、次のような字が見える。

mktexpk:

[8kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ascgrp
mktexpk: Running mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ascgrp
This is METAFONT, Version 2.7182 (Web2C 7.3.1)

(/usr/pkg/share/texmf.local/fonts/source/ascgrp/ascgrp.mf
>> 10 [48] [49] [50] [51] [32] [64] [65] [66] [67] [68] [69] [70] [71] [72]
[73] [74] [75] [97] [98] )
Font metrics written on ascgrp.tfm.
Output written on ascgrp.600gf (19 characters, 6584 bytes).
Transcript written on ascgrp.log.
mktexpk: /var/spool/texfonts/pk/ljfour/ascgrp/ascgrp.600pk: successfully generated.
何故この中で ljfour が指定されているのだろうか。(ljfour = HP Laser Jet 4)

mf は起動する必要がなく ascgrp.mf を変更して:

おくだけで良い (しておく必要がある) ?
rm /usr/pkg/share/texmf.local/fonts/tfm/ascgrp/ascgrp.tfm
の必要がある。
いい加減にやっていたら、 「Type3 フォントが無効です。」とか言われてしまった。 (dvipdfm -> Acrobat Reader 5)



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)