Opened 10 years ago

Last modified 7 years ago

#44221 new defect

dot2texi: shell escape does not seem to work

Reported by: akimd (Akim Demaille) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: dot2texi

Description

Hi.

I don't understand why the following snippet does not work. It does on Debian.

\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\begin{document}
\begin{dot2tex}
digraph G {
    node [shape="circle"];
    a_1 -> a_2 -> a_3 -> a_4 -> a_1;
  }
\end{dot2tex}
\end{document}
$ pdflatex -shell-escape foo.tex
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/MacPorts 2013_6)
 \write18 enabled.
entering extended mode
(./foo.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 43 languages loaded.
(/opt/local/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/opt/local/share/texmf-texlive/tex/latex/base/size10.clo))
(/opt/local/share/texmf/tex/latex/dot2texi.sty
(/opt/local/share/texmf-texlive/tex/latex/moreverb/moreverb.sty
(/opt/local/share/texmf-texlive/tex/latex/tools/verbatim.sty))
(/opt/local/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
(/opt/local/share/texmf-texlive/tex/generic/xkeyval/xkeyval.tex
(/opt/local/share/texmf-texlive/tex/generic/xkeyval/keyval.tex))))
(/opt/local/share/texmf/tex/latex/pgf/frontendlayer/tikz.sty
(/opt/local/share/texmf/tex/latex/pgf/basiclayer/pgf.sty
(/opt/local/share/texmf/tex/latex/pgf/utilities/pgfrcs.sty
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfutil-common.tex
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfutil-latex.def
(/opt/local/share/texmf-texlive/tex/latex/ms/everyshi.sty))
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/opt/local/share/texmf/tex/latex/pgf/basiclayer/pgfcore.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/opt/local/share/texmf-texlive/tex/latex/latexconfig/graphics.cfg)
(/opt/local/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty)
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/opt/local/share/texmf/tex/latex/pgf/systemlayer/pgfsys.sty
(/opt/local/share/texmf/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfkeys.code.tex
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/opt/local/share/texmf/tex/generic/pgf/systemlayer/pgf.cfg)
(/opt/local/share/texmf/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
(/opt/local/share/texmf/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
(/opt/local/share/texmf/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
(/opt/local/share/texmf-texlive/tex/latex/xcolor/xcolor.sty
(/opt/local/share/texmf-texlive/tex/latex/latexconfig/color.cfg))
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmath.code.tex
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathcalc.code.tex
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathutil.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathparser.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.trigonometric.cod
e.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.comparison.code.t
ex) (/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.base.code.tex
) (/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfunctions.integerarithmetic
s.code.tex)))
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmathfloat.code.tex))
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.te
x) (/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
) (/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransformations.code.
tex) (/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.t
ex) (/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex))
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
) (/opt/local/share/texmf/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex))
) (/opt/local/share/texmf/tex/generic/pgf/modules/pgfmoduleshapes.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/modules/pgfmoduleplot.code.tex)
(/opt/local/share/texmf/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty)
(/opt/local/share/texmf/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty))
(/opt/local/share/texmf/tex/latex/pgf/utilities/pgffor.sty
(/opt/local/share/texmf/tex/latex/pgf/utilities/pgfkeys.sty
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgfkeys.code.tex))
(/opt/local/share/texmf/tex/latex/pgf/math/pgfmath.sty
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmath.code.tex))
(/opt/local/share/texmf/tex/generic/pgf/utilities/pgffor.code.tex
(/opt/local/share/texmf/tex/generic/pgf/math/pgfmath.code.tex)))
(/opt/local/share/texmf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
(/opt/local/share/texmf/tex/generic/pgf/libraries/pgflibraryplothandlers.code.t
ex) (/opt/local/share/texmf/tex/generic/pgf/modules/pgfmodulematrix.code.tex)
(/opt/local/share/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrar
ytopaths.code.tex))) (./foo.aux) ABD: EveryShipout initializing macros
(/opt/local/share/texmf-texlive/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/opt/local/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty))
(/opt/local/share/texmf-texlive/tex/latex/oberdiek/epstopdf-base.sty
(/opt/local/share/texmf-texlive/tex/latex/oberdiek/grfext.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/kvdefinekeys.sty))
(/opt/local/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty)))
(/opt/local/share/texmf-texlive/tex/latex/latexconfig/epstopdf-sys.cfg))
! Undefined control sequence.
\dottotexverbatimwrite ... \openout \verbatim@out 
                                                  #1 \BeforeStream \let \do ...
