* Beamer Export: US date format despite \usepackage[ngerman]{babel} @ 2014-05-22 7:07 Loris Bennett 2014-05-23 11:08 ` Loris Bennett 0 siblings, 1 reply; 5+ messages in thread From: Loris Bennett @ 2014-05-22 7:07 UTC (permalink / raw) To: emacs-orgmode Hi, If I have the following: ,-------------------------------------------- | #+TITLE: Test | #+AUTHOR: Loris Bennett | | #+OPTIONS: H:1 toc:nil | | #+LATEX_HEADER: \usepackage[ngerman]{babel} | | #+DATE: \today | | * Test | | Test `-------------------------------------------- And export as to Beamer PDF, the tex file contains ,------------------------------------- | \usepackage[ngerman, english]{babel} `------------------------------------- And the date is rendered as ,------------- | May 22, 2014 `------------- Is this a bug or should I be doing something else to get "22. Mai 2014"? Cheers, Loris Org-mode version 8.2.6 (8.2.6-18-gaaae4a-elpaplus @ /home/loris/.emacs.d/elpa/org-plus-contrib-20140512/) -- This signature is currently under construction. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beamer Export: US date format despite \usepackage[ngerman]{babel} 2014-05-22 7:07 Beamer Export: US date format despite \usepackage[ngerman]{babel} Loris Bennett @ 2014-05-23 11:08 ` Loris Bennett 2014-05-23 13:01 ` Nick Dokos 2014-05-23 13:03 ` Nick Dokos 0 siblings, 2 replies; 5+ messages in thread From: Loris Bennett @ 2014-05-23 11:08 UTC (permalink / raw) To: emacs-orgmode "Loris Bennett" <loris.bennett@fu-berlin.de> writes: > Hi, > > If I have the following: > > ,-------------------------------------------- > | #+TITLE: Test > | #+AUTHOR: Loris Bennett > | > | #+OPTIONS: H:1 toc:nil > | > | #+LATEX_HEADER: \usepackage[ngerman]{babel} > | > | #+DATE: \today > | > | * Test > | > | Test > `-------------------------------------------- > > And export as to Beamer PDF, the tex file contains > > ,------------------------------------- > | \usepackage[ngerman, english]{babel} > `------------------------------------- > > And the date is rendered as > > ,------------- > | May 22, 2014 > `------------- > > Is this a bug or should I be doing something else to get "22. Mai 2014"? > > Cheers, > > Loris > > Org-mode version 8.2.6 (8.2.6-18-gaaae4a-elpaplus @ /home/loris/.emacs.d/elpa/org-plus-contrib-20140512/) This has been reported to me seemingly off-list as also occurring with Swedish instead of German. So does anyone else of a non-MDY persuasion have this problem? -- This signature is currently under construction. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beamer Export: US date format despite \usepackage[ngerman]{babel} 2014-05-23 11:08 ` Loris Bennett @ 2014-05-23 13:01 ` Nick Dokos 2014-05-23 13:03 ` Nick Dokos 1 sibling, 0 replies; 5+ messages in thread From: Nick Dokos @ 2014-05-23 13:01 UTC (permalink / raw) To: emacs-orgmode "Loris Bennett" <loris.bennett@fu-berlin.de> writes: > "Loris Bennett" <loris.bennett@fu-berlin.de> writes: > >> Hi, >> >> If I have the following: >> >> ,-------------------------------------------- >> | #+TITLE: Test >> | #+AUTHOR: Loris Bennett >> | >> | #+OPTIONS: H:1 toc:nil >> | >> | #+LATEX_HEADER: \usepackage[ngerman]{babel} >> | >> | #+DATE: \today >> | >> | * Test >> | >> | Test >> `-------------------------------------------- >> >> And export as to Beamer PDF, the tex file contains >> >> ,------------------------------------- >> | \usepackage[ngerman, english]{babel} >> `------------------------------------- >> >> And the date is rendered as >> >> ,------------- >> | May 22, 2014 >> `------------- >> >> Is this a bug or should I be doing something else to get "22. Mai 2014"? >> #+LANGUAGE: de perhaps? -- Nick ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beamer Export: US date format despite \usepackage[ngerman]{babel} 2014-05-23 11:08 ` Loris Bennett 2014-05-23 13:01 ` Nick Dokos @ 2014-05-23 13:03 ` Nick Dokos 2014-05-26 7:56 ` Loris Bennett 1 sibling, 1 reply; 5+ messages in thread From: Nick Dokos @ 2014-05-23 13:03 UTC (permalink / raw) To: emacs-orgmode "Loris Bennett" <loris.bennett@fu-berlin.de> writes: > "Loris Bennett" <loris.bennett@fu-berlin.de> writes: > >> Hi, >> >> If I have the following: >> >> ,-------------------------------------------- >> | #+TITLE: Test >> | #+AUTHOR: Loris Bennett >> | >> | #+OPTIONS: H:1 toc:nil >> | >> | #+LATEX_HEADER: \usepackage[ngerman]{babel} >> | >> | #+DATE: \today >> | >> | * Test >> | >> | Test >> `-------------------------------------------- >> >> And export as to Beamer PDF, the tex file contains >> >> ,------------------------------------- >> | \usepackage[ngerman, english]{babel} >> `------------------------------------- >> >> And the date is rendered as >> >> ,------------- >> | May 22, 2014 >> `------------- >> >> Is this a bug or should I be doing something else to get "22. Mai 2014"? >> I sent too soon: .. or set `org-export-default-language' - and see (info "(org) Export settings") for more options. -- Nick ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beamer Export: US date format despite \usepackage[ngerman]{babel} 2014-05-23 13:03 ` Nick Dokos @ 2014-05-26 7:56 ` Loris Bennett 0 siblings, 0 replies; 5+ messages in thread From: Loris Bennett @ 2014-05-26 7:56 UTC (permalink / raw) To: emacs-orgmode Nick Dokos <ndokos@gmail.com> writes: > "Loris Bennett" <loris.bennett@fu-berlin.de> writes: > >> "Loris Bennett" <loris.bennett@fu-berlin.de> writes: >> >>> Hi, >>> >>> If I have the following: >>> >>> ,-------------------------------------------- >>> | #+TITLE: Test >>> | #+AUTHOR: Loris Bennett >>> | >>> | #+OPTIONS: H:1 toc:nil >>> | >>> | #+LATEX_HEADER: \usepackage[ngerman]{babel} >>> | >>> | #+DATE: \today >>> | >>> | * Test >>> | >>> | Test >>> `-------------------------------------------- >>> >>> And export as to Beamer PDF, the tex file contains >>> >>> ,------------------------------------- >>> | \usepackage[ngerman, english]{babel} >>> `------------------------------------- >>> >>> And the date is rendered as >>> >>> ,------------- >>> | May 22, 2014 >>> `------------- >>> >>> Is this a bug or should I be doing something else to get "22. Mai 2014"? >>> > > I sent too soon: > > .. or set `org-export-default-language' - and see > > (info "(org) Export settings") > > for more options. So if I have the following in my Org file ,------------------------------------------- | +LANGUAGE: de | +LATEX_HEADER: \usepackage[ngerman]{babel} `------------------------------------------- I get this in my LaTeX file: ,------------------------------------- | \usepackage[ngerman, germanb]{babel} `------------------------------------- and I get \today is rendered correctly for German: ,------------- | 26. Mai 2014 `------------- However, without a \usepackage{babel} header and just ,-------------- | +LANGUAGE: de `-------------- there is no \usepackage line in the LaTeX file for babel and I get ,------------- | May 26, 2014 `------------- The specific idiosyncrasy with German seems to be that there are 3 options with babel: german, ngerman, and germanb. If the LATEX_HEADER includes babel, then setting LANGUAGE will append germanb to the list of language options given, if not already given. So my problem is solved (thanks, Nick), although one question remains: Does setting LANGUAGE, without \usepackage{babel} on its own actually achieve anything for LaTeX, or is it just for other backends? Cheers, Loris -- This signature is currently under construction. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-26 7:56 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-05-22 7:07 Beamer Export: US date format despite \usepackage[ngerman]{babel} Loris Bennett 2014-05-23 11:08 ` Loris Bennett 2014-05-23 13:01 ` Nick Dokos 2014-05-23 13:03 ` Nick Dokos 2014-05-26 7:56 ` Loris Bennett
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).