I tried this  \graphicspath{{/Volumes/MacHD2/'Messprojekte HD2'/Ensmad/Bericht/Bilder/}}   but it doesn't work. Okay, I could rename that directory, but would prefer not to do this.  I need a 'global' solution, I don't want to edit each of the 65 lines with \inclegraphics as you can see in the possible duplicate.
I want to import graphics into my main input file using the macro \includegraphics. It does not work if the filename contains spaces.   also discusses this subject, but there is no solution there.  My compilation routine is latex->dvips->ps2pdf (because of PSTricks).
"std::endl" vs "\n" Many C++ books contain example code like this...  std::cout &lt;&lt; "Test line" &lt;&lt; std::endl;   ...so I've always done that too. But I've seen a lot of code from working developers like this instead:  std::cout &lt;&lt; "Test line\n";   Is there a technical reason to prefer one over the other, or is it just a matter of coding style? Prove any orthogonal 2-by-2 can be written in one of these forms.... I'd like to prove that any orthogonal $2 \times 2$ matrix can be written   $$\bigg(\begin{matrix}    \cos x &amp; -\sin x  \\     \sin x &amp; \cos x   \end{matrix}\bigg) \hspace{1.0em} \text{or} \hspace{1.0em} \bigg(\begin{matrix}    \cos x &amp; \sin x \\    \sin x &amp; -\cos x \end{matrix}\bigg)$$  for $0 \le x &lt; 2\pi$.  I have no idea how to do this. I feel like this is something I've missed and is really straightforward but I can't find it in my book... I know how to use the subfig package to fit many subfigures (each with its own caption) into a larger figure (with a general caption).  I know how to use the sidecap package, the put a figure's caption on the side of the figure.  What I do not know is how to display a caption inside the figure, as if it were a subfigure.  More precisely, I have three subfigures that I would like to fit on a 2x2 layout, with the remaining quadrant used for the caption.    Is that easy to achieve? I need to run a bash script at boot-time as superuser in Xubuntu. I don't know where to start. I have to do something described in a Arch Linux guide. That guide says exactly:     Add following at the end of the file : /etc/rc.sysinit   # Do my action /etc/rc.d/do_my_action  /bin/dmesg &gt;| /var/log/dmesg.log   But I do not have /etc/rc.sysinit and /etc/rc.d/ in Xubuntu. I'm sure there are equivalent ones, right? How do I install the Firefox Developer Edition? At the end of the scene in the cemetery in GoF, the spirits who emerged from Voldemort's wand tell Harry to go grab the trophy (which, of course, was a portkey that took Harry and Cedric from the maze to the cemetery), and that the trophy portkey would take Harry back to Hogwarts.  Why would the portkey do that?  Are all the portkeys 2-way?  If possible, I would prefer as much of the answer based on canon (or JKR) as feasible What's a common interjection for the reaction to something creepy and disgusting (like some insects or spooky places, etc.)? Delegate OpenID to Google (NOT Google Apps) Stack Exchange releases "data dumps" of all its publicly available content roughly every three months , and also makes that information queryable over the Internet at the  (SEDE) (updated weekly, on Sunday). Over time, as new features and other bits of data are introduced to Stack Exchange sites, the "anatomy" of the data dump is likely to change. Regular cast vs. static_cast vs. dynamic_cast I'm getting the following error when trying to update a taxonomy field value via REST api:  {   "error": {     "code": "-1, Microsoft.SharePoint.Client.ClientServiceException",     "message": {       "lang": "en-US",       "value": "Cannot deserialize data for type Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection."     }   } }   The request:  https://server/_api/web/GetFileByServerRelativeUrl('/Shared Documents/file.txt')/ListItemAllFields  {   "__metadata": {     "type": "SP.Data.Shared_x0020_DocumentsItem"   },   "Title": "some title",   "Project": {     "results": [       {         "Label": "Term1",         "TermGuid": "897bdf7f-08d6-44b9-a71a-ddc4cf131664",         "WssId": 5       }     ]   } } Why are airline passengers asked to lift up window shades during takeoff and landing? I have always wondered why the windows shades have to be raised during take off and landing. I can't think of any safety issues by having a closed window. For what powers $k$ is the polynomial $n^k-1$ divisible by $(n-1)^2$? High Memory Usage on Linux Server I'm getting "jumpy" loadings in rollapply PCA in R. Can I fix it? Understanding reference counting with Cocoa and Objective-C I'm just beginning to have a look at Objective-C and Cocoa with a view to playing with the iPhone SDK. I'm reasonably comfortable with C's malloc and free concept, but Cocoa's references counting scheme has me rather confused. I'm told it's very elegant once you understand it, but I'm just not over the hump yet.  How do release, retain and autorelease work and what are the conventions about their use?  (Or failing that, what did you read which helped you get it?) Why does the road look like it's wet on hot days? Often, I'll be driving down the road on a summer day, and as I look ahead toward the horizon, I notice that the road looks like there's a puddle of water on it, or that it was somehow wet. Of course, as I get closer, the effect disappears.  I know that it is some kind of atmospheric effect. What is it called, and how does it work? How can I put the computer to sleep from Command Prompt/Run menu? I know that almost everything on Windows, like opening any sort of application, can be done from the command prompt or from the Run menu.  How can I put my computer to sleep or shut it down? What is the command for that? Installing node with apt-get or downloading the Linux Binaries (.tar.gz) Is $R^2$ useful or dangerous? I was skimming through  by Cosma Shalizi (in particular, section 2.1.1 of the ), and was reminded that you can get very low $R^2$ even when you have a completely linear model.  To paraphrase Shalizi's example: suppose you have a model $Y = aX + \epsilon$, where $a$ is known. Then $\newcommand{\Var}{\mathrm{Var}}\Var[Y] = a^2 \Var[x] + \Var[\epsilon]$ and the amount of explained variance is $a^2 \Var[X]$, so $R^2 = \frac{a^2 \Var[x]}{a^2 \Var[X] + \Var[\epsilon]}$. This goes to 0 as $\Var[X] \rightarrow 0$ and to 1 as $\Var[X] \rightarrow \infty$.  Conversely, you can get high $R^2$ even when your model is noticeably non-linear. (Anyone have a good example offhand?)  So when is $R^2$ a useful statistic, and when should it be ignored?