1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 05:55:20 +02:00

gencat/fped.c (fped_ps_entry): remove OUT pdfmark from fped's Postscript

fped's table of contents interferes with ours, so we remove it.
This commit is contained in:
Werner Almesberger 2012-07-12 03:04:40 -03:00
parent c035def16e
commit 8562ad2204

View File

@ -49,7 +49,7 @@ static void fped_ps_entry(FILE *file, const struct lib *lib,
{ {
run_cmd("fped -P '%s' -1 '%s' '%s'", run_cmd("fped -P '%s' -1 '%s' '%s'",
e->file->path, e->names->s, "tmp.ps"); e->file->path, e->names->s, "tmp.ps");
// run_cmd("sed -i -e '/^ /s/\\<div\\>/sdiv/' tmp.ps"); run_cmd("sed -i -e '/OUT pdfmark/d' tmp.ps");
cat(file, "tmp.ps"); cat(file, "tmp.ps");
} }