1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

sch2fig/: graphics backend can be selected from the command line

This commit is contained in:
Werner Almesberger
2016-07-31 21:52:35 -03:00
parent 01fed0d456
commit f3ed4edbd2
7 changed files with 45 additions and 16 deletions

View File

@@ -56,7 +56,8 @@ while [ "$2" ]; do
shift
done
./sch2fig $libs "$1" -- $template "TITLE=`basename \"$1\" .sch`" NUMBER=$num |
./sch2fig $libs "$1" \
-- fig $template "TITLE=`basename \"$1\" .sch`" NUMBER=$num |
fig2dev -L pdf >"$out"
sheet=false
@@ -83,7 +84,7 @@ while read line; do
$quiet || echo "$file" 1>&2
./sch2fig $libs `dirname "$1"`/$file \
-- $template "TITLE=$name" NUMBER=$num |
-- fig $template "TITLE=$name" NUMBER=$num |
fig2dev -L pdf >_tmp.pdf
pdfunite "$out" _tmp.pdf _tmp2.pdf
mv _tmp2.pdf "$out"