Why can't I load PiCTeX?

PiCTeX is a resource hog; fortunately, most modern TeX implementations offer generous amounts of space, and most modern computers are pretty fast, so users aren't too badly affected by its performance.

However, PiCTeX has the further unfortunate tendency to fill up TeX's fixed-size arrays - notably the array of 256 'dimension' registers. This is a particular problem when you're using pictex.sty with LaTeX and some other packages that also need dimension registers. When this happens, you will see the TeX error message:

  ! No room for a new \dimen.
There is nothing that can directly be done about this error: you can't extend the number of available \dimen registers without extending TeX itself. (e-TeX and Omega both do this, as does MicroPress Inc's VTeX - see commercial implementations.) Since you can't (ordinarily) extend TeX, you need to change PiCTeX; unfortunately PiCTeX's author is no longer active in the TeX world, so one must resort to patching. There are two solutions available.

The ConTeXt module m-pictex.tex (for Plain TeX and variants) or the corresponding LaTeX m-pictex package provide an ingenious solution to the problem based on hacking the code of \newdimen itself.

Alternatively, Andreas Schell's pictexwd and related packages replace PiCTeX with a version that uses 33 fewer \dimen registers; so use pictexwd in place of pictex (either as a LaTeX package, or as a file to read into Plain TeX).

And how does one use PiCTeX anyway, given that the manual is so hard to come by (see the PiCTeX manual)? Fortunately for MSDOS and Windows users, the MathsPic system may be used to translate a somewhat different language into PiCTeX commands; and the MathsPic manual is free (and part of the distribution). MathsPic is written in Basic; a version written in Perl is under development, and should be available soon.

m-pictex.sty
Distributed as part of macros/context/cont-tmf.zip
m-pictex.tex
Distributed as part of macros/context/cont-tmf.zip
MathsPic
graphics/pictex/mathspic.tar.gz
pictexwd.sty
Distributed as part of graphics/pictex/addon.tar.gz