From mboxrd@z Thu Jan 1 00:00:00 1970 From: phaebz Subject: Re: German date in LaTeX export [7.3] Date: Mon, 14 Feb 2011 10:30:27 +0200 Message-ID: <4D58E823.3010606@googlemail.com> References: <4D580EA6.9070703@googlemail.com> <87r5bbihez.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=51642 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PotpO-0003ZJ-G0 for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 03:30:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PotpJ-0001Pc-QU for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 03:30:38 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:52050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PotpJ-0001PJ-EX for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 03:30:33 -0500 Received: by wyj26 with SMTP id 26so4620056wyj.0 for ; Mon, 14 Feb 2011 00:30:32 -0800 (PST) In-Reply-To: <87r5bbihez.fsf@altern.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org On 02/14/2011 02:10 AM, Bastien wrote: > Hi Michael, > > phaebz writes: > >> The usepackage line for babel is necessary, because Language: de is not >> recognized. With the above, I correctly get e.g. "Inhaltsverzeichnis" >> instead of "Contents". But the timestamp in the title remains the english >> one, namely "13 February 2011". > How did you set "the timestamp in the title"? Through #+TITLE? Through > #+DATE: ? There is something I miss here. > > Thanks, > I am sorry. I am relatively new to all this. Please be patient... "the timestamp in the title" referred to the LaTeX title. I did not set a timestamp via #+DATE: %d %B %Y, because I thought org would take care of that, as it does often. I read some more in the manual and understood that #+LANGUAGE: de is only used for HTML export. I thought #+LATEX_HEADER: \usepackage[ngerman]{babel} would result in a german style \today macro in the corresponding LaTeX file. I should have experimented more, i.e. read the LaTeX export file for hints, then I would have seen that the default #+DATE: option is indeed %d %B %Y, which gets expanded to 14 February 2011 and inserted literally into the LaTeX \date macro, since I use an english locale. I now use #+DATE: \today and it works as expected. Sorry for the noise, my posts often end up in a kind of self-helping experience, but hints are always appreciated. Thanks Bastien for the push. Michael Bach