-
Notifications
You must be signed in to change notification settings - Fork 0
/
ctan2tds-config.pl
70 lines (64 loc) · 2.47 KB
/
ctan2tds-config.pl
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
$special{'acmtrans'} = '&MAKEflatten';
$special{'adobecaslon'} = '&donormal';
delete $special{'comicsans'}; # need to delete to get -tds ready try
$special{'chemsym'} = '&MAKEflatten';
$special{'imprintmtshadow'} = '&donormal';
$special{'lsabon'} = '&donormal';
$special{'ptmsc'} = '&donormal';
$special{'thsmc'} = '&donormal';
$special{'verdana'} = '&donormal';
$special{'lucidabr'} = '&donormal';
$special{'lucold'} = '&MAKEflatten';
$special{'lucida-otf'} = '&MAKEflatten';
$specialdocfmt{'lucida-otf'} = "latex";
$specialtex{'lucida-otf'} = '^lucida-otf-kern\.tex|' . $standardtex;
$special{'futurans'} = '&donormal';
$special{'pcarl'} = '&donormal';
$special{'mathstone'} = '&MAKEflatten';
$special{'spark-otf'} = '&MAKEflatten';
$special{'opacity-pro'} = '&donormal';
$special{'notocjksc'} = '&donormal';
$specialfoundry{'notocjksc'} = "google";
$special{'notocondensed'} = '&donormal';
$specialfoundry{'notocondensed'} = "google";
$special{'eq-save'} = '&MAKEdps';
$special{'fetchbibpes'} = '&MAKEdps';
$special{'mkstmpdad'} = '&MAKEdps';
$special{'dps'} = '&MAKEdps';
$special{'fetchbibpes'} = '&MAKEdps';
$special{'datepicker-pro'} = '&MAKEdps';
$special{'aeb-pro'} = '&MAKEdps';
$special{'annot-pro'} = '&MAKEdps';
$special{'acrotex'} = '&MAKEdps';
$special{'acrotex-js'} = '&MAKEdps';
$special{'acromemory'} = '&MAKEdps';
$special{'aeb-mlink'} = '&MAKEdps';
$special{'aeb-minitoc'} = '&MAKEdps';
$special{'graphicxsp'} = '&MAKEdps';
$special{'icon-appr'} = '&MAKEdps';
$special{'eqexam'} = '&MAKEdps';
$special{'bargraph-js'} = '&MAKEdps';
$special{'pmdb'} = '&MAKEdps';
$special{'thorshammer'} = '&MAKEdps';
$special{'richtext'} = '&MAKEdps';
$special{'thorshammer'} = '&MAKEdps';
$special{'fitr'} = '&MAKEdps';
$special{'artthreads'} = '&MAKEdps';
$special{'popupmenu'} = '&MAKEdps';
$special{'ltx4yt'} = '&MAKEdps';
$special{'rmannot'} = '&MAKEdps';
$special{'eq-fetchbbl'} = '&MAKEdps';
$special{'docassembly'} = '&MAKEdps';
$special{'siam'} = '&MAKEsiam';
$special{'fontsetup-nonfree'} = '&donormal';
$posthook{'fontsetup-nonfree'} = '&POST_onelevel';
sub MAKEdps {
print "\t SPECIAL $package";
# sort of flatten, but not completely (keep the 'examples' subdir)
&xchdir($packagedir);
&SYSTEM('if [ -d doc ] ; then mv doc/* . && rmdir doc ; fi');
&SYSTEM('if [ -d docs ] ; then mv docs/* . && rmdir docs ; fi');
# now do the normal thing
&xchdir($RAW_DIR);
&donormal();
}