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

glossaries manual

68 views
Skip to first unread message

Tom Dye

unread,
Oct 23, 2009, 3:09:22 PM10/23/09
to
Aloha all,

I'm using the excellent glossaries package. On page 26 of the manual I
found this:

> Note that if you are using the hyperref package and the glossaries are put in
> chapters, you may need to redefine \glsclearpage to do \clearpage instead
> of \cleardoublepage to prevent an unwanted blank page appearing before
> the glossary:
> \renewcommand*{\glsclearpage}{\clearpage}

I got the unwanted blank page in a memoir document that doesn't use the
hyperref package. Renewing the command as per the manual fixed this in
my document.

Based on my experience, it might be well to change the manual to read
"Note that if glossaries are put in chapters ...", eliminating the
reference to the hyperref package.

All the best,
Tom
--
Tom Dye
T. S. Dye & Colleagues, Archaeologists, Inc.
Honolulu, Hawai`i

Lars Madsen

unread,
Oct 23, 2009, 6:06:25 PM10/23/09
to

could you please post a minimal example showing this with memoir?

/daleif

Nicola Talbot

unread,
Nov 2, 2009, 9:31:05 AM11/2/09
to
Tom Dye wrote:
> Aloha all,
>
> I'm using the excellent glossaries package. On page 26 of the manual I
> found this:
>
>> Note that if you are using the hyperref package and the glossaries are
>> put in
>> chapters, you may need to redefine \glsclearpage to do \clearpage instead
>> of \cleardoublepage to prevent an unwanted blank page appearing before
>> the glossary:
>> \renewcommand*{\glsclearpage}{\clearpage}
>
> I got the unwanted blank page in a memoir document that doesn't use the
> hyperref package. Renewing the command as per the manual fixed this in
> my document.
>
> Based on my experience, it might be well to change the manual to read
> "Note that if glossaries are put in chapters ...", eliminating the
> reference to the hyperref package.

I didn't realise it also occurred with memoir. I expect it probably
occurs with other class files as well. It really needs to be able to
detect if there's an openright switch, but there are so many different
class files it's difficult to ensure that it works sensibly with all of
them. I'll modify the documentation.

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/

Nicola Talbot

unread,
Nov 2, 2009, 9:40:01 AM11/2/09
to
Nicola Talbot wrote:
> I didn't realise it also occurred with memoir. I expect it probably
> occurs with other class files as well. It really needs to be able to
> detect if there's an openright switch, but there are so many different
> class files it's difficult to ensure that it works sensibly with all of
> them. I'll modify the documentation.

Actually, having just tested it, I can't see where the problem is.
Minimal example:

\documentclass[openany]{memoir}

\usepackage{lipsum}
\usepackage{glossaries}

\makeglossaries

\newglossaryentry{sample}{name=sample,description=an example}
\glsaddall

\begin{document}
\chapter{First}

\lipsum[1]

\chapter{Second}

\lipsum[1]

\printglossaries

\end{document}

I don't get a blank page with the above. (I do, if I remove the
"openany" option, but that's the way all the chapters start.)

Tom Dye

unread,
Nov 2, 2009, 3:09:57 PM11/2/09
to

Nicola and Lars,

I should have written "in a memoir document that also loads several
other packages." The implication that interaction with the memoir
package was the cause of the unwanted blank page was unintentional. I
apologize for the red herring.

Because the manual led me immediately to the correct fix, I didn't take
time to track down the offending package(s).

Note that my suggested revision to the manual doesn't mention memoir,
but instead leaves open the possibility that packages other than
hyperref (including those not yet written) might cause glossaries to
insert an unwanted blank page.

Many thanks to both of you for your work on two terrific pieces of
software, both of which are integral to my work.

0 new messages