Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
 
 Ubuntu 9.10 repository provides texlive-2007 .deb packages. They are old.
 Installing the new texlive-2009 (it includes circuitikz) is a good thing.
 
 Here is a quickinstall
 http://www.tug.org/texlive/quickinstall.html 
 where you can read
 - 'How to acquire the software'
 (http://www.tug.org/texlive/acquire.html e.g downloading the iso
 or installing over the internet)
 - 'Running the installer' or 'GUI installer' and
 - 'Post-install: setting the PATH' (it's essential: see 3.4.3/3.4.4 in the
 full info page http://www.tug.org/texlive/doc/texlive-en/texlive-en.html)
 
 By default, the texlive-2009 bundle is installed on
 /usr/local/texlive 
 
 (There is no need of deinstalling the old .deb packages, however
 they are not used anymore.)
 
 Ignacio 
 
Hey thx,
This sounds like music to me.
I had read the quickinstall already, but I get stuck on the POST-INSTALL part
What command should I give?
(I'm on Ubuntu 9.10
and whenI issue the command 'arch' he gives me the answer 'i686')

Thx for reading  replying.
Peter






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

 The directory of the binaries for your platform must be added to
 the search path. 
 Are you a single user? Then you can add the following lines
 
 PATH=/usr/local/texlive/2009/bin/x86_64-linux:$PATH; export PATH
 MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH; export MANPATH
 INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH; export INFOPATH
 
 [in your case it will be '/i686' instead '/x86_64-linux' ;)]
 
 in the file .bashrc of your home folder. (e.g., open with
 gedit /home/your_user/.bashrc) (This is my case in Ubuntu 9.10; if it
 doesn't work for you, try the .profile file)
 
 Testing the installation: type in a terminal
 
   tex --version
 
 This is my output:
 $ tex --version
TeX 3.1415926 (TeX Live 2009)
kpathsea version 5.0.0
Copyright 2009 D.E. Knuth.
...
Primary author of TeX: D.E. Knuth.
 
 Now all is OK, hope! 
 
 Ignacio

Thx very much for your help!
Just one more question (as I'm afraid to mess up):

I am about to type i (for installation) and I see in the output the following:

D directories:
   TEXDIR (the main TeX directory):
 !! default location: /usr/local/texlive/2009
 !! is not writable, please select a different one!

Should I first create this directory (it isn't there yet) or will the install
program to that for me?

Happy X-mas!
 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

Sigh,
I'm almost desperate.

I followed all your instructions. He told me that installation was done. I
changed PATHS. And this is what I get:

pe...@peter-desktop:~$ tex --version
TeX 3.141592 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 D.E. Knuth.
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
Kpathsea written by Karl Berry, Olaf Weber, and others.

Version 2007.

Do I have two versions now and is he choosing the wrong one?

Thx,
Peter
 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
Steve Litt sl...@... writes:

 Anything's possible. Why not investigate, starting with this command at the 
 command prompt:
 
 locate tex | grep /tex$

Hi, thx for replying. Here are my outputs
 
 Try running each of them, find out which you want, and then strongarm LyX to 
 specify that one.

==
 pe...@peter-desktop:~$ locate tex | grep /tex$
/etc/texmf/tex
/etc/texmf/tex/generic/pgfplots/tex
/home/peter/Desktop/lyx-1.6.5/lib/tex
/home/peter/Desktop/pgfplots/tex
/usr/bin/tex
/usr/local/share/texmf/tex 
/usr/local/share/texmf/circuitikz/tex
/usr/share/doc/texlive-doc/polish/tex-virtual-academy-pl/tex
/usr/share/doc/texlive-doc-pl/polish/tex-virtual-academy-pl/tex
/usr/share/kde4/apps/kile/complete/tex
/usr/share/lilypond/2.12.2/tex
/usr/share/texmf/tex
/usr/share/texmf/circuitikz/tex
/usr/share/texmf-texlive/tex
/var/lib/texmf/tex
/var/lib/texmf/web2c/tex




 
 Probably most of those aren't executables, but it's quick enough to check.
 
 Another handy tool is the which command:
 

pe...@peter-desktop:~$ which tex
/usr/bin/tex


How do I proceed? The directory in which I just 'installed'(?) texlive2009 is:
/usr/local/texlive/2009

Thx again,
Peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
Kornel Benko kornel.be...@... writes:

 You have to set your PATH appropriatelly.
 
 which tex gives here:
   /usr/local/texlive/2009/bin/x86_64-linux/tex
 This path has to be _before_ the path of your standard-installed tex (which is
/usr/bin in your case)

which tex gives:
===
pe...@peter-desktop:~$ which tex
/usr/bin/tex
===

But the directory in which I installed texlive2009 is:
/usr/local/texlive 
/usr/local/texlive/2009

I must be completely ignorant, but I dont know how to set this right.

Thx
Peter



Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

  Graphical? Type in terminal:
  sudo nautilus
  Go to the /usr/local , Create folder and name it texlive
  Then do right click on the created and
  Properties  Permission and change Owner and Group by your user name.
 
 
 I wouldn't recommend this. Stuff in the /usr/local/ hierarchy isn't 
 MEANT to be writeable by normal users. If you want to install just for 
 yourself, then install to some directory under $HOME/.
 
 rh

OK. Then how do I force the install program to another directory? Can I use any
directory name? Will Lyx find it there? I'm getting a bit confused here.

Peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
rgheck rgh...@... writes:
 
 Here are the steps to follow.

 Richard

Halleluia!
What a massive piece of help (and an instructive tex-course too)!

IT WORKZ! FINALLY!

I owe you eternal gratitude :-)

Can I post your lecture in an other forum too (ubuntuforums.org), evidently with
proper reference?

I'm so glad... thx for your great efforts and patience!!
Peter 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
 
 Ubuntu 9.10 repository provides texlive-2007 .deb packages. They are old.
 Installing the new texlive-2009 (it includes circuitikz) is a good thing.
 
 Here is a quickinstall
 http://www.tug.org/texlive/quickinstall.html 
 where you can read
 - 'How to acquire the software'
 (http://www.tug.org/texlive/acquire.html e.g downloading the iso
 or installing over the internet)
 - 'Running the installer' or 'GUI installer' and
 - 'Post-install: setting the PATH' (it's essential: see 3.4.3/3.4.4 in the
 full info page http://www.tug.org/texlive/doc/texlive-en/texlive-en.html)
 
 By default, the texlive-2009 bundle is installed on
 /usr/local/texlive 
 
 (There is no need of deinstalling the old .deb packages, however
 they are not used anymore.)
 
 Ignacio 
 
Hey thx,
This sounds like music to me.
I had read the quickinstall already, but I get stuck on the POST-INSTALL part
What command should I give?
(I'm on Ubuntu 9.10
and whenI issue the command 'arch' he gives me the answer 'i686')

Thx for reading  replying.
Peter






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

 The directory of the binaries for your platform must be added to
 the search path. 
 Are you a single user? Then you can add the following lines
 
 PATH=/usr/local/texlive/2009/bin/x86_64-linux:$PATH; export PATH
 MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH; export MANPATH
 INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH; export INFOPATH
 
 [in your case it will be '/i686' instead '/x86_64-linux' ;)]
 
 in the file .bashrc of your home folder. (e.g., open with
 gedit /home/your_user/.bashrc) (This is my case in Ubuntu 9.10; if it
 doesn't work for you, try the .profile file)
 
 Testing the installation: type in a terminal
 
   tex --version
 
 This is my output:
 $ tex --version
TeX 3.1415926 (TeX Live 2009)
kpathsea version 5.0.0
Copyright 2009 D.E. Knuth.
...
Primary author of TeX: D.E. Knuth.
 
 Now all is OK, hope! 
 
 Ignacio

Thx very much for your help!
Just one more question (as I'm afraid to mess up):

I am about to type i (for installation) and I see in the output the following:

D directories:
   TEXDIR (the main TeX directory):
 !! default location: /usr/local/texlive/2009
 !! is not writable, please select a different one!

Should I first create this directory (it isn't there yet) or will the install
program to that for me?

Happy X-mas!
 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

Sigh,
I'm almost desperate.

I followed all your instructions. He told me that installation was done. I
changed PATHS. And this is what I get:

pe...@peter-desktop:~$ tex --version
TeX 3.141592 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 D.E. Knuth.
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
Kpathsea written by Karl Berry, Olaf Weber, and others.

Version 2007.

Do I have two versions now and is he choosing the wrong one?

Thx,
Peter
 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
Steve Litt sl...@... writes:

 Anything's possible. Why not investigate, starting with this command at the 
 command prompt:
 
 locate tex | grep /tex$

Hi, thx for replying. Here are my outputs
 
 Try running each of them, find out which you want, and then strongarm LyX to 
 specify that one.

==
 pe...@peter-desktop:~$ locate tex | grep /tex$
/etc/texmf/tex
/etc/texmf/tex/generic/pgfplots/tex
/home/peter/Desktop/lyx-1.6.5/lib/tex
/home/peter/Desktop/pgfplots/tex
/usr/bin/tex
/usr/local/share/texmf/tex 
/usr/local/share/texmf/circuitikz/tex
/usr/share/doc/texlive-doc/polish/tex-virtual-academy-pl/tex
/usr/share/doc/texlive-doc-pl/polish/tex-virtual-academy-pl/tex
/usr/share/kde4/apps/kile/complete/tex
/usr/share/lilypond/2.12.2/tex
/usr/share/texmf/tex
/usr/share/texmf/circuitikz/tex
/usr/share/texmf-texlive/tex
/var/lib/texmf/tex
/var/lib/texmf/web2c/tex




 
 Probably most of those aren't executables, but it's quick enough to check.
 
 Another handy tool is the which command:
 

pe...@peter-desktop:~$ which tex
/usr/bin/tex


How do I proceed? The directory in which I just 'installed'(?) texlive2009 is:
/usr/local/texlive/2009

Thx again,
Peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
Kornel Benko kornel.be...@... writes:

 You have to set your PATH appropriatelly.
 
 which tex gives here:
   /usr/local/texlive/2009/bin/x86_64-linux/tex
 This path has to be _before_ the path of your standard-installed tex (which is
/usr/bin in your case)

which tex gives:
===
pe...@peter-desktop:~$ which tex
/usr/bin/tex
===

But the directory in which I installed texlive2009 is:
/usr/local/texlive 
/usr/local/texlive/2009

I must be completely ignorant, but I dont know how to set this right.

Thx
Peter



Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

  Graphical? Type in terminal:
  sudo nautilus
  Go to the /usr/local , Create folder and name it texlive
  Then do right click on the created and
  Properties  Permission and change Owner and Group by your user name.
 
 
 I wouldn't recommend this. Stuff in the /usr/local/ hierarchy isn't 
 MEANT to be writeable by normal users. If you want to install just for 
 yourself, then install to some directory under $HOME/.
 
 rh

OK. Then how do I force the install program to another directory? Can I use any
directory name? Will Lyx find it there? I'm getting a bit confused here.

Peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
rgheck rgh...@... writes:
 
 Here are the steps to follow.

 Richard

Halleluia!
What a massive piece of help (and an instructive tex-course too)!

IT WORKZ! FINALLY!

I owe you eternal gratitude :-)

Can I post your lecture in an other forum too (ubuntuforums.org), evidently with
proper reference?

I'm so glad... thx for your great efforts and patience!!
Peter 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
 
> Ubuntu 9.10 repository provides texlive-2007 .deb packages. They are old.
> Installing the new texlive-2009 (it includes circuitikz) is a good thing.
> 
> Here is a quickinstall
> http://www.tug.org/texlive/quickinstall.html 
> where you can read
> - 'How to acquire the software'
> (http://www.tug.org/texlive/acquire.html e.g downloading the iso
> or installing over the internet)
> - 'Running the installer' or 'GUI installer' and
> - 'Post-install: setting the PATH' (it's essential: see 3.4.3/3.4.4 in the
> full info page http://www.tug.org/texlive/doc/texlive-en/texlive-en.html)
> 
> By default, the texlive-2009 bundle is installed on
> /usr/local/texlive 
> 
> (There is no need of deinstalling the old .deb packages, however
> they are not used anymore.)
> 
> Ignacio 
 
Hey thx,
This sounds like music to me.
I had read the quickinstall already, but I get stuck on the POST-INSTALL part
What command should I give?
(I'm on Ubuntu 9.10
and whenI issue the command 'arch' he gives me the answer 'i686')

Thx for reading & replying.
Peter






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

> The directory of the binaries for your platform must be added to
> the search path. 
> Are you a single user? Then you can add the following lines
> 
> PATH=/usr/local/texlive/2009/bin/x86_64-linux:$PATH; export PATH
> MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH; export MANPATH
> INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH; export INFOPATH
> 
> [in your case it will be '/i686' instead '/x86_64-linux' ;)]
> 
> in the file .bashrc of your home folder. (e.g., open with
> gedit /home/your_user/.bashrc) (This is my case in Ubuntu 9.10; if it
> doesn't work for you, try the .profile file)
> 
> Testing the installation: type in a terminal
> 
>   tex --version
> 
> This is my output:
> $ tex --version
>TeX 3.1415926 (TeX Live 2009)
>kpathsea version 5.0.0
>Copyright 2009 D.E. Knuth.
>...
>Primary author of TeX: D.E. Knuth.
> 
> Now all is OK, hope! 
> 
> Ignacio

Thx very much for your help!
Just one more question (as I'm afraid to mess up):

I am about to type i (for installation) and I see in the output the following:

 directories:
   TEXDIR (the main TeX directory):
 !! default location: /usr/local/texlive/2009
 !! is not writable, please select a different one!

Should I first create this directory (it isn't there yet) or will the install
program to that for me?

Happy X-mas!
 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

Sigh,
I'm almost desperate.

I followed all your instructions. He told me that installation was done. I
changed PATHS. And this is what I get:

pe...@peter-desktop:~$ tex --version
TeX 3.141592 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 D.E. Knuth.
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
Kpathsea written by Karl Berry, Olaf Weber, and others.

Version 2007.

Do I have two versions now and is he choosing the wrong one?

Thx,
Peter
 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
Steve Litt  writes:

> Anything's possible. Why not investigate, starting with this command at the 
> command prompt:
> 
> locate tex | grep /tex$

Hi, thx for replying. Here are my outputs
 
> Try running each of them, find out which you want, and then strongarm LyX to 
> specify that one.

==
 pe...@peter-desktop:~$ locate tex | grep /tex$
/etc/texmf/tex
/etc/texmf/tex/generic/pgfplots/tex
/home/peter/Desktop/lyx-1.6.5/lib/tex
/home/peter/Desktop/pgfplots/tex
/usr/bin/tex
/usr/local/share/texmf/tex 
/usr/local/share/texmf/circuitikz/tex
/usr/share/doc/texlive-doc/polish/tex-virtual-academy-pl/tex
/usr/share/doc/texlive-doc-pl/polish/tex-virtual-academy-pl/tex
/usr/share/kde4/apps/kile/complete/tex
/usr/share/lilypond/2.12.2/tex
/usr/share/texmf/tex
/usr/share/texmf/circuitikz/tex
/usr/share/texmf-texlive/tex
/var/lib/texmf/tex
/var/lib/texmf/web2c/tex




> 
> Probably most of those aren't executables, but it's quick enough to check.
> 
> Another handy tool is the which command:
> 

pe...@peter-desktop:~$ which tex
/usr/bin/tex


How do I proceed? The directory in which I just 'installed'(?) texlive2009 is:
/usr/local/texlive/2009

Thx again,
Peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
Kornel Benko  writes:

> You have to set your PATH appropriatelly.
> 
> "which tex" gives here:
>   /usr/local/texlive/2009/bin/x86_64-linux/tex
> This path has to be _before_ the path of your standard-installed tex (which is
/usr/bin in your case)

which tex gives:
===
pe...@peter-desktop:~$ which tex
/usr/bin/tex
===

But the directory in which I installed texlive2009 is:
/usr/local/texlive 
/usr/local/texlive/2009

I must be completely ignorant, but I dont know how to set this right.

Thx
Peter



Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint

> > Graphical? Type in terminal:
> > sudo nautilus
> > Go to the /usr/local , Create folder and name it texlive
> > Then do right click on the created and
> > Properties>  Permission and change Owner and Group by your user name.
> >
> >
> I wouldn't recommend this. Stuff in the /usr/local/ hierarchy isn't 
> MEANT to be writeable by normal users. If you want to install just for 
> yourself, then install to some directory under $HOME/.
> 
> rh

OK. Then how do I force the install program to another directory? Can I use any
directory name? Will Lyx find it there? I'm getting a bit confused here.

Peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-20 Thread peter kint
rgheck  writes:
 
> Here are the steps to follow.

> Richard

Halleluia!
What a massive piece of help (and an instructive tex-course too)!

IT WORKZ! FINALLY!

I owe you eternal gratitude :-)

Can I post your lecture in an other forum too (ubuntuforums.org), evidently with
proper reference?

I'm so glad... thx for your great efforts and patience!!
Peter 
 






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
rgheck rgh...@... writes:

 
 On 12/18/2009 06:19 PM, peter kint wrote:
  Hi,
 
  1. Trying to install circuitikz
  http://home.dei.polimi.it/mredaelli/circuitikz/index.html
  to make electrical circuits in Lyx.
 
  I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.
 
 
  Can somebody help me to get one of these things working?
 
 
 LyX *doesn't* search for these things: LaTeX does. So it appears LaTeX 
 is not finding these files. What platform are you on, etc? Did you do 
 what needs doing for installing the LaTeX package?
 
 rh
 
 

Thx for replying.
I am on Linux (Ubuntu 9.10) (for 3 months , before : windows)
I'mworking a lot wiyh Lyx and pgf/tikz includes. Up to now, everything worked
+/- fine.
I dont know if I messed up with Latex... Should I restart from scratch maybe?
And if so: how to clean? how to restart?

Thx
Peter




Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Uwe Stöhr uwesto...@... writes:

 
 Am 19.12.2009 00:19, schrieb peter kint:
 
  1. Trying to install circuitikz
 
  I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.
 
 Then the installation to LaTeX was not successful. When you are on Windows,
use the MiKTeX package 
 manager to install ciruitikz. When you are using TeXLive 2008 or newer use the
TeXLive package manager.
 
 regards Uwe

I looked it up .I'm on Linux/Ubuntu9.10,now for three monts.
I should use command tlmgr, right?
He tells me I havent got this command

Maybe I should start from scratch, or is that not necessary?
And if yes: how to clean, where to start? 

Thx for reading,
Peter






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Kornel Benko kornel.be...@... writes:


 
 I am on the same system and using tlmgr. Your desired package is also
 installed.
 
 You need a good internet connection
 
 1.) Get install-tl-unx.tar.gz ( ~ 1.5MB)
 2.) unpack it
 3.) create a directory /usr/local/texlive
 4.) I for one changed here the user of  /usr/local/texlive to be myself,
 so as
to not be forced to
  change to be a root-user when installing or updating
 5.) cd install-tl-*
 6.) Now you may first read the documentation (e.g. firefox index.html)
 

