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
could you please post a minimal example showing this with memoir?
/daleif
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/
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.)
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.