Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the glossaries package to maintain an Acronyms list and a Glossary.

My problem is that the Acronyms list is too big. Currently it is occupying 2 pages.

The first page is numbered as vi, which is how I want it. However, the second page is numbered as 1, which is incorrect. It should be vii. Can someone help me?

This is how my master file looks like:

\begin{document}

\input{glossary} % The Glossary and Acronym entries.

\pagenumbering{alph}
\setcounter{page}{1}
\maketitle

\input{abstract}
\input{acknowledgments}

\pagenumbering{roman}
\setcounter{page}{1}

\tableofcontents
\addcontentsline{toc}{chapter}{Contents}

\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}

\listoftables
\addcontentsline{toc}{chapter}{List of Tables}

\lstlistoflistings
\addcontentsline{toc}{chapter}{List of Listings}

\printglossary[type=\acronymtype] % Acronym list

\pagenumbering{arabic}
\setcounter{page}{1}

% Document body

\printglossary[title={Index of Terms},toctitle={Index of Terms}]
\end{document}
share|improve this question
    
It's good that you mark your code block. It's even better if you indent by just 4 spaces, not 8. (In some cases, you do want further indentation for clarity, but that's not the case here.) –  Hendrik Vogt Dec 18 '10 at 15:08
    
Ok. So that was why you editted my post. The indentation I used is the one I normally use. Thought everyone liked it like that. Didn't I use code block? –  Tiago Veloso Dec 19 '10 at 11:43
add comment

1 Answer

up vote 4 down vote accepted

I would guess you need a \clearpage or \cleardoublepage, depending on what you want and your documentclass, right after the \printglossary. Then your counter reset would not be executed until the next regular page.

That's assuming you mean the first glossary, since I can't test your code.

share|improve this answer
    
Worked like a charm. Thanks. –  Tiago Veloso Dec 18 '10 at 15:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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