{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

20
votes
2answers
2k views

Polyglossia vs Babel

Could someone summarize features which are (1) common and (2) different for the babel and polyglossia packages? I know that babel 3.8 (current version) fails to run for some languages (eg, Russian) ...
7
votes
2answers
449 views

Undefined control sequence \bbljan

I'm writing a bibliography for an article in Russian. Using \bibliographystyle{plain} is not an option, since it uses e.g. conjunction "and" when listing authors. So I'm sticking to ...
3
votes
2answers
1k views

TeX fails to generate output with Hebrew text: Jerusalem font metric file missing

I have MiKTeX installed on a Windows machine. I have this simple document, where I'm trying to use Hebrew: \documentclass[12pt]{article} \usepackage{ucs} % package to add unicode support ...
5
votes
1answer
155 views

Conflicts with Datatool and babel (french)

I am having trouble compiling a latex document using an external CSV file with datatool and using the french language from the babel package. The content of my latex file is: ...
8
votes
1answer
403 views

Using \selectlanguage with csquotes

As per this question, I am using csquotes to convert quotationmarks to typographical-quotes. However, when changing language through \selectlanguage the quotationmarks no longer gets converted. (I ...
14
votes
4answers
749 views

tikz declare function and babel french option

I would like to declare functions in tikz for multiple uses of the same function within the code. Sadly, it seems that the tikz "declare function" is not compatible with the french option in babel. ...
8
votes
1answer
633 views

Babel warns of lack of hyphenation patterns for Hebrew

I use TeX Live including the Hebrew package. I've tried to produce a simple TeX file: \documentclass{article} \usepackage [english,hebrew]{babel} \begin{document} שלום \end{document} but I keep ...
1
vote
0answers
42 views

Why do I get this error when using babel? [duplicate]

Possible Duplicate: \tableofcontents encoding issue with lualatex I tried adding babel package to my file - to get proper hyphenation for my language. But I get strange error, related ...
5
votes
1answer
826 views

Error caused by interaction between minted, footnotes, babel and "(double quote)

I'd like to put some inline code using minted but when I try to typesent the empty string "" I get an "undefined control sequence" error. Sample code: \documentclass[a4paper,10pt]{article} ...
2
votes
1answer
1k views

babel and \contentsname, how to add extra customization?

This is what I'm trying to do: \renewcommand{\contentsname}{ \vspace{-8mm} {\Huge Table of Contents}\vspace{-3mm} \rule{\linewidth}{0.5mm} \\[-4mm] } Using babel, I can get this code to work: ...
13
votes
2answers
3k views

Babel and the decimal separator

I'm using Babel for writing a document in spanish. However, it uses a comma instead of a period as a decimal marker (i.e. 3,14 instead of 3.14). Is there any way to reverse the behaviour? I prefer ...
11
votes
3answers
745 views

Punctuation in bibliography with multiple languages

In a document written in a given language (in my case French but it may not matter so much) I have a bibliography mixing entries in different languages (in this case French, English and German). I ...
8
votes
3answers
5k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is ...
12
votes
3answers
1k views

Catalan language “ela geminada”

The language setting for my document is Catalan babel. The Catalan alphabet includes a letter called ela geminada, spelled with two lower-case l separated by the interpunct · (i.e. "cel·la" or ...
8
votes
2answers
1k views

No space after closing double quote

As the title says, there's no spacing after my closing quotes, I have boiled my huge preamble down to the following, % Manual: http://ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf ...
5
votes
1answer
220 views

multilang with babel problem

I've loaded babel in my .sty file like this: \RequirePackage[ukrainian,russian,english]{babel} Then at .tex or at the same .sty file I am trying to: \selectlanguage(X) \languagename ...
1
vote
1answer
588 views

Incompatibility between \nobreakdash and babel

I use the \nobreakdash command to disallow a linebreak after the dash in short expressions like -s, -ar etc. I use ({\nobreakdash}-s, {\nobreakdash}-ar) but it seems not work as can be seen on the ...
3
votes
1answer
680 views

MiKTeX update: a too old babel/frenchb

This question deals with the version of a babel language available after a MiKTeX update (the french one, namely frenchb.dtx). I've just made an update of my (complete) MiKTeX 2.9, especially ...
9
votes
1answer
458 views

Write a class with language dependent strings

I am unable to make my class strings language dependent using babel. I have the following minimal example: file test-babel.cls \NeedsTeXFormat{LaTeX2e}[1999/12/01] ...
2
votes
0answers
418 views

How to turn the hyphenation on? [closed]

I was looking for a clue on how to use cyrillics in an english text and vice versa. Finally I found a solution here: Cyrillic in (La)TeX The solution looks like this \documentclass[article, ...
4
votes
3answers
238 views

Command to uppercase the first letter of a maths command

This question is a bit similar to Command to uppercase the first letter of each word in a sentence. What I want is to build a new command for being used just at math mode, using the ...
7
votes
2answers
247 views

pdflatex endless loop and page headings wrong aligned with dateiliste/babel [closed]

In the following code the heading is wrong aligned if babel and dateiliste are loaded together. Furthermore the whole MWE goes into an endless loop if the first line is removed. % remove to let ...
5
votes
3answers
744 views

hyperref bad references

After cleaning up my project and compiling a tex file 10 times in a row: rm temp.toc temp.pdf temp.out temp.html temp.aux xelatex temp.tex # executed 10 times! I still get bad references with ...
6
votes
2answers
501 views

English / German APA reference fails partly - “retrieved from” and “origyear” untranslated

I have a problem with my multilingual APA reference. I use LuaTeX, BibLaTeX and biber. I use the BibLaTeX option babel=other to activate language switching. Switching gets done by adding an ...
11
votes
2answers
652 views

Unexpected clash between babel and pgf spy

The following example taken from the pgfplots manual (p. 121) works fine only if the line loading babel is commented \documentclass{article} \usepackage[frenchb]{babel} % this is the troubelsome ...
3
votes
1answer
977 views

How to keep LyX from using babel?

I'm writing a document using the copernicus_discussions.cls document class. This document class doesn't work when using babel. So I need to keep LyX from automatically using babel. However, even ...
1
vote
1answer
129 views

Babel + Hebrew + aeguill incompatiblility

(Question split off from here.) If you try to use the aeguill package (which adds some guillemets to the ae fonts) with Babel and Hebrew: \documentclass{standalone} ...
3
votes
1answer
654 views

How remove dot after section number in ToC with babel's spanish?

I'm using the book document class and the babel package with the spanish option, I have a ToC like this: CHAPTER NAME 1.1. SECTION NAME 1.1.1. Subsection name 1.1.1.1. ...
1
vote
1answer
560 views

Including Hebrew text in a non-Hebrew document (Babel not working)

I need to introduce one Hebrew word in a document. I have been trying to add an hebrew option in my Babel includepackage command, as in the following code, but it does not work: it triggers a clash ...
4
votes
1answer
526 views

Caption formatting with babel French

I have a problem override the default formatting of float captions when using babel’s French option. When babel’s francais setting is chosen, captions are formatted with the label (“Figure X”) in ...
3
votes
2answers
652 views

! Package babel Error: Language definition file armenian.ldf not found

I'd like to use hyphenation with armenian language. Here is my test code (the armenian text is in utf8). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{xunicode} ...
1
vote
1answer
13k views

How to install a language package in Texmaker on Ubuntu 12.04?

I'm having problems with the babel language package with TeXmaker could someone propose a fix I've typed in \usepackage[french]{babel} and I get the following error: Package babel Warning: No ...
8
votes
1answer
622 views

What's the difference between \usepackage{ngerman} and \usepackage[ngerman]{babel}

Is there something additional that \usepackage[ngerman]{babel} does that a simple \usepackage{ngerman} won't be able to do?
11
votes
1answer
165 views

How to make a new greek font to work with babel

I have an OpenType font (.otf) and I need to use it from pdftex. I use an 8 bit input encoding. I am stuck on the greek part with babel. The input I use is the following: ...
6
votes
1answer
357 views

Equation spacing issue with fleqn (amsmath) and frenchb (Babel)

This is a follow-up to this question. Here is an exemple of the code I wrote to add a light gray background to important equations: \documentclass{article} \usepackage[fleqn]{amsmath} % ...
2
votes
1answer
5k views

Change the language of a LaTeX document

Is there any way to change which language LaTeX works in? I'm writing a report in danish, but when I use \maketitle and other commands which generates some content. This content appears in english. Is ...
6
votes
2answers
1k views

Enable letters with diaeresis

My document is in in dutch and there are quite a few letters with diaeresis in it. I have this on top of my document: \usepackage[dutch]{babel} I thought this would fix the language-problem but ...
1
vote
1answer
553 views

Undefined control sequence Error with moderncv+Hebrew

I would like to use modernv to create a right-to-left CV document in Hebrew. I have downloaded and installed culmus-latex, and Hebrew+English LaTex documents compile without a problem. I took ...
5
votes
1answer
2k views

German hyphenation does not work

My babel configuration includes ngerman and english ... \documentclass[ oneside, openright, titlepage, dottedtoc, numbers=noenddot, headinclude, footinclude=true, cleardoublepage=empty, abstractoff, ...
0
votes
1answer
333 views

Problem with fancyref, babel and equation references

I am using fancyref and babel together in a LaTeX document and redefine the label for the equation references by \renewcommand{\frefeqname}{Eq.}, so that they look something like "Eq. (3.4)". However, ...
9
votes
2answers
4k views

Conflict between babel, hyperref and appendix package

While writing my thesis I use the hyperref and appendix packages like in the little example below. test.tex \documentclass{book} \usepackage{hyperref} \usepackage[titletoc]{appendix} ...
18
votes
3answers
6k views

What's the difference between ngerman and german in babel?

I use the following three packages to get correct German umlauts in the generated PDF: \usepackage[utf8]{inputenc} % this is needed for umlauts \usepackage[ngerman]{babel} % this is needed for ...
5
votes
2answers
289 views

Can't get babel and amsthm to play nice once Hebrew is loaded

I am working in LaTeX, and I am trying to get babel and amsthm to play nice together. I produced a minimal example (which gives a different error than the full project, but getting this to work could ...
6
votes
2answers
515 views

French and English text in one document with a single style of footnote

I have a book containing essays variously in English and French and wish hyphenization and other aesthetic issues to match whatever language is in use at the moment, but I want footnotes to follow a ...
5
votes
0answers
252 views

Removing spaces before command

When using French guillemets with TeX4HT, the resulting symbols are not followed/preceded by non-breaking spaces like they should, resulting in wrong line-breaking in HTML. I tried resetting \og and ...
4
votes
1answer
673 views

babel, beamer problem: refuse name change to part

I wanted to change the name in my beamer slide from Part to Theme. So in the Google BOK if found: \renewcommand*{\partname}{Theme} I could not get to work. Then I start to switch off (%) ...
2
votes
1answer
3k views

How to change my bibliography title using bibtex and miktex 2.9

I have a problem changing the title of my bibliography using bibtex and miktex 2.9. I've read varius sources already and tried different things, but the answer that popped up most and should be ...
13
votes
1answer
166 views

Hyphenation exceptions not loaded when using babel with multiple languages

When I use babel with more than one language loaded, my hyphenation exceptions are not used. Here is an example: ====== hy.tex ======= \hyphenation{para-dichloro-diphenyl-trichloro-ethane} ====== ...
9
votes
2answers
254 views

Conflict between nag and babel spanish

The following code gives me loads of Font csname csname T1/cmtt/m/sc/10endcsname not found errors. \RequirePackage[l2tabu,orthodox]{nag} \documentclass{article} \usepackage[utf8]{inputenc} ...
12
votes
3answers
284 views

Why does the package babel[french] destroy \@for loops?

Why does this minimal example code: \documentclass{article} \usepackage[francais]{babel} \begin{document} \def\names{Toto,Titi,Tete,Tutu} \makeatletter \@for\next:=\names\do{\textbf{\next} } ...