{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

1
vote
1answer
82 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
62 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: ...
4
votes
1answer
130 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
369 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
116 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
113 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
178 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
469 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
120 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
116 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
169 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
101 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
142 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
146 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 ...
12
votes
1answer
2k 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
166 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
204 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 ...
1
vote
1answer
119 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
323 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 ...
7
votes
4answers
262 views

How to write “dumb” quotes?

I need to cite a part of a string, which contains "dumb" quotes, and I want to keep them like this. When I write the quotes like they are, I face two problems: The spacing behind a quote is missing ...
3
votes
1answer
205 views

How can I define bullet style for itemize with french option babel?

I would like to use itemize environment with the bullet style before each item. I found out that the french option with the babel package seems to define the dash style for the itemize environment. It ...
3
votes
1answer
482 views

Memoir, babel[french] and @makecaption

I'm having a problem with the memoir, the babel, and caption packages: when compiling a document, the log returns the warning: Package frenchb.ldf Warning: The definition of \@makecaption has been ...
1
vote
1answer
147 views

subfigure numbering parentheses flipped with babel + right-to-left language + subfig

Eyal's babel incompatibility of the week... this time a question due to H.R. on the IVRITEX mailing list. The babel is incompatible with the subfig package. If you add a subfig with a caption: ...
2
votes
1answer
79 views

Set the number of inverted commas automatically based on document language

For some languages, babel would automatically interpret the inverted commas and convert it to the proper form of the selected language. For example, with Hungarian, when one begins a quotation and ...
10
votes
1answer
291 views

Polutoniko Greek in TexLive 2013

I can no longer compile files with the polutonikogreek language option to babel in TexLive 2013. Everything was fine in TL2012. There is another question showing the same problem: Ancient Greek ...
7
votes
1answer
161 views

How to write “a” in semiverbatim environment with ngerman without writing “{}a”?

\documentclass{beamer} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \begin{document} \begin{frame}[fragile]{Umlauts} \begin{semiverbatim} ...
10
votes
1answer
161 views

Is \AfterEndPreamble really executing code after any \AtBeginDocument code?

The babel package loads the (last) language at begin document, thanks to an \AtBeginDocument command (lines 12.256 and 12.257 of its kernel): \AtBeginDocument{% ...
2
votes
0answers
97 views

hyperref, babel and subequations conflict [closed]

I am trying to use subequations in a document. Playing around with my preamble I found out that if I use babel and hyperref package at the same time, a fatal error is occured and no .pdf is produced. ...
3
votes
1answer
458 views

Biblatex 2.7 and \DefineBibliographyStrings

I downloaded the latest version 2.7. If I use \DefineBibliographyStrings{brazil}{% namedash={---------},% volumeof={de},% url={Disponível em: },% shorthands={Abreviaturas} } ...
2
votes
2answers
2k views

Package babel Error: Unknow option `brazilian'

When trying to compile any document containing the line: \usepackage[brazilian]{babel} I get the following error: ! Package babel Error: Unknow option `brazilian'. Either you misspelled it (babel) ...
2
votes
0answers
160 views

Biblatex: Multilingual proceedings - bibliography does not reflect language changes [closed]

I'm typesetting the proceedings of a conference with texts either in German or in English with bibliographies at the end of each text. In English texts I'd like to have the bibliography in English and ...
6
votes
2answers
174 views

Fmtcount and Australian Babel

How can I get fmtcount to work when babel is loaded with the Australian option? Consider the following code which doesn't compile, due to babel australian not being supported: ...
2
votes
0answers
258 views

Use of spanish babel in beamer [closed]

I downloaded a beamer template from http://cameron.bracken.bz/beamer-template/comment-page-1#comment-734 and I want to use it for a presentation in Spanish but when I try to use accents it doesn't ...
3
votes
1answer
81 views

Accented operators using babel

I'm using the es-minimal option in babel which, among other things, disables accents on operators. Since I want accented operators I used the \accentedoperators command however the operators remain ...
6
votes
1answer
114 views

Using the cleveref package with hebrew and babel

I am trying to use the cleveref package with babel and Hebrew. I get the following error (on the second run of Latex): ERROR: Missing number, treated as zero. --- TeX said --- <to be read ...
4
votes
2answers
822 views

Babel - Romanian ' or \c

I want to use some shortcuts to produce special character in Romanian. One of them is to use the command \c but also I know that is possible to use the following character: ' . example \c si or 'si ...
8
votes
1answer
153 views

Simple transliteration in LaTeX (for Latin)

I would like to typeset the same latin text in two or more "spellings". My source is a modernized spelling (distinguishing i/j, u/v) and I would like to display it both with and without this ...
8
votes
1answer
302 views

Hyphenation command does not work with Greek words

I am relatively new to LaTex. I am struggling to write a report that contains mixed Greek and English words. The main language of the report is Greek. Therefore, I use the babel package. However, ...
6
votes
3answers
201 views

xelatex + frenchb introduce extra spaces before some characters in lstlisting blocks

When using babel 'frenchb' with xelatex, spaces are introduced before colons and other characters. This is great for prose, but this is also being applied to code snippets. This yields an unacceptable ...
11
votes
1answer
337 views

Tikz and babel error

This code works correctly: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,calc} \begin{document} \begin{tikzpicture} \tikzset{ every picture/.prefix style={ ...
8
votes
2answers
114 views

Line breaking with `and/or` + babel

I have continuously come up with the problem of overfull hboxes because sometimes I write and/or in my papers. For example, this phrase: To design and implement a biofeedback system for alerting ...
7
votes
2answers
244 views

Translation of words according to babel language

I've got a template that is to be used in french or english, is there a name in babel defining the "of" of "page x of yy" than I want to translate automaticaly to "page x sur y" If not, is there a ...
2
votes
1answer
194 views

Wrong names for theorems/lemma/etc. in LyX

I am using LyX 2.0.3, and I usually type my documents (my lecture notes, mainly) in french. Now, I have to write a paper in english, I can't get the label names of the AMS Theorems package to be in ...
1
vote
0answers
105 views

Infinite Loop in Babel with Rotating Sidewaystable [closed]

I don't know whether this is a babel or a rotating bug, and I have filed a report with Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710031), but perhaps someone knows a workaround. The ...
3
votes
0answers
303 views

! Undefined control sequence. \bibrangedash ->\bibendash [closed]

This code exemplifies the problem: \documentclass[a4paper,12pt,catalan]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[catalan]{babel} \usepackage[backend=biber]{biblatex} ...
2
votes
0answers
59 views

Using csquotes and babel with option “british” reverses order of single and double quotes [duplicate]

I have the following: \documentclass{report} \usepackage[british]{babel} % <-- problematic line \usepackage[english=british]{csquotes} \begin{document} \enquote{outside \enquote{inside} outside ...
3
votes
1answer
97 views

Titlesec and Babel incompatibility?

I cannot find a way to change chapter style with babel included (for hungarian language). Here is the example: \documentclass[a4paper]{report} \usepackage[magyar]{babel} \usepackage{titlesec} ...
5
votes
1answer
176 views

How to change hyphenation language without Babel?

I would like to change hyphenation pattern in pdlatex without using babel, because babel kills my document class in my language (hungarian). Unfortunately I cannot find a way to change the pattern ...
7
votes
1answer
246 views

Decimal comma: extract one feature from babel-spanish

\usepackage[spanish]{babel} makes $12.34$ to print "12,34", not "12.34". It doesn't change dot to comma if one says for example $x.y$. Can I use only that feature from babel package, and still use ...
1
vote
0answers
188 views

Typesetting a bilingual English-Hebrew book with facing pages in each language [closed]

How would one go about setting, say, a bilingual novel with the English translation on the left side of the book binding (the verso) and the original Hebrew text on the right side of the book (the ...