On 01/02/2012 4:01 PM, Marco Beishuizen wrote:
On Wed, 1 Feb 2012, the wise Marco Beishuizen wrote:
Hi,
When trying to view a document in pdf I get:
...
Error: Cannot view file
----------------------------------------
File does not exist: /var/tmp/lyx_tmpdir.J57590/lyx_tmpbuf2/xxxxxxx.pdf
...
A process called pdfetex is started but just hits 100% cpu usage and
nothing happens. I tried changing the tmp directory, reinstalled lyx,
reinstalled tetex, deleted the .lyx directory in /home, but nothing
works. The same thing happens when exporting to pdf or dvi.
I discovered that it has something to do with the Table Of Contents.
When removed it works again, inserting it and it doesn't.
It's good that you narrowed it down to just the table of content. If you
can create a very minimal example LyX file that reproduces the problem,
consider posting it to the list so that others can have a look too.
Also, you may export your problematic file to latex (pdflatex), run
pdflatex on it from the command line, and see if you get any more
details in the output.
Regards,
Julien