On Monday 25 September 2006 23:47, [EMAIL PROTECTED] wrote:
> Hi,
> I hope this isnt too much of a daft question as i am very new to lyx and
> latex, and am still not sure the limits of what it can do and what i have
> to do...
>
> Is it possible to have latex/lyx sort a Description list based on
> alphabetical ordering?
>
> Thanks for any help
>
> joe
Personally I have no knowledge of any package suitable for "sorting" purposes,
however I use the following work-around.
Write your list in a separate file making sure you insert only lines
containing a single item and not any "headers" (e.g. if you use
\begin{description}... \end{description}, leave that part on the parent
file). Sort the file using the "sort" command line utility with options -d
(dictionary) and -f (case insensitive). Input your newly sorted file in the
parent file.
In theory, you could incorporate the "sort" execution within the .tex file
but I have only sorted stuff out rarely enough to not bother the "manual
approach".
Hope this helps,
Makis