Discussion:
latex-beamer + pstricks???
(too old to reply)
lilostitch
2005-05-27 00:53:30 UTC
Permalink
sorry maybe most people would say that beamer is not supposed to work
with pstricks, use pgf!
but I am too lazy to learn pgf, and I am afraid pgf is not as powerful
as pstricks to implement what I want:


I want a
equation;
\[ A + B=c\]

I want to show the equation in 3 steps,
A , then draw a arrow from outsize, pointing to A,
then same to B, then same to C,

problem is,
I use \Rnode{A} to remember the position for the pointer,
then use \uncover<1-3>{\ncarc{A}{outside_A}} to draw the arrow,
it seems that the arrow is always drawn, not in time steps,

anyone has a take on this??
thanks a lot!
Lorenzo Bettini
2005-05-27 07:46:39 UTC
Permalink
Post by lilostitch
sorry maybe most people would say that beamer is not supposed to work
with pstricks, use pgf!
here you find a guide that tells you how to make pstricks work with
latex-beamer

http://www.geocities.com/kijoo2000/beamer.html

I found it quite useful!

hope it helps
Lorenzo
--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD in Computer Science |
| Dip. Sistemi e Informatica, Univ. di Firenze |
| Florence - Italy (GNU/Linux User # 158233) |
| Home Page : http://www.lorenzobettini.it |
| http://music.dsi.unifi.it XKlaim language |
| http://www.lorenzobettini.it/purple Cover Band |
| http://www.gnu.org/software/src-highlite |
| http://www.gnu.org/software/gengetopt |
| http://www.lorenzobettini.it/software/gengen |
| http://www.lorenzobettini.it/software/doublecpp |
+-----------------------------------------------------+
lilostitch
2005-05-28 17:58:16 UTC
Permalink
thank you very much! this is a very nice tutorial
Y
lilostitch
2005-05-28 18:58:13 UTC
Permalink
I tried the tricks from the tutorial, it does not fully solve the
problem
I have the following .tex beamer file
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[xcolor=pst,dvips]{beamer}
\usepackage{pstricks}
\setbeamercovered{transparent}
\begin{document}
\frame{
A
\only<2>{\psframebox{B}}
\pause
\psframebox{C}
\pause D
}
\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

(1)theoretically, it should first display A, with B,C,D being
semi-transparent,
then display B, then C, then D

but the second step completely hides B,
(2) furthermore, if I delete the xcolor=pst,dvips option,
the file does not compile at all, and gave me some weird errors



Y
lilostitch
2005-05-28 19:14:49 UTC
Permalink
wait a second, I found the cause of the second problem (2):
it was because I had the 1999 version of pstricks,


but if I use 2005 version of pstricks,
i can not put the xcolor=pst,dvips options on,
because it gave me errors:
-----------------------------------------------------
\***@cnth=\count107
\***@toks=\toks15
(template/pstricks/generic/pstricks.con)
\psunit=\dimen127
\psxunit=\dimen128
\psyunit=\dimen129
\pslinewidth=\dimen130
\***@customdefs=\toks16
\pslinearc=\dimen131
\everypsbox=\toks17
\psframesep=\dimen132
\pslabelsep=\dimen133
\theoverlaybox=\box36
)
File: pstricks.tex 2005/05/06 v1.07 `PSTricks' (tvz)
)
(/usr/share/texmf/tex/latex/graphics/color.sty
Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)

(/usr/share/texmf/tex/latex/config/color.cfg
File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: dvips.def on input line 125.

(/usr/share/texmf/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)))
Package color Info: Redefining color gradbegin on input line 140.
Package color Info: Redefining color gradend on input line 140.

! Undefined control sequence.
\***@bordercolor #1->\***@getcolor
{#1}\psbordercolor
l.140 \@namedef
{***@color.sty}{1999/02/16}
? X

Here is how much of TeX's memory you used:
1819 strings out of 95847
24967 string characters out of 1195949
81142 words of memory out of 1000001
4782 multiletter control sequences out of 10000+50000
3640 words of font info for 14 fonts, out of 500000 for 1000
14 hyphenation exceptions out of 1000
46i,0n,27p,258b,36s stack positions out of
1500i,500n,5000p,200000b,5000s
No pages of output.








--------------------------------------------------------
why is this??
maybe my system is too old?
but it is from gentoo default,
tetex-2.0.2-r3 .....
Herbert Voss
2005-05-28 22:24:44 UTC
Permalink
Post by lilostitch
I tried the tricks from the tutorial, it does not fully solve the
problem
I have the following .tex beamer file
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[xcolor=pst,dvips]{beamer}
do not use the xcolor=pst option, it is really obsolete.

Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
lilostitch
2005-05-29 00:28:02 UTC
Permalink
thanks, Herbert,
then is it possible to make the \psframebox show as semi-transparent in
the \only{} clause??

Y

Loading...