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

Tikzcd conflict with babel and cd

I have this problem: when I try to compile a diagram I get the following message: I think the culprit is a tikzcd arrow in ell 1-1 But I have not problem when, in the tikzlibrary, I just use cd, ...
4
votes
2answers
48 views

Strange output when writing \texttt{“avg”} in spanish

I'm using pandoc, which parses markdown into LaTeX. In this case I configured pandoc to use babel in spanish and wrote `"avg"` which is translated by pandoc as \texttt{"avg"}. When I do this I obtain ...
5
votes
1answer
25 views

datetime causes incorrect date format even when babel is loaded first

According to the package manual, datetime supports language-sensitive date formats provided that babel is loaded first. The example on page 2 is: \usepackage[francais]{babel} \usepackage{datetime} ...
2
votes
0answers
30 views

Cannot produce greek with utf8 and babel

I am creating a document in greek, using babel and utf8 encoding. I am using MiKTeX 2.9 and TeXMakeR. When trying to produce a document I get the error Package inputenc Error: Unicode char \u8:Γ not ...
0
votes
0answers
11 views

problem with package babel, french [duplicate]

I am using the Miktex distribution. Recently, I wanted to install the package babel, french but I didn't manage to, either by writing \usepackage[frenchb]{babel} or \usepackage[francais]{babel}... ...
1
vote
2answers
48 views

Babel for hebrew

I am not able to write in Hebrew with latex. Every time I try to compile the process ends with a question mark. The following is an example of the document I am using: \documentclass[dvips, a4paper, ...
2
votes
0answers
24 views

[spanish]{babel} and circuitikz [duplicate]

When i use \usepackage[british]{babel} everything works fine, but when i do \usepackage[spanish]{babel} everything brakes... I reduce the code and find out that the part with scope is the problem, but ...
8
votes
1answer
67 views

How can I contribute to translation of a CTAN package

I would like to translate the package invoice to polish language. How can I contribute? Since I need this package (and it really is great for invoices) I will translate this into polish, but I ...
0
votes
1answer
51 views

How to change between languages without using a command?

I am using LaTeX to produce texts containing both English and Greek characters, with the aid of the babel package. My approach up to now, in declaring the use of another language, is to use a ...
8
votes
1answer
181 views

How to fix this interaction bug between pgfplots and babel-french module?

Here is an example of a minimum non-working case which is generating the bug: \documentclass{standalone} \usepackage{luatextra} \usepackage[frenchb]{babel} \usepackage{pgfplots} \begin{document} ...
4
votes
2answers
61 views

Does SIunits package correctly manage the typography according to the language of document?

when I use SIunits with \documentclass[a4paper,12pt,oneside,french]{book} and \usepackage[frenchb,french,francais]{babel} as preamble, could I be sure the commands like \kilo\meter will be print as ...
0
votes
1answer
9 views

\makefirstuc from glossaries clashes with \foreignlanguage from babel

I write a document, whose primary language is English. But I have some glossary entries whose names (aka label) are in German, but the description, etc. is in English again. I use the packages ...
1
vote
0answers
66 views

Spanish.ldf error

I just installed MiKTeX 2.9 x64 on my windows 8.1 laptop. I use Texmaker as a TeX editor. I'm trying to compile a document with these packages: \usepackage[utf8]{inputenc} ...
4
votes
1answer
77 views

babel - define language synonym

I use \usepackage[english]{babel}, but I am keeping getting error: Package babel Error: You haven't defined the language EN yet. while parsing bibliography with \bibliographystyle{apsrev4-1} ...
1
vote
1answer
46 views

How to install Thai fonts?

I am using MiKTeX 2.9, WinEdt 5.5 and Windows 7. What is the easiest way to install the Thai fonts so that I can use the package thai babel? The error message that I got is: No file ...
7
votes
2answers
216 views

Brazil Language problem in the TikZ diagram

I have a problem with TikZ diagram, I don't get to make the diagram with babel under the brazil language. I used the code with french and everything is OK! \documentclass[a4paper,12pt, ...
0
votes
1answer
54 views

print hour & minutes in french style

I'm using babel, datetime & siunitx but I don't see an automatic way to mark and to write time in the french style. It's possible with plain hour with datetime: SI{18}{\hour} -> 18 h. But for ...
1
vote
1answer
22 views

bad Itemize environment with babel and StandardItemLabels

Using the StandardItemLabels options of babel, itemize bullets are in the margins. How is it possible to set up properly bullet item and right spacing ? \documentclass[french]{article} ...
0
votes
1answer
134 views

How to install Babel English?

I use MikTex Update to install, some security configurations make me can only install package in Update, not Package Manager. I install all package in the Update, but the system show error that I do ...
2
votes
1answer
43 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
70 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
58 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
27 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
15 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
190 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
124 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
85 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
31 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
153 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
46 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
36 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
114 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
41 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
93 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
165 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
71 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
38 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
108 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
84 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
100 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
190 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
51 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
283 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 ...
2
votes
1answer
122 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
59 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
139 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
50 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
848 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 ...