1

When I use the \printglossaries inside the environment appendices I get two extra white pages I cannot get rid of. Do you know how to remove them?

Here a MWE which has such problem:

\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries} 
\usepackage[titletoc, page]{appendix}

\newacronym{abc}{ABC}{Alpha test}

\makeglossaries

\begin{document}
\chapter{Chapter 1}
\gls{abc}


\begin{appendices}

\phantomsection\addcontentsline{toc}{chapter}{Acronyms}
\printglossaries

\end{appendices}

\end{document}
  • The \addcontentsline is not necessary, in my point of view – user31729 Apr 28 '15 at 17:26
  • The appendices environment is the cause of the additional blank pages – user31729 Apr 28 '15 at 17:32
  • \addcontentsline it is not necessary, it's true. But doesn't affect the output. – Stefano_g Apr 28 '15 at 20:36
  • I know who downvoted my post: I can compare rep changes before and after and the treacherous tracks it leaves ;-) – user31729 Apr 30 '15 at 19:07
1

Ok I solved my question looking from another post. So if it is judged as a duplicate can be removed.

Here is a MWE with my desired output:

\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries} 
\usepackage[titletoc, page]{appendix}

\newacronym{abc}{ABC}{Alpha test}

\makeglossaries

\begin{document}
\chapter{Chapter 1}
\gls{abc}


\begin{appendices}

\begingroup     
\let\clearpage\relax        
\printglossaries
\endgroup

\chapter{Appendix B}

\end{appendices}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.