TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to include graphics with spaces in their path?

When I add a piece of code of figure insertion to the context I'm faced with a problem: a number of irrelevant words appear.


        \includegraphics[width=0.9\textwidth]{C:/Thesis/Latex/thesis_1(1)/Pictures/study area.jpg}
    \caption{The Grand St. Bernard wireless sensor network deployment (a) the coordinates of nodes according to the Swiss coordinate system (b) the distribution of the nodes in the study site \citep{r33}}
    \label{fig:study area}


Error which is presented by sign

share|improve this question

marked as duplicate by egreg, Kurt, Martin Schröder, Werner, Andrew Swann Dec 6 '12 at 19:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

it looks as if this has something to do with the space in the file name (but others know more about this). what i really wanted to do is suggest that you put a "slash space" (\ ) after "St." so that the space there isn't so large. – barbara beeton Dec 6 '12 at 18:42
rename your file so that it does not include white spaces, e.g. study_area.jpg – Jörg Dec 6 '12 at 18:43
up vote 1 down vote accepted

Earlier you were not allowed to have spaces in a file name but now you can (see e.g. this page for more details). Obviously you still get some unwanted results. A good solution is to avoid spaces in filenames altogether and use hyphens or underscore characters instead.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.