2014-06-24 14:28:50 |
Joakim Nilsson |
description |
When exporting a schematic to PostScript with the following command:
gschem -p -v -o dir1/file.ps -s /usr/share/gEDA/scheme/print.scm dir2/file.sch
, the outout file is saved as 'dir2/dir1/file.ps'. I would have expected it to be saved in 'dir1/file.ps' since this is the path specified after the -o option.
'gschem --version' outputs 'gEDA 1.8.2 (g875406c)'
'/usr/share/gEDA/scheme/print.scm' contains the following and was installed when i installed gEDA on Debian jessie:
;; $Id$
;;
;; This file may be used to print gschem schematics from the
;; command line. Typical usage is:
;;
;; gschem -p -o mysch.ps -s /path/to/this/file/print.scm mysch.sch
;;
;; The schematic in "mysch.sch" will be printed to the file "mysch.ps"
;; Uncomment these to override defaults when printing from the command line
;(output-orientation "portrait")
;(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-postscript "dummyfilename")
(gschem-exit) |
When exporting a schematic to PostScript with the following command:
gschem -p -v -o dir1/file.ps -s /usr/share/gEDA/scheme/print.scm dir2/file.sch
, the output file is saved as 'dir2/dir1/file.ps'. I would have expected it to be saved in 'dir1/file.ps' since this is the path specified after the -o option.
'gschem --version' outputs 'gEDA 1.8.2 (g875406c)'
'/usr/share/gEDA/scheme/print.scm' contains the following and was installed when i installed gEDA on Debian jessie:
;; $Id$
;;
;; This file may be used to print gschem schematics from the
;; command line. Typical usage is:
;;
;; gschem -p -o mysch.ps -s /path/to/this/file/print.scm mysch.sch
;;
;; The schematic in "mysch.sch" will be printed to the file "mysch.ps"
;; Uncomment these to override defaults when printing from the command line
;(output-orientation "portrait")
;(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-postscript "dummyfilename")
(gschem-exit) |
|