-----Original Message----- From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of Jürgen Spitzmüller Sent: maandag 8 juli 2013 14:33 To: lyx-users@lists.lyx.org Subject: Re: FW: error on View [Ctrl-R]: The directory path to the document cannot contain spaces Importance: Low
> OK, this is the relevant excerpt: > Am Montag 08 Juli 2013, 12:15:34 schrieb Roel Schipper - CITG: >> 14:12:54.077: Checking whether TeX allows spaces in file names... no >> 14:12:54.171: latex: Windows API error 161: The specified path is invalid. >> >> 14:12:54.171: latex: Data: >> \nonstopmode\input{c:/users/roelsc\string~1/appdata/local/temp/TMPZPY\ >> strin >> g~1.LTX}.tex > I would assume that your MikTeX installation is broken, but I am not a MikTeX > or Windows user myself, so maybe others can help. >Jürgen If I export my file to LaTeX and compile it outside of LyX with my MikTeX it works, so the problem does not seem to be in the MikTeX installation. Btw, I did not change MikTeX during or after updating to LyX 2.0.6. The error also occurs *immediately* after pushing the View (CTRL-R) button, apparently even before calling MikTeX. Modifying all my path names is not a good solution, since all my earlier LyX-work would not be able to find images then.