{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

4
votes
0answers
57 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
106 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
119 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 : ...
2
votes
1answer
88 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
195 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
44 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
41 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
218 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
235 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
112 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 ...
1
vote
0answers
33 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} ...
7
votes
2answers
437 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
93 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
63 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
460 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
82 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
139 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
118 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
153 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
84 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
70 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
249 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
2k 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
151 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
99 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
82 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
314 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
191 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
153 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
52 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
68 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 ...
10
votes
3answers
801 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
103 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
92 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
87 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
192 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
141 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
96 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} ...
6
votes
2answers
177 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
518 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
100 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
194 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
179 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
315 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
61 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
156 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
98 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 ...
1
vote
0answers
31 views

Using "= in preamble with babel [duplicate]

I have noticed a strange behaviour when switching between the packages german and babel with the german option. There is obviously a difference in how "= is handled in the preamble: ...
8
votes
1answer
196 views

Problem between unicode-math and babel option frenchb in LuaLaTeX

I've got a strange problem in LuaLaTeX with both babel, option frenchb, and unicode-math. My TeX Distribution is TeX Live 2013 (installed with MacTeX on a OS X.8.5 system). If I run the following ...
3
votes
1answer
336 views

Fontspec with bibtex with accents give me a bug : “Missing \endcsname inserted. \char”

i try to get out of a 3 days trouble, hope for your help ! I just want to find my bibliography in my font without bug... I'm using \documentclass{scrbook}, & {Adobe Garamond Pro} font with ...