gEDA-user: gschem .scm script stopped working with gschem upgrade

twibright at hispeed.ch twibright at hispeed.ch
Wed Feb 6 05:08:33 EST 2008


Hello

I am using gschem in an automated makefile in the Ronja project. I upgraded
to gschem 1.3.1.20080110 and the .scm script (attached below) stopped
working. Now it prints "print_01.scm:8:6: Unbound variable gedadatarc"

When I remove the line
(load (string-append gedadatarc "/gschem-lightbg")) ; light background
then it works, but I need this line to set the colour scheme of the
postscript. I am generating 4 different postscripts, dark colour, dark
b/w, light colour and light b/w.

Why did it stop working and is there a way how to write it so it works
both with the old and the new gschem?

Regards,

Karel

(paper-size 11.69 8.27) ; A4
(load (string-append gedadatarc "/gschem-lightbg")) ; light background
(output-orientation "landscape")
(output-type "limits")
(output-color "enabled")
(output-text "ps")

; You need call this after you call any rc file function
(gschem-use-rc-values)

; filename is specified on the command line
(gschem-print "dummyfilename")

(gschem-exit)


More information about the geda-user mailing list