[pstricks] auto-pst-pdf fails to produce the output

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Feb 7 21:32:41 CET 2014


Am 07.02.2014 20:43, schrieb Luis Sequeira:

> The problem, as I see it, is that all commands you use produce zero sized boxes. Then when auto-pst-pdf is run, all bounding boxes end up as 0 0 0 0.
> If you look at the log file, you may find warnings to that effect/
>
> The following modification produces the picture under pdflatex. Note that I added a pspicture environment in order to generate a nonzero box.

put all into the psmatrix environment will do the trick:

\documentclass{article}
\usepackage{auto-pst-pdf}
\usepackage{pst-node}

\psset{colsep=1cm,rowsep=2cm,mnode=C,fillstyle=solid,fillcolor=blue,linecolor=blue!40}

\begin{document}

\begin{psmatrix}
&[]&&[]&&[]\\ []&&[]&[]&&[]
\psset{linecolor=.}\ncline{1,2}{2,1}\ncline{1,2}{2,3}
\ncline{2,1}{2,3}\ncline{1,4}{1,6}\ncline{2,4}{2,6}
\ncline{1,4}{2,4}\ncline{1,6}{2,6}
\end{psmatrix}

\end{document}

Herbert



> \documentclass{article}
> \usepackage{auto-pst-pdf}
> \usepackage{pst-node}
>
> \psset{colsep=1cm,rowsep=2cm,mnode=C,fillstyle=solid,fillcolor=blue,linecolor=blue!40}
>
> \begin{document}
>
> \begin{pspicture}(0,0)(10,5)
> \begin{psmatrix}
> &[]&&[]&&[]\\ []&&[]&[]&&[]
> \end{psmatrix}
> \psset{linecolor=.}\ncline{1,2}{2,1}\ncline{1,2}{2,3}\ncline{2,1}{2,3}\ncline{1,4}{1,6}\ncline{2,4}{2,6}\ncline{1,4}{2,4}\ncline{1,6}{2,6}
> \end{pspicture}
>
> \end{document}
>
>
>
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>



More information about the PSTricks mailing list