[tex-live] metapost and relative paths

Lars Madsen daleif at imf.au.dk
Mon Feb 15 14:25:56 CET 2010


Lars Madsen wrote:
> Zdenek Wagner wrote:
>> 2010/2/15 Lars Madsen <daleif at imf.au.dk>:
>>> I was wondering, have mpost been changed such that
>>>
>>> input ../file.mp
>>>
>>> is no longer allowed?
>>>
>>> A user complained, that his file from last year didn't work any more.
>>>
>>> If it have been changed, do we have any options to change this back 
>>> for our
>>> own site?
>>>
>> I think that security settings in texmf.cnf do not allow reading a
>> file in a parent directory.
>>
> 
> ok, I'll have a look, I've ready changed that for dvips for our site...
> 

I've done a little more testing. I think it is his files that have a problem

this simple setup seems to work fine on Linux:


hest.mp:

beginfig(1);
draw fullcircle scaled 3cm;
endfig;

t.mp:

input ../hest.mp
end;

works fine

sorry about the noise



-- 

/daleif


More information about the tex-live mailing list