{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

5
votes
1answer
46 views

Conflicting packages in presentation (beamer vs. ethiop)

I'm making a presentation and I have to include some text in Ethiopic script. For documents, the ethiop-package is a great help, but when in beamer mode, I get an error: ...
1
vote
1answer
34 views

“You are using two French options for Babel” due to the use of \theendnotes with frenchle?

While compiling to pdf a LyX document that uses packages frenchle and endnotes, I get: "You are using two French options for Babel" when I try to generate the pdf. The solution is given here for ...
3
votes
0answers
188 views

After an update a document stopped compiling due to babel [closed]

I've written a document in my laptop (I have Debian and I use KDE and Kile as my latex editor) This is my header: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} ...
4
votes
0answers
49 views

Which languages defined in babel repeat hyphen at start of line after hyphenation?

Babel (v3.9k) states that: \babelhyphen{repeat} inserts a hard hyphen which is repeated at the beginning of the next line, as done in languages like Polish, Portuguese and Spanish. I checked ...
6
votes
2answers
77 views

IfLanguageName versus iflanguage

The babel package recommends using the command IfLanguageName of the iflang package to test for a language. It is explained that the command iflanguage is too coarse, because it is only based on the ...
1
vote
1answer
72 views

pgfgantt create a blank page

I have this code that create a Gantt chart using pgfgantt package. I have two problems : This code create two pages (the first is blank) There's untranslated words (e.g. Today) Here's the code : ...
1
vote
1answer
62 views

pgfgantt not working with babel

In this example month names are printed in English even the babel package is loaded with French language. \documentclass{article} %\usepackage[pdftex,active,tightpage]{preview} ...
4
votes
2answers
112 views

Language selection for \maketitle

I am writing a document in English but when I use \maketitle, it inserts the date in Czech (my mother language I normally use when writing other text documents). I have set my IDE (TexWorks) to ...
2
votes
0answers
43 views

babel problems: “Unknown option `danish'” [duplicate]

have problems with the babel options. I use Texmaker and: \usepackage[danish]{babel} and get this failure: ! Package babel Error: Unknown option `danish'. Either you misspelled it What to do? ...
5
votes
1answer
35 views

Reducing space before chapter works with english but not with hungarian babel package

I write my thesis recently and I want to reduce the spaces before chapters. I find the solution, but it isn't working for me with \usepackage[magyar]{babel} I use the following codes: ...
5
votes
3answers
164 views

To write Latvian in Babel

I know this thread about Changing language in babel, but I do not see any aux file generated in my case. So cannot delete them. My file \documentclass{letter} \usepackage{hyperref} ...
5
votes
2answers
134 views

Error with chronology and babel packages : “! Paragraph ended before \pgffor@next was complete.”

I am trying to use the chronology package in a report that includes babel. My distribution : pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) On below my MWE : \documentclass{article} ...
4
votes
1answer
82 views

Pdf bookmark error in beamer [closed]

