Re: Graphics files with spaces again!

2005-07-09 Thread Georg Baum
Am Samstag, 9. Juli 2005 00:33 schrieb João Luis Meloni Assirati: > There is a problem with the patch: Thanks for spotting this. It is fixed now. Parts from the next patch slipped in ;-) Georg

Re: Graphics files with spaces again!

2005-07-08 Thread João Luis Meloni Assirati
Georg, Em Sex 08 Jul 2005 12:11, Georg Baum escreveu: > Angus Leeming wrote: > > Ok, the problem is that ChangeExtension calls os::internal_path > > internally, so the \ characters here are converted to / ones: > > path = ChangeExtension("\\string\"" + base + "\\string\"", ext); > > Attached

Re: Graphics files with spaces again!

2005-07-08 Thread Angus Leeming
Georg Baum wrote: >> Ok, the problem is that ChangeExtension calls os::internal_path >> internally, so the \ characters here are converted to / ones: >> path = ChangeExtension("\\string\"" + base + "\\string\"", >> ext); > > Attached is the equivalent patch for 1.4. Note that I also cha

Re: Graphics files with spaces again!

2005-07-08 Thread Georg Baum
Angus Leeming wrote: > Ok, the problem is that ChangeExtension calls os::internal_path > internally, so the \ characters here are converted to / ones: > path = ChangeExtension("\\string\"" + base + "\\string\"", ext); Attached is the equivalent patch for 1.4. Note that I also changed the ex

Re: Graphics files with spaces again!

2005-07-05 Thread Angus Leeming
Angus Leeming wrote: Ok, the problem is that ChangeExtension calls os::internal_path internally, so the \ characters here are converted to / ones: path = ChangeExtension("\\string\"" + base + "\\string\"", ext); I'm compiling the version of latex_path below and will report back in the mor

Re: Graphics files with spaces again!

2005-07-04 Thread Angus Leeming
Angus Leeming wrote: Can you see why it doesn't work: \begin{flushleft}\includegraphics[% width=0.9\columnwidth, height=0.5\columnwidth]{/string"C:/Documents and Settings/Angus/Local Settings/Temp/lyx_tmpdir5900a04256/lyx_tmpbuf0/J__MinSYS_home_Angus_ekkehart2_im_ages_picture/string".eps}

Re: Graphics files with spaces again!

2005-07-04 Thread Angus Leeming
Angus Leeming wrote: Georg Baum wrote: Angus Leeming wrote: Than please commit it and I'll fire up the Windows box. Done. I really hope that it works now :-) If it does, I'll prepare a similar patch for 1.4. I'll try and find some time this evening to compile it and the latest Qt/Win Free

Re: Graphics files with spaces again!

2005-07-04 Thread Angus Leeming
Georg Baum wrote: > Angus Leeming wrote: >> Than please commit it and I'll fire up the Windows box. > Done. I really hope that it works now :-) If it does, I'll prepare a > similar patch for 1.4. I'll try and find some time this evening to compile it and the latest Qt/Win Free which should fix ke

Re: Graphics files with spaces again!

2005-07-04 Thread Georg Baum
Angus Leeming wrote: > Than please commit it and I'll fire up the Windows box. Done. I really hope that it works now :-) If it does, I'll prepare a similar patch for 1.4. Georg

Re: Graphics files with spaces again!

2005-07-04 Thread Angus Leeming
Georg Baum wrote: >> Don't we therefore need: >> \includegraphics{\string"my dir/my picture\string".png} > Yes. And the patch should exactly do that! If it does not, please shout! Than please commit it and I'll fire up the Windows box. -- Angus

Re: Graphics files with spaces again!

2005-07-04 Thread Georg Baum
Angus Leeming wrote: > Hm. I read this as outputting > \includegraphics{\string"my dir/my picture\string"} No. The magic happens in latex_path: strip extension, add quotes, add extension. > I thought that missing out the extension would break latex? Yes. > Don't we > therefore need: >

Re: Graphics files with spaces again!

2005-07-04 Thread Angus Leeming
Georg Baum wrote: > Conclusion: We can't make spaces work with pdfetex from tetex, but we can > support them on miktex. Therefore I propose the following patch for 1.3.6 > (I'll send a similar one for 1.4 if this is OK). Hm. I read this as outputting \includegraphics{\string"my dir/my pic

Re: Graphics files with spaces again!

2005-07-02 Thread Georg Baum
Am Donnerstag, 30. Juni 2005 11:23 schrieb Angus Leeming: > the attached .tex file can be compiled with pdflatex here (MikTeX). The > latex compiler is happy with the equivalent .eps ending to > ...picture\string".png} > > Of course, this is a doctored file because current cvs outputs > ...pict

Re: Graphics files with spaces again!

2005-06-30 Thread Angus Leeming
Georg Baum wrote: I attach my version of graphicx.sty. Could you try it bei Dir? I will do so tomorrow evening when I get to the machine with tetex 3.0 again. Thank you. From our previuos investigations I know that (according to the version numbers) our versions of pdfetex, graphicx.sty an

Re: Graphics files with spaces again!

2005-06-30 Thread Georg Baum
Angus Leeming wrote: > You tell me that your teTeX 3.0 version of pdflatex likes the second > flavour but not the first? Is that a function of the compiler or of the > graphicx.sty? I don't know. > $ pdflatex --version > MiKTeX-pdfetex 2.4.1862 (1.21a) (MiKTeX 2.4) > Copyright (C) 1982 D. E. Kn

Re: Graphics files with spaces again!

2005-06-30 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus> Jean-Marc Lasgouttes wrote: You tell me that your teTeX 3.0 Angus> version of pdflatex likes the second flavour but not the first? Angus> Is that a function of the compiler or of the graphicx.sty? I guess the difference is more likely to be in pdftex.def, whic

Re: Graphics files with spaces again!

2005-06-30 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: You tell me that your teTeX 3.0 Angus> version of pdflatex likes the second flavour but not the first? Angus> Is that a function of the compiler or of the graphicx.sty? >> I guess the difference is more l

Re: Graphics files with spaces again!

2005-06-30 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus> You tell me that your teTeX 3.0 version of pdflatex likes the Angus> second flavour but not the first? Is that a function of the Angus> compiler or of the graphicx.sty? I guess the difference is more likely to be in pdftex.def, which is supposed to be the graph

Re: Graphics files with spaces again!

2005-06-30 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> You tell me that your teTeX 3.0 version of pdflatex likes the Angus> second flavour but not the first? Is that a function of the Angus> compiler or of the graphicx.sty? I guess the difference is more likely to be in pdftex.def, whi

Graphics files with spaces again!

2005-06-30 Thread Angus Leeming
Georg, the attached .tex file can be compiled with pdflatex here (MikTeX). The latex compiler is happy with the equivalent .eps ending to ...picture\string".png} Of course, this is a doctored file because current cvs outputs ...picture.png\string"} which pdflatex certainly doesn't like altho