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

Jan Rolandsen jan at rolandsen.dk
Sat Feb 6 13:10:40 CET 2021


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

 

\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! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20210206/83162954/attachment.html>


More information about the PSTricks mailing list.