But I have a workin internet connection...

What does your step 5) mean? Should I type 'cd install-tl-unx.tar.gz' 
in a
terminal? Is it going to install something then? And what?

6) why do i have to read firefox documentation?

Thx for replying.
 





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller sp...@... writes:


 Should not be necessary. Assure the file circuitikz.sty is in a directory 
 where LaTeX can find it (usually a path ending up in 
 texmf/tex/latex/circuitikz/circuitikz.sty) and then run texhash in a 
 console.
 
 If kpsewhich circuitikz.sty returns the correct path, you were successful.

This is what he says:
pe...@peter-desktop:~$ kpsewhich circuitikz.sty
pe...@peter-desktop:~$

Apparently, he doesn't find it?

Thx for replying
Peter




Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller sp...@... writes:


 
 Should not be necessary. Assure the file circuitikz.sty is in a directory 
 where LaTeX can find it (usually a path ending up in 
 texmf/tex/latex/circuitikz/circuitikz.sty) and then run texhash in a 
 console.
 
 If kpsewhich circuitikz.sty returns the correct path, you were successful.
 
 Jürgen

This is what it says:

pe...@peter-desktop:~$ sudo texhash
[sudo] password for peter: 
texhash: Updating /usr/local/share/texmf/ls-R... 
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
texhash: Updating /var/lib/texmf/ls-R-TEXLIVE... 
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Done.
pe...@peter-desktop:~$ kpsewhich circuitikz.sty
pe...@peter-desktop:~$ 

