From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH] Improve usage of odt content templates Date: Thu, 22 May 2014 10:23:32 +0200 Message-ID: <874n0ikyrf.fsf@gmx.us> References: <20140519104254.GX15335@pestilenz.org> <87zjidd9pn.fsf@gmail.com> <20140519164117.GA15335@pestilenz.org> <87bnur1eom.fsf@gmail.com> <20140522100053.673d483f@gaia> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnOI5-0004qD-5y for emacs-orgmode@gnu.org; Thu, 22 May 2014 04:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnOHz-0003dF-8P for emacs-orgmode@gnu.org; Thu, 22 May 2014 04:23:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:55120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnOHz-0003d6-1K for emacs-orgmode@gnu.org; Thu, 22 May 2014 04:23:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WnOHy-0007TJ-6q for emacs-orgmode@gnu.org; Thu, 22 May 2014 10:23:46 +0200 Received: from dynamic-adsl-94-34-131-7.clienti.tiscali.it ([94.34.131.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 May 2014 10:23:46 +0200 Received: from rasmus by dynamic-adsl-94-34-131-7.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 May 2014 10:23:46 +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: emacs-orgmode@gnu.org Detlef Steuer writes: >> 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? > > To be consistent over backends I think it should be implemented as > an empty title string. If date:t or/and author:t are specified these > should show up somewhere. > > \maketitle{} should be removed only, if a titlepage would appear empty > in the exported document. > > Just the usual 2c worth of opinion. IMO, it just shouldn't set title in LaTeX. When I use author:nil \author{·} is simply not set and could be loaded via another file. I would also remove the \maketitle command. I don't have any particularly good argument for this, other than it feels right. . . Alternatively, there could be a yet another option maketitle:if-title, maketitle:always. . . With the text backend. I would make the banner dependent on the presence of a title. I.e. I'd probably go for no title, no banner. Though it's less clear here to what extend a title-less banner makes sense here. —Rasmus -- When in doubt, do it!