From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: odt export with 'header' Date: Wed, 23 Oct 2013 14:50:42 +0200 Message-ID: References: <8738o1cb6h.fsf@med.uni-goettingen.de> <87bo2gdwbd.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYxoQ-0004iX-Hv for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 08:45:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYxoH-0008Bf-0e for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 08:45:22 -0400 Received: from mail-forward4.uio.no ([2001:700:100:10::33]:53098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYxoG-0008BP-Lo for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 08:45:12 -0400 Received: from exim by mail-out4.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1VYxoF-0002ZP-4S for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 14:45:11 +0200 In-reply-to: <87bo2gdwbd.fsf@med.uni-goettingen.de> 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: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: >> 3. Give the first page the page style OrgFirstPage. > > Which I had to create new. Is that intended? No, I get that out of the box on a clean system, so I think you should see it too. (Along with OrgTitlePage, which is the style I actually used for testing, and OrgFrontMatter.) When modifying a style template for ODT export, the manual strongly recommends starting from an ODT document that you have already exported from Org, so it includes the styles provided by the exporter. Are you sure that's what you did? > Field values do not behave, as I would like: > 1. I do not get anything in the author field (and would like > the #+AUTHOR value) That's what I get, so I don't know why your case differs. I don't suppose you have turned off inclusion of author information? Please check your export options, and what you find when you look at File > Properties in LibreOffice. > 2. (The same happens for email) Haven't tested. > 3. The date always shows the current date, but I'd like to see > the #+DATE: value. Yes, this is a little more tricky than I thought. Try this: Insert > Fields > Other > Tab:DocInformation > Type:Created, Select:Date If you can't get the Author field to work the way I suggested, perhaps the same recipe with Select:Author will help. >> 8. If you don't see your custom header in the exported document, you may >> have to put the first page in OrgFirstPage style manually. (Not sure >> how to make this happen automatically.) > > It would be nice to have this happen somehow. I'll need to get back to you on that. Yours, Christian