Apparently he still can find it?

Thx for reolying.
Pete






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller sp...@... writes:


  
  Apparently, he doesn't find it?
 
 Correct. Now where did you put it?
 
 Jürgen
 
I can see the file for example in:

 usr/local/share/texmf/circuitikz/tex/latex/circuitikz.sty
 (also other places)

I ran texhash many times. 

Thx, peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
rgheck rgh...@... writes:

 
 On 12/18/2009 06:19 PM, peter kint wrote:
  Hi,
 
  1. Trying to install circuitikz
  http://home.dei.polimi.it/mredaelli/circuitikz/index.html
  to make electrical circuits in Lyx.
 
  I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.
 
 
  Can somebody help me to get one of these things working?
 
 
 LyX *doesn't* search for these things: LaTeX does. So it appears LaTeX 
 is not finding these files. What platform are you on, etc? Did you do 
 what needs doing for installing the LaTeX package?
 
 rh
 
 

Thx for replying.
I am on Linux (Ubuntu 9.10) (for 3 months , before : windows)
I'mworking a lot wiyh Lyx and pgf/tikz includes. Up to now, everything worked
+/- fine.
I dont know if I messed up with Latex... Should I restart from scratch maybe?
And if so: how to clean? how to restart?

Thx
Peter




Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Uwe Stöhr uwesto...@... writes:

 
 Am 19.12.2009 00:19, schrieb peter kint:
 
  1. Trying to install circuitikz
 
  I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.
 
 Then the installation to LaTeX was not successful. When you are on Windows,
