Paul A. Rubin wrote:
John Pye wrote:
If I make a DOT->PNG converter and use that, it works fine. So there
is nothing wrong with LyX's ability to make some form of file
conversion here. It fails when I attempt to configure a conversion
from DOT to PDF.
Works fine for me here. Keep in mind that there are at least three PDF
file formats defined within LyX, because different compilation methods
(ps2pdf, pdflatex, dvipdfm) have different requirements. On my box
those are designated pdf, pdf2 and pdf3 respectively, and I'm pretty
sure that's standard across installations. If you create a converter
from DOT to pdf3, say, and then use View -> PDF (pdflatex) to see the
output (which is creating pdf2 output), presumably something will break.
I always use pdflatex, so I created a Dot file format and then a Dot to
PDF (pdflatex) converter. The latter used the command line 'dot -Tpdf
$$i -o $$o'. I have the dot executable on my system command path;
otherwise, I would need either to specify a full path in the converter
or add the path to the LyX path prefix.
Hello Paul,
Maybe you could contribute this converter to LyX? I am very interested
in dot but never took the time to try to integrate it within LyX.
Abdel.