{babel} is a package that manages culturally-determined typographical (and other) rules, and hyphenation patterns for a wide range of languages.

learn more… | top users | synonyms

6
votes
2answers
122 views

catoptions destroys french active characters ! and :

A user of my menukeys package reported, that there’s an issue with the activ characters in french, i.e. !, ;, ? and :. I found out that it’s not a bug in menukeys but catoptions seems to interferre ...
3
votes
0answers
201 views

Package babel Error: You haven't loaded the language french yet [duplicate]

I just got LaTeX up and running and started following some basic instructions. The first time I followed the beginning over here: http://ftp.ctex.org/pub/tex/tools/editors/TeXworks/manual.pdf ...
5
votes
1answer
448 views

biblatex/babel autolang= doesn't work with idemtracker

Although I was glad to discover that biblatex integrates with babel for bibliography formatting, I might have found a bug that prevents it to work with idem (not ibidem) entries. Same goes with ...
4
votes
2answers
163 views

xcolor \color command affects the wrong word in a Hebrew sequence

When compiling \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[hebrew,english]{babel} \usepackage{xcolor} \begin{document} \sethebrew ראשונה \color{red} שניה \color{black} שלישית ...
3
votes
1answer
78 views

suspended hyphen without linebreak between word and hyphen

I have a word combination like this metallo-porphyrins and -phthalocyanines which eventually gives a linebreak between the hyphen and the word phthalocyanines. I tried to include the ngerman package ...
0
votes
1answer
178 views

using csquotes' shorthands in English

Is there a special reason why csquotes' shorthands cannot be used in English text or am I overlooking something? The \enquote command works fine. It's true that English style quotes are amongst the ...
2
votes
1answer
158 views

babel arabic changes enumeration level

I am trying to add a few short words of Arabic to my English document. This is working, by and large: \documentclass[fontsize=12pt,paper=a4]{scrartcl} \usepackage[LAE,T1]{fontenc} ...
5
votes
1answer
936 views

Prevent biblatex from printing the language name and use language only for hyphenation

