You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code fails: \usepackage[outputdir=/tmp/]{dot2texi} when compiled with pdflatex -shell-escape mygraph.tex, resulting in:
pdflatex: Not writing to /tmp/mygraph-dot2tex-fig1.dot (openout_any = p).
! I can't write on file `/tmp/mygraph-dot2tex-fig1.dot'.
\dottotexverbatimwrite ...penout \verbatim@out kjellmf/dot2tex#1
\BeforeStream \let \do \@m...
l.50 ...z, codeonly, styleonly, options=-s -tmath]
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name:
bug 2: some relative paths
This code fails: \usepackage[outputdir=../work/]{dot2texi} when compiled with pdflatex -shell-escape mygraph.tex, resulting in essentially the same error as with the absolute path. Note the leading ../. When the relative path begins with a child directory there is no issue. The bug emerges if it traverses the parent directory.
bug 3: output paths specified on the commandline
This code fails: \usepackage{dot2texi} when compiled with pdflatex -shell-escape -output-directory=work mygraph.tex, resulting in:
Opening dot2tex stream mygraph-dot2tex-fig1.dotERROR Failed to load file mygraph-dot2tex-fig1.dot
system returned with code 256
! LaTeX Error: File `mygraph-dot2tex-fig1.tex' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)
Enter file name:
These problems frustrate complex projects where a Makefile is used with a work directory, in which case bug 3 manifests, and while the outputdir option has issues it seems impossible to work around.
The text was updated successfully, but these errors were encountered:
Thanks for the bug reports. I'm afraid I don't have any quick fixes. My TeX-skills are rusty and I have not worked on dot2texi.sty for a very long time. Do you have any ideas for how to fix these issues?
I think I've encountered 3 bugs.
bug 1: absolute paths
This code fails:
\usepackage[outputdir=/tmp/]{dot2texi}
when compiled withpdflatex -shell-escape mygraph.tex
, resulting in:bug 2: some relative paths
This code fails:
\usepackage[outputdir=../work/]{dot2texi}
when compiled withpdflatex -shell-escape mygraph.tex
, resulting in essentially the same error as with the absolute path. Note the leading../
. When the relative path begins with a child directory there is no issue. The bug emerges if it traverses the parent directory.bug 3: output paths specified on the commandline
This code fails:
\usepackage{dot2texi}
when compiled withpdflatex -shell-escape -output-directory=work mygraph.tex
, resulting in:These problems frustrate complex projects where a
Makefile
is used with a work directory, in which case bug 3 manifests, and while the outputdir option has issues it seems impossible to work around.The text was updated successfully, but these errors were encountered: