[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] FR: make LaTeX export recognize LANGUAGE option

From: Carsten Dominik
Subject: Re: [Orgmode] FR: make LaTeX export recognize LANGUAGE option
Date: Wed, 6 May 2009 09:17:13 +0200

H Kevin,

maybe the easiest would be

#+LATEX_HEADER: \usepackage[nynorsk,english]{babel}

However, this will be inserted directly before \begin{document}
which might be too late if what you say about inserting early
is right.

Maybe we need to change the insertion point of these additions.
Any comments by the LaTeX-using people here?

- Carsten

On May 5, 2009, at 3:31 PM, Kevin Brubeck Unhammer wrote:


I couldn't find any references to babel in the mailing list nor in
org-latex.el. I have various latex export class headers, but I
sometimes write in English and sometimes in Norwegian, and this is not
bound to the classes (beamer, ps-article, pdf-article). As it is, I've


in all my class headers, and then eg.
in the org file.

But before printout I've had to go into the .tex-file and remove
whatever language I'm not using, deleting the .aux file and rerunning
latex, since Apacite doesn't recognize the \selectlanguage within the
literature list (eg. I get English "in" and "from" and such).

So, I was wondering if we could have an option to let


make the header say


etc., so that, at least for monolingual documents, one doesn't have to
do all this mucking about with \selectlanguage and deleting .aux

If implemented, I think I might've read somewhere that babel should be
loaded early on in the header, but other people probably know this
better than me. (I guess it shouldn't be too hard to put it on the
line right after \documentclass ?)

Possibly "#+LANGUAGE: nn en" could be used for multilingual documents,
but that seems low priority to me.

best regards,
Kevin Brubeck Unhammer

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]