[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texi2dvi issue with cd_dir
From: |
d . gerbet |
Subject: |
texi2dvi issue with cd_dir |
Date: |
Mon, 30 May 2016 18:19:02 +0200 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
Dear developers,
after updating to the new version
$ texi2dvi --version
texi2dvi (GNU Texinfo 6.1+dev) 7174
of texi2dvi the paths to all files were screwed up. I traced this
problem up to the function cd_dir(), which should, as far as I can
imagine, update the variables in $path_vars. But the line
---
248 : eval "case \"$$cdd_dir\" in
will append the PID in front of the string 'cdd_dir' and has never a '/'
as iths first character. For this reason any absolute path ${!cdd_dir}
will be prefixed by '/../.. ...' which results in a garbage. Changing to
---
248 : eval "case \"${!cdd_dir}\" in
will detect the absolute path. However, the prefix will be appended to
relative paths, if cd'd into an absolute path.
To reproduce the problem try to compile a document foo.tex with the
command
$ texi2pdf -D --build-dir=/tmp/bar foo.tex 2>bar
(the output 'bar' is appended to this mail)
Note the absolute path given by '--build-dir='.
I could fix the problem for me by replacing all relative paths by
absolute ones, but I think you had a reason (DOS?) for the update of
variables instead of prefering absolute paths.
Yours sincerely
Daniel Gerbet
bar
Description: Text document
- texi2dvi issue with cd_dir,
d . gerbet <=