summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-09-02 23:51:36 +0000
committerKarl Berry <karl@freefriends.org>2006-09-02 23:51:36 +0000
commit42c0abb2794d602020c582f8072442de1322e2f5 (patch)
tree0016eae478cf70689dd4369c27a63b78010be189 /Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex
parent17ea463442b9240d86c066c8f2507e38bb8d457b (diff)
pst-uml update (29aug06)
git-svn-id: svn://tug.org/texlive/trunk@2074 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex40
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex b/Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex
new file mode 100644
index 00000000000..b45f53ff177
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-uml/pst-uml-encapsuled-pdf-fig.tex
@@ -0,0 +1,40 @@
+% the big problem with pdflatex is that pst-uml make use of pstricks
+% package which use special TeX command to output directly postscript code.
+% So pst-uml doesn't work with pdftex :-(
+% sorry about that.
+%
+% However, as I'm switching from LaTeX to ConTeXt
+% (another more modern macro set TeX package)
+% I also have the problem to port old pstricks figures
+% of mine to be used with ConTeXt (which use pdfetex)
+% So instead of using inline pstrick command in LaTeX,
+% I make each figure independant in a separate LaTeX file.
+% Then I make eps, then pdf file that I include
+% in my main xTeX document.
+%
+% This "figure only" latex file can be compile by :
+%
+% latex fig.tex
+% dvips -E fig.dvi -o fig.eps
+% epstopdf fig.eps
+% rm fig.log fig.aux fig.dvi fig.eps
+% rm fig.pdf
+
+\documentclass[a4paper]{article}
+
+ \usepackage{times}% xxxxxxxxxx IMPORTANT
+
+ \usepackage{pst-eps}% xxxxxxxxxx IMPORTANT
+ \thispagestyle{empty}% xxxxxxxxxx IMPORTANT
+
+ \usepackage{pst-uml}
+
+\begin{document}
+\TeXtoEPS%
+
+% put your own figure stuff here
+\umlActor[umlActorLineWidth=1mm]{Client}
+
+\endTeXtoEPS%
+\end{document}
+%./