On Tue, Sep 18, 2012 at 7:01 PM, Andrew Parsloe <apars...@clear.net.nz> wrote: > I've attached a python script, tablesort.py, a module tablesort.module > containing a custom inset (suggested by Liviu Andronic), and an explanatory > document, SortingTablesInLyX.lyx detailing what goes where and how to use > it. In this third incarnation of the script, by using the custom inset, > adding three buttons to the table toolbar, and changing the Overwrite on > export setting, it is possible to sort the rows of tables in LyX in a manner > that avoids all nag/query/prompt messages and feels "built-in". Sorts may be > alphabetical or numerical, ascending or descending. The default horizontal & > vertical rules delineating table cells are not disturbed by the sort. ERT in > table cells has no effect. Yellow (or other) notes by default also do not > affect the sort, but this can be changed with the -y option when invoking > the script, allowing fine-tuning of sort order. Finally, multiple tables in > the same document can be sorted at one go. > > Andrew >
Thank you for this, Andrew. This work is very creative. I'm especially impressed by your excellent documentation. Is this on the wiki somewhere? Scott