[texhax] glossaries order linked words

Adrián López García de Lomana adrianlopezgarciadelomana at gmail.com
Sun Oct 11 15:48:10 CEST 2009


Oh, thanks a lot, I didn't know about that key.

Thanks,

a

On Oct 10, 2009, at 4:03 PM, Dr Nicola L C Talbot wrote:

> Adrián López García de Lomana wrote:
>> I'm working with the package glossaries
>> \usepackage[style=altlist,order=letter]{glossaries}
>> and I don't know how to solve a minor problem. Some of the
> > glossary terms are referenced to an internet site:
>> \newglossaryentry{Python}{
>>   name=\href{http://www.python.org/}{Python},
>>   description={\LDPython},
>>   text={Python}}
>> and when I create the glossaries, the ordering is not the
> > one I would like. I would like the term "Python" to be ordered
> > by the letter P, but (I suppose) it takes the first characters of
> > "name", in this case "\", for the ordering and all terms that
> > contain the "\href" on the name are ordered first. Some ideas of
> > how could I solve this?
>
> Use the sort key:
>
> \newglossaryentry{Python}{
>    sort=Python,
>    name=\href{http://www.python.org/}{Python},
>    description={\LDPython},
>    text={Python}}
>
> Regards
> Nicola Talbot
> --
> http://theoval.cmp.uea.ac.uk/~nlct/

--
Adrián López García de Lomana

http://sites.google.com/site/adrianlopezgarciadelomana/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20091011/56fc39a7/attachment.html>


More information about the texhax mailing list