M4CMPY workflow source code

.PS

maxpswid = 20

scaling = 1.1

linewid = linewid*scaling
boxwid = boxwid*scaling
boxht = boxht*scaling
ellipsewid = ellipsewid*scaling
ellipseht = ellipseht*scaling

ellipse ".m4cm" "input" 
arrow
box "PYM4"
arrow
ellipse ".pic" "temp"
arrow
box "P\&P-PIC"
arrow
ellipse ".tex" "(PSTricks)" "temp"
arrow down from last ellipse .s
box "\LaTeX"
{
    arrow up with .end at last box .s
    ellipse with .n at last arrow .start ".ltx" "preamble" "input"
}
arrow right from last box .e
ellipse ".dvi" "temp"
{ 
    arrow down from last ellipse .s
    box "dvisvgm"
    arrow
    ellipse ".svg" "output"
}
arrow up from 2nd last ellipse .n
box "dvips"
arrow
ellipse ".ps" "temp"
arrow  
box "Ghostscript"
arrow
ellipse ".eps" "temp"
{
    arrow left from last ellipse .w
    box "Ghostscript"
    arrow
    ellipse ".png / .jpg" "output" 
}
arrow right from 2nd last ellipse .e
box "epstopdf"
arrow
ellipse ".pdf" "output" 
.PE