use the MiKTeX package 
 manager to install ciruitikz. When you are using TeXLive 2008 or newer use the
TeXLive package manager.
 
 regards Uwe

I looked it up .I'm on Linux/Ubuntu9.10,now for three monts.
I should use command tlmgr, right?
He tells me I havent got this command

Maybe I should start from scratch, or is that not necessary?
And if yes: how to clean, where to start? 

Thx for reading,
Peter






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Kornel Benko kornel.be...@... writes:


 
 I am on the same system and using tlmgr. Your desired package is also
 installed.
 
 You need a good internet connection
 
 1.) Get install-tl-unx.tar.gz ( ~ 1.5MB)
 2.) unpack it
 3.) create a directory /usr/local/texlive
 4.) I for one changed here the user of  /usr/local/texlive to be myself,
 so as
to not be forced to
  change to be a root-user when installing or updating
 5.) cd install-tl-*
 6.) Now you may first read the documentation (e.g. firefox index.html)
 

But I have a workin internet connection...

What does your step 5) mean? Should I type 'cd install-tl-unx.tar.gz' 
in a
terminal? Is it going to install something then? And what?

6) why do i have to read firefox documentation?

Thx for replying.
 





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller sp...@... writes:


 Should not be necessary. Assure the file circuitikz.sty is in a directory 
 where LaTeX can find it (usually a path ending up in 
 texmf/tex/latex/circuitikz/circuitikz.sty) and then run texhash in a 
 console.
 
 If kpsewhich circuitikz.sty returns the correct path, you were successful.

This is what he says:
pe...@peter-desktop:~$ kpsewhich circuitikz.sty
pe...@peter-desktop:~$

