Wouldn't it be a good idea if *all* programs which read
tfm files would use the mktextfm mechanism ? vftovp is an
example of a program which doesn't with web2c 7.2. The
patch below corrects this.
--- web2c/common.defines Sun Aug 9 23:31:38 1998
+++ web2c/common.defines2 Sun Aug 9 23:32:45 1998
@@ -81,6 +81,7 @@
@define const VFTOVPHELP;
@define const VPTOVFHELP;
@define const WEAVEHELP;
+@define const MAKETEXTFMBYDEFAULT; { added for vftovp }
@define function abs ();
@define function addressof ();
@@ -133,6 +134,7 @@
@define function xrealloc ();
@define function xstrdup ();
@define function XTALLOC ();
+@define const kpsesrccompile; { added for vftovp }
@<Define |parse_arguments|@> =
procedure parse_arguments;
-const n_options = 4; {Pascal won't count array lengths for us.}
+const n_options = 6; {Pascal won't count array lengths for us.}
var @!long_options: array[0..n_options] of getopt_struct;
@!getopt_return_val: integer;
@!option_index: c_int_type;
@@ -490,6 +492,12 @@
else
write_ln (stderr, 'Bad character code format', optarg, '.');
+ end else if argument_is ('mktex') then begin
+ kpse_maketex_option (optarg, true);
+
+ end else if argument_is ('no-mktex') then begin
+ kpse_maketex_option (optarg, false);
+
end; {Else it was a flag; |getopt| has already done the assignment.}
until getopt_return_val = -1;
@ The global variable |verbose| determines whether or not we print
--- help.h Mon Aug 10 00:22:06 1998
+++ help.h.new Mon Aug 10 00:21:22 1998
@@ -527,7 +527,8 @@
-charcode-format=TYPE output character codes according to TYPE,\n\
either `octal' or `ascii'; default is ascii for\n\
letters and digits, octal for all else\n\
--help display this help and exit\n\
+[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tfm)\n\
+-help display this help and exit\n\
-verbose display progress reports\n\
-version output version information and exit\n"
#endif /* VFTOVP */