{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

11
votes
3answers
167 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
307 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
190 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
177 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
157 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
70 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
262 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
286 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 ...
3
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
140 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
123 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
81 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
178 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
441 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
124 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
129 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
235 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
729 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
142 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
163 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
247 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
140 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
208 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
171 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
5k 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
212 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
294 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
149 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
464 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
295 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
325 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
652 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
169 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
84 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
331 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
206 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
200 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
123 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
636 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
210 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
201 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
419 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
93 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
127 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 ...
5
votes
2answers
1k 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
167 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
385 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, ...
7
votes
3answers
259 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
2answers
668 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={ ...