Apparently, he doesn't find it?

Thx for replying
Peter




Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller sp...@... writes:


 
 Should not be necessary. Assure the file circuitikz.sty is in a directory 
 where LaTeX can find it (usually a path ending up in 
 texmf/tex/latex/circuitikz/circuitikz.sty) and then run texhash in a 
 console.
 
 If kpsewhich circuitikz.sty returns the correct path, you were successful.
 
 Jürgen

This is what it says:

pe...@peter-desktop:~$ sudo texhash
[sudo] password for peter: 
texhash: Updating /usr/local/share/texmf/ls-R... 
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
texhash: Updating /var/lib/texmf/ls-R-TEXLIVE... 
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Done.
pe...@peter-desktop:~$ kpsewhich circuitikz.sty
pe...@peter-desktop:~$ 

Apparently he still can find it?

Thx for reolying.
Pete






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller sp...@... writes:


  
  Apparently, he doesn't find it?
 
 Correct. Now where did you put it?
 
 Jürgen
 
I can see the file for example in:

 usr/local/share/texmf/circuitikz/tex/latex/circuitikz.sty
 (also other places)

I ran texhash many times. 

Thx, peter





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
rgheck <rgh...@...> writes:

> 
> On 12/18/2009 06:19 PM, peter kint wrote:
> > Hi,
> >
> > 1. Trying to install circuitikz
> > http://home.dei.polimi.it/mredaelli/circuitikz/index.html
> > to make electrical circuits in Lyx.
> >
> > I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.
> >
> >
> > Can somebody help me to get one of these things working?
> >
> >
> LyX *doesn't* search for these things: LaTeX does. So it appears LaTeX 
> is not finding these files. What platform are you on, etc? Did you do 
> what needs doing for installing the LaTeX package?
> 
> rh
> 
> 

Thx for replying.
I am on Linux (Ubuntu 9.10) (for 3 months , before : windows)
I'mworking a lot wiyh Lyx and pgf/tikz includes. Up to now, everything worked
+/- fine.
I dont know if I messed up with Latex... Should I restart from scratch maybe?
And if so: how to clean? how to restart?

Thx
Peter




Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Uwe Stöhr <uwesto...@...> writes:

> 
> Am 19.12.2009 00:19, schrieb peter kint:
> 
> > 1. Trying to install circuitikz
> >
> > I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.
> 
> Then the installation to LaTeX was not successful. When you are on Windows,
use the MiKTeX package 
> manager to install ciruitikz. When you are using TeXLive 2008 or newer use the
TeXLive package manager.
> 
> regards Uwe

I looked it up .I'm on Linux/Ubuntu9.10,now for three monts.
I should use command tlmgr, right?
He tells me I havent got this command

Maybe I should start from scratch, or is that not necessary?
And if yes: how to clean, where to start? 

Thx for reading,
Peter






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Kornel Benko  writes:

>
> 
> I am on the same system and using tlmgr. Your desired package is also
 installed.
> 
> You need a good internet connection
> 
> 1.) Get install-tl-unx.tar.gz ( ~ 1.5MB)
> 2.) unpack it
> 3.) create a directory /usr/local/texlive
> 4.) I for one changed here the user of  /usr/local/texlive to be myself,
 so as
to not be forced to
>  change to be a root-user when installing or updating
> 5.) cd install-tl-*
> 6.) Now you may first read the documentation (e.g. firefox index.html)
> 

But I have a workin internet connection...

What does your step 5) mean? Should I type 'cd install-tl-unx.tar.gz' 
in a
terminal? Is it going to install something then? And what?

6) why do i have to read firefox documentation?

Thx for replying.
 





Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller  writes:


> Should not be necessary. Assure the file circuitikz.sty is in a directory 
> where LaTeX can find it (usually a path ending up in 
> texmf/tex/latex/circuitikz/circuitikz.sty) and then run "texhash" in a 
> console.
> 
> If "kpsewhich circuitikz.sty" returns the correct path, you were successful.

This is what he says:
pe...@peter-desktop:~$ kpsewhich circuitikz.sty
pe...@peter-desktop:~$

Apparently, he doesn't find it?

Thx for replying
Peter




Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller  writes:


> 
> Should not be necessary. Assure the file circuitikz.sty is in a directory 
> where LaTeX can find it (usually a path ending up in 
> texmf/tex/latex/circuitikz/circuitikz.sty) and then run "texhash" in a 
> console.
> 
> If "kpsewhich circuitikz.sty" returns the correct path, you were successful.
> 
> Jürgen

This is what it says:

pe...@peter-desktop:~$ sudo texhash
[sudo] password for peter: 
texhash: Updating /usr/local/share/texmf/ls-R... 
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
texhash: Updating /var/lib/texmf/ls-R-TEXLIVE... 
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Done.
pe...@peter-desktop:~$ kpsewhich circuitikz.sty
pe...@peter-desktop:~$ 

Apparently he still can find it?

Thx for reolying.
Pete






Re: Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-19 Thread peter kint
Jürgen Spitzmüller  writes:


> > 
> > Apparently, he doesn't find it?
> 
> Correct. Now where did you put it?
> 
> Jürgen
> 
I can see the file for example in:

 usr/local/share/texmf/circuitikz/tex/latex/circuitikz.sty
 (also other places)

I ran texhash many times. 

Thx, peter





Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-18 Thread peter kint
Hi,

1. Trying to install circuitikz
http://home.dei.polimi.it/mredaelli/circuitikz/index.html
to make electrical circuits in Lyx.

I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.


2.  Trying to compile the example
 
 begin{tikzpicture}[circuit ee IEC]
  \draw (0,1) to [resistor] (3.5,1);
  \draw[circuit symbol unit=14pt]
(0,0) to [resistor] (3.5,0);
\end{tikzpicture}

I get the error message :
! Package pgfkeys Error: I do not know the key '/tikz/circuit ee IEC' and I am 
and so on.

If I include various tikzlibraries in my preamble , Lyx doesn't find them

