[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: sym files sorting



Hi Stefan and Kai-Martin,

On Donnerstag, 24. September 2009, Stefan Salewski wrote:
> On Tue, 2009-09-22 at 14:34 +0000, Kai-Martin Knaak wrote:
> > The gschem gui seems to append new items to the bottom of the file.
> > As a consequence, symbols done with the GUI are a pain to edit in a
> > text editor. Pins mix with comments and attributes in no particular
> > order. It would be nice, if the internals were sorted by type, by
> > value, and/or by position.

They are in the order you draw them ;-).

> > Did anyone write a script to sort the internals of a sym file?
>
> I think there was a Python script called nice-sym from Werner Hoch. I
> tried it, but it transfered nice tragesym 1.5.x generated symbols
> back to old 1.4.x shape.

The script does not sort the elements inside the symbol. It fixes the 
alignment of the text elements and adds placeholders for missing 
attributes. The script has a different purpose.
http://www.gedasymbols.org/user/werner_hoch/

Regards
Werner


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user