On 08/21/2016 05:13 AM, Jean-Jacques Girardot wrote: > Hi ! > > I just got a bug while working on a lyx document. > The bug is most likely in « pdflatex », and more specifically in a « > tikzpicture ». > This is the latex code, I forgot a « ; » after node {A} and pdflatex went in > a infinite loop, > possibly creating a large log file. > > > \begin{center}\begin{tikzpicture} > %% ";" missing at the end of next line => loop in pdflatex > \draw[->](0,0)--(0,1) node {A} > \foreach \x / \txt in {2 / -1, 4 / 0, 6 / 1}{ > \draw (\x,0.1) to (\x,-0.1); > \node at (\x, -0.3) {\footnotesize{\txt}};} > \end{tikzpicture}\end{center} > > > I also attach the LyX document.
There is nothing that we can do about this. It's not a LyX bug. You can try reporting it to the folks at tikz. Info on contacting them can be found here: https://www.ctan.org/pkg/pgf It's not obvious to me that it's a bug, though. LaTeX is a programming language, and as with any programming language it is possible to write code that will produce an infinite loop. Richard