From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: index-title in org-publish Date: Sun, 16 Nov 2008 16:38:02 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1qFr-0005uO-Vq for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 17:38:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1qFq-0005uC-Fn for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 17:38:06 -0500 Received: from [199.232.76.173] (port=50943 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1qFq-0005u9-9z for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 17:38:06 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:60453) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1qFq-0001iR-59 for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 17:38:06 -0500 In-Reply-To: (Carsten Dominik's message of "Sun\, 16 Nov 2008 19\:50\:49 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > On Nov 16, 2008, at 5:51 PM, Matthew Lundin wrote: > >> >> Carsten, >> >> Thanks so much for fixing the open buffer problem with auto-index was >> turned on in org-publish. All buffers now close properly after >> publishing. >> >> There is a new behavior in auto-index with 6.12. The index-title now >> is written in the index-file as a heading, rather than the first line >> of text. >> >> Let's say I have the following options in org-publish-project-alist: >> >> ... >> :auto-index t >> :index-filename "pagelist.org" >> :index-title "Page List" >> ... >> >> In earlier versions of org-publish, auto-index resulted in a >> pagelist.org that looked like this: >> >> Page List >> >> + [[file1.org][File One]] >> + [[file2.org][File Two]] >> >> With 6.12, it creates a pagelist.org file that looks like this: >> >> * Page List >> >> + [[file1.org][File One]] >> + [[file2.org][File Two]] >> >> In the latter instance, the published html has the name of the >> file--"pagelist"--as the title (

) and "Page List" as a level two >> heading (

). >> >> Thanks! (And sorry to bother you with such a minor issue...) >> >> Matt > > Hi Matt, > > from your post it is not clear to me what you would like to have > changed. Also in this iisues are usually follow Sebastian Rose's > adice who also made the change you are mentioning. Sebastian, could > you chime in here? > > - Carsten Hi Carsten (and Sebastian), Yes, so sorry. My post wasn't clear. I was wondering if org-publish-org-index could be reverted to the old behavior to produce a file in which the first line contains the index-filename (e.g., "Page List") in form "a" below: Page List <------- (a) - old behavior rather than * Page List <------- (b) new behavior The new behavior (b) causes the filename (e.g., "pagelist") to be exported as the title, which results in redundant titles/headings in the html. You can see the results new behavior at: http://faculty.valpo.edu/mlundin/pagelist.html Thanks, Matt