I do not know what exactly is the problem here, but one thing that might help a little bit is to update knitr to the latest version if you have not done so. Since v0.5, the tikz-to-pdf compilation will no longer hang forever.
Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Tue, Jun 12, 2012 at 7:28 AM, Rick Blok - LR <r.a.b...@tudelft.nl> wrote: > Hi, > > > > I’m writing a report that has several child documents. One of these child > documents has a different textclass than the master document because my > custom class clashes with knitr with tikz device if my graphs aren’t cached. > Lyx noticed it and asked me if I wanted to continue, I check ‘never ask > again’ and press ok. The document compiles fine. > > > > However, sometimes Lyx keeps processing my documents for ever, but without > any activity (no cpu load, nor pdflatex running). I once let it continue > overnight without result. I’ve noticed a few times that when it hangs, the > last entry in the message log is that the child document has a different > textclass. When lyx compiles my document successfully, I cannot find such a > message in the log. Also, I can’t remember that this has happened when the > child document has the ‘right’ text class. > > > > Has anyone else noticed this? I can’t reproduce it consistently and it could > just be me/my install/computer. > > > > Kind regards, > > Rick Blok > >