Re: Problem with fraction in TikZ insert
Many thanks Paul. Works like a charm. I had been coming to the conclusion that I was probably going to have to reinstall LyX since I could not get LyX to compile even when the expression $\dfrac{\pi}{4}$ was outside the TikZ environment. I tend to use those packages you and Jurgen stripped out, quite a lot so they are in my basic template. I am not likely to really need dfrac{} other than to duplicate the examples in the document I am working through so it's not likel to be a practical problem for me. Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with them loaded both inside and outside TikZ environment as long as I load the AMS package manually. Excellent. Thanks to both of you. On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubin ru...@msu.edu wrote: Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document Settings Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Re: Problem with fraction in TikZ insert
Probably should have said that stripping out the \usepackage statements was not because there was a collision between them and something else -- it's because I don't have those packages installed (and did not want to install them just to go bug-hunting). Paul On 03/04/2014 04:08 PM, John Kane wrote: Many thanks Paul. Works like a charm. I had been coming to the conclusion that I was probably going to have to reinstall LyX since I could not get LyX to compile even when the expression $\dfrac{\pi}{4}$ was outside the TikZ environment. I tend to use those packages you and Jurgen stripped out, quite a lot so they are in my basic template. I am not likely to really need dfrac{} other than to duplicate the examples in the document I am working through so it's not likel to be a practical problem for me. Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with them loaded both inside and outside TikZ environment as long as I load the AMS package manually. Excellent. Thanks to both of you. On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubin ru...@msu.edu wrote: Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document Settings Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Re: Problem with fraction in TikZ insert
Many thanks Paul. Works like a charm. I had been coming to the conclusion that I was probably going to have to reinstall LyX since I could not get LyX to compile even when the expression $\dfrac{\pi}{4}$ was outside the TikZ environment. I tend to use those packages you and Jurgen stripped out, quite a lot so they are in my basic template. I am not likely to really need dfrac{} other than to duplicate the examples in the document I am working through so it's not likel to be a practical problem for me. Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with them loaded both inside and outside TikZ environment as long as I load the AMS package manually. Excellent. Thanks to both of you. On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubin ru...@msu.edu wrote: Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document Settings Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Re: Problem with fraction in TikZ insert
Probably should have said that stripping out the \usepackage statements was not because there was a collision between them and something else -- it's because I don't have those packages installed (and did not want to install them just to go bug-hunting). Paul On 03/04/2014 04:08 PM, John Kane wrote: Many thanks Paul. Works like a charm. I had been coming to the conclusion that I was probably going to have to reinstall LyX since I could not get LyX to compile even when the expression $\dfrac{\pi}{4}$ was outside the TikZ environment. I tend to use those packages you and Jurgen stripped out, quite a lot so they are in my basic template. I am not likely to really need dfrac{} other than to duplicate the examples in the document I am working through so it's not likel to be a practical problem for me. Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with them loaded both inside and outside TikZ environment as long as I load the AMS package manually. Excellent. Thanks to both of you. On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubin ru...@msu.edu wrote: Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document Settings Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Re: Problem with fraction in TikZ insert
Many thanks Paul. Works like a charm. I had been coming to the conclusion that I was probably going to have to reinstall LyX since I could not get LyX to compile even when the expression $\dfrac{\pi}{4}$ was outside the TikZ environment. I tend to use those packages you and Jurgen stripped out, quite a lot so they are in my basic template. I am not likely to really need dfrac{} other than to duplicate the examples in the document I am working through so it's not likel to be a practical problem for me. Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with them loaded both inside and outside TikZ environment as long as I load the AMS package manually. Excellent. Thanks to both of you. On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubinwrote: Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document > Settings > Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Re: Problem with fraction in TikZ insert
Probably should have said that stripping out the \usepackage statements was not because there was a collision between them and something else -- it's because I don't have those packages installed (and did not want to install them just to go bug-hunting). Paul On 03/04/2014 04:08 PM, John Kane wrote: Many thanks Paul. Works like a charm. I had been coming to the conclusion that I was probably going to have to reinstall LyX since I could not get LyX to compile even when the expression $\dfrac{\pi}{4}$ was outside the TikZ environment. I tend to use those packages you and Jurgen stripped out, quite a lot so they are in my basic template. I am not likely to really need dfrac{} other than to duplicate the examples in the document I am working through so it's not likel to be a practical problem for me. Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with them loaded both inside and outside TikZ environment as long as I load the AMS package manually. Excellent. Thanks to both of you. On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubinwrote: Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document > Settings > Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Problem with fraction in TikZ insert
I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e 2011/06/27 21:14:53.304: Babel 3.9f and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) TikZ3.lyx Description: application/lyx
Re: Problem with fraction in TikZ insert
Am Freitag 28 Februar 2014, 04:03:29 schrieb John Kane: I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e 2011/06/27 21:14:53.304: Babel 3.9f and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) The document compiles fine here, after I have removed all those unnecessary modules (Rnw [knitr], Natbibapa and the unknown shortinsets-name module). Jürgen
Re: Problem with fraction in TikZ insert
John Kane wrote: It's beginning to look like it may be something specific to my set-up. Most likely. Note that I am using an up-to-date TeXLive 2013, while your LaTeX distribution looks older. Maybe you just hit an old tikz bug. Jürgen
Re: Problem with fraction in TikZ insert
Thank Jurgen. I had forgotten I even had them loaded. They are part of my normal template. The shortinsets-name is a relatively new one by Andrew Parsloe that hides long inset names giving less distraction for something like labels or cross-references Unfortuately I am still getting the same error after removing those modules and even reloading LyX. I even removed the local layout I had and stripped the preamble to nothing but \usepackage{tikz} with no better result. I, also, tried it in Lyx 2.1 with no luck. It's beginning to look like it may be something specific to my set-up. Oh well I'm not using it, just experimenting for future possible use so it not a panic. John On Friday, February 28, 2014 7:41:15 AM, Jürgen Spitzmüller sp...@lyx.org wrote: Am Freitag 28 Februar 2014, 04:03:29 schrieb John Kane: I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e 2011/06/27 21:14:53.304: Babel 3.9f and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) The document compiles fine here, after I have removed all those unnecessary modules (Rnw [knitr], Natbibapa and the unknown shortinsets-name module). Jürgen
Re: Problem with fraction in TikZ insert
Good point. I am not sure when I updated TeXLive but I think it was over a year ago. Must get to work now but I'll try updating it this afternoon or tomorrow and see what happens. Thanks and have a good week-end. On Friday, February 28, 2014 8:45:39 AM, Jürgen Spitzmüller sp...@lyx.org wrote: John Kane wrote: It's beginning to look like it may be something specific to my set-up. Most likely. Note that I am using an up-to-date TeXLive 2013, while your LaTeX distribution looks older. Maybe you just hit an old tikz bug. Jürgen
Re: Problem with fraction in TikZ insert
Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document Settings Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Problem with fraction in TikZ insert
I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e 2011/06/27 21:14:53.304: Babel 3.9f and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) TikZ3.lyx Description: application/lyx
Re: Problem with fraction in TikZ insert
Am Freitag 28 Februar 2014, 04:03:29 schrieb John Kane: I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e 2011/06/27 21:14:53.304: Babel 3.9f and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) The document compiles fine here, after I have removed all those unnecessary modules (Rnw [knitr], Natbibapa and the unknown shortinsets-name module). Jürgen
Re: Problem with fraction in TikZ insert
John Kane wrote: It's beginning to look like it may be something specific to my set-up. Most likely. Note that I am using an up-to-date TeXLive 2013, while your LaTeX distribution looks older. Maybe you just hit an old tikz bug. Jürgen
Re: Problem with fraction in TikZ insert
Thank Jurgen. I had forgotten I even had them loaded. They are part of my normal template. The shortinsets-name is a relatively new one by Andrew Parsloe that hides long inset names giving less distraction for something like labels or cross-references Unfortuately I am still getting the same error after removing those modules and even reloading LyX. I even removed the local layout I had and stripped the preamble to nothing but \usepackage{tikz} with no better result. I, also, tried it in Lyx 2.1 with no luck. It's beginning to look like it may be something specific to my set-up. Oh well I'm not using it, just experimenting for future possible use so it not a panic. John On Friday, February 28, 2014 7:41:15 AM, Jürgen Spitzmüller sp...@lyx.org wrote: Am Freitag 28 Februar 2014, 04:03:29 schrieb John Kane: I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e 2011/06/27 21:14:53.304: Babel 3.9f and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) The document compiles fine here, after I have removed all those unnecessary modules (Rnw [knitr], Natbibapa and the unknown shortinsets-name module). Jürgen
Re: Problem with fraction in TikZ insert
Good point. I am not sure when I updated TeXLive but I think it was over a year ago. Must get to work now but I'll try updating it this afternoon or tomorrow and see what happens. Thanks and have a good week-end. On Friday, February 28, 2014 8:45:39 AM, Jürgen Spitzmüller sp...@lyx.org wrote: John Kane wrote: It's beginning to look like it may be something specific to my set-up. Most likely. Note that I am using an up-to-date TeXLive 2013, while your LaTeX distribution looks older. Maybe you just hit an old tikz bug. Jürgen
Re: Problem with fraction in TikZ insert
Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document Settings Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul
Problem with fraction in TikZ insert
I have been experimenting with TikZ and have been through the manual TikZ pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 Everything was going well until I hit the second example on pg. 18. Everything is fine until I try to add a fraction , the \draw (22:1.5) node {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. It looks like the problem is in the fraction expression because it works if I switch to \draw (22:1.5) node {$Z$};. The orignal works just fine in LaTeX. Am I missing something obvious or encountering a package conflix of some kind? The message say 1:14:53.301: LaTeX2e <2011/06/27> 21:14:53.304: Babel <3.9f> and hyphenation patterns for 78 languages loaded. 21:14:53.306: 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: (dialog-toggle progress) TikZ3.lyx Description: application/lyx
Re: Problem with fraction in TikZ insert
Am Freitag 28 Februar 2014, 04:03:29 schrieb John Kane: > I have been experimenting with TikZ and have been through the manual TikZ > pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 > Everything was going well until I hit the second example on pg. 18. > Everything is fine until I try to add a fraction , the \draw (22:1.5) node > {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. > > It looks like the problem is in the fraction expression because it works if > I switch to \draw (22:1.5) node {$Z$};. > > The orignal works just fine in LaTeX. Am I missing something obvious or > encountering a package conflix of some kind? > > The message say 1:14:53.301: LaTeX2e <2011/06/27> 21:14:53.304: Babel <3.9f> > and hyphenation patterns for 78 languages loaded. 21:14:53.306: > 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: > (dialog-toggle progress) The document compiles fine here, after I have removed all those unnecessary modules (Rnw [knitr], Natbibapa and the unknown "shortinsets-name" module). Jürgen
Re: Problem with fraction in TikZ insert
John Kane wrote: > It's beginning to look like it may be something specific to my set-up. Most likely. Note that I am using an up-to-date TeXLive 2013, while your LaTeX distribution looks older. Maybe you just hit an old tikz bug. Jürgen
Re: Problem with fraction in TikZ insert
Thank Jurgen. I had forgotten I even had them loaded. They are part of my normal template. The shortinsets-name is a relatively new one by Andrew Parsloe that hides long inset names giving less distraction for something like labels or cross-references Unfortuately I am still getting the same error after removing those modules and even reloading LyX. I even removed the local layout I had and stripped the preamble to nothing but \usepackage{tikz} with no better result. I, also, tried it in Lyx 2.1 with no luck. It's beginning to look like it may be something specific to my set-up. Oh well I'm not using it, just experimenting for future possible use so it not a panic. John On Friday, February 28, 2014 7:41:15 AM, Jürgen Spitzmüllerwrote: Am Freitag 28 Februar 2014, 04:03:29 schrieb John Kane: > I have been experimenting with TikZ and have been through the manual TikZ > pour l'impatient, (Gérard Tisseau et Jacques Duma) 15 novembre 2013 > Everything was going well until I hit the second example on pg. 18. > Everything is fine until I try to add a fraction , the \draw (22:1.5) node > {$\dfrac{\pi}{4}$}; line and I don't see what is wrong. > > It looks like the problem is in the fraction expression because it works if > I switch to \draw (22:1.5) node {$Z$};. > > The orignal works just fine in LaTeX. Am I missing something obvious or > encountering a package conflix of some kind? > > The message say 1:14:53.301: LaTeX2e <2011/06/27> 21:14:53.304: Babel <3.9f> > and hyphenation patterns for 78 languages loaded. 21:14:53.306: > 21:14:54.653: Error while previewing format: pdf2 21:15:07.487: > (dialog-toggle progress) The document compiles fine here, after I have removed all those unnecessary modules (Rnw [knitr], Natbibapa and the unknown "shortinsets-name" module). Jürgen
Re: Problem with fraction in TikZ insert
Good point. I am not sure when I updated TeXLive but I think it was over a year ago. Must get to work now but I'll try updating it this afternoon or tomorrow and see what happens. Thanks and have a good week-end. On Friday, February 28, 2014 8:45:39 AM, Jürgen Spitzmüllerwrote: John Kane wrote: > It's beginning to look like it may be something specific to my set-up. Most likely. Note that I am using an up-to-date TeXLive 2013, while your LaTeX distribution looks older. Maybe you just hit an old tikz bug. Jürgen
Re: Problem with fraction in TikZ insert
Besides stripping out the package loads mentioned by Jürgen, I had to switch AMSMath (Document > Settings > Math Options) from automatic to manual load (because the \dfrac command, which requires it, is in ERT). Once I did that, the document compiled. Paul