Re: pstricks and lyx
Yes, it is in vatious ways, see screenshot. Michael On 15.12.2017 09:21, Wolfgang Engelmann wrote: Is it possible to use pstricks in lyx? If not, tikz/pgf? Wolfgang
Re: PStricks in LyX
On 15/04/2013 4:56 AM, Wolfgang Engelmann wrote: however, LyX needs for \documentclass{ttctexa} the ttctexa.layout file which does not seem to exist yet (no success in searching in the Internet). which layout file would come close to it, so that I can use it as a template to fiddle around with it? article.layout You can inspect the file ttctexa.cls and see that it loads article.cls directly. -- Julien
Re: PStricks in LyX
On 15/04/2013 4:56 AM, Wolfgang Engelmann wrote: however, LyX needs for \documentclass{ttctexa} the ttctexa.layout file which does not seem to exist yet (no success in searching in the Internet). which layout file would come close to it, so that I can use it as a template to fiddle around with it? article.layout You can inspect the file ttctexa.cls and see that it loads article.cls directly. -- Julien
Re: PStricks in LyX
On 15/04/2013 4:56 AM, Wolfgang Engelmann wrote: however, LyX needs for \documentclass{ttctexa} the ttctexa.layout file which does not seem to exist yet (no success in searching in the Internet). which layout file would come close to it, so that I can use it as a template to fiddle around with it? article.layout You can inspect the file ttctexa.cls and see that it loads article.cls directly. -- Julien
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 11:42:31 schrieb Jürgen Spitzmüller: Am Sonntag 14 April 2013, 11:27:48 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping and then kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping OK, so change the permissions. Done Just to make clear: The .cls file in question needs to go to /home/wolfgang/texmf/, not /home/wolfgang/texlive/2012/texmf/ yes, done however, LyX needs for \documentclass{ttctexa} the ttctexa.layout file which does not seem to exist yet (no success in searching in the Internet). which layout file would come close to it, so that I can use it as a template to fiddle around with it? and: Thanks again, Juergen, Wolfgang P.S I have sent a note to DANTE asking whether they could correct this in the next Texlive version: Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive).
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 11:42:31 schrieb Jürgen Spitzmüller: Am Sonntag 14 April 2013, 11:27:48 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping and then kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping OK, so change the permissions. Done Just to make clear: The .cls file in question needs to go to /home/wolfgang/texmf/, not /home/wolfgang/texlive/2012/texmf/ yes, done however, LyX needs for \documentclass{ttctexa} the ttctexa.layout file which does not seem to exist yet (no success in searching in the Internet). which layout file would come close to it, so that I can use it as a template to fiddle around with it? and: Thanks again, Juergen, Wolfgang P.S I have sent a note to DANTE asking whether they could correct this in the next Texlive version: Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive).
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 11:42:31 schrieb Jürgen Spitzmüller: > Am Sonntag 14 April 2013, 11:27:48 schrieb Wolfgang Engelmann: > > > > kpsewhich -var-value TEXMFHOME > > > > /home/wolfgang/texmf > > > > > > Good. Now try (as normal user) > > > texhash > > > > texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write > > permission, skipping > > > > > and then > > > kpsewhich ttctexa.cls > > > > wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls > > wolfgang@wolfgang:/mnt/sda/home/wolfgang$ > > > > so that is apparently the culprite: > > no write permission, skipping > > OK, so change the permissions. Done > > Just to make clear: The .cls file in question needs to go to > /home/wolfgang/texmf/, not /home/wolfgang/texlive/2012/texmf/ yes, done however, LyX needs for \documentclass{ttctexa} the ttctexa.layout file which does not seem to exist yet (no success in searching in the Internet). which layout file would come close to it, so that I can use it as a template to fiddle around with it? and: Thanks again, Juergen, Wolfgang P.S I have sent a note to DANTE asking whether they could correct this in the next Texlive version: Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive).
Re: PStricks in LyX
Wolfgang Engelmann wrote: but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ What does kpsewhich -var-value TEXMFHOME return? sudo texhash 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. Do not run texhash as root/su. The home texmf tree is only updated if you run texhash as normal user. Jürgen
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 09:28:23 schrieb Jürgen Spitzmüller: Wolfgang Engelmann wrote: but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ What does kpsewhich -var-value TEXMFHOME return? Hi, Jürgen, kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf and which tex /mnt/sda/home/wolfgang/texlive/2012/bin/i386-linux/tex there is in /wolfgang/texlive/ besides /2012/ also texmf-local Wolfgang
Re: PStricks in LyX
Am Sonntag 14 April 2013, 09:47:20 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash and then kpsewhich ttctexa.cls Jürgen
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 10:02:49 schrieb Jürgen Spitzmüller: Am Sonntag 14 April 2013, 09:47:20 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping and then kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping Thanks a lot! Wolfgang
Re: PStricks in LyX
Am Sonntag 14 April 2013, 11:27:48 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping and then kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping OK, so change the permissions. Just to make clear: The .cls file in question needs to go to /home/wolfgang/texmf/, not /home/wolfgang/texlive/2012/texmf/ Jürgen
Re: PStricks in LyX
Wolfgang Engelmann wrote: but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ What does kpsewhich -var-value TEXMFHOME return? sudo texhash 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. Do not run texhash as root/su. The home texmf tree is only updated if you run texhash as normal user. Jürgen
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 09:28:23 schrieb Jürgen Spitzmüller: Wolfgang Engelmann wrote: but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ What does kpsewhich -var-value TEXMFHOME return? Hi, Jürgen, kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf and which tex /mnt/sda/home/wolfgang/texlive/2012/bin/i386-linux/tex there is in /wolfgang/texlive/ besides /2012/ also texmf-local Wolfgang
Re: PStricks in LyX
Am Sonntag 14 April 2013, 09:47:20 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash and then kpsewhich ttctexa.cls Jürgen
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 10:02:49 schrieb Jürgen Spitzmüller: Am Sonntag 14 April 2013, 09:47:20 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping and then kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping Thanks a lot! Wolfgang
Re: PStricks in LyX
Am Sonntag 14 April 2013, 11:27:48 schrieb Wolfgang Engelmann: kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf Good. Now try (as normal user) texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping and then kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping OK, so change the permissions. Just to make clear: The .cls file in question needs to go to /home/wolfgang/texmf/, not /home/wolfgang/texlive/2012/texmf/ Jürgen
Re: PStricks in LyX
Wolfgang Engelmann wrote: > but it still does not find it. I have the impression, that texhash is not > using my > home/texlive/2012/ What does kpsewhich -var-value TEXMFHOME return? > sudo texhash > 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. Do not run texhash as root/su. The home texmf tree is only updated if you run texhash as normal user. Jürgen
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 09:28:23 schrieb Jürgen Spitzmüller: > Wolfgang Engelmann wrote: > > but it still does not find it. I have the impression, that texhash is > > not using my > > home/texlive/2012/ > > What does > kpsewhich -var-value TEXMFHOME > return? > Hi, Jürgen, kpsewhich -var-value TEXMFHOME /home/wolfgang/texmf and which tex /mnt/sda/home/wolfgang/texlive/2012/bin/i386-linux/tex there is in /wolfgang/texlive/ besides /2012/ also texmf-local Wolfgang
Re: PStricks in LyX
Am Sonntag 14 April 2013, 09:47:20 schrieb Wolfgang Engelmann: > kpsewhich -var-value TEXMFHOME > /home/wolfgang/texmf Good. Now try (as normal user) texhash and then kpsewhich ttctexa.cls Jürgen
Re: PStricks in LyX
Am Sonntag, 14. April 2013, 10:02:49 schrieb Jürgen Spitzmüller: > Am Sonntag 14 April 2013, 09:47:20 schrieb Wolfgang Engelmann: > > kpsewhich -var-value TEXMFHOME > > /home/wolfgang/texmf > > Good. Now try (as normal user) > texhash texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write permission, skipping > > and then > kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls wolfgang@wolfgang:/mnt/sda/home/wolfgang$ so that is apparently the culprite: no write permission, skipping Thanks a lot! Wolfgang
Re: PStricks in LyX
Am Sonntag 14 April 2013, 11:27:48 schrieb Wolfgang Engelmann: > > > kpsewhich -var-value TEXMFHOME > > > /home/wolfgang/texmf > > > > > > > > Good. Now try (as normal user) > > texhash > > texhash: /mnt/sda/home/wolfgang/texlive/2012/texmf/ls-R: no write > permission, skipping > > > > > > > and then > > kpsewhich ttctexa.cls > > wolfgang@wolfgang:/mnt/sda/home/wolfgang$ kpsewhich ttctexa.cls > wolfgang@wolfgang:/mnt/sda/home/wolfgang$ > > so that is apparently the culprite: > no write permission, skipping OK, so change the permissions. Just to make clear: The .cls file in question needs to go to /home/wolfgang/texmf/, not /home/wolfgang/texlive/2012/texmf/ Jürgen
Re: PStricks in LyX
On Sat, 13 Apr 2013, Wolfgang Engelmann wrote: Has somebody successfully used PStricks in LyX? I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. Not as you are trying to do it. However, I regularly use PSTricks to create the figures I need, compile them to .pdf files, and insert those figures in the document. Rich
Re: PStricks in LyX
Am Samstag 13 April 2013, 15:33:41 schrieb Wolfgang Engelmann: I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. This file is, however, in /texlive/2012/texmf-dist/doc/latex/tlc2 Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive). is it not found, because LyX needs a layout file of it? Or do I have to set a PATH? Copy the file to ~ /texmf/tex/latex/tlc2 HTH, Jürgen
Re: PStricks in LyX
Am Samstag, 13. April 2013, 17:30:18 schrieb Jürgen Spitzmüller: Am Samstag 13 April 2013, 15:33:41 schrieb Wolfgang Engelmann: I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. This file is, however, in /texlive/2012/texmf-dist/doc/latex/tlc2 Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive). is it not found, because LyX needs a layout file of it? Or do I have to set a PATH? Copy the file to ~ /texmf/tex/latex/tlc2 HTH, Jürgen Thanks, Jürgen, but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ sudo texhash 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. strange. I get the same error if I run the tex-file LaTeX Error: File `ttctexa.cls' not found What might be wrong? Wolfgang
Re: PStricks in LyX
On Sat, 13 Apr 2013, Wolfgang Engelmann wrote: Has somebody successfully used PStricks in LyX? I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. Not as you are trying to do it. However, I regularly use PSTricks to create the figures I need, compile them to .pdf files, and insert those figures in the document. Rich
Re: PStricks in LyX
Am Samstag 13 April 2013, 15:33:41 schrieb Wolfgang Engelmann: I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. This file is, however, in /texlive/2012/texmf-dist/doc/latex/tlc2 Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive). is it not found, because LyX needs a layout file of it? Or do I have to set a PATH? Copy the file to ~ /texmf/tex/latex/tlc2 HTH, Jürgen
Re: PStricks in LyX
Am Samstag, 13. April 2013, 17:30:18 schrieb Jürgen Spitzmüller: Am Samstag 13 April 2013, 15:33:41 schrieb Wolfgang Engelmann: I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. This file is, however, in /texlive/2012/texmf-dist/doc/latex/tlc2 Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive). is it not found, because LyX needs a layout file of it? Or do I have to set a PATH? Copy the file to ~ /texmf/tex/latex/tlc2 HTH, Jürgen Thanks, Jürgen, but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ sudo texhash 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. strange. I get the same error if I run the tex-file LaTeX Error: File `ttctexa.cls' not found What might be wrong? Wolfgang
Re: PStricks in LyX
On Sat, 13 Apr 2013, Wolfgang Engelmann wrote: Has somebody successfully used PStricks in LyX? I am trying to plot a map of Europe with the PST-Geo and installed the TeX code of an example. The error is: File `ttctexa.cls' not found. Not as you are trying to do it. However, I regularly use PSTricks to create the figures I need, compile them to .pdf files, and insert those figures in the document. Rich
Re: PStricks in LyX
Am Samstag 13 April 2013, 15:33:41 schrieb Wolfgang Engelmann: > I am trying to plot a map of Europe with the PST-Geo > and installed the TeX code of an example. > The error is: > File `ttctexa.cls' not found. > > This file is, however, in > /texlive/2012/texmf-dist/doc/latex/tlc2 Kpathsea does not look in the doc/ dir. This looks like a packaging error (of texlive). > is it not found, because LyX needs a layout file of it? > Or do I have to set a PATH? Copy the file to ~ /texmf/tex/latex/tlc2 HTH, Jürgen
Re: PStricks in LyX
Am Samstag, 13. April 2013, 17:30:18 schrieb Jürgen Spitzmüller: > Am Samstag 13 April 2013, 15:33:41 schrieb Wolfgang Engelmann: > > I am trying to plot a map of Europe with the PST-Geo > > and installed the TeX code of an example. > > The error is: > > File `ttctexa.cls' not found. > > > > This file is, however, in > > /texlive/2012/texmf-dist/doc/latex/tlc2 > > Kpathsea does not look in the doc/ dir. This looks like a packaging > error (of texlive). > > > is it not found, because LyX needs a layout file of it? > > Or do I have to set a PATH? > > Copy the file to ~ /texmf/tex/latex/tlc2 > > HTH, > Jürgen Thanks, Jürgen, but it still does not find it. I have the impression, that texhash is not using my home/texlive/2012/ sudo texhash 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. strange. I get the same error if I run the tex-file LaTeX Error: File `ttctexa.cls' not found What might be wrong? Wolfgang
Re: pstricks in LyX
On 14 March 2010 16:36, Jorge Mario Garcia jmgar...@uniquindio.edu.co wrote: Helo LyxUsers i was working in ubuntu with Lyx 1.6. And, this is a example of my book of Linear Algebra. this have one graphic in Pstricks. i hope help you can you get the example to run in LaTeX ? (I couldn't) Can you get any other examples to work in LyX or LaTeX? Sometimes newer package versions don't run old examples -- Stephen -- Jorge Mario Garcia Usuga Director Grupo Gedes Universidad del Quindío I think the problem is how you generate LaTeX output. I don't think that pstricks works with pdflatex. I think you need to go via ps (postscript) - so export to pdf as ps2pdf -- Stephen
Re: pstricks in LyX
Thanks, Stephen I think the problem is how you generate LaTeX output. I don't think that pstricks works with pdflatex. I think you need to go via ps (postscript) - so export to pdf as ps2pdf yes, I am aware of it. can you get the example to run in LaTeX ? (I couldn't) no: File `ttctexa.cls' not found. this file is found under /usr/local/texlive/2009/texmf-dist/doc/latex/tlc2 I guess I have to include it in the .profile file export PATH=/usr/local/texlive/2009/bin/i386-linux:$PATH export MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH but don't know how () export =/usr/local/texlive/2009/texmf-dist/doc/latex/tlc2 My book is almost ready. What I still need is three maps (Spitsbergen on the northern hemisphere - for this I wanted to use from PSTricks Example 25-6-1 and the area around Ny Alesund/Kungsfjord and the area Andorra/Pyrenees (don't know yet whether the Europe maps in the geo package of PSTricks are suited). Since the maps I have now are copyright, I thought to use the geo package of PSTricks. But I have spent so much time now that I think I just draw all three by hand and scan them. Wolfgang
Re: pstricks in LyX
On Mon, Mar 15, 2010 at 8:57 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: My book is almost ready. What I still need is three maps (Spitsbergen on the northern hemisphere - for this I wanted to use from PSTricks Example 25-6-1 and the area around Ny Alesund/Kungsfjord and the area Andorra/Pyrenees (don't know yet whether the Europe maps in the geo package of PSTricks are suited). Since the maps I have now are copyright, I thought to use the geo package of PSTricks. But I have spent so much time now that I think I just draw all three by hand and scan them. It never quite worked for me, but you might try to use LaTeXDraw to build the pstricks code and generate, say, a PDF image that you could readily include in your document. Liviu
Re: pstricks in LyX
On 14 March 2010 16:36, Jorge Mario Garcia jmgar...@uniquindio.edu.co wrote: Helo LyxUsers i was working in ubuntu with Lyx 1.6. And, this is a example of my book of Linear Algebra. this have one graphic in Pstricks. i hope help you can you get the example to run in LaTeX ? (I couldn't) Can you get any other examples to work in LyX or LaTeX? Sometimes newer package versions don't run old examples -- Stephen -- Jorge Mario Garcia Usuga Director Grupo Gedes Universidad del Quindío I think the problem is how you generate LaTeX output. I don't think that pstricks works with pdflatex. I think you need to go via ps (postscript) - so export to pdf as ps2pdf -- Stephen
Re: pstricks in LyX
Thanks, Stephen I think the problem is how you generate LaTeX output. I don't think that pstricks works with pdflatex. I think you need to go via ps (postscript) - so export to pdf as ps2pdf yes, I am aware of it. can you get the example to run in LaTeX ? (I couldn't) no: File `ttctexa.cls' not found. this file is found under /usr/local/texlive/2009/texmf-dist/doc/latex/tlc2 I guess I have to include it in the .profile file export PATH=/usr/local/texlive/2009/bin/i386-linux:$PATH export MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH but don't know how () export =/usr/local/texlive/2009/texmf-dist/doc/latex/tlc2 My book is almost ready. What I still need is three maps (Spitsbergen on the northern hemisphere - for this I wanted to use from PSTricks Example 25-6-1 and the area around Ny Alesund/Kungsfjord and the area Andorra/Pyrenees (don't know yet whether the Europe maps in the geo package of PSTricks are suited). Since the maps I have now are copyright, I thought to use the geo package of PSTricks. But I have spent so much time now that I think I just draw all three by hand and scan them. Wolfgang
Re: pstricks in LyX
On Mon, Mar 15, 2010 at 8:57 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: My book is almost ready. What I still need is three maps (Spitsbergen on the northern hemisphere - for this I wanted to use from PSTricks Example 25-6-1 and the area around Ny Alesund/Kungsfjord and the area Andorra/Pyrenees (don't know yet whether the Europe maps in the geo package of PSTricks are suited). Since the maps I have now are copyright, I thought to use the geo package of PSTricks. But I have spent so much time now that I think I just draw all three by hand and scan them. It never quite worked for me, but you might try to use LaTeXDraw to build the pstricks code and generate, say, a PDF image that you could readily include in your document. Liviu
Re: pstricks in LyX
On 14 March 2010 16:36, Jorge Mario Garciawrote: > Helo LyxUsers > > > i was working in ubuntu with Lyx 1.6. And, this is a example of my book > of Linear Algebra. this have one graphic in Pstricks. > i hope help you > > >>> > >> can you get the example to run in LaTeX ? (I couldn't) >> Can you get any other examples to work in LyX or LaTeX? >> >> Sometimes newer package versions don't run old examples > -- >> Stephen > -- > Jorge Mario Garcia Usuga > Director Grupo Gedes > Universidad del Quindío > I think the problem is how you generate LaTeX output. I don't think that pstricks works with pdflatex. I think you need to go via ps (postscript) - so export to pdf as ps2pdf -- Stephen
Re: pstricks in LyX
Thanks, Stephen > I think the problem is how you generate LaTeX output. I don't think > that pstricks works with pdflatex. I think you need to go via ps > (postscript) - so export to pdf as ps2pdf yes, I am aware of it. > can you get the example to run in LaTeX ? (I couldn't) no: File `ttctexa.cls' not found. this file is found under /usr/local/texlive/2009/texmf-dist/doc/latex/tlc2 I guess I have to include it in the .profile file export PATH=/usr/local/texlive/2009/bin/i386-linux:$PATH export MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH but don't know how () export =/usr/local/texlive/2009/texmf-dist/doc/latex/tlc2 My book is almost ready. What I still need is three maps (Spitsbergen on the northern hemisphere -> for this I wanted to use from PSTricks Example 25-6-1 and the area around Ny Alesund/Kungsfjord and the area Andorra/Pyrenees (don't know yet whether the Europe maps in the geo package of PSTricks are suited). Since the maps I have now are copyright, I thought to use the geo package of PSTricks. But I have spent so much time now that I think I just draw all three by hand and scan them. Wolfgang
Re: pstricks in LyX
On Mon, Mar 15, 2010 at 8:57 AM, Wolfgang Engelmannwrote: > My book is almost ready. What I still need is three maps (Spitsbergen on the > northern hemisphere -> for this I wanted to use from PSTricks Example 25-6-1 > and the area around Ny Alesund/Kungsfjord and the area Andorra/Pyrenees > (don't know yet whether the Europe maps in the geo package of PSTricks are > suited). Since the maps I have now are copyright, I thought to use the geo > package of PSTricks. But I have spent so much time now that I think I just > draw all three by hand and scan them. > It never quite worked for me, but you might try to use LaTeXDraw to build the pstricks code and generate, say, a PDF image that you could readily include in your document. Liviu
Re: pstricks in LyX
On 13 March 2010 15:39, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: I try to include a pstricks figure in a lyx document. I use ERT and from the example %%Herbert Voss: PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage 2004) %% %% Example 25-6-1 on page 485. Does somebody know what I did wrong? If of importance, I am using Debian Lenny Would this path be found \psset{path=pst-geo/dataII,unit=0.75cm} or do I have to add the texlive2009 path before path=pst-geo? Would appreciate help very much, Wolfgang can you get the example to run in LaTeX ? (I couldn't) Can you get any other examples to work in LyX or LaTeX? Sometimes newer package versions don't run old examples -- Stephen
Re: pstricks in LyX
On 13 March 2010 15:39, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: I try to include a pstricks figure in a lyx document. I use ERT and from the example %%Herbert Voss: PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage 2004) %% %% Example 25-6-1 on page 485. Does somebody know what I did wrong? If of importance, I am using Debian Lenny Would this path be found \psset{path=pst-geo/dataII,unit=0.75cm} or do I have to add the texlive2009 path before path=pst-geo? Would appreciate help very much, Wolfgang can you get the example to run in LaTeX ? (I couldn't) Can you get any other examples to work in LyX or LaTeX? Sometimes newer package versions don't run old examples -- Stephen
Re: pstricks in LyX
On 13 March 2010 15:39, Wolfgang Engelmannwrote: > I try to include a pstricks figure in a lyx document. > I use ERT > and from the example > %%Herbert Voss: PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage > 2004) > %% > %% Example 25-6-1 on page 485. > > > Does somebody know what I did wrong? > If of importance, I am using Debian Lenny > > Would this path be found > \psset{path=pst-geo/dataII,unit=0.75cm} > or do I have to add the texlive2009 path before path=pst-geo? > > Would appreciate help very much, > > Wolfgang > can you get the example to run in LaTeX ? (I couldn't) Can you get any other examples to work in LyX or LaTeX? Sometimes newer package versions don't run old examples -- Stephen