From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: odt export with 'header' Date: Wed, 23 Oct 2013 16:00:19 +0200 Message-ID: <87vc0occjw.fsf@med.uni-goettingen.de> 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]:54934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYyzN-0001r7-LE for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 10:00:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYyzH-0001C7-Aj for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 10:00:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:51492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYyzG-0001C0-U7 for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 10:00:39 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYyzB-0008Lr-7o for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 16:00:33 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 16:00:33 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 16:00:33 +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 Christian Moe writes: > 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? > Yes. I just tried with emacs -Q and loading only orgmode (8.2.1 (release_8.2.1-120-g5975d7). Basically, I only required ox-otd prior to exporting my test document. I do get many Orgxxx templates for lists, paragraphs, ... but none for pages. Any idea, what could be wrong here? >> 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. Sorry, my bad. I had indeed disabled the author in the export properties of the subtree and did not check there. > >> 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 > Well, I changed the date in the org file (#+DATE: 2013-10-10) and I do not know where that value would be set in the odt. In the standard export it is included as text formatted as OrgSubtitle, so I guess it is not a field value, I could display someplace else? The field you suggest seems to give me what it says: the creation date. [...] >>> 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. > No(t too many) worries here. I can live with that manual interaction (for now). ;-) Thanks a lot for all your help! Regards, Andreas