[fptex] Standalone updates

Guy Worthington guyw@multiline.com.au
Sat, 14 Dec 2002 12:11:21 +0800


Fabrice Popineau wrote:

> [I've] fixed windvi wrt to ghostscript 8.00

It just gets better and better

I tested the following tex file which I've never been able to display 
in windvi ... and it WORKED!!


%-------------------------------------------------------------------
\documentclass[a4paper]{article}

\usepackage{multido}
\usepackage{pstcol}

\input{random.tex}% From Donald Arseneau (CTAN:macros/generic/random.tex)

\setlength{\parindent}{-1cm}

\newcount\NumberDots
\newdimen\DotSize
\newdimen\Hue
\newdimen\XPos
\newdimen\YPos

% Circle with dots at random positions
\def\CircleWithDotsA#1#2{%
% #1=radius of the circle
% #2=number of dots (put on the (-#1,-#1)(#1,#1) square,
%    not on the circle itself!)
\pspicture(-#1,-#1)(#1,#1)
  \setrannum{\NumberDots}{0}{#2}%
  \psclip{\pscircle{#1}}
    \multido{\iDots=1+1}{\NumberDots}{%
      \setrandim{\XPos}{-#1 pt}{#1 pt}%
      \setrandim{\YPos}{-#1 pt}{#1 pt}%
      \psdot(\pointless\XPos,\pointless\YPos)}
  \endpsclip
\endpspicture}

% Circle with dots at random positions, with random dot sizes
\def\CircleWithDotsB#1#2{%
% #1=radius of the circle
% #2=number of dots (put on the (-#1,-#1)(#1,#1) square,
%    not on the circle itself!)
\pspicture(-#1,-#1)(#1,#1)
  \setrannum{\NumberDots}{0}{#2}%
  \psclip{\pscircle{#1}}
    \multido{\iDots=1+1}{\NumberDots}{%
      \setrandim{\XPos}{-#1 pt}{#1 pt}%
      \setrandim{\YPos}{-#1 pt}{#1 pt}%
      \setrandim{\DotSize}{2pt}{15pt}%
      \psdot[dotsize=\DotSize](\pointless\XPos,\pointless\YPos)}
  \endpsclip
\endpspicture}

% Circle with dots at random positions, with random dot sizes
% and random colors
\def\CircleWithDotsC#1#2{%
% #1=radius of the circle
% #2=number of dots (put on the (-#1,-#1)(#1,#1) square,
%    not on the circle itself!)
\pspicture(-#1,-#1)(#1,#1)
  \setrannum{\NumberDots}{0}{#2}%
  \psclip{\pscircle{#1}}
    \multido{\iDots=1+1}{\NumberDots}{%
      \setrandim{\XPos}{-#1 pt}{#1 pt}%
      \setrandim{\YPos}{-#1 pt}{#1 pt}%
      \setrandim{\DotSize}{2pt}{15pt}%
      \setrandim{\Hue}{0pt}{1pt}%
      \definecolor{MyColor}{hsb}{\pointless\Hue,0.6,1}
      \psdot[dotsize=\DotSize,linecolor=MyColor]
            (\pointless\XPos,\pointless\YPos)}
  \endpsclip
\endpspicture}

\pagestyle{empty}

\begin{document}

% To fix the random seed (otherwise the clock is used)
\randomi=123456

\CircleWithDotsA{1}{10}
\CircleWithDotsA{1}{50}
\CircleWithDotsA{1}{100}
\CircleWithDotsA{1}{1000}
\CircleWithDotsA{1}{3000}

{\psset{dotscale=3}\CircleWithDotsA{3}{500}} % Bigger fixed dots

\CircleWithDotsB{2}{10}
\CircleWithDotsB{2}{100}
\CircleWithDotsB{2}{200}

\CircleWithDotsC{2}{10}
\CircleWithDotsC{2}{100}
\CircleWithDotsC{2}{500}

\end{document}
%------------------------------------------------------------------


> [Standalone programs] are based on the beta web2c 7.3.11/kpathsea 3.3.11 

Apart from sending the complete arguments to pdftex, for instance,

  pdfetex -ini -jobname=pdfelatex -progname=pdfelatex *pdfelatex.ini <nul

to generate the format files for pdftex, am I going to experience 
any other difficulties with using the standalone programs with TeXLive-7?