{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

3
votes
1answer
114 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
59 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 ...
29
votes
3answers
16k 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 ...
6
votes
2answers
174 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 ...
1
vote
0answers
96 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
83 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 ...
12
votes
2answers
462 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
158 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
128 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
170 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
318 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
199 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
186 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
161 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
77 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
269 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 ...
8
votes
0answers
299 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 ...
4
votes
1answer
2k 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
144 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}. ...
1
vote
1answer
129 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
86 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
191 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
447 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
127 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
135 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
246 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
790 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
145 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
168 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
261 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
154 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
225 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
176 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
6k 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
226 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
313 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
150 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
484 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
297 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
347 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
673 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
170 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
86 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
337 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
216 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
201 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
124 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
667 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
4k 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
217 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 ...