{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

2
votes
1answer
54 views

fmtcount problems with french & newcommand

I built & used a complex command \qd this spring who requires datetime package and therefore fmtcount. I start again to use my command these days, but occurred some changes. I suspect updates of ...
1
vote
1answer
84 views

Non-English letter input/output problem [duplicate]

I use this for language \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} Sometimes, i need input some special letter, for example Ö. The language setting worked ...
2
votes
0answers
62 views

Text Editor to Keep Bilingual Versions of Text in Sync [closed]

I'm going to write two versions of a book simultaneously in two different languages, with math, data, and figures thrown in. The end product will consist in two books, each written in a single ...
3
votes
1answer
30 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 ...
0
votes
1answer
22 views

Babel keeps complaining: “british not defined, using English instead.”

after having found nothing on google or here I have now resorted to my last hope: Asking myself. Whenever I run a latex file (using pdflatex from MikTeX under Windows 7 x64) with ...
16
votes
1answer
214 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 ...
8
votes
2answers
176 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
128 views

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

I have these two problems using the German documentclass "DissOnlineLatex" (Manual ...
4
votes
1answer
36 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 ...
4
votes
2answers
302 views

biblatex + biber + babel: configuration for polish language and style of bibliography (missing polish.sty)

This problem is probably trivial, but it's very important to me. After hours spent on searching the solution I couldn't find it. My LaTeX document works very well with biblatex, biber and babel, but ...
2
votes
0answers
63 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
52 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 ...
7
votes
2answers
135 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
56 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
148 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
204 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
87 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
45 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
139 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
101 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
155 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
312 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 ...
2
votes
1answer
105 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
733 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
148 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 ...
1
vote
1answer
94 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
175 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
60 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
1k 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
44 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
37 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
193 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
137 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
90 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
174 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
120 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
130 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
579 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
111 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
102 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
96 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
139 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
24 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
17 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
66 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
43 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
682 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
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 ...