all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* German date in LaTeX export [7.3]
@ 2011-02-13 17:02 phaebz
  2011-02-14  0:10 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: phaebz @ 2011-02-13 17:02 UTC (permalink / raw)
  To: emacs-orgmode

I have these org-options set for export:

#+LANGUAGE:  de
#+LATEX_HEADER: \usepackage[ngerman]{babel}

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 do I change this? I did not find any option for this in the manual...

Thanks in advance

Michael Bach

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: German date in LaTeX export [7.3]
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2011-02-14  0:10 UTC (permalink / raw)
  To: phaebz; +Cc: emacs-orgmode

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,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: German date in LaTeX export [7.3]
  2011-02-14  0:10 ` Bastien
@ 2011-02-14  8:30   ` phaebz
  2011-02-14  8:47     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: phaebz @ 2011-02-14  8:30 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: German date in LaTeX export [7.3]
  2011-02-14  8:30   ` phaebz
@ 2011-02-14  8:47     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2011-02-14  8:47 UTC (permalink / raw)
  To: phaebz; +Cc: emacs-orgmode

Hi Michael,

phaebz <phaebz@googlemail.com> writes:

> I now use #+DATE: \today and it works as expected.

Good!

> 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.

You're welcome.  We are all patient here because we know it's often 
a matter of better understanding what Org-mode *can* do, rather than
fixing bugs :)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-14  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-02-14  8:47     ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.