Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin
John Pye wrote: Well, it would not be hard for someone to provide a patch file that one could apply to the preferences file. The user would have to know how to merge in a patch file (or else LyX would have to provide a patch merge utility). Unfortunately, these things are not entirely one-size

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread John Pye
Paul A. Rubin wrote: > John, > > John Pye wrote: >>> 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 pd

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes
Paul A. Rubin wrote: Hi Abdel, Abdelrazak Younes wrote: 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. Happy to oblige, but I'm not sure what there is to contribute. These are the lines I added to the

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin
Hi Abdel, Abdelrazak Younes wrote: 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. Happy to oblige, but I'm not sure what there is to contribute. These are the lines I added to the preferences file (thr

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin
John, John Pye wrote: 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 p

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes
John Pye wrote: FWIW, I think that rather than an all-powerful GUI for editing converters, file formats, etc, these things should be stored in flat platform-specific configuration files that can be packaged for distribution as 'plugins' eg a set of LyX configuration files + linux package dependen

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread John Pye
Hi Paul 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 f

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes
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 mi

Re: Can't convert graphviz DOT format to PDF

2008-05-20 Thread Paul A. Rubin
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 le

Re: Can't convert graphviz DOT format to PDF

2008-05-20 Thread Konrad Hofbauer
John Pye wrote: Make sure to check your console.log and system.log for error messages. Where will I find those files? There are not in the same directory as the document, and they are not in ~/.lyx. And they are not listed in the LyX menus, and no path for log files is given in Preferences. A

Re: Can't convert graphviz DOT format to PDF

2008-05-20 Thread John Pye
Konrad Hofbauer wrote: John Pye wrote: HOWEVER, it doesn't fix the problem. When I switch DOT to a vector format, I get a blank two page document, with page numbers but nothing else, instead of the expected PDF with one page and diagram. Could it be that now the actual DOT->PDF conversion fai

Can't convert graphviz DOT format to PDF

2008-05-20 Thread Eran Kaplinsky
I have no answer for you, but I'm following this thread closely. I tried to get dot2tex working under LyX several months ago, but gave up. Eran

Re: Can't convert graphviz DOT format to PDF

2008-05-20 Thread Konrad Hofbauer
John Pye wrote: HOWEVER, it doesn't fix the problem. When I switch DOT to a vector format, I get a blank two page document, with page numbers but nothing else, instead of the expected PDF with one page and diagram. Could it be that now the actual DOT->PDF conversion fails? Make sure to check y

Re: Can't convert graphviz DOT format to PDF

2008-05-20 Thread John Pye
Hi Konrad, Konrad Hofbauer wrote: John Pye wrote: I have a simple problem with setting up converters in LyX. I want to be able to embed Graphviz DOT files (http://www.graphviz.org) into my LyX document. I have added the DOT file type via the preferences, and I have added a DOT->PDF (pdflatex

Re: Can't convert graphviz DOT format to PDF

2008-05-20 Thread Konrad Hofbauer
John Pye wrote: I have a simple problem with setting up converters in LyX. I want to be able to embed Graphviz DOT files (http://www.graphviz.org) into my LyX document. I have added the DOT file type via the preferences, and I have added a DOT->PDF (pdflatex) file format converter as well, and

Can't convert graphviz DOT format to PDF

2008-05-20 Thread John Pye
Hi all I have a simple problem with setting up converters in LyX. I want to be able to embed Graphviz DOT files (http://www.graphviz.org) into my LyX document. I have added the DOT file type via the preferences, and I have added a DOT->PDF (pdflatex) file format converter as well, and then I