I'm using TeXShop on Mac OS X (based on LaTeX) in conjunction with the graphvizzz package in order to draw inline directed graphs in my documents (with the use of write18 and the dot command). Apparently each graph uses a \write command, so I got up to about a dozen inline graphs in a single document and ran out of \write slots. When I try to build the document, I now get the following error:
? ! No room for a new \write .
I've done some reading about this problem, and there's no immediately apparent way to increase the number of \writes available to me. Is there another way I can continue to use this package without requiring a \write for each graph?
For reference, a sample document looks something like this:
\documentclass{article}
\usepackage{graphvizzz}
\begin{document}
This is a state machine:
\digraph[scale=0.5]{machine}{
margin = "0 0 0 0";
rankdir = "LR";
node [ shape = "circle" ] A B;
A -> B [ label = "0" ];
}
\end{document}

singlefilewhich did the trick for me. – marcolz Feb 04 '22 at 13:20