Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

xfor.sty needed for glossaries? RE-TRY

51 views
Skip to first unread message

Tariq

unread,
Jan 8, 2009, 12:28:20 PM1/8/09
to
Hi Everyone,

I am not sure what happened to my first post on this subject (I got
the message that all posts on this topic have either expired or been
deleted!); so here it is again.

I am running TeXLive2007 under Ubuntu 8.10 and just installed
glossaries package of Nicola Talbot. I wanted to try the minimal
example given by Uwe a few days ago under the topic "crash course in
glossaries". Uwe's minimal tex file is below:


%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}

\usepackage[plainpages=false,colorlinks]{hyperref}
\usepackage[]{glossaries}

\makeglossaries

\newglossaryentry{dog}{name=dog,
description={An animal, usually cute},
plural={dogs}}

\begin{document}

\printglossaries

\Gls{dog}

\GLS{dog}

\glspl{dog}

\Glspl{dog}

\GLSpl{dog}

\glslink{dog}{some text}

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

However, when I latex this file, I get the error:

! LaTeX Error: File `xfor.sty' not found.


This seems rather odd to me. There is no mention of such requirement
in the manual/documentation of the glossaries package or anywhere
else. Plus, my system is fairly recent and should not be lacking in
obvious stuff. I would appreciate if someone could shed some light on
this before I go around messing with stuff. Regards,

Tariq

Ulrike Fischer

unread,
Jan 8, 2009, 12:45:49 PM1/8/09
to
Am Thu, 8 Jan 2009 09:28:20 -0800 (PST) schrieb Tariq:

> However, when I latex this file, I get the error:
>
> ! LaTeX Error: File `xfor.sty' not found.
>
>
> This seems rather odd to me. There is no mention of such requirement
> in the manual/documentation of the glossaries package or anywhere
> else. Plus, my system is fairly recent and should not be lacking in
> obvious stuff. I would appreciate if someone could shed some light on
> this before I go around messing with stuff. Regards,

Where is the problem? Glossaries need the sty, you don't have it, so
install it. You can find it on CTAN.

--
Ulrike Fischer

Tariq

unread,
Jan 8, 2009, 2:13:35 PM1/8/09
to
On Jan 8, 12:45 pm, Ulrike Fischer <ne...@nililand.de> wrote:

> Where is the problem? Glossaries need the sty, you don't have it, so
> install it. You can find it on CTAN.
>

Thanks Ulrike. I see that it is also one of the packages by Nicola and
I have now installed it. I appreciate your help. Regards,

Tariq

Joseph Wright

unread,
Jan 8, 2009, 2:16:29 PM1/8/09
to
Tariq wrote:

> I am running TeXLive2007 under Ubuntu 8.10 and just installed
> glossaries package of Nicola Talbot. I wanted to try the minimal
> example given by Uwe a few days ago under the topic "crash course in
> glossaries". Uwe's minimal tex file is below:

Yes it does: Nicola Talbot writes both glossaries and xfor, so it's not
that surprising.
--
Joseph Wright

Dan Luecking

unread,
Jan 8, 2009, 2:55:45 PM1/8/09
to
On Thu, 8 Jan 2009 18:45:49 +0100, Ulrike Fischer <ne...@nililand.de>
wrote:

The problem is that the requirement is not documented.
It should be mentioned in the README, which already has
a section headed "REQUIREMENTS".


Dan
To reply by email, change LookInSig to luecking

Nicola Talbot

unread,
Jan 9, 2009, 4:28:21 AM1/9/09
to
Dan Luecking wrote:
> The problem is that the requirement is not documented.
> It should be mentioned in the README, which already has
> a section headed "REQUIREMENTS".

I'll add a note in the README file in the next version.

Regards
Nicola Talbot

--
Home: http://theoval.cmp.uea.ac.uk/~nlct/
LaTeX Related Information: http://theoval.cmp.uea.ac.uk/~nlct/latex/
Creating a LaTeX Minimal Example:
http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/

Tariq

unread,
Jan 9, 2009, 3:40:40 PM1/9/09
to
On Jan 9, 4:28 am, Nicola Talbot <n.tal...@uea.ac.uk> wrote:


Hi Nicola

Thanks a lot for writing such a nice and flexible package. I am just
trying to learn the basics of it. However, I do have a question for
you (or anyone else who can answer). The documentation says (p.16)
that only the glossary entries that have been used in the document
text will appear in the glossary [generated from \printglossaries
command]. I wanted to have a chapter called Glossary and another
called Acronyms (or Abbreviations). But the terms/abbreviations do not
appear in the body of the text as such. Does it mean I cannot generate
such chapters using the glossaries package? Perhaps I should have a
chapter that has \begin{description} ... \end{description} or related
environment? I would appreciate any suggestions. Regards,

Tariq

Nicola Talbot

unread,
Jan 10, 2009, 8:14:11 AM1/10/09
to

You can use an entry without generating text with \glsadd or \glsaddall.
For example, to add all the acronyms do \glsaddall[types=\acronymtype]
(In this case, I suggest you suppress the number list for the list of
acronyms.)

Basically, the commands defined in sections 3.4 and 3.5 will add the
relevant entry to the glossary, but the commands described in section
3.7 don't. (The new cross-referencing command \glssee and the new see
key also add information to the glossary.)

Tariq

unread,
Jan 10, 2009, 10:37:18 AM1/10/09
to

> > On Jan 9, 4:28 am, Nicola Talbot <n.tal...@uea.ac.uk> wrote:

> You can use an entry without generating text with \glsadd or \glsaddall.
>   For example, to add all the acronyms do \glsaddall[types=\acronymtype]
> (In this case, I suggest you suppress the number list for the list of
> acronyms.)
>
> Basically, the commands defined in sections 3.4 and 3.5 will add the
> relevant entry to the glossary, but the commands described in section
> 3.7 don't. (The new cross-referencing command \glssee and the new see
> key also add information to the glossary.)
>

Nicola

That's great; exactly what I had in mind. Thank you very much for
helping me out on this. Regards,

Tariq

0 new messages