l.6 d
     igraph G {
? x
No pages of output.
Transcript written on foo.log.
$

My environment seems sane, and other than that, I don't have problems with LaTeX (which I'm using quite intensively).

$ port installed  | grep texlive
  lcdf-typetools @2.99_0+texlive (active)
  texlive @2013_0+doc+medium (active)
  texlive-basic @30847_0+doc (active)
  texlive-bin @2013_6+x11 (active)
  texlive-bin-extra @30842_0+doc (active)
  texlive-common @2013_0 (active)
  texlive-context @30458_1+doc (active)
  texlive-fonts-extra @30782_0+doc (active)
  texlive-fonts-recommended @30307_1+doc (active)
  texlive-fontutils @30842_0+doc (active)
  texlive-games @30558_0+doc (active)
  texlive-generic-recommended @30396_0+doc (active)
  texlive-humanities @30815_0+doc (active)
  texlive-lang-czechslovak @30842_0+doc (active)
  texlive-lang-english @30780_0+doc (active)
  texlive-lang-european @30457_0+doc (active)
  texlive-lang-french @30777_0+doc (active)
  texlive-lang-german @30791_0+doc (active)
  texlive-lang-italian @30726_0+doc (active)
  texlive-lang-polish @30749_0+doc (active)
  texlive-lang-portuguese @30372_0+doc (active)
  texlive-lang-spanish @30372_0+doc (active)
  texlive-latex @30738_0+doc (active)
  texlive-latex-extra @30788_0+doc (active)
  texlive-latex-recommended @30811_0+doc (active)
  texlive-luatex @30790_0+doc (active)
  texlive-math-extra @30747_0+doc (active)
  texlive-metapost @30842_0+doc (active)
  texlive-pictures @30637_0+doc (active)
  texlive-plain-extra @30395_0+doc (active)
  texlive-pstricks @30617_0+doc (active)
  texlive-science @30307_0+doc (active)
  texlive-xetex @30842_0+doc (active)
$ port installed  | grep dot2tex
  dot2tex @2.8.7_2+python27 (active)
  dot2texi @3-0-0_2 (active)

Change History (5)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: snc@… openmaintainer@… removed
Owner: changed from macports-tickets@… to snc@…

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by akimd (Akim Demaille)

FWIW, I have received the massive upgrade to TeXLive 2014, but it still fails.

$ port installed  | grep -E 'texlive|dot2tex'
  dot2tex @2.8.7_2+python27 (active)
  dot2texi @3-0-0_2 (active)
  lcdf-typetools @2.99_0+texlive (active)
  texlive @2014_0+doc+medium (active)
  texlive-basic @34245_0+doc (active)
  texlive-bin @2014_0+x11 (active)
  texlive-bin-extra @34201_0+doc (active)
  texlive-common @2014_0 (active)
  texlive-context @34221_0+doc (active)
  texlive-fonts-extra @34251_0+doc (active)
  texlive-fonts-recommended @34089_0+doc (active)
  texlive-fontutils @34201_0+doc (active)
  texlive-games @33801_0+doc (active)
  texlive-generic-extra @34087_0+doc (active)
  texlive-generic-recommended @30396_1+doc (active)
  texlive-humanities @34064_0+doc (active)
  texlive-lang-czechslovak @34201_0+doc (active)
  texlive-lang-english @34157_0+doc (active)
  texlive-lang-european @33894_0+doc (active)
  texlive-lang-french @33601_0+doc (active)
  texlive-lang-german @34243_0+doc (active)
  texlive-lang-italian @33321_0+doc (active)
  texlive-lang-polish @34177_0+doc (active)
  texlive-lang-portuguese @31125_0+doc (active)
  texlive-lang-spanish @34129_0+doc (active)
  texlive-latex @34192_0+doc (active)
  texlive-latex-extra @34239_0+doc (active)
  texlive-latex-recommended @34240_0+doc (active)
  texlive-luatex @34131_0+doc (active)
  texlive-math-extra @34176_0+doc (active)
  texlive-metapost @34201_0+doc (active)
  texlive-pictures @34010_0+doc (active)
  texlive-plain-extra @34228_0+doc (active)
  texlive-pstricks @34156_0+doc (active)
  texlive-science @33447_0+doc (active)
  texlive-xetex @34205_0+doc (active)

comment:4 Changed 8 years ago by nerdling (Jeremy Lavergne)

Owner: changed from snc@… to macports-tickets@…
Version: 2.3.1

comment:5 Changed 7 years ago by jkulesza (Joel A. Kulesza)

I am seeing the same behavior.

Note: See TracTickets for help on using tickets.