From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Zhao Subject: Re: Intermixed date in koma-letter export Date: Thu, 10 Dec 2015 22:41:29 -0500 Message-ID: References: <87egeypqb2.fsf@gmx.us> <87k2omjoj3.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2e9644df31705269719e8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7EaK-00056N-CV for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 22:41:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7EaJ-0004Bg-38 for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 22:41:32 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:32804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7EaI-0004BW-TS for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 22:41:31 -0500 Received: by obbsd4 with SMTP id sd4so24568440obb.0 for ; Thu, 10 Dec 2015 19:41:30 -0800 (PST) In-Reply-To: <87k2omjoj3.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode --001a11c2e9644df31705269719e8 Content-Type: text/plain; charset=UTF-8 No, this still doesn't work. I just tested with my .emacs having only two lines: #+BEGIN_SRC emacs-lisp (require 'org "/usr/local/share/emacs/site-lisp/org/org") (require 'ox-koma-letter (locate-user-emacs-file "path/to/org-mode/contrib/lisp/ox-koma-letter")) #+END_SRC the org-mode version is from git commit "a198d81". M-x org-version gives: Org-mode version 8.3.2 (release_8.3.2-378-ga198d8 @ /usr/local/share/emacs/site-lisp/org/) I then copied the text from your email exactly as: #+BEGIN_EXAMPLE * letter 1 :PROPERTIES: :EXPORT_DATE: 2015-10-26 Monday :END: ** to :to: The Org list ** To whom it may concern, txt * letter 2 :PROPERTIES: :EXPORT_DATE: 2015-12-03 Thursday :END: ** to :to: list ** To whom it may concern, txt #+END_EXAMPLE I selected the "letter 1" subtree, pressed C-cekp, opened the pdf file. But the date is still "Dec 12, 2015". Hope this helps,\\ York On Thu, Dec 10, 2015 at 10:45 AM, Rasmus wrote: > Hi, > > York Zhao writes: > > > Thanks for your help. However, adding the :EXPORT_DATE: property doesn't > > work. Firstly, there's an error: "PDF file produced with errors.". > > You have to add an address, e.g. > > * letter 1 > :PROPERTIES: > :EXPORT_DATE: 2015-10-26 Monday > :END: > ** to > :to: > The Org list > ** To whom it may concern, > txt > * letter 2 > :PROPERTIES: > :EXPORT_DATE: 2015-12-03 Thursday > :END: > ** to > :to: > list > ** To whom it may concern, > txt > > > Secondly, even though it still produced a PDF output, the date is always > > today's date which is wrong. > > I cannot reproduce. I get this as part of exporting the first subtree > (I click: C-c C-e C-s k L) > > \date{2015-10-26 Monday} > > Hope it helps, > Rasmus > > -- > Enough with the bla bla! > > > --001a11c2e9644df31705269719e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
No, this still doesn't work. I just tested with my .em= acs having only two lines:

#+BEGIN_SRC emacs-lisp
=C2=A0 (require= 'org "/usr/local/share/emacs/site-lisp/org/org")
=C2=A0 (= require 'ox-koma-letter
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (locate-user-emacs-file "path/to/org-mode/contrib/l= isp/ox-koma-letter"))
#+END_SRC
the org-mode version is from git= commit "a198d81". M-x org-version gives:

Org-mode version= 8.3.2 (release_8.3.2-378-ga198d8 @
/usr/local/share/emacs/site-lisp/org= /)

I then copied the text from your email exactly as:

#+BEGIN= _EXAMPLE
* letter 1
:PROPERTIES:
:EXPORT_DATE: 2015-10-26 Monday:END:
** to=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :to:
The Org list
** To= whom it may concern,
txt
* letter 2
:PROPERTIES:
:EXPORT_DATE:= 2015-12-03 Thursday
:END:
** to=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :to:
= list
** To whom it may concern,
txt
#+END_EXAMPLE

I selecte= d the "letter 1" subtree, pressed C-cekp, opened the pdf file. Bu= t the
date is still "Dec 12, 2015".

Hope this helps,\\<= br>York

= On Thu, Dec 10, 2015 at 10:45 AM, Rasmus <rasmus@gmx.us> wrote:<= br>
Hi,

York Zhao <gtdplatform@gmail.co= m> writes:

> Thanks for your help. However, adding the :EXPORT_DATE: property doesn= 't
> work. Firstly, there's an error: "PDF file produced with erro= rs.".

You have to add an address, e.g.

* letter 1
:PROPERTIES:
:EXPORT_DATE: 2015-10-26 Monday
:END:
** to=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 :to:
The Org list
** To whom it may concern,
txt
* letter 2
:PROPERTIES:
:EXPORT_DATE: 2015-12-03 Thursday
:END:
** to=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 :to:
list
** To whom it may concern,
txt

> Secondly, even though it still produced a PDF output, the date is alwa= ys
> today's date which is wrong.

I cannot reproduce.=C2=A0 I get this as part of exporting the first = subtree
(I click: C-c C-e C-s k L)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\date{2015-10-26 Monday}

Hope it helps,
Rasmus

--
Enough with the bla bla!



--001a11c2e9644df31705269719e8--