Hi. I've compiled a Persian language beamer file by both luapersian and persian babel package using LuaLaTex, and in both I've the same problem in pdf bookmark as shown in the figure (some strange ...
0
votes
0answers
29 views

Package babel error: Unknow option [duplicate]

I just installed pdfTeX (Tex Live 2013/Debian) on by Ubuntu 13.10 laptop, but I have problems with the babel package. My code: \documentclass[12ptk a4paper]{article} \usepackage[danish]{babel} ...
6
votes
2answers
259 views

Typesetting in Tamil on ShareLaTeX

My main goal is to display Tamil script in LaTeX using ShareLaTeX. I would be happy to figure out a minimal working code to display வணக்கம் in ShareLaTeX. \documentclass{article} ...
2
votes
1answer
69 views

Contributing to Babel or Polyglossia language support

I want to contribute language support for Babel or Polyglossia, so that I can type in my native language and use LuaTex or LuaLaTeX. Lithuanian support at the moment is using L7x font encoding and if ...
1
vote
1answer
48 views

Babel Multilingual Hyphenation Order of Precedence?

When I use multiple languages with Babel (e.g., with \usepackage[german,french,latin,english]{babel}), I realize that english is the default language because it is the last listed, but what does Babel ...
16
votes
2answers
244 views

Why does \usepackage[british]{babel} change the hyphenation to wrong?

Now I know there are hyphenation differences between British and American English but in no dictionary, British or American, could I find the word "alternate" to be broken down to al·tern·ate instead ...
5
votes
2answers
77 views

Contents page in two different languages

I'm currently writing a report where all of my titles are in French and hence my table of contents is also in French. I however need to also include a contents table in English and I was wondering if ...
2
votes
1answer
95 views

Automatically Detect Foreign Language for Hyphenation?

Is there a LaTeX package that automatically detects which foreign language a particular part of a multi-language TeX document is so that it can hyphenate it appropriately, or do I have to manually ...
3
votes
1answer
86 views

Problem with babel [brazil] and tikz-cd's phantom arrows

I'm trying to draw the following diagram using tikz-cd \documentclass[11pt]{article} %\usepackage[brazil]{babel} \usepackage{amssymb, tikz-cd} \tikzset{commutative diagrams/.cd} \begin{document} ...
1
vote
1answer
93 views

Switching first paragraph indentation rules with babel

I am aware that many questions have already appeared here regarding the indentation of the first paragraph, but I did not find any on this precise problem. I am writing a document with some portions ...
3
votes
1answer
60 views

Latex use other languages in section title

I am writing in english, greek babel and I have custom commands to change between languages. The problem is that I can change to english for example, anywhere in my text except in \chapter{}, ...
5
votes
1answer
63 views

Xindy and german babel shorthands “-, ”= etc

I'm using XeLaTeX, imakeidx and xindy, and I'd like to use shorthand like "- and "= in the index entries (soft and hard hyphen allowing hyphenation within component words, from [ngerman]babel). I ...
2
votes
0answers
150 views

bbm.sty not found, unknown option 'ngerman'

there is a piece of my header.tex: \documentclass[paper=a4,toc=bibliography,chapterprefix,parskip=true}{scrreprt} % ------------------------------------------------------------------- %%% Laden ...
1
vote
1answer
937 views

Unable to get rid of error babel: You haven't defined the language en yet? [closed]

! Package babel Error: You haven't defined the language en yet I am getting the above error - no matter what I do... I have tried everything from the other answers and am sure now that its not ...
0
votes
0answers
105 views

The french babel gives me a missing \begin{document}

My impression is that is an already answered question. However, I am really stuck with this: This code: \documentclass[french]{book} \usepackage[utf8]{inputenc} \usepackage{babel} ...
7
votes
1answer
90 views

\foreignlanguage in tabular environment

\foreignlanguage does not work in tabular. How to switch language in tabular? \documentclass[spanish,russian]{scrbook} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} ...
1
vote
1answer
66 views

Using language Portuguese on Appendices throws unsupported control sequence [duplicate]

I am trying to compile my work under MikTex 2.9 windows 7 and/or Kyle 2.1.2 The appendices are throwing an unsupported control sequence error when I try to compile with the langage set to Portuguese. ...
6
votes
1answer
178 views

Why \shorthandon and \shorthandoff cannot be embedded in other macros?

Surrounding \title macro with \shorthandon{;:!?} and \shorthandoff{;:!?} gives the expected result with babel's french language (space added before the '?', '!', ':' and ';'): ...
5
votes
2answers
141 views

TikZ and Babel disagree when Hebrew is loaded

As with most things related to LaTeX, when Hebrew (and I assume other RTL languages too) tend to completely break everything. \documentclass[10pt]{article} %\usepackage[utf8x]{inputenc} ...
6
votes
3answers
139 views

Define a \dots-aware command

