These are the results of kpsewhich for the .pro files:
/usr/local/teTeX/share/texmf.tetex/dvips/pstricks/pst-node.pro /usr/local/teTeX/share/texmf.tetex/dvips/pstricks/pst-dots.pro /usr/local/teTeX/share/texmf.tetex/dvips/pstricks/pstricks.pro
I generated the .pdf file (File|Export|PDF) from boxNode.lyx and it shows exactly what is on http://www.pstricks.de/Nodes/nodes.phtml
Attached is the Lyx file. Hassoun
Herbert Vo� wrote:
Hassoun Karam wrote:
I am trying the Pstricks package to create box matrices using the examples from http://www.pstricks.de/Nodes/nodes.phtml.
I imported boxNode.tex into Lyx and run DVI.
However i get three error messages in Xdvi and a simple matrix without the boxes:
cannot find postscript file for inclusion in document: pst-node.pro
cannot find postscript file for inclusion in document: pst-dots.pro
cannot find postscript file for inclusion in document: pstricks.pro
but kpsewhich recognises all three files.
what does kpsewhich really say?
Running PDF gets the thing done perfectly
no, not possible, PDF cannot understand the PostScript code.
Lyx 1.3.3 on MacOsX 1.2.8
is this normal? any hints? (particularly Herbert)
give the LyX example file
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{pst-node} \newcommand{\SB}[1]{\psshadowbox[linecolor=yellow]{#1}} [EMAIL PROTECTED] \psshadowbox[linecolor=red]{% [EMAIL PROTECTED]@[EMAIL PROTECTED] }% } \makeatletter [EMAIL PROTECTED] \psdblframebox[linecolor=green]{% [EMAIL PROTECTED]@[EMAIL PROTECTED] }% } \parindent=0pt \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default
\layout Standard
With default LaTeXmacros
\newline
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
begin{psmatrix}
\newline
[name=A]
\backslash
SB{A} & B & [name=C]
\backslash
SB{C}
\newline
\backslash
end{psmatrix}
\end_inset
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
ncarc[offset=0.2,arcangle=210]{A}{C}
\end_inset
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
vspace{1cm}
\end_inset
\layout Standard
With
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
verb|pstricks|
\end_inset
macros for the whole matrix
\newline
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
begin{psmatrix}[mnode=MyNode]
\newline
[name=A]A & [name=B]B & [name=C]C
\newline
\backslash
end{psmatrix}
\end_inset
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
ncarc[offset=0.2,arcangle=210]{A}{C}
\end_inset
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
vspace{1cm}
\end_inset
\layout Standard
With
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
verb|pstricks|
\end_inset
macros for single cells
\newline
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
begin{psmatrix}
\newline
A & [mnode=MyNodeTwo,name=BTwo] B & C
\newline
\backslash
end{psmatrix}
\end_inset
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
ncarc[offset=0.2,arcangle=90]{B}{BTwo}
\end_inset
\the_end
