include graphics function allows to choose filenames containing spaces despite latex being unable to handle them

Asked by Holger Krause on 2008-09-24

Binary package hint: kile

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
$ apt-cache policy kile
  Mögliche Pakete:1:2.0-1
 *** 1:2.0-1 0
        500 hardy/universe Packages
        100 /var/lib/dpkg/status

Kile offers via the LaTeX menu the possibility to include a graphics file via a graphical dialogue. In this GUI it's possible to select a filename containing spaces. The filename is used as an argument for the \includegraphics-command. But this command cannot handle filenames with spaces. Therefore I request the file selection GUI to allow only filenames which are valid as arguments to the \includegraphics-command.

Question information

English Edit question
Ubuntu kile Edit question
No assignee Edit question
Last query:
Last reply:
Stefan Kottwitz (stefan.k) said : #1

If the user includes


the spaces in file names will be allowed, why should Kile prevent that in general. Though I can confirm this behavior using Kile 2.0.0 on Ubuntu 8.04, that's why I will mark this bug report as confirmed, but I think it should be rejected, i.e. marked as invalid.

Many options available in kile depends on the import of specific packages; so i don't think this can be classified as a bug.

The solution is, as Stefan said to do a:

Can you help with this problem?

Provide an answer of your own, or ask Holger Krause for more information if necessary.

To post a message you must log in.