diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-07 11:21:45 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-07 11:21:45 +0000 |
commit | 3bbd721df0882f2147bb324f257b66754476fcbf (patch) | |
tree | 10f24bd83f4bf8c4cba5c438044366f427ea6865 /Build/source/texk/web2c/omegaware/opl2ofm.web | |
parent | 12fc55ea548adddbfde8062da475dff9322f52af (diff) |
Correctly handle 'vptovf foo.vpl bar vf' and 'ovp2ovf foo.ovp bar.ovf' (from TANAKA Takuji)
pltotf, tftopl, vftovp, vptovf: Verify test output files
git-svn-id: svn://tug.org/texlive/trunk@32351 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegaware/opl2ofm.web')
-rw-r--r-- | Build/source/texk/web2c/omegaware/opl2ofm.web | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/Build/source/texk/web2c/omegaware/opl2ofm.web b/Build/source/texk/web2c/omegaware/opl2ofm.web index e73f058c8b8..83ea0be20fb 100644 --- a/Build/source/texk/web2c/omegaware/opl2ofm.web +++ b/Build/source/texk/web2c/omegaware/opl2ofm.web @@ -2386,33 +2386,22 @@ end @ The input routine is now complete except for the following code, which prints a progress report as the file is being read. + @<Glob...@>= -@!ASCII_04,@!ASCII_10,@!ASCII_14,HEX: packed array [1..32] of char; - {strings for output in the user's external character set} -@!MBL_string,@!RI_string,@!RCE_string:packed array [1..3] of char; - {handy string constants for |face| codes} +@!HEX: packed array [1..16] of char; @ @<Set init...@>= -ASCII_04:=' !"#$%&''()*+,-./0123456789:;<=>?';@/ -ASCII_10:='@@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_';@/ -ASCII_14:='`abcdefghijklmnopqrstuvwxyz{|}~ ';@/ HEX:='0123456789ABCDEF';@/ -MBL_string:='MBL'; RI_string:='RI '; RCE_string:='RCE'; @ The array |dig| will hold a sequence of digits to be output. @<Glob...@>= @!dig:array[0..32] of integer; -@ Here, in fact, are two procedures that output +@ Here, in fact, is a procedure that prints |dig[j-1]|$\,\ldots\,$|dig[0]|, given $j>0$. -@p procedure out_digs(j:integer); {outputs |j| digits} -begin repeat decr(j); out(HEX[1+dig[j]]); -until j=0; -end; -@# -procedure print_digs(j:integer); {prints |j| digits} +@p procedure print_digs(j:integer); {prints |j| digits} begin repeat decr(j); print(HEX[1+dig[j]]); until j=0; end; |