Mail Archives: geda-user/2012/09/15/06:52:47
Hi,
On Wed, Jul 13, 2011 at 01:31:20AM +0200, Kai-Martin Knaak wrote:
> I attached a shellscript for command line printing. It usess the
> print.scm distributed by geda to output all sheets of a hierarchical
> design. Output format is a single multi page PDF document. The current
> date is appended to the file name.
The mailing list has moved in the meantime, but I started using this
script a few days ago. Thank you very much for the script, I'm modifying
it a bit to suit my needs but it was a nice starting point.
> The script needs some tools that should be part of every linux distro:
> (awk, psmerge and ps2pdf)
Instead of psmerge (which forgot the orientation in the process), I tried
to use psjoin and hit a bug. Not a big deal, it is a single character
bug: psjoin parses the PostScript files and gets confused by a bad
keyword. Here is the one-liner (actually single character) patch,
EndComments needs an uppercase 'C'.
Could someone please check it in?
Or should I ask for an account to commit trivial patches like this one?
For larger patches, I would always first start a thread on the mailing list,
but for that one, it has taken me more time to write this message than
to write and test the patch!
diff --git a/libgeda/src/f_print.c b/libgeda/src/f_print.c
index d58f04e..688dae8 100644
--- a/libgeda/src/f_print.c
+++ b/libgeda/src/f_print.c
@@ -139,7 +139,7 @@ int f_print_header(TOPLEVEL *toplevel, PAGE *page, FILE *fp,
"%%%%BoundingBox: %d %d %d %d\n"
"%%%%Orientation: %s\n"
"%%%%Pages: 1\n"
- "%%%%Endcomments\n"
+ "%%%%EndComments\n"
"%%%%BeginProlog\n",
PACKAGE_GIT_VERSION,
ctime(¤t_time),
Regards,
Gabriel
- Raw text -