Re: Unnecessary PDF->PNG conversion under windows.

2007-02-14 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> Since this fix will be also in 1.4.4 the packagers need to > Georg> update any lyxrc.dist file if they are shipping one. And I > Georg> would also mention it in the release notes, since p

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-14 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Since this fix will be also in 1.4.4 the packagers need to Georg> update any lyxrc.dist file if they are shipping one. And I Georg> would also mention it in the release notes, since people might Georg> have customized their preferences

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-13 Thread Bo Peng
Since this fix will be also in 1.4.4 the packagers need to update any lyxrc.dist file if they are shipping one. And I would also mention it in the release notes, since people might have customized their preferences. I have fixed 1.5.x installer (LyxWinInstaller correctly handles this), and I wil

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-13 Thread Georg Baum
Am Dienstag, 13. Februar 2007 16:28 schrieb Bo Peng: > > What happens if you add the vector flag to the pdf formats? > > I mean, try the following lines in lyxrc.dist: > > > > \format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document,vector" > > \format "pdf2" "pdf" "PDF (pdflatex)" "F" "pdfvi

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-13 Thread Bo Peng
What happens if you add the vector flag to the pdf formats? I mean, try the following lines in lyxrc.dist: \format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document,vector" \format "pdf2" "pdf" "PDF (pdflatex)" "F" "pdfview" "" "document,vector" \format "pdf3" "pdf" "PDF (dvipdfm)" "m" "pdfvi

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-13 Thread Enrico Forestieri
On Mon, Feb 12, 2007 at 09:28:09PM -0800, Bo Peng wrote: > Dear all, > > The problem is narrowed down to the lyxrc.dist file comes with the > windows installer. Its content is > > \path_prefix "C:\Program Files\LyX15\bin;C:\Program > Files\LyX15\python;C:\Program Files\MiKTeX 2.5\miktex\bin;C:\P

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-13 Thread Michael Gerz
Short comment: I see the PDF/PNG bug with the Windows installer. However, if I compile the sources by myself and use the generated exe directly, the bug does not occur. Could it be that the Windows installer comes with a lyxrc different from the original one? (I think I removed the user sett

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-13 Thread Georg Baum
Bo Peng wrote: > Dear all, > > The problem is narrowed down to the lyxrc.dist file comes with the > windows installer. Its content is > > \path_prefix "C:\Program Files\LyX15\bin;C:\Program > Files\LyX15\python;C:\Program Files\MiKTeX 2.5\miktex\bin;C:\Program > Files\gs\gs8.54\bin;C:\Program Fi

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-12 Thread Bo Peng
Dear all, The problem is narrowed down to the lyxrc.dist file comes with the windows installer. Its content is \path_prefix "C:\Program Files\LyX15\bin;C:\Program Files\LyX15\python;C:\Program Files\MiKTeX 2.5\miktex\bin;C:\Program Files\gs\gs8.54\bin;C:\Program Files\ImageMagick-6.3.0-Q16" \scr

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Enrico Forestieri
On Mon, Feb 12, 2007 at 12:02:34AM +0100, Michael Gerz wrote: > Enrico Forestieri schrieb: > > On Sun, Feb 11, 2007 at 02:12:16PM -0600, Bo Peng wrote: > > > > > >>> No, rather a programming error. Did I already say that I hate > >>> getFormatFromContents? Please put the attached patch in if it

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Michael Gerz
Enrico Forestieri schrieb: On Sun, Feb 11, 2007 at 02:12:16PM -0600, Bo Peng wrote: No, rather a programming error. Did I already say that I hate getFormatFromContents? Please put the attached patch in if it fixes the problem. This patch does not work. Can any windows user confirm th

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Enrico Forestieri
On Sun, Feb 11, 2007 at 02:12:16PM -0600, Bo Peng wrote: > > No, rather a programming error. Did I already say that I hate > > getFormatFromContents? Please put the attached patch in if it fixes the > > problem. > > This patch does not work. Can any windows user confirm this problem? > To repeat,

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Michael Gerz
Bo Peng schrieb: No, rather a programming error. Did I already say that I hate getFormatFromContents? Please put the attached patch in if it fixes the problem. This patch does not work. Can any windows user confirm this problem? Yes, I can! Michael

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Georg Baum
Am Sonntag, 11. Februar 2007 21:12 schrieb Bo Peng: > > No, rather a programming error. Did I already say that I hate > > getFormatFromContents? Please put the attached patch in if it fixes the > > problem. > > This patch does not work. Can any windows user confirm this problem? Then you need to

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Edwin Leuven
Bo Peng wrote: Can any windows user confirm this problem? things seem to work fine here

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Bo Peng
No, rather a programming error. Did I already say that I hate getFormatFromContents? Please put the attached patch in if it fixes the problem. This patch does not work. Can any windows user confirm this problem? To repeat, just insert a PDF figure and view->pdf, if you see a 'convert ...' in the

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Georg Baum
Am Sonntag, 11. Februar 2007 20:41 schrieb Bo Peng: > The differences in -dbg output is that > > under windows: > > filetools(getFormatFromContents) > Couldn't find a known format! > insetgraphics::latex: Filename = D:/Figure1.pdf > > And under linux the PDF format is recognized. > > T

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Bo Peng
Is this 1.4 or 1.5? If 1.4, apply this patch: Both are 1.5.x. Otherwise I don't know what happens, -dbg graphics,files might help. The differences in -dbg output is that under windows: filetools(getFormatFromContents) Couldn't find a known format! insetgraphics::latex: Filename = D:

Re: Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Georg Baum
Am Sonntag, 11. Februar 2007 19:25 schrieb Bo Peng: > Dear list, > > I am preparing a beamer presentation, which has three PDF figures. > Under linux, the pdf figures are used directly (as far as I can tell) > when using pdflatex, but under windows, the PDF files are converted to > PNG which look

Unnecessary PDF->PNG conversion under windows.

2007-02-11 Thread Bo Peng
Dear list, I am preparing a beamer presentation, which has three PDF figures. Under linux, the pdf figures are used directly (as far as I can tell) when using pdflatex, but under windows, the PDF files are converted to PNG which look bad in the presentation. I have verified that miktex/pdflatex