Can somebody help me to get one of these things working?

Peter











Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-18 Thread peter kint
Hi,

1. Trying to install circuitikz
http://home.dei.polimi.it/mredaelli/circuitikz/index.html
to make electrical circuits in Lyx.

I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.


2.  Trying to compile the example
 
 begin{tikzpicture}[circuit ee IEC]
  \draw (0,1) to [resistor] (3.5,1);
  \draw[circuit symbol unit=14pt]
(0,0) to [resistor] (3.5,0);
\end{tikzpicture}

I get the error message :
! Package pgfkeys Error: I do not know the key '/tikz/circuit ee IEC' and I am 
and so on.

If I include various tikzlibraries in my preamble , Lyx doesn't find them

Can somebody help me to get one of these things working?

Peter











Where does lyx search for files? Cant get to work ANYTHING with Lyx

2009-12-18 Thread peter kint
Hi,

1. Trying to install circuitikz
http://home.dei.polimi.it/mredaelli/circuitikz/index.html
to make electrical circuits in Lyx.

I get the error message : ! LaTeX Error: File `circuitikz.sty' not found.


2.  Trying to compile the example
 
 begin{tikzpicture}[circuit ee IEC]
  \draw (0,1) to [resistor] (3.5,1);
  \draw[circuit symbol unit=14pt]
(0,0) to [resistor] (3.5,0);
\end{tikzpicture}

I get the error message :
! Package pgfkeys Error: I do not know the key '/tikz/circuit ee IEC' and I am 
and so on.

If I include various tikzlibraries in my preamble , Lyx doesn't find them

Can somebody help me to get one of these things working?

Peter











GNUPLOT in Lyx? = How to allow Latex to call external programs?

2009-12-12 Thread peter kint
Hi,
I'm trying to gete PGF/Tikz compiled in Lyx for my mathematical illustrations.
For some functions, Latex must call external functions like GNUPLOT.

The solution is described below:

% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external programs 
by
% Adding the following option to your compiler
% shell-escapeORenable-write18 
% Example: pdflatex --shell-escape file.tex 

How do I do this? How do I add this option to my compiler?

Thx for reading.
Peter



Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Jonathan Brandmeyer jbrandme...@... writes:

 
() 
 Since the latex produced by lyx only uses relative path names, I don't
 think that the error is in Lyx - it is in some program distributed with
 texlive.
 
 Thanks for the help.
 
 -Jonathan

Hi,
I'm not a Latex/lyx expert but I have the same kind of problems with
GNUPLOT in Lyx as you have.

I've been searching for a solution for centuries, and for me it boils
down to this:
% WARNING
% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external
% programs  by
% Adding the following option to your compiler
% shell-escapeORenable-write18
% Example: pdflatex --shell-escape file.tex 

Maybe this is some help to you.
My question to you is: How do you add such a command to your compiler?
(I wouldn't know where to start, I'm only using Linux for 3 months now)
Peter  






Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Jonathan Brandmeyer jbrandme...@... writes:

 
 I am having difficulty using Gnuplot's epslatex output in conjunction
 with Lyx. Gnuplot itself is capable of separately providing EPS graphics
 as well as text and labels as Tex code. Strictly speaking, I'm using
 Octave as a front-end to Gnuplot, but that shouldn't matter.
 


Hi,
I'm not a Latex/lyx expert but I have the same kind of problems with
GNUPLOT in Lyx as you have.

I've been searching for a solution for centuries, and for me it boils
down to this:

% WARNING
% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external
% programs  by
% Adding the following option to your compiler
% shell-escapeORenable-write18
% Example: pdflatex --shell-escape file.tex 

Maybe this is some help to you.
My question to you is: How do you add such a command to your compiler?
(I wouldn't know where to start, I'm only using Linux for 3 months now)
Peter



Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Paul A. Rubin ru...@... writes:


 (Disclaimer:  I have not tried this myself, since I don't use gnuplot.)
 
 First, you obviously need to have gnuplot installed and working.
 
 In LyX, go to Tools  Preferences  File Handling  Converters and 

 /Paul
 
Hi Paul,
Your first suggestion did not work.
At compiling he gives an:which he did not give before:

 File does not exist:
 /tmp/lyx_tmpdir.T15846/lyx_tmpbuf2/ex_fys_5aso_2u_kerst.pdf
   (ex_fys_5aso_2u_kerst is the name of my file)

But my feeling is you are on the right track...

The problem now is that I cant compile any lyx-file anymore :-)
So , for the moment I'll try to get back to my previous Lyx-configuration.
Thanks for helping, you made me feel as if I'm 'pretty close'
Peter 





GNUPLOT in Lyx? = How to allow Latex to call external programs?

2009-12-12 Thread peter kint
Hi,
I'm trying to gete PGF/Tikz compiled in Lyx for my mathematical illustrations.
For some functions, Latex must call external functions like GNUPLOT.

The solution is described below:

% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external programs 
by
% Adding the following option to your compiler
% shell-escapeORenable-write18 
% Example: pdflatex --shell-escape file.tex 

How do I do this? How do I add this option to my compiler?

Thx for reading.
Peter



Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Jonathan Brandmeyer jbrandme...@... writes:

 
() 
 Since the latex produced by lyx only uses relative path names, I don't
 think that the error is in Lyx - it is in some program distributed with
 texlive.
 
 Thanks for the help.
 
 -Jonathan

Hi,
I'm not a Latex/lyx expert but I have the same kind of problems with
GNUPLOT in Lyx as you have.

I've been searching for a solution for centuries, and for me it boils
down to this:
% WARNING
% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external
% programs  by
% Adding the following option to your compiler
% shell-escapeORenable-write18
% Example: pdflatex --shell-escape file.tex 

Maybe this is some help to you.
My question to you is: How do you add such a command to your compiler?
(I wouldn't know where to start, I'm only using Linux for 3 months now)
Peter  






Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Jonathan Brandmeyer jbrandme...@... writes:

 
 I am having difficulty using Gnuplot's epslatex output in conjunction
 with Lyx. Gnuplot itself is capable of separately providing EPS graphics
 as well as text and labels as Tex code. Strictly speaking, I'm using
 Octave as a front-end to Gnuplot, but that shouldn't matter.
 


Hi,
I'm not a Latex/lyx expert but I have the same kind of problems with
GNUPLOT in Lyx as you have.

I've been searching for a solution for centuries, and for me it boils
down to this:

% WARNING
% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external
% programs  by
% Adding the following option to your compiler
% shell-escapeORenable-write18
% Example: pdflatex --shell-escape file.tex 

Maybe this is some help to you.
My question to you is: How do you add such a command to your compiler?
(I wouldn't know where to start, I'm only using Linux for 3 months now)
Peter



Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Paul A. Rubin ru...@... writes:


 (Disclaimer:  I have not tried this myself, since I don't use gnuplot.)
 
 First, you obviously need to have gnuplot installed and working.
 
 In LyX, go to Tools  Preferences  File Handling  Converters and 

 /Paul
 
Hi Paul,
Your first suggestion did not work.
At compiling he gives an:which he did not give before:

 File does not exist:
 /tmp/lyx_tmpdir.T15846/lyx_tmpbuf2/ex_fys_5aso_2u_kerst.pdf
   (ex_fys_5aso_2u_kerst is the name of my file)

But my feeling is you are on the right track...

The problem now is that I cant compile any lyx-file anymore :-)
So , for the moment I'll try to get back to my previous Lyx-configuration.
Thanks for helping, you made me feel as if I'm 'pretty close'
Peter 





GNUPLOT in Lyx? = How to allow Latex to call external programs?

2009-12-12 Thread peter kint
Hi,
I'm trying to gete PGF/Tikz compiled in Lyx for my mathematical illustrations.
For some functions, Latex must call external functions like GNUPLOT.

The solution is described below:

% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external programs 
by
% Adding the following option to your compiler
% shell-escapeORenable-write18 
% Example: pdflatex --shell-escape file.tex 

How do I do this? How do I add this option to my compiler?

Thx for reading.
Peter



Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Jonathan Brandmeyer  writes:

> 
() 
> Since the latex produced by lyx only uses relative path names, I don't
> think that the error is in Lyx - it is in some program distributed with
> texlive.
> 
> Thanks for the help.
> 
> -Jonathan

Hi,
I'm not a Latex/lyx expert but I have the same kind of problems with
GNUPLOT in Lyx as you have.

I've been searching for a solution for centuries, and for me it boils
down to this:
% <<>>
% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external
% programs  by
% Adding the following option to your compiler
% shell-escapeORenable-write18
% Example: pdflatex --shell-escape file.tex 

Maybe this is some help to you.
My question to you is: How do you add such a command to your compiler?
(I wouldn't know where to start, I'm only using Linux for 3 months now)
Peter  






Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Jonathan Brandmeyer  writes:

> 
> I am having difficulty using Gnuplot's epslatex output in conjunction
> with Lyx. Gnuplot itself is capable of separately providing EPS graphics
> as well as text and labels as Tex code. Strictly speaking, I'm using
> Octave as a front-end to Gnuplot, but that shouldn't matter.
> 


Hi,
I'm not a Latex/lyx expert but I have the same kind of problems with
GNUPLOT in Lyx as you have.

I've been searching for a solution for centuries, and for me it boils
down to this:

% <<>>
% PGF/Tikz doesn't support the following mathematical functions:
% tan, cosh, acosh, sinh, asinh, tanh, atanh
% Plotting will be done using GNUPLOT
% GNUPLOT must be installed and you must allow Latex to call external
% programs  by
% Adding the following option to your compiler
% shell-escapeORenable-write18
% Example: pdflatex --shell-escape file.tex 

Maybe this is some help to you.
My question to you is: How do you add such a command to your compiler?
(I wouldn't know where to start, I'm only using Linux for 3 months now)
Peter



Re: Lyx + gnuplot epslatex

2009-12-12 Thread peter kint
Paul A. Rubin  writes:


> (Disclaimer:  I have not tried this myself, since I don't use gnuplot.)
> 
> First, you obviously need to have gnuplot installed and working.
> 
> In LyX, go to Tools > Preferences > File Handling > Converters and 

> /Paul
 
Hi Paul,
Your first suggestion did not work.
At compiling he gives an:which he did not give before:

 File does not exist:
 /tmp/lyx_tmpdir.T15846/lyx_tmpbuf2/ex_fys_5aso_2u_kerst.pdf
   (ex_fys_5aso_2u_kerst is the name of my file)

But my feeling is you are on the right track...

The problem now is that I cant compile any lyx-file anymore :-)
So , for the moment I'll try to get back to my previous Lyx-configuration.
Thanks for helping, you made me feel as if I'm 'pretty close'
Peter 





gnuplot in Lyx not working?

2009-12-10 Thread Peter Kint

Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}   node[right] {$f(x) 
=x$};
  \draw[color=blue]   plot[id=sin] function{sin(x)}   node[right] {$f(x) = 
\sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} node[right] {$f(x) = 
\frac{1}{20} \mathrm e^x$};
\end{tikzpicture}


When I include it in a box in my Lyx document (InsertFileChild Document) I 
get a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




  
_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play

gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red] plot[id=x]   function{x}  node[right] {$f(x) =x$};
 \draw[color=blue] plot[id=sin] function{sin(x)}node[right] {$f(x) = \sin 
x$};
\end{tikzpicture}

When I include it in a box in my Lyx document (InsertFileChild Document) I get
a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 Peter Kint wrote:
 
  When I include it in a box in my Lyx document (InsertFileChild Document)
  I get a very incomplete and crippled output.
  
  How can I get this working properly??
 
 Did you load the necessary pgf/tikz packages in the preamble?
 
 Jürgen
 
 

Hi,
Thx for answering.
These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees} 
 \usepackage{verbatim}
Peter







Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 peter kint wrote:
 
  These are in my preamble:
  \usepackage{pgfplots}
  \usepackage{pgf,tikz}
  \usetikzlibrary{arrows}
  \usetikzlibrary{trees}
  \usepackage{verbatim}
 
 Putting this in the preamble and including the tikz code from your previous 
 post as ERT compiles fine for me.
 
 What error messages do you get? Could you post an example file?
 
 Jürgen
 
 

Example (InsertFileChild Document 'probeersel.tex')
\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}  node[right] {$f(x) =x$};
  \draw[color=blue] plot[id=sin] function{sin(x)} node[right] {$f(x) = \sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

I get no errors, only a couple of warnings in my Latex Log(which I suspect are
related):

 ...
 system(gnuplot probeersel.x.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.x.table' not found. on input li
 ne 5.
 \openout3 = `probeersel.sin.gnuplot'.
 system(gnuplot probeersel.sin.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.sin.table' not found. on input 
 line 6.
 \openout3 = `probeersel.exp.gnuplot'.
 system(gnuplot probeersel.exp.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.exp.table' not found. on input 
 line 7.

The output (pdflatex) contains only a grid, x-axis and y-axis, labels printed
all over each other and NO CURVES. Pretty sad...:-)

Thx again for answering.
Peter





gnuplot in Lyx not working?

2009-12-10 Thread Peter Kint

Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}   node[right] {$f(x) 
=x$};
  \draw[color=blue]   plot[id=sin] function{sin(x)}   node[right] {$f(x) = 
\sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} node[right] {$f(x) = 
\frac{1}{20} \mathrm e^x$};
\end{tikzpicture}


When I include it in a box in my Lyx document (InsertFileChild Document) I 
get a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




  
_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play

gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red] plot[id=x]   function{x}  node[right] {$f(x) =x$};
 \draw[color=blue] plot[id=sin] function{sin(x)}node[right] {$f(x) = \sin 
x$};
\end{tikzpicture}

When I include it in a box in my Lyx document (InsertFileChild Document) I get
a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 Peter Kint wrote:
 
  When I include it in a box in my Lyx document (InsertFileChild Document)
  I get a very incomplete and crippled output.
  
  How can I get this working properly??
 
 Did you load the necessary pgf/tikz packages in the preamble?
 
 Jürgen
 
 

Hi,
Thx for answering.
These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees} 
 \usepackage{verbatim}
Peter







Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 peter kint wrote:
 
  These are in my preamble:
  \usepackage{pgfplots}
  \usepackage{pgf,tikz}
  \usetikzlibrary{arrows}
  \usetikzlibrary{trees}
  \usepackage{verbatim}
 
 Putting this in the preamble and including the tikz code from your previous 
 post as ERT compiles fine for me.
 
 What error messages do you get? Could you post an example file?
 
 Jürgen
 
 

Example (InsertFileChild Document 'probeersel.tex')
\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}  node[right] {$f(x) =x$};
  \draw[color=blue] plot[id=sin] function{sin(x)} node[right] {$f(x) = \sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

I get no errors, only a couple of warnings in my Latex Log(which I suspect are
related):

 ...
 system(gnuplot probeersel.x.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.x.table' not found. on input li
 ne 5.
 \openout3 = `probeersel.sin.gnuplot'.
 system(gnuplot probeersel.sin.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.sin.table' not found. on input 
 line 6.
 \openout3 = `probeersel.exp.gnuplot'.
 system(gnuplot probeersel.exp.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.exp.table' not found. on input 
 line 7.

The output (pdflatex) contains only a grid, x-axis and y-axis, labels printed
all over each other and NO CURVES. Pretty sad...:-)

Thx again for answering.
Peter





gnuplot in Lyx not working?

2009-12-10 Thread Peter Kint

Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}   node[right] {$f(x) 
=x$};
  \draw[color=blue]   plot[id=sin] function{sin(x)}   node[right] {$f(x) = 
\sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} node[right] {$f(x) = 
\frac{1}{20} \mathrm e^x$};
\end{tikzpicture}


When I include it in a box in my Lyx document (Insert>File>Child Document) I 
get a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




  
_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play

gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red] plot[id=x]   function{x}  node[right] {$f(x) =x$};
 \draw[color=blue] plot[id=sin] function{sin(x)}node[right] {$f(x) = \sin 
x$};
\end{tikzpicture}

When I include it in a box in my Lyx document (Insert>File>Child Document) I get
a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller <sp...@...> writes:

> 
> Peter Kint wrote:
> 
> > When I include it in a box in my Lyx document (Insert>File>Child Document)
> > I get a very incomplete and crippled output.
> > 
> > How can I get this working properly??
> 
> Did you load the necessary pgf/tikz packages in the preamble?
> 
> Jürgen
> 
> 

Hi,
Thx for answering.
These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees} 
 \usepackage{verbatim}
Peter







Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller <sp...@...> writes:

> 
> peter kint wrote:
> 
> > These are in my preamble:
> > \usepackage{pgfplots}
> > \usepackage{pgf,tikz}
> > \usetikzlibrary{arrows}
> > \usetikzlibrary{trees}
> > \usepackage{verbatim}
> 
> Putting this in the preamble and including the tikz code from your previous 
> post as ERT compiles fine for me.
> 
> What error messages do you get? Could you post an example file?
> 
> Jürgen
> 
> 

Example (Insert>File>Child Document 'probeersel.tex')
\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}  node[right] {$f(x) =x$};
  \draw[color=blue] plot[id=sin] function{sin(x)} node[right] {$f(x) = \sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

I get no errors, only a couple of warnings in my Latex Log(which I suspect are
related):

 ...
 system(gnuplot probeersel.x.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.x.table' not found. on input li
 ne 5.
 \openout3 = `probeersel.sin.gnuplot'.
 system(gnuplot probeersel.sin.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.sin.table' not found. on input 
 line 6.
 \openout3 = `probeersel.exp.gnuplot'.
 system(gnuplot probeersel.exp.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.exp.table' not found. on input 
 line 7.

The output (pdflatex) contains only a grid, x-axis and y-axis, labels printed
all over each other and NO CURVES. Pretty sad...:-)

Thx again for answering.
Peter