[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Making reftex distinguish frontmatter and mainmatter

From: Ralf Angeli
Subject: Re: [AUCTeX] Making reftex distinguish frontmatter and mainmatter
Date: Fri, 18 May 2007 22:52:28 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.96 (gnu/linux)

* Rasmus Villemoes (2007-05-18) writes:

> When I press C-c =, i get
>    1 Introduction
>    2 Homology and cohomology of groups
>    3 The mapping class group
>    etc.
> but in the compiled document, the introduction is an unnumbered
> chapter, and "Homology..." is chapter 1. Is there any way one can make
> reftex parse the declaration \mainmatter and number the chapters in
> the toc accordingly?

Not that I know of.

> Of course, the numbering scheme used for a particular document may be
> different from what I'm using, and I don't expect reftex to parse the
> entire document to figure out whether at a given a point a \chapter
> would result in a numbered or unnumbered chapter, but it would be nice
> if it behaved as "standard LaTeX". Then, perhaps, one could control
> the behaviour for a particular document using local variables
> ("reftex-frontmatter-numbering" = nil, "reftex-mainmatter-numbering" =
> "arabic", "reftex-appendix-numbering" = "Roman",
> "reftex-backmatter-numbering" = nil or something...).

That does not sound very userfriendly.  And I don't think `C-c =' was
ever meant to be so sophisticated.  But I could be mistaken since I
haven't studied the code thoroughly.

One could perhaps add an option to omit the numbering completely if you
find it confusing.  If it should become more sophisticated and look
closer to the actual output, using preview-latex for displaying the
table of contents would be an interesting option.  One just would have
to find a way to generate the table of contents quickly.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]