From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Exporting to groff, now in org-export.el ... Date: Sun, 8 Jul 2012 03:56:26 +0200 Message-ID: References: <22257.1340710426@alphaville> <87fw9i15sq.fsf@gmail.com> <87k3yp1esj.fsf@gmail.com> <87bok1108y.fsf@gmail.com> <87y5n1fa08.fsf@gmail.com> <87obntqs30.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sngjy-0005fP-2z for emacs-orgmode@gnu.org; Sat, 07 Jul 2012 21:56:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sngjw-00059Y-DV for emacs-orgmode@gnu.org; Sat, 07 Jul 2012 21:56:49 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:62338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sngjw-00059H-62 for emacs-orgmode@gnu.org; Sat, 07 Jul 2012 21:56:48 -0400 Received: by obhx4 with SMTP id x4so15539736obh.0 for ; Sat, 07 Jul 2012 18:56:46 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Luis Anaya Cc: emacs-orgmode@gnu.org Hi Luis, On Sun, Jul 8, 2012 at 3:49 AM, Luis Anaya wrote: > suvayu ali writes: > > Hi Sevayu! > >> >> have the content pages at the end instead of the front. Is there any >> particular reason for that? > > Yes there is a reason. > > The MM implementation of table of contents collects all the headers and > captions that have read up to the point of execution of the table of > content command. > > If you want to collect all the headers, the table of content command > must be placed at the end. The idea was that you placed those pages in > the right order before "shipping" the document after printing. Now in > the day of PDF files, it may look weird to have it there but being > that the implementation of the macro has not changed, it still needs > to be the last command in the document. Ah, so it's a legacy reason. It is always great to learn about history. :) Maybe this information would be worth mentioning in the future documentation for the groff exporter. Thanks, -- Suvayu Open source is the future. It sets us free.