[tex-live] [mf] option `-output-directory' doesn't work

Zdenek Wagner zdenek.wagner at gmail.com
Mon Jan 24 14:40:21 CET 2011


2011/1/24 Werner LEMBERG <wl at gnu.org>:
>
>>>> As the title says: It seems that mf's `-output-directory' option is
>>>> completely ignored.  A bug?
>>>
>>> A test on win32:
>>> mf-nowin --output-directory=e:/work2 "\mode:=ljfour; mag:=1; input cmr10"
>>>
>>> cmr10.600gf, cmr10.log and cmr10.tfm went to e:/work2 and the
>>> current directory was empty.
>>>
>> Test on Linux (CentOS 5.3), x86_64
>>  mf --output-directory=/tmp "\mode:=ljfour; mag:=1; input cmr10"
>> Output went to /tmp, no new files in the current directory
>
> Thanks for testing.  Using absolute paths works on my platform also.
> However, using relative paths like `--output-directory=../build'
> doesn't.  In case this is intentional please improve the help message
> of mf accordingly.
>
I have done three more tests:
 mf --output-directory=../tmp/mftest "\mode:=ljfour; mag:=1; input cmr10"
works

 mf --output-directory=/home/wagner/tmp/mftest "\mode:=ljfour; mag:=1;
input cmr10"
works

mf --output-directory=~/tmp/mftest "\mode:=ljfour; mag:=1; input cmr10"
spawn mf --output-directory=~/tmp/mftest \mode:=ljfour; mag:=1; input cmr10
This is METAFONT, Version 2.718281 (TeX Live 2010)
! I can't write on file `cmr10.log'.

In all cases it is the same directory.

>
>    Werner
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list