Re: Space in path to graphics

2005-04-18 Thread Angus Leeming
Herbert Voss wrote: >> If you find a solution for "ima%ge.png", please let me know. > > \documentclass[a4paper]{article} > > \usepackage{graphicx} > > \makeatletter > [EMAIL PROTECTED] > \makeatother > > \begin{document} > > \includegraphics{/tmp/ima\percent ge} > > \end{document} Thanks, He

Re: Space in path to graphics

2005-04-17 Thread Herbert Voss
Uwe Stöhr wrote: >> It's correct that Lyx doesn't allow spaces and other special >> characters in the file dialog, because the \includegraphics command >> used in the background doesn't allow them in image filenames. It >> seems to be a restriction of the LaTeX-package "graphicx". > > Not so.

Re: Space in path to graphics

2005-04-11 Thread Uwe Stöhr
Georg baum wrote: > I don't understand what % is supposed to do here. Is this a windows > thing? No it isn't, I want to find out what characters are allowed in LaTeX. Because if the user inserts an image with e.g. a "%" in its name, LaTeX will produce errors. LyX should avoid this by checking the

Re: Space in path to graphics

2005-04-11 Thread Juergen Spitzmueller
Uwe Stöhr wrote: > > Try "ima\string%ge.png", analogous to the known-to-work > >  > "ima\string~ge.png". Let me know if it works, please. > > neither > \includegraphics{"F:/Download/ima\string%ge"} > nor > \includegraphics{"F:/Download/ima\string%ge.png"} > works :-(. If you really need percent ch

Re: Space in path to graphics

2005-04-11 Thread Georg Baum
Uwe Stöhr wrote: > Angus Leeming wrote: > > > Try "ima\string%ge.png", analogous to the known-to-work > > "ima\string~ge.png". Let me know if it works, please. > > neither > \includegraphics{"F:/Download/ima\string%ge"} > nor > \includegraphics{"F:/Download/ima\string%ge.png"} > works :-(. I

Re: Space in path to graphics

2005-04-11 Thread Uwe Stöhr
Angus Leeming wrote: > Try "ima\string%ge.png", analogous to the known-to-work > "ima\string~ge.png". Let me know if it works, please. neither \includegraphics{"F:/Download/ima\string%ge"} nor \includegraphics{"F:/Download/ima\string%ge.png"} works :-(. regards Uwe

Re: Space in path to graphics

2005-04-11 Thread Angus Leeming
Uwe Stöhr wrote: > >> It's correct that Lyx doesn't allow spaces and other special > >> characters in the file dialog, because the \includegraphics command > >> used in the background doesn't allow them in image filenames. It > >> seems to be a restriction of the LaTeX-package "graphicx". > >

Re: Space in path to graphics

2005-04-10 Thread Uwe Stöhr
>> It's correct that Lyx doesn't allow spaces and other special >> characters in the file dialog, because the \includegraphics command >> used in the background doesn't allow them in image filenames. It >> seems to be a restriction of the LaTeX-package "graphicx". > > Not so. I've just got this to

Re: Space in path to graphics

2005-04-10 Thread Angus Leeming
Angus Leeming wrote: Alternatively you could replace each space with "\\space ". Sorry, Georg, you'll have to be more explicit. I had a look at your tex2lyx patch. It turns out that this works: \includegraphics[% width=7cm]{"C:/Documents\space and\space Settings/Angus/LOCALS\string~1/Temp/lyx_t

Re: Space in path to graphics

2005-04-10 Thread Angus Leeming
Georg Baum wrote: Am Samstag, 9. April 2005 14:54 schrieb Angus Leeming: If the file name contains spaces then the name must be enclosed >>in quotes. Alternatively you could replace each space with "\\space ". Sorry, Georg, you'll have to be more explicit. Certainly this doesn't work. Angus \docume

Re: Space in path to graphics

2005-04-10 Thread Georg Baum
Am Samstag, 9. April 2005 14:54 schrieb Angus Leeming: > If the file name contains spaces then the name must be enclosed in quotes. Alternatively you could replace each space with "\\space ". Georg

Re: Space in path to graphics

2005-04-09 Thread Angus Leeming
Uwe Stöhr wrote: > However, the "spaces-in-paths" problems has only been fixed partially. > In particular, it is still not possible to include any graphics with > such a path. LyX refuses to accept the file in the graphics dialog. > IMHO this strong restriction should be resolved for the 1.3.6

Re: Space in path to graphics

2005-04-09 Thread Uwe StÃhr
> However, the "spaces-in-paths" problems has only been fixed partially. > In particular, it is still not possible to include any graphics with > such a path. LyX refuses to accept the file in the graphics dialog. > IMHO this strong restriction should be resolved for the 1.3.6 release. It's corr

Re: Space in path to graphics

2005-04-08 Thread Angus Leeming
Michael Schmitt wrote: Dear Jean-Marc, dear Angus, I finally managed to create a new binary for LyX 1.3.6 on Windows - linking against a static version of the Qt library solved all my time and memory problems! I must say that you and the Qt guys have done a great job recently. Many of the former

Space in path to graphics

2005-04-08 Thread Michael Schmitt
Dear Jean-Marc, dear Angus, I finally managed to create a new binary for LyX 1.3.6 on Windows - linking against a static version of the Qt library solved all my time and memory problems! I must say that you and the Qt guys have done a great job recently. Many of the former problems (graphics pre