summaryrefslogtreecommitdiff
path: root/support/pydocstrip/vnr.kins
blob: f3f248ac32ab25fdbbd9409d2cd64265bbf029e4 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
## VNR-METAFONT program
## Line start with a sharp (#) is the comment line

$docstrip=1793

## require docstrip version 1793 or higher
## TRY: `docstrip --version`

## default local variables

## If these variables arenot specified from the command line
## they accept the default value given.

$local(t5supp=0)
$local(test=1)
$local(nopre=1)
$local(cm=1)
$local(ec=0)
$local(param=1)

## The following code arenot valuable
$local(destdir=tempdir)

## default destination
$destdir=tempdir

$if(t5supp=1)
    $test=0
$enif

$import(vnr_pp)
## import file vnr_pp.kins

$from(vnbase.dtx)
## the source file is vnbase.dtx

    $gen(vnbase.mf)(vnbase,test)(test=1)
    $gen(vnbase.mf)(vnbase)(test=0,t5supp=0)
    $gen(vnbase.mf)(vnbase,t5supp)(test=0,t5supp=1)

$from(vndriver.dtx)
## the source file now is vndriver.dtx

    $if(test=1)
        $gen(vncsc.mf)(csc,test)
        $gen(vntextit.mf)(it,test)
        $gen(vnroman.mf)(rm,test)
    $else
        $gen(vncsc.mf)(csc)
        $gen(vnroman.mf)(rm)
        $gen(vntextit.mf)(it)
    $enif

    $if(t5supp=1)
        $if(test=0)
            $gen(vncsc.mf)(csc,t5supp)
            $gen(vnroman.mf)(rm,t5supp)
            $gen(vntextit.mf)(it,t5supp)
        $enif
    $enif

########################################################################

$if(param=1)
    $pre
        %% This file is a part of VNR-METAFONT program.
    $enpre

    $if(ec=1)
        $import(vnr_ec)
    $enif

    $if(cm=1)
        $import(vnr_cm)
    $enif
$enif

$eof=1

########################################################################