summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/lucold/makevf
blob: 6b40e0a49bacbb9b1163c6aa61d2bf07cee7050a (plain)
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
#! /bin/bash

# $Id: makevf,v 1.1 1999/05/25 12:16:26 loreti Exp $

cp $TETEXDIR/texmf/fonts/vf/bh/lubright/hlh??t.vf .

for file in hlh??t.vf
  do base="${file%vf}"
  vftovp ${base}vf ${base}tfm ${base}vpl
done

to="hlor7t"; from="hlhr7t.vpl"; mft="hlcrima"
ck="$(grep CHECKSUM ${mft}.pl | cut -d" " -f3 | sed 's/)//')"
awk >tmp -f maketfm.awk -v infile1=$from -v infile2=${mft}.pl
awk >${to}.vpl -f makevf.awk -v infile=tmp \
    -v mft=$mft -v ck=$ck
vptovf ${to}.vpl ${to}.vf ${to}.tfm
rm tmp

to="hlob7t"; from="hlhb7t.vpl"; mft="hlcdima"
ck="$(grep CHECKSUM ${mft}.pl | cut -d" " -f3 | sed 's/)//')"
awk >tmp -f maketfm.awk -v infile1=$from -v infile2=${mft}.pl
awk >${to}.vpl -f makevf.awk -v infile=tmp \
    -v mft=$mft -v ck=$ck
vptovf ${to}.vpl ${to}.vf ${to}.tfm
rm tmp

to="hlor8t"; from="hlhr8t.vpl"; mft="hlcrima"
ck="$(grep CHECKSUM ${mft}.pl | cut -d" " -f3 | sed 's/)//')"
awk >tmp -f maketfm.awk -v infile1=$from -v infile2=${mft}.pl
awk >${to}.vpl -f makevf.awk -v infile=tmp \
    -v mft=$mft -v ck=$ck
vptovf ${to}.vpl ${to}.vf ${to}.tfm
rm tmp

to="hlob8t"; from="hlhb8t.vpl"; mft="hlcdima"
ck="$(grep CHECKSUM ${mft}.pl | cut -d" " -f3 | sed 's/)//')"
awk >tmp -f maketfm.awk -v infile1=$from -v infile2=${mft}.pl
awk >${to}.vpl -f makevf.awk -v infile=tmp \
    -v mft=$mft -v ck=$ck
vptovf ${to}.vpl ${to}.vf ${to}.tfm
rm tmp *.pl *.vpl hlh*.tfm hlh*.vf