Bug#182211: tetex-extra: rboxes.mp broken
Hilmar Preusse <hille42@web.de> writes:
> On 23.02.03 Esben Haabendal Sorensen (esben@haabendal.dk) wrote:
>
> Hi,
>
>> Running the following file through mpost fails:
>>
>> bart@zaphod % mpost bug.mp
>> ~
>> This is MetaPost, Version 0.641 (Web2C 7.4.5)
>> (bug.mp (/usr/share/texmf/metapost/base/boxes.mp)
>> (/usr/share/texmf/metapost/base/rboxes.mp
>> (/usr/share/texmf/metapost/base/boxes.mp))
>> >> clearboxesclearboxes
>> ! Isolated expression.
>> <to be read again>
>> ;
>> endfig->scantokens.extra_endfig;
>> shipit;endgroup
>> l.7 endfig
>> ;
>> ? q
>> OK, entering batchmodezsh: 12560 exit 1 mpost bug.mp
>> bart@zaphod %
>>
> Try the following patch to boxes.mp:
>
> <snip>
> --- .texmf/metapost/base/boxes.mp Tue Mar 26 00:00:00 1996
> +++ /usr/share/texmf/metapost/base/boxes.mp Fri May 22 22:23:15 1998
> @@ -119,7 +119,7 @@
>
> extra_beginfig := extra_beginfig
> & "boxjoin();save pic_,sproc_,pproc_;def clearboxes=enddef;";
> -extra_endfig := extra_endfig & "clearboxes";
> +extra_endfig := extra_endfig & "clearboxes;";
>
>
> % Given a list of box names, give whatever default values are necessary
> <snap>
>
> Your file run through smoothly on stable, hence I searched for the
> differences between stable and unstable and found that one. If that
> helps you CTAN is broken.
The above patch fixes the problem. Will you fix it in unstable and
send the patch upstream to CTAN?
/Esben
--
And God said, "Let there be light", and there was light.
And everyone said, "Hey, cool! Do You do parties?".
Reply to: