[pstricks] DIA output and scaling (again)

Herbert Voss LaTeX at zedat.fu-berlin.de
Sat Jun 11 08:47:07 CEST 2005


Dan Bolser wrote:

>>>How should I generate the documents for the pstricks package? (I am not
>>>very familiar with the 'underbelly' of tex (so far it just works))
>>
>>if you need pdf then using latex->dvips->ps2pdf is the easiest
>>way.
> 
> 
> 
> But which files? Sorry for my confustion!

latex file.tex
dvips file.dvi
ps2pdf file.ps


this worked for me

\listfiles
\documentclass{report}
\usepackage{lscape,pstricks}
\usepackage[dvips,a4paper]{geometry}
\parindent=0pt

\begin{document}
   \resizebox{\linewidth}{!}{ % Scaling
     \input{/tmp/mist/dia.tex}
   }

{\psset{unit=0.5}
     \input{/tmp/mist/dia.tex}
}
\newpage
   \rotateleft{\resizebox{\textheight}{!}{\input{/tmp/mist/dia.tex}}}

\newpage
   \psset{unit=0.65cm}
   \rotateleft{\input{/tmp/mist/dia.tex}}

\end{document}


the pdf is here: http://perce.de/temp/dia.pdf


Herbert





More information about the PSTricks mailing list