In my .bib-file the language field is filled out in all entries. As MWE, they all look (as expected) like: @Collection{Bakker:Grammar, editor = {Egbert J[an] Bakker}, gender = {sm}, title ...
3
votes
0answers
4k views

Unknow option `ngerman' babel [closed]

I'm using LaTeXila on Fedora 19. I switched from MikTeX on Windows to that and I want to work with the files I created there. But every time I compile my .tex it gives me the error Package babel ...
3
votes
1answer
1k views

Problem with lstlinsting biblatex utf8 T1 and babel

I am a Spanish speaker. I have in my TeX file all the usual stuff for my language. Also I use lstlistings and now I want to use biblatex (ex bibtex user). However I can not get working together this ...
15
votes
1answer
183 views

Faroese language package

I am working on a project in faroese, where I need to use the localization features offered by babel. I cannot find a faroese babel package, and when searching for it, there seems to be some ...
7
votes
1answer
991 views

moderncv and babel spanish cause “Missing \endcsname…” error

When I run the following code it compiles as expected: \documentclass[% 11pt ,a4paper ,sans ]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} ...
3
votes
1answer
174 views

How to cite with biblatex in spanish with english quotes?

I'm making an essay in Spanish, so I use \usepackage[spanish]{babel} and \usepackage[style=mla]{biblatex} with biber for bibliography. Everything does what it should, but when citing, style required ...
2
votes
1answer
77 views

Removing the bibliography name

I use the »babel« package with option bahasa . For bibliography purposes, I make the section "Daftar Pustaka", but thebibliography environment produced "Pustaka". So there are two titles. How to ...
38
votes
3answers
35k views

Package babel Error: Unknown option `francais'

I recently updated my Operating system from Ubuntu 13.04 to Ubuntu 13.10. Since then, I am facing difficulties compiling my tex code in which the french babel package is called. Please note that all ...
9
votes
2answers
307 views

Help getting started with Hebrew in babel

I want to write a document that will contain only Hebrew text (and some diagrams). I understand that babel is probably the best way to do it but I am getting utterly confused and haven't been able to ...
2
votes
1answer
128 views

Problem with title languages from thesis template

I'm using LaTeX in order to write my thesis and to make a good impression to the reader. As long as I'm not a very experienced user I use a template from Master/Doctoral Thesis from LaTeX Templates. ...
4
votes
1answer
95 views

Combining dashes from babel with xspace

Assume we have some mathematical object that is used in formulae as well as in "natural" language (in my case, complexity classes). When defining a macro for such an object, I like to use \xspace so ...
14
votes
2answers
1k views

Nonbreaking dash that allows hyphenation

The babel package provides useful dash variants, e.g. "~ for a non-breaking dash that forbids hyphenation in the parts, and "= for a breaking dash that allows hyphenation in the parts. However, ...
3
votes
1answer
240 views

What is the proper way to implement language options in a multilanguage package?

I'm writing a multilingual LaTeX2e package to be used with pdflatex containing several macro and environment definitions. The main language of the document--a thesis--is English, Finnish or Swedish. ...
1
vote
1answer
207 views

Document title with Cyrillic and babel

I'm writing a document in Russian using \babel, and everything in the body of the document seems to work fine. However, when I try to make a Cyrillic title using \maketitle, I get errors saying that ...
11
votes
3answers
218 views

How to pass a macro as the argument to \selectlanguage

The following mwe throws the error You haven't defined the language lang yet. \documentclass{article} \usepackage[american]{babel} \newcommand{\lang}{american} \selectlanguage{\lang} \begin{document} ...
6
votes
1answer
389 views

glossaries \leftmark and \rightmark not translated

I was trying to make an article in french with a glossary (glossaire in our weird tongue), and I noticed that, even if I did manage to set the translation right for the body, the \leftmark (or ...
5
votes
1answer
298 views

how to change language within the .cls file

The problem is this: I want to use in the custom class file (named thesis.cls), a different language than English, Greek to be specific. In the .tex file I loaded the babel package with the command ...
3
votes
1answer
312 views

Babel in Basque

I am new to this and I would like to get what's needed to use Babel in basque. I've tried sudo apt-get install texlive-lang-basque, emulating an answer in this site but it doesn't work. Any help ...
2
votes
1answer
216 views

Workflow to write article with orgmode/babel when knowing LaTeX

I know LaTeX pretty well and I am used to write articles with it. I know orgmode and use it to manage my todo list and research notes. I am trying to learn the babel module of orgmode, so that to ...
6
votes
1answer
101 views

Why memoir does not respect babel when printing \thedate

Why does memoir fail to recognize language specific dates (with \today) outside its own \maketitle? It works fine when I add such metadata after \begin{document}, but I've never done this before ...
1
vote
1answer
382 views

Can anyone provide me with a simple example?

I want to write in urdu with nastaleeq font. I have done quite a few things but i dont know how to write it. Plus i dont know how to use xetex. So can anyone give me a simple example writing urdu in ...
10
votes
0answers
429 views

Russian and Japanese and biblatex oh my

I'm trying to typeset a book with bibliography entries in English, Russian and Japanese. Getting the bibliography to work right is driving me mad. I have got pretty close (I think) by cobbling ...
5
votes
1answer
3k views

getting an option clash with Babel, [english,greek]

I am getting an option clash for babel using: \usepackage[greek,english]{babel}. Here is the output: ! LaTeX Error: Option clash for package babel. Does anyone know what might be causing this? ...
4
votes
1answer
206 views

How to change hyphenation but not quotation marks in bibliography with biblatex?

I'm using biblatex with biber and an authoryear style for my bibliography. My main language is french, but I have different languages in my bibliography (so I load \usepackage[english, french]{babel}. ...
2
votes
1answer
212 views

Change headings to another language when using elsarticle

After downloading the article template of Elsevier (elsarticle) and using it, I discovered that babel is not working. \documentclass[preprint,a4paper,12pt]{elsarticle} \usepackage[dutch]{babel} ...
5
votes
1answer
112 views

Bad interaction between babel and xypic?

I'm writing an elaborate in Italian, and I'm using XY-pic to draw some diagrams. Unfortunately it seems that babel is interacting with XY-pic, making it impossible to group elements. Here is a MWE: ...
6
votes
1answer
378 views

How to get polyglossia with babelshorthands to work with hyperref and csquotes?

I just switched from babel to polyglossia and got several errors which are related to the usage of \enquote in \section. The problems only occur if babelshorthands=true is set for polyglossia and ...
2
votes
0answers
535 views

What to do about error message about extra \else in greek.ldf? [closed]

I get this error since I upgraded to texlive 2013: (/usr/local/texlive/2013/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua))) ! Extra \else. l.74 \else ? Posting this question directly in case ...
3
votes
0answers
143 views

