{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

9
votes
2answers
203 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
582 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 ...
4
votes
1answer
308 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, ...
3
votes
2answers
577 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 ...
8
votes
4answers
5k 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. ...
20
votes
2answers
3k 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
466 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
158 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
406 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
767 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
652 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
856 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
765 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
2k 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
223 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
598 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
728 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
471 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
430 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
241 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
250 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
763 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
517 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
668 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
1k 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
130 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
671 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
606 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
551 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
675 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
14k 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
657 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
167 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
367 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
570 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
341 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
296 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
518 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
253 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 ...