From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Improve usage of odt content templates Date: Wed, 21 May 2014 14:47:37 +0200 Message-ID: <87bnur1eom.fsf@gmail.com> References: <20140519104254.GX15335@pestilenz.org> <87zjidd9pn.fsf@gmail.com> <20140519164117.GA15335@pestilenz.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn5vL-0008My-NY for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn5vF-0001MV-4i for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:47:11 -0400 Received: from mail-we0-x232.google.com ([2a00:1450:400c:c03::232]:56212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn5vE-0001MG-Qr for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:47:05 -0400 Received: by mail-we0-f178.google.com with SMTP id u56so1964355wes.37 for ; Wed, 21 May 2014 05:47:03 -0700 (PDT) In-Reply-To: <20140519164117.GA15335@pestilenz.org> (Christian Kellermann's message of "Mon, 19 May 2014 18:41:17 +0200") 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: Christian Kellermann Cc: emacs-orgmode@gnu.org Hello, Christian Kellermann writes: > I first thought about using ODT_STYLES_FILE in the list form and > pick out the content.xml from there, but maybe that's a bit unexpected > as one might use a different content than from the style. > > But the control flow as it is now would need to be refactored to > make this a nice patch too. > > I shall resend this patch with proper docstrings and manual patches > if you like. Please do. >> I think this is a more general issue: should we implement an >> >> #+OPTIONS: title:nil >> >> feature? I think it makes some sense since we already have date:nil and >> author:nil. In any case, keywords are not meant to be used for booleans. >> This should be an OPTIONS item. > > I don't feel qualified to decide on this. I can provide the needed > patches though. Introducing the item is easy, but making something out of it in each back-end is not, as it requires to define what title:nil means there. In particular, should it be "an empty title" or something else? For example, ascii back-end provides a banner as its title. Should title:nil remove the title from the banner or should it remove the banner altogether, thus overriding date:t and author:t items. Likewise, should title:nil insert "\title{}" in a LaTeX document header, remove the "\maketitle{}" line, or perhaps, both? It seems that you answered to that question regarding ODT back-end though. WDYT? Regards, -- Nicolas Goaziou