From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: don't show author and date on odt export? Date: Mon, 26 Aug 2013 17:05:56 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE3z3-0008GC-K1 for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 17:05:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE3z2-0006gI-PL for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 17:05:57 -0400 Received: from mail-qe0-x22e.google.com ([2607:f8b0:400d:c02::22e]:61448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE3z2-0006gC-Fe for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 17:05:56 -0400 Received: by mail-qe0-f46.google.com with SMTP id f6so2082419qej.5 for ; Mon, 26 Aug 2013 14:05:56 -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: Org Mode On Mon, Aug 26, 2013 at 2:49 PM, Matt Price wrote: > I'm trying to figure out how best to tell org not to display my name > and the date at the top of the page when it exports document. > Currently, it seems I can do htis by setting > > #+OPTIONS: author:nil date:nil > > However, this also removes the relevant info from the file metadata. > I would prefer to somehow change the export template so that these > lines aren't produced. Anyone know if that's possible? Would I have > to modify ox-odt.el directly -- and is that hard to do? It looks like > the relevant lines in that file are around 1488-1541. I'm a little > loathe to modify the code directly though, as I like to just git pull > from the master branch... I realize I also don't quite understand how to preformat the header and footer of each page. I feel like this should be possible, as at least some footer info is generated by default (page number in centre of footer). But despite some inspection of both ox-odt.el and the styles.xml and content.xml of my exported document, I can't figure out how the content of the footer is determined. Thanks again! Matt