Ok, I added a crude EPS exporter to the HID sources, and figured out
how to add PCB images to texinfo documentation. I added links to HTML
and PDF samples at http://www.delorie.com/pcb/
Note: polygon clears don't always work right - postscript doesn't
support the type of mask operation you need to do the clearances with
overlapping layers. It only affects traces that show through clears
from underneath, so "don't do that" ;-)
The texinfo looks like this:
\input texinfo @c -*-texinfo-*-
@setfilename dj.info
@settitle DJ
@node Top
hello there!
@image{fig1}
@bye
The Makefile looks like this:
all : dj.dvi dj.pdf dj.info dj.html
dj.dvi : dj.texi fig1.eps
texi2dvi dj.texi
dj.pdf : dj.dvi
dvipdf dj.dvi dj.pdf
dj.info : dj.texi
makeinfo dj.texi
dj.html : dj.texi fig1.png
makeinfo --html --no-split dj.texi
fig1.ps : fig1.pcb ../pcb-bin
../pcb-bin -x eps --scale 4 fig1.pcb
fig1.eps : fig1.ps
ps2epsi fig1.ps fig1.eps
fig1.png : fig1.eps
eps2png -output fig1.png fig1.eps
fig1.pdf : fig1.eps
ps2pdf fig1.eps