Werner Almesberger
6fae97ab15
gencat/gencat.c (usage): reformat usage message to avoid overly long lines
2012-07-12 19:20:50 -03:00
Werner Almesberger
274a84fdd8
gencat/tree.c (read_desc): ignore lines with a # as the very first character
2012-07-12 18:55:01 -03:00
Werner Almesberger
ae3b8128b0
gencat/fped.c (fped_ps_entry): scale footprint to a height of 200 mm and center
2012-07-12 18:19:30 -03:00
Werner Almesberger
9d278a0ab5
gencat/run.c (run_cmd): print actual command name, not "sym2xps"
2012-07-12 17:09:11 -03:00
Werner Almesberger
a98df2a7e6
gencat/pdf.c: reduce number of columns and make them wider
...
We gain 45 points in portrait and 55 points in landscape.
2012-07-12 11:00:17 -03:00
Werner Almesberger
408c003822
gencat/pdf.c (convert_comp): rename to convert_comp
...
For consistency.
2012-07-12 10:47:41 -03:00
Werner Almesberger
340428c92a
gencat/pdf.c (comp): make alphabetic index case-insensitive
2012-07-12 10:46:39 -03:00
Werner Almesberger
dd45ce8c5e
gencat/libs.c (add_libdir): ignore files with a ~ in their name
...
This makes us skip the fped backups.
2012-07-12 04:44:21 -03:00
Werner Almesberger
8562ad2204
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.
2012-07-12 03:04:40 -03:00
Werner Almesberger
c035def16e
gencat/: delegate landscape/portrait setup to library-specific ps_entry
...
This is for the external Postscript. The overlay is still handled in
pdf.c
2012-07-12 02:41:42 -03:00
Werner Almesberger
7cbd51ee7b
gencat/pdf.c: make "format" a pointer, not a copy of the format settings
2012-07-12 02:33:29 -03:00
Werner Almesberger
e4481450ec
gencat/: new option -F to use fped footprints (WIP)
2012-07-12 00:58:12 -03:00
Werner Almesberger
9cf8adf878
gencat/: make library selection variable
...
For future addition of other types of libraries.
2012-07-12 00:29:21 -03:00
Werner Almesberger
9c0a43e29b
gencat/: minor cleanup (one comment, add "static", remove unused header)
2012-07-12 00:25:43 -03:00
Werner Almesberger
463e8dcac4
gencat/pdf.c: key index entries by the tree node, to distinguish duplicates
...
Before, duplicate names in the tree always pointed to the same page.
Now they point to the respective locations.
Note that this does not affect handling of duplicate names in libraries,
where still only one "wins" while the other is completely ignored.
2012-07-11 23:52:54 -03:00
Werner Almesberger
605585ffdb
gencat/pdf.c: use internal pointer as destination key
...
This allows us to simplify a number of things and opens the path to further
improvements.
2012-07-11 23:45:56 -03:00
Werner Almesberger
acf0d0af89
gencat/: move script execution from pdf.c to library-specific function
2012-07-11 23:16:03 -03:00
Werner Almesberger
8ee13bdb05
gencat/libs.[ch]: keep back pointer to lib in "struct file"
2012-07-11 23:11:08 -03:00
Werner Almesberger
2875940239
gencat/: move script execution from pdf.c to run.c
2012-07-11 23:07:59 -03:00
Werner Almesberger
1b6bf60c56
gencat/: keep "struct entry" ptr in "struct node" instead of duplicating content
2012-07-11 22:54:07 -03:00
Werner Almesberger
6e0015cdd6
gencat/libs.[ch]: keep back pointer to file in "struct entry"
2012-07-11 22:45:40 -03:00
Werner Almesberger
e62c717db1
gencat/: abstract library data structure and its management (WIP)
2012-07-11 22:28:44 -03:00
Werner Almesberger
b34b0917dd
gencat/: remove awkward callback from set_libs to lookup_sym
2012-07-11 22:14:26 -03:00
Werner Almesberger
b3113fca04
gencat/pdf.c: add section titles
2012-07-11 12:25:46 -03:00
Werner Almesberger
e1d613a20b
gencat/pdf.c: add generation of alphabetic index with hyperlinks
2012-07-11 12:22:23 -03:00
Werner Almesberger
748a01fb9a
gencat/libs.*: renamed to comp.*
2012-06-25 21:16:00 -03:00
Werner Almesberger
823b85f900
gencat/comp.*: renamed to tree.*
2012-06-25 21:12:26 -03:00
Werner Almesberger
e832845a02
genex/: renamed genex to gencat
2012-06-25 21:04:59 -03:00