emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: phaebz <phaebz@googlemail.com>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: German date in LaTeX export [7.3]
Date: Mon, 14 Feb 2011 10:30:27 +0200	[thread overview]
Message-ID: <4D58E823.3010606@googlemail.com> (raw)
In-Reply-To: <87r5bbihez.fsf@altern.org>

On 02/14/2011 02:10 AM, Bastien wrote:
> Hi Michael,
>
> phaebz <phaebz@googlemail.com> 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

  reply	other threads:[~2011-02-14  8:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 17:02 German date in LaTeX export [7.3] phaebz
2011-02-14  0:10 ` Bastien
2011-02-14  8:30   ` phaebz [this message]
2011-02-14  8:47     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D58E823.3010606@googlemail.com \
    --to=phaebz@googlemail.com \
    --cc=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).