LuaLatex: Showing nonexisting errors [closed]

I am trying to use LuaLatex for printing plots (as PdfLaTeX doesn't have enough memory) but I have a problem with it. I am using TeXLive 2013 with TeXMaker. I was trying to compile a file once with ...
6
votes
2answers
163 views

Branching construct based on the (babel) language selected

I'd like to keep one of my presentations in German and English and have defined a corresponding boolean variable withifthen and a command to typeset either the German or the English text. Is there ...
8
votes
1answer
429 views

Localization of biblatex headings

My Bibliography is subdivided into 2 parts (published / online references). I would like to get an automatic localization of the 2 subheadings, which is controled by the setting of the babel package. ...
2
votes
1answer
2k views

Babel Error: Undefined Control Sequence

I'm running into a bizarre issue with the Babel package that I haven't seen before and would love some help figuring out a solution. First, I'll give an example of something that does compile ...
6
votes
1answer
215 views

Dynamically change language for datetime

I am building a fairly complex letter template as article-extending class, which needs to be able to understand two languages (English and German). This is implemented via babel (with both ngerman and ...
2
votes
1answer
244 views

how to change the word 'preface' in Scientific Workplace 5.5

I'm having a problem with the language in SWP 5.5. I am writting a text in spanish, so I am using the \usepackage[spanish]{babel} sentence at the beginning of the document and it works perfectly with ...
6
votes
1answer
408 views

LaTeX error with footnotes

This is the MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \begin{document} \begin{titlepage} \begin{minipage}{0.8\textwidth} ...
2
votes
0answers
247 views

Roman pagenumbering + \usepackage[greek]{babel} [closed]

I have the problem that the roman or Roman pagenumbering does not work if babel is used with greek option. Does not work means, that the pages itself have correct numbers but the table of contents ...
4
votes
1answer
407 views

Problem with multiple languages in BibTeX

I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code: \documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} ...
3
votes
1answer
248 views

Angle Quotes with English Text and English Figure and Table Labels

I use a standard package, csquotes, to handle quotes. But if I use it like in the MWE below, then in front of every table I get foreign language spelling for figure and table instead of English figure ...
16
votes
1answer
14k views

Change Language in \usepackage[<language>]{babel}?

I've been trying to change the language of my LaTeX document by replacing \usepackage[swedish]{babel} with \usepackage[english]{babel} but I only get this message: ! Package babel Error: You haven't ...
4
votes
1answer
291 views

part number (1, 2, 3) as word (one, deux, trois)?

Can someone please explain to me, why I get: Part ONE but then: Part DEUX Part TROIS In addition to an explanation, any successful solution to this rather odd phenomenon would be highly ...
2
votes
1answer
478 views

Problem with language, book class, and Table of Contents

I have this simple piece of code here: \documentclass[11pt]{book} \begin{document} \tableofcontents \clearpage \section{Dummy section 1} \section{Dummy section 2} \end{document} And every time I ...
2
votes
1answer
215 views

using the chronology package with babel french option

I'm trying to use the chronology package and it works fine with the english option in the babel package but if I use \usepackage[french]{babel} It doesn't work anymore. I've found a solution ...
1
vote
1answer
656 views

Bibliography in German

I want to change the bibliography to german. I tried to do this by adding the package \usepackage{bibgerm} and changed the \bibliographystyle{gerplain}. But when I change these two things I get the ...