[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347992: tetex-base: mptopdf fails when src file is not in current dir



tags 347992 + patch
stop

On 13.01.06 Sanjoy Mahajan (sanjoy@mrao.cam.ac.uk) wrote:

Hi,

> If you run mptopdf on a metapost eps file in a subdirectory, then
> mptopdf reports that it converted it.  However, it actualy leaves
> the output in ./mpbasename.pdf.  For example:
> 
Thanks for noticing.

> Here is a patch:
> 
> --- mptopdf.pl.bak	2004-08-31 06:06:09.000000000 -0400
> +++ mptopdf.pl	2006-01-13 16:37:15.000000000 -0500
> @@ -22,6 +22,7 @@
>  use Config ;
>  use Getopt::Long ;
>  use strict ;
> +use File::Basename;
>  
File::Basename comes from perl-modules, which is needed by perl,
which is needed by tetex-bin. Well, this doesn't make sure perl is
installed, when tetex-base is there, but the description of
tetex-base says: "Together with tetex-bin you'll have a minimal
installation." So virtually everybody will have installed tetex-bin.

H.
-- 
sigmentation fault



Reply to: