Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc has added a configure test to ascertain Angus whether LaTeX can understand file names containing spaces. Angus However, lyxrc.tex_allows_spaces seems a little arbitrary. Angus Perhaps a LyXRC string variable

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Jean-Marc has added a configure test to ascertain Angus whether LaTeX can understand file names containing spaces. Angus However, lyxrc.tex_allows_spaces seems a little arbitrary. Angus Perhaps a LyXRC string variable lyxrc.tex_file_special_chars Angus which

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Ok. The detailed testing of what works with what compiler is at Angus http://wiki.lyx.org/LaTeX/FilesWithSpecialChars I guess I was Angus thinking ahead to a latex_path that handles some of the more Angus 'difficult' characters. Let's just

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Michael Schmitt
Angus Leeming wrote: I think that you misunderstand. I think so, too. Thereafter, I'm suggesting removing all checks from the file browser. Browse for any file you like. If, however, you choose something invalid, foo%bar.eps say, then the widget in the graphics browser will be highlighed red

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc has added a configure test to ascertain Angus> whether LaTeX can understand file names containing spaces. Angus> However, lyxrc.tex_allows_spaces seems a little arbitrary. Angus> Perhaps a LyXRC string variable

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Jean-Marc has added a configure test to ascertain > Angus> whether LaTeX can understand file names containing spaces. > Angus> However, lyxrc.tex_allows_spaces seems a little arbitrary. > Angus> Perhaps a LyXRC string variable lyxrc.tex_file_special_chars >

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Ok. The detailed testing of what works with what compiler is at Angus> http://wiki.lyx.org/LaTeX/FilesWithSpecialChars I guess I was Angus> thinking ahead to a latex_path that handles some of the more Angus> 'difficult' characters.

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-19 Thread Michael Schmitt
Angus Leeming wrote: I think that you misunderstand. I think so, too. Thereafter, I'm suggesting removing all checks from the file browser. Browse for any file you like. If, however, you choose something invalid, foo%bar.eps say, then the widget in the graphics browser will be highlighed red

lyxrc.tex_allow_spaces and the frontends

2005-04-18 Thread Angus Leeming
Preamble Currently, the frontends' file browser does not allow a file to be selected if that file's name contains spaces because of this code in controllers/helper_funcs.C's browseFile: typedef std::pairFileDialog::ResultType, string Result; FileDialog::Result result;

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-18 Thread Michael Schmitt
Angus Leeming wrote: Proposal 1 == Modify the lib/configure test so that it becomes a loop over possible characters. Essentially, slotting this script into lib/configure: Proposal 2 == The current test in the frontends is too crude in that it is applied not only to a LyX/LaTeX

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-18 Thread Angus Leeming
Michael Schmitt wrote: Angus Leeming wrote: Proposal 1 == Modify the lib/configure test so that it becomes a loop over possible characters. Essentially, slotting this script into lib/configure: Proposal 2 == The current test in the frontends is too crude in that it is applied

lyxrc.tex_allow_spaces and the frontends

2005-04-18 Thread Angus Leeming
Preamble Currently, the frontends' file browser does not allow a file to be selected if that file's name contains spaces because of this code in controllers/helper_funcs.C's browseFile: typedef std::pair Result; FileDialog::Result result;

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-18 Thread Michael Schmitt
Angus Leeming wrote: Proposal 1 == Modify the lib/configure test so that it becomes a loop over possible characters. Essentially, slotting this script into lib/configure: Proposal 2 == The current test in the frontends is too crude in that it is applied not only to a LyX/LaTeX

Re: lyxrc.tex_allow_spaces and the frontends

2005-04-18 Thread Angus Leeming
Michael Schmitt wrote: Angus Leeming wrote: Proposal 1 == Modify the lib/configure test so that it becomes a loop over possible characters. Essentially, slotting this script into lib/configure: Proposal 2 == The current test in the frontends is too crude in that it is applied