Am 04.05.2012 20:34, schrieb coo...@NOSPAMverizon.net:
>> Use xelatex instead and everything will be fine.
>
> I wish it were that simple. When I run xelatex against the following,
> pdf gets generated (good!), which contains the labels on the arcs
> (great!), but not the nodes, or the arcs themselves (not great...). The
> log is filled with errors like:
>
> ** WARNING ** Image format conversion for PSTricks Failed.
> ** WARNING ** Interpreting special command pst: (ps:) failed.
>
> So, something else is needed. Suggestions? I'm starting to understand
> why 'font management' is a chronic issue with LaTeX (based on the number
> of posts on this newsgroup about said issue). I've been generally
> satisfied with cm and Palatino, but after 15+ years, thought I'd try
> something slightly more modern (like OTF Minion Pro, for example). But,
> if I can't get PSTricks-generated images to compile (or figure out the
> Tkiz/pgf equivalent), looks like I'll be stuck with 'old school' fonts.
>
> \documentclass[11pt]{article}
> \usepackage{xltxtra,pst-node,pstricks}
> \pagestyle{empty}
>
> \begin{figure}[h]
> \centering
> \rule[-1.5cm]{0pt}{4.85cm}
> \begin{postscript}
please privide examples which you already tried yourself.
the environment isn't needed and not known by xelatex and
\begin{document} is missing.
This works for me with current TeXLive and xelatex:
\documentclass[11pt]{article}
\usepackage{fontspec,pst-node}
\setmainfont{Linux Libertine O}
\pagestyle{empty}
\begin{document}
\begin{figure}[h]
\centering
\rule[-1.5cm]{0pt}{4.85cm}
$\psscalebox{0.945}{%
\psmatrix[mnode=Circle,radius=5mm,colsep=2.0cm,rowsep=1.5cm,
arrowscale=1.5]
[name=1] 1 & [name=2] 2 & [name=3] 3 & [name=4] 4
\ncline[nodesep=1pt]{->}{1}{2}_{S_0}
\ncline[nodesep=1pt]{->}{2}{3}_{S_1}
\ncline[nodesep=1pt]{->}{3}{4}_{S_2}
\nccurve[angleA=-125,angleB=-55,ncurv=3.5,nodesep=1pt]{->}{4}{4}
\nbput[nrot=0]{S_{3+}}
\ncarc[nodesep=1pt,arcangle=40]{<-}{1}{3}^{S_2m_a}
\ncarc[nodesep=1pt,arcangle=60]{<-}{1}{4}^{S_{3+}m_a}
\endpsmatrix
}$
\end{figure}
\end{document}
Herbert