edit: changed the MWE to show the problem with french babel So, I was wondering about in TeX.sx and came upon this question How do magic \dots work in amsmath?, I wanted to do the same thing (have a ...
1
vote
0answers
48 views

Package babel Error: Unknown option `ngerman' [duplicate]

I've tried to create German quotation marks in LaTeX, but after compiling with \usepackage[ngerman]{babel}, I get this error: ! Package babel Error: Unknow option `ngerman'. Either you misspelled it ...
2
votes
0answers
65 views

Can't Compile Because I haven't loaded Babel - But I'm not using Babel? [duplicate]

I tried compiling a document with an included Hebrew word. I copy and pasted the \usepackage example loading English and French as an example. Since then, my document will not compile no matter what I ...
9
votes
3answers
373 views

Problem with babel and tikz using \draw

I'm trying the next code: \documentclass[pdftex,spanish]{article} \usepackage{babel} \usepackage{tikz} \begin{document} Simple arrow: \begin{tikzpicture} \draw[->] (-1.5,0) -- (1.5,0); ...
2
votes
2answers
77 views

Main text and bibliography in two languages but with alternate date format

I'm writing a text in American English and German (new orthography), so I use \usepackage[ngerman,USenglish]{babel}. The biblatex bibliography also contains English and German references. I need the ...
1
vote
2answers
68 views

Russian and Chinese in the same document

I'm writing a document that is going to required having Russian, Chinese characters, and English. I'm using CJK and babel and example code is below: \documentclass[12pt]{article} ...
2
votes
1answer
68 views

Problem with Swedish hyphenation using apa6 with \usepackage[swedish]{babel} [duplicate]

I can't seem to get Swedish hyphenation to work within the document when using the apa6 document class, though I am using the Swedish babel package. The problem is not citation related, but concerns ...
5
votes
1answer
158 views

Chemfig - command arrow - alignment doesn't work

I'm writing my bachelor thesis. I wanted to insert a chemical equation, but the reactant and the product are not horizontally aligned well. I found in Chemfig manual a solution to this problem but ...
3
votes
1answer
101 views

Pleaseinsertintopreamble in ToC and header

I wanted to style chapter headings, found out about titlesec and wrote the document like this: \documentclass[a4paper,12pt]{book} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} ...
4
votes
1answer
62 views

Listings and Babel (with some languages) are breaking hyphenation

In the following document \documentclass{article} %\usepackage[german]{babel} % also try english, ngerman and dutch \usepackage{listings} \begin{document} \thispagestyle{empty} \begin{minipage}{1em} ...
5
votes
2answers
146 views

Tikz shortandoff-on newcommand problem

Usually I have no problem with babel and !:, and I don't use shortandoff-on switch. But since I made a command using !#1 parameter, the problem comes up again. The same synthax used outside the ...
3
votes
0answers
259 views

Problem when running babel

I am using babel installation (used Miktex 2.9 package manager to install) and the Culmus MiKTeX package (retrieved from http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html) ...
3
votes
1answer
72 views

Showing last accessed / urldate field with babelbib

Apparently babelbib displays the last accessed/urldate field by default, but it doesn't seem to work for me. I tried to change the bibliographystyle, but that didn't fix it either. In addition I can't ...
2
votes
3answers
160 views

French babel trouble: 1\ier{}, 2\ieme{}, etc

I'm having an issue with French babel. Whenever I use any of the 1\ier{}, 2\ieme{} and so on constructs (to obtain 1er, 2e, etc.), the spacing following it behaves very strangely. So, for example, if ...
3
votes
1answer
120 views

pdf option for pstricks conflicts with babel french option

Today I had this error message on compiling a document: ! Package babel Error: The character '"' is not a shorthand character in french After commenting a lot of things I finally identified the ...
10
votes
4answers
260 views

\newgeometry doesn't work with Turkish babel package

\newgeometry is a nice feature of geometry package. I found out that it doesn't work (together with many other problems) when \usepackage[turkish]{babel} is also used with many errors stating: ...
1
vote
1answer
54 views

Using doublequotes in bibtex fields and babel

I have autocreated (Mendeley - so editing by hand will be rendered useful on the next autocreation of the file) bib-files, which contain e.g. ". Unfortunately, those " are treated as the LaTeX ...
5
votes
1answer
103 views

Babel breaks maketitle on moderncv's casual and banking templates

I'm working on my CV and I started using the classic theme. After finishing the document, I trried to switch to the casual theme (also happens in the banking theme), but I get the following error: ! ...
1
vote
1answer
66 views

How to compile Bulgarian in my Fedora 19 distribution?

I am completely new to TeX. LaTeX is already installed in my environment: pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013) Saying \usepackage[utf8]{inputenc} \usepackage[bulgarian]{babel} , as ...