From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang Subject: Re: odt export of subtree: set/suppress the date in the export Date: Sun, 09 Nov 2014 20:04:35 +0100 Message-ID: <87y4rk8abg.fsf@dod.no> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXnE-0007pm-Ej for emacs-orgmode@gnu.org; Sun, 09 Nov 2014 14:05:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnXn8-0004r0-6b for emacs-orgmode@gnu.org; Sun, 09 Nov 2014 14:04:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:56968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXn8-0004qs-0L for emacs-orgmode@gnu.org; Sun, 09 Nov 2014 14:04:50 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XnXn6-00082v-9u for emacs-orgmode@gnu.org; Sun, 09 Nov 2014 20:04:48 +0100 Received: from cm-84.208.248.210.getinternet.no ([84.208.248.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Nov 2014 20:04:48 +0100 Received: from sb by cm-84.208.248.210.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Nov 2014 20:04:48 +0100 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 >>>>> CM : > I cannot reproduce either problem, though I seem to remember some > difficulty with changing date fields in the past. What Org version are > you using? Um... a heap of different versions it looks like, on the systems I use regularily, some from ELPA (one of the ELPA archives), some from org git, and the version delivered with emacs 24.3. Right now I'm on a debian box using git org, and I've done make clean git pull make and started a fresh emacs. And here I see a different behaviour > You can turn the use of date fields in LibreOffice on or off with > org-odt-use-date-fields. With date fields set to t: Hm... 'C-h v org-odt-use-date-fields RET' says: org-odt-use-date-fields is a variable defined in `ox-odt.el'. Its value is nil > - Setting :EXPORT_DATE: in the subtree and exporting the subtree results > in an ODT export with that date in the header, not today's date. > - Inspecting the date field shows that the date is "fixed". (In > LibreOffice, right-click the date and select "Fields" from the popup > menu.) > - Indeed, the date remains unchanged when I do "Update all" or export > to PDF from LibreOffice does indeed keep the same date. Hm... I may play around with these settings, but for now I'm happy with the default behaviour (no date stamp). I'll go to git org on all of my emacsen. Thanks!