I need romanian for my school reports, i want to write them in org mode.
Is there some #+LANG
attribute? Do i need to set some emacs variables? I'd really like a per-file solution more
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI needed to add the following code to make #+LANGUAGE
work:
#+LATEX_HEADER: \usepackage[romanian]{babel}
#+LANGUAGE: ro
I don't know why, but removing the [romanian]
breaks it. It can be any language because the only thing that matters is the #+LANGUAGE
value now.
#+language:
isn't used properly, for whatever I define as propely in \LaTeX{}
, but is used when generation HTML C-c C-e h h
. You need to add the language to #+class_options: [a4paper,romanian]
or as you do, as an optional argument to package \usepackage[romanian]{babel}
. You should probably also set \usepackage[T1]{fontenc}
and \usepackage[AUTO]{inputenc}
. At least that worked for me and swedish
and #+language: sv
.
#+LATEX_HEADER: \usepackage[romanian]babel
and it seems to work now. even better, the#+LANGUAGE
attribute regardless of what version the babel package is. nice#+LANGUAGE
work. Thanks, @FirminMartin