{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
19 views

How to parse a macro using babel replacements in a class file?

I was trying to write a simple class and have the following issue: I need to write some text containg German quotation marks that is staic and thus should be typeset by the class by default. You can ...
1
vote
0answers
26 views

Babel with UKenglish does not use British English hyphenation? [duplicate]

I am having trouble understanding the hyphenation rules of "babel". According to this question, selecting either UKenglish or british should result in Oxford dictionary type hyphenation. But it ...
16
votes
1answer
159 views

Write a package that is aware of the mainlanguage selected in babel or polyglossia

How can I make my package aware of the language choosen with babel or polyglossia, so that some auto-generated strings can be generated in respect to the current language? As an example, I have a ...
6
votes
2answers
89 views

babel + hyperref: »redefining shorthand« several times per page

consider the following code: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{hyperref} \usepackage{blindtext} \begin{document} \Blindtext\Blindtext\Blindtext ...
1
vote
0answers
41 views

How should I fix the “Option clash for package babel” connected with “undefined control sequence” with hyperref? [closed]

I have these two problems: Option clash for package babel. \usepackage (followed by: [T1]{fontenc}) (...) Texlipse Build Error Undefined control sequence: \ProcessKeyvalOptions{Hyp} (followed ...
4
votes
1answer
24 views

Bad interaction between alltt package and babel with the italian option

Given the following MWE: \documentclass{article} \usepackage[italian]{babel} \usepackage{alltt} \begin{document} \begin{alltt} \(\sb{1,1}\) \end{alltt} \end{document} I get the error: TeX ...
2
votes
0answers
27 views

Error using \ref in captions with Tufte and Babel

I am using the tufte-book class. When referencing with \ref within a caption using the babel package I get two errors: "Argument of \@iiminipage has an extra }." and "Paragraph ended before ...
0
votes
0answers
15 views

What is the kvoptions-patch's equivalent of \@classoptionslist?

For a class I'm working on, I'd like some (babel's) languages to be automatically loaded. This can be achieved thanks to \@classoptionslist: \begin{filecontents*}{myclass.cls} ...
2
votes
0answers
23 views

Is it a bug? (LuaLaTeX AND [russian](Polyglossia OR Babel) AND Cleveref) => ERROR [duplicate]

So, with the following code \documentclass[12pt, russian]{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX},Renderer=Basic} \setmainfont[Ligatures={TeX,Historical}]{Linux Libertine ...
6
votes
2answers
105 views

Problem with babel and fontspec

I've just had a problem on using babel with lualatex (or xelatex as well) and fontspec in the context of latin and cyrillic alphabets. Here is a minimal example: \documentclass[11pt]{article} ...
4
votes
1answer
38 views

Russian babel and chemformula

I want to write chemical formulas in a predominant german Text with a small amount of russian words. For that I use babel and chemformula, but they produce a heavy conflict. My MWE: ...
1
vote
1answer
63 views

Problem working fontspec, babel and datetime with cyrillic

I have discovered that fontspec with russian babel settings doesn't work with datetime package. I tried to compile such code: \documentclass[a4paper,11pt]{article} \usepackage[T2A]{fontenc} ...
2
votes
0answers
119 views

\today and internationalization

I am writing a LaTeX document with internationalization support as explained on Wikibooks. Here is my minimal file: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
65 views

biblatex broken with portuguese language [closed]

I'm trying to compile the following LaTeX code: % !TEX encoding = UTF-8 Unicode \documentclass[12pt,a4paper]{memoir} \usepackage[utf8]{inputenc} \usepackage[english, brazil]{babel} ...
2
votes
1answer
34 views

debugging authorindex

I have two books for which I want to create an author index using authorindex. Creating the index works for my book but not for the book somebody else has written. This is what I get as an error ...
0
votes
1answer
66 views

Biblatex 2.9 is broken with Babel 3.9k under MiKTeX [closed]

I was unable to find babel bugtracker, so I'll post here in the search of help. Babel 3.9k seems to be broken under MiKTeX. Here is the part of the log file: ("C:/Program ...
3
votes
0answers
67 views

Biblatex Customization and Problem with Babel

When I try to change the order of url and url date in biblatex via renewing url+urldate macro, errors arise. But it works fine when I disable babel. Errors: ./mwe.tex:43: Use of \\blx@imc@bibstring ...
5
votes
1answer
78 views

Babel and csquotes Language Problem in Biblatex

I have spent a lot of time customizing the biblatex style to my needs. Just when I thought it's finally ready, I can't seem to work biblatex properly. I need to use babel for correct hyphenation. But ...
1
vote
0answers
136 views

Babel-Spanish issue MikTex [closed]

I have some problems with babel package in MikTex. I was working on a spanish document few weeks ago and all run nicely. Today, I resumed the document but had some problems when I compile using ...
0
votes
0answers
39 views

Elegant way to write multilingual document

We want to generate a document that contains parts in different languages (e.g. Dutch, French and English). The problem is that these languages have different hyphen patterns and notations (e.g. in ...
4
votes
1answer
112 views

spanish option for babel

I recently updated my Miktex 2.9 and when I try to compile my files I get the following error, which I didn't have... package babel error: unknown option spanish. Either you misspelled it or ...
1
vote
1answer
89 views

\LR for long text

How can I use Left to Right command, \LR, for long text in a right to left document. It should exist some think like \begin{something} \end{something} but I cannot found it! My problem is in the ...
0
votes
1answer
45 views

Formatting back references in bibliography [BibTeX]

I'm using the option pagebackref in hyperref package and I get just the links list at the end of each reference name. It should print something like "Cited on page/s ", but I don't manage it even to ...
6
votes
2answers
114 views

\today and language (babel, xepersian)

I'm using xepersian for my article but in one page I need to add Gregorian calendar date. so I add: \usepackage[british]{babel} and then where I want the date: \selectlanguage{british} {\large ...
2
votes
1answer
43 views

How to remove an unwanted tilde in the citations?

I'm inserting citations with bibtex and getting an unwanted tilde before the author's names. How could I prevent this behavior? The headers of my document are \documentclass{sig-alternate} ...
2
votes
0answers
436 views

! Package frenchb.ldf Error: frenchb requires babel v.3.9i [closed]

I have this message error : ! Package frenchb.ldf Error: frenchb requires babel v.3.9i. I hadn't it few days ago. I rebooted, reinstalled Miktex, reinstalled babel, rebuilt pdflatex. Here is a minimal ...
1
vote
1answer
30 views

Problems with danish symbols in chapter

I tried to use this code but have problems with the danish symbol "å": \documentclass[ 11pt, pagesize=auto, version=last, chapterprefix=true ]{scrbook} \usepackage[danish]{babel} ...
1
vote
1answer
31 views

Language problems when building bibliography [duplicate]

I'm having trouble making my bibliography. Between multiple authors it shows "and" in stead of the dutch "en". I've been searching for solutions and most answers state this should do the job: ...
6
votes
1answer
115 views

ShareLaTeX fails to compile quotes

The following document is compiled incorrectly in ShareLaTeX but works perfectly in my LaTeX installation. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} ...
8
votes
2answers
114 views

how to disable Babel for some text

I want to write this : (username:password) this : \documentclass{article} \usepackage[frenchb]{babel} \begin{document} (username:password) \end{document} give me : (username :password) % ...
6
votes
1answer
77 views

How to set a global setting for hyphenation of already hyphenated words using XeLaTeX?

Please consider the MWE below, I want to globally invoke hyphenation of already hyphenated words using Babel package, Hyphenat package in English, to get the same effect when using ...
4
votes
1answer
164 views

Is there any automatic way to detect hanging text on the right in LaTeX?

I wonder if there is any automatic approach to detect hanging text all throughout the 200-page thesis, mostly due to hyphenation issues. Consider the output below, there is like a subtle hanging text ...
2
votes
1answer
82 views

Strange hyphenation behaviour with babel's italian option

As an odd recurrence with many previous documents (and by subsequent trials and errors), I noticed that with this default, reduced MWE: \documentclass[a4paper]{article} % \usepackage[OT1]{fontenc} ...
2
votes
2answers
89 views

special characters not showing (mathexam+babel)

I am trying to edit a exam using a template I found on internet (article using mathexam package) but since I have to use special characters of Brazilian portuguese (like á, à, ç, ã, õ, ô, â, ê) my ...
3
votes
1answer
168 views

How to install `babel` in Texmaker?

How do I install babel language pack in Texmaker? I want to use \usepackage[swedish]{babel} in Texmaker. At the moment, Jag är bäst in Texmaker gives Jag r bst in the PDF. I use Windows 8.
6
votes
1answer
64 views

glossaries in French

I try to get a glossary in French. So I started with a sample (in english) from glossaries package. I run latex then makeglossaries then latex (x2), everything was fine with the sample. I run the same ...
1
vote
1answer
63 views

Czech characters are wrongly typeset

I am witing a document that is almost entirely in English but abstract will be in Czech as well as my name on the title page so I need the support of Czech characters. Until now I never had problems ...
8
votes
1answer
75 views

Elegant way to define a package with translations

A problem that sometimes arises with constructing packages, is enabling translations. Currently I maintain two packages foo-nl.sty (Dutch version) and foo-en.sty (English version). A problem with ...
2
votes
1answer
86 views

blindtext, unicode-math, and babel won't play nice because of setmathfont (in LyX)

Usng unicode-math, I am trying (in LyX) to use a font for my main font, and also for math Latin and Greek characters, while keeping the rest as is. At the same time, I want to use blindtext. ...
1
vote
0answers
22 views

Eliminating the action of babel from a given point onwards

I'd like to use the Babel package to reproduce italian titles ONLY in the very first part of the document. I'm writing my thesis and I'm expected to introduce the work by writing the title page ...
0
votes
0answers
16 views

Why the language selection of babel affects the page number format? [duplicate]

I writing a report in spanish, and I would like the page numbers in the \frontmatter to be numbered with lowercase roman numbers. However, the selection of spanish in the babel package changes the ...
5
votes
1answer
44 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
31 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
136 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
46 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
69 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
69 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
57 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
103 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? ...