[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: need a symbol-eps converter for gedasymbols
On Mar 5, 2006, at 9:38 AM, John Luciani wrote:
You could probably do this by writing a script that (1) creates
a schematic file with a single symbol, (2) prints a postscript file
(using gschem-print.scm), (3) ps2epsi, (4) imagemagick to get to png.
No need for step 1: geda-print.scm works fine on .sym files.
I've got a makefile that makes a pdf report using rules like:
S2PS=gschem -p -o $@ -s../../print.scm $<
%.sym.ps : %.sym
$(S2PS)
%.ps : %.sch
$(S2PS)
NoqsiIP.ps : subcircuits $(PRINTABLES)
a2ps -1 --toc -o NoqsiIP.ps $(PRINTABLES)
NoqsiIP.pdf : NoqsiIP.ps
ps2pdf NoqsiIP.ps
PRINTABLES is an ordered list of files including drawings,
documentation, and netlists.
This shows the real advantages of gEDA's modular approach: the usual
Unix scripting tools can easily be used to set up an automated custom
flow.
The only annoyance is here that I can't use this approach remotely on
my server without an X connection: gschem insists on flashing a
couple of windows at me when it prints.
John Doty Noqsi Aerospace, Ltd.
jpd@xxxxxxxxxxxxx