{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

4
votes
1answer
222 views

autoref in French documents incompatible with TeX4ht

I'm currently using MiKTeX 2.9 on Windows 7 and can't get to compile a French document correctly. Here is a very minimal example: \documentclass[francais]{article} \usepackage[T1]{fontenc} \...
2
votes
1answer
268 views

How to change the order of algorithm number and name in algorithm2e?

I have to write an algorithm in Hungarian, where the caption must look like: 1.3. Algoritmus: caption of alg instead of the usual style Algorithm 1.3: caption of alg. Until now I had no ...
1
vote
1answer
1k views

Combination of Subfiles, Apacite and Babel packages result in LaTeX error

For my bachelor thesis, I want to write my chapters in separate files and be able to compile them separately. To combine them, I use the subfiles package. For citations, I have to use Apa style via ...
1
vote
1answer
431 views

LaTeX Templates in Russian

I am using LaTeX template for a thesis in English. Now I need to write my thesis in Russian using the same template. I added: \documentclass[11pt, a4paper, oneside]{Thesis} \usepackage{cmap} ...
3
votes
1answer
1k views

hyperref autoref capitalization problems with babel

I have already read some similar qustions, but the solution over there does not work if I add the 'babel' package. The thing is change the autorefname of one specific, say Figure, and I just want to ...
1
vote
1answer
1k views

Clash between TIKZ and French Babel [duplicate]

Possible Duplicate: tikz declare function and babel french option I'm working on a document requiring both tikz and [french]Babel. There is a clash between [french]Babel, and TIKZ: No ...
6
votes
2answers
308 views

Date declaration in datenumber

In the following MWE, \today prints the date in British format, e.g. 14th January 2013. However, \datedate prints the date as January 28, 2013. I wonder how the latter can be changed to the former. ...
0
votes
1answer
1k views

I would like to Change “Inhaltsverzeichnis” to “Contents” [duplicate]

Possible Duplicate: How to change the name of document elements like “Figure”, “Contents”, “Bibliography” etc.? In order to fix overruns I have used the following code: \usepackage[english,...
22
votes
1answer
694 views

How to automatically adjust the emdash length according to current language?

In Russian typography the emdash, which is typed as the ligature --- in LaTeX, is 20% shorter than the standard emdash. The babel package cares this difference so that --- prints a shorter emdash if ...
9
votes
2answers
313 views

What is the difference between \declare@shorthand and \defineshorthand in babel?

What is the difference between \declare@shorthand and \defineshorthand in babel (v.3.9)? Which of the two macros is preferable in a language definition file? babel.pdf manual (v.3.9) provides an ...
3
votes
1answer
1k views

Using “German” quotation marks inside \newcommand [duplicate]

Possible Duplicate: babel shorthand "| doesn’t work in macros I know there is a deeper non-understanding of LaTeX mechanics at work here, but I have no idea how to phrase my question to ...
4
votes
1answer
376 views

Classicthesis in Chinese?

I wish to compile my dissertation in the beautiful classicthesis. My setting: Mac OX 10.6.8, TeX Live 2012 + LyX 2.0.5. I am able to work and produce document in Chinese elsewhere including in book, ...
7
votes
2answers
1k views

Colon in bibliography keys incompatible with babel, biblatex and tex4ht

Keys are labeled as author:year in my BibTeX file. For example, @article{John:2000, author={John}, year={2000}, ...}. This scheme works well with pdftex, biblatex and mk4ht oolatex. But if in ...
9
votes
4answers
9k views

Language problems with biblatex and babel

I am trying to use biblatex with IEEEtran and babel, however I am having an error: Package babel Error: You haven't defined the language ENGLISH yet.. With regular Bibtex everything works as usual. ...
35
votes
2answers
5k 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) ...
9
votes
2answers
698 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 \bibliographystyle{...
3
votes
2answers
2k 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
236 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: \documentclass[...
10
votes
1answer
633 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 ...
16
votes
4answers
1k 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
1k 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
44 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
2k 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
2k 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: \...
17
votes
2answers
7k 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
1k 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 ...
13
votes
4answers
15k 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 ...
13
votes
3answers
3k 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 "pel·...
10
votes
2answers
3k 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
295 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 \iflanguage{...
1
vote
1answer
924 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
2k 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
825 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] \ProvidesPackage{test-babel}[2012/...
2
votes
0answers
726 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, 12pt]{...
4
votes
3answers
351 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
337 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
998 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
964 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 ...
14
votes
2answers
1k 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 ...
4
votes
1answer
2k 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
157 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} \usepackage[english,hebrew]{babel}...
3
votes
1answer
1k 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. ...
4
votes
1answer
2k 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
1k 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
915 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} \usepackage{...
5
votes
2answers
41k 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 ...
9
votes
1answer
2k 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
207 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: \selectlanguage{...
6
votes
1answer
584 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} % \usepackage[...
3
votes
1answer
10k 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 ...