[pstricks] Simple example will not show figures...

Herbert Voss Herbert.Voss at fu-berlin.de
Sat Feb 6 19:56:08 CET 2021



Am 06.02.21 um 13:10 schrieb Jan Rolandsen:
>
> Hi
>
> I have tried everything mentioned on:  http://tug.org/PSTricks/main.cgi/
> but it will not show simple figures.
>
> The original tex code (see below) worked fine August, 2017.
>
> I use Windows with an updated MikTex.
>
> I have also used Tex Live 2019 with the same outcome.
> The log file give no errors.
>
> This is the original code:
>
> % !TeX encoding = UTF-8
>
> % !TeX spellcheck = en_US
>
> % !TeX program = xelatex
>

I have no problem. Show the logfile and also a screenshot of the output

Herbert



> \documentclass[10pt,a4paper]{article}
>
> \usepackage{pstricks, pst-node, pst-tree}
>
> \usepackage{pstricks-add}
>
> \begin{document}
>
> \section{Simple drawing}
>
> Try changing \texttt{showgrid=false} (in line 20) to 
> \texttt{showgrid=true}
>
> and watch the result. \\\\
>
> \begin{pspicture}[showgrid=false](5,5)
>
> %% Triangle in red:
>
> \pspolygon[linecolor=red](1,1)(5,1)(1,4)
>
> %% Bezier curve in green:
>
> \pscurve[linecolor=green,linewidth=2pt,%
>
> showpoints=true](5,5)(3,2)(4,4)(2,3)
>
> %% Circle in blue with radius 1:
>
> \pscircle[linecolor=blue,linestyle=dashed](3,2.5){1}
>
> \end{pspicture}
>
> \end{document}
>
>
> ------------------------------------------------------------------------
> I am using the Free version of SPAMfighter 
> <http://www.spamfighter.com/len>.
> SPAMfighter has removed 18534 of my spam emails to date.
>
> Do you have a slow PC? 
> <http://www.spamfighter.com/SLOW-PCfighter?cid=sigen> Try a free scan!
>
> --
> list: https://lists.tug.org/pstricks
> archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.