On Tue, 15 Feb 2005 11:20:15 -0600, Paul Johnson <[EMAIL PROTECTED]> wrote: > This thread is making me feel too stupid. I don't really care how pdf > output gets created, I'm happy to use any of the methods you recommend. > In fact, sometimes I can't make it work in lyx but the script > "tex2pdf" does what I need. But I now notice it calls pdflatex, and so > the pstricks do not display. > > I have Paul's example of a pstrick in lyx. If I want to process that > through pdflatex, you say I need ps4pdf. But I can't understand how it > is supposed to work. I downloaded ps4pdf.sty and the script ps4pdf, put > the former in my latex distro (ran texhash) and put the script in the > path (after making it executable). > > Now, what magical incantation is needed to take the lyx doc with the > pstricks in it into pdflatex?
Do not desperate, Paul! :-) My example works as it is, as long as you choose PostScript output (View --> Postscript). To get as an output a pdf file, you need to do some minor modifications, similarly to the following examples: http://www.perce.de/LaTeX/ps4pdf/Examples/ (This address was mentioned before.) Soon, I will send you my example modified in order to be used with ps4pdf and some guidance how to customise LyX so that it can deal automatically with ps4pdf. Regards, Paul
