{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
24 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
47 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} ...
3
votes
2answers
2k views

Writing Greek text [duplicate]

I am trying to compile some Greek text in PDF. I get it compiled using babel package, but text in Greek renders as complete gibberish. Only if I write Latin text does it convert it into Greek letters, ...
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}... ...
8
votes
1answer
180 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} ...
1
vote
2answers
47 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, ...
22
votes
3answers
14k views

No hyphenation patterns were loaded for the language

I'm using babel package for spanish language. However, each time I compile my document, the package babel throws me a warning: Package babel Warning: No hyphenation patterns were loaded for (babel) ...
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 ...
29
votes
3answers
17k views

Package babel Error: Unknown option `francais'

I recently updated my Operating system from Ubuntu 13.04 to Ubuntu 13.10. Since then, I am facing difficulties compiling my tex code in which the french babel package is called. Please note that all ...
4
votes
1answer
2k views

getting an option clash with Babel, [english,greek]

I am getting an option clash for babel using: \usepackage[greek,english]{babel}. Here is the output: ! LaTeX Error: Option clash for package babel. Does anyone know what might be causing this? ...
38
votes
2answers
6k views

What's the benefit of loading babel when writing in English?

When writing in English what is the benefit of loading babel, by \usepackage[english]{babel}, except for the possibility of setting it to use specific English dialects as described in babel: english, ...
4
votes
2answers
60 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
64 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} ...
3
votes
2answers
128 views

Titlesec and Babel incompatibility?

I cannot find a way to change chapter style with babel included (for hungarian language). Here is the example: \documentclass[a4paper]{report} \usepackage[magyar]{babel} \usepackage{titlesec} ...
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} ...
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 ...
6
votes
2answers
107 views

catoptions destroys french active characters ! and :

A user of my menukeys package reported, that there’s an issue with the activ characters in french, i.e. !, ;, ? and :. I found out that it’s not a bug in menukeys but catoptions seems to interferre ...
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 ...
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 ...
11
votes
2answers
751 views

Tikz and babel error

This code works correctly: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,calc} \begin{document} \begin{tikzpicture} \tikzset{ every picture/.prefix style={ ...
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 ...
8
votes
0answers
307 views

Russian and Japanese and biblatex oh my

I'm trying to typeset a book with bibliography entries in English, Russian and Japanese. Getting the bibliography to work right is driving me mad. I have got pretty close (I think) by cobbling ...
1
vote
0answers
84 views
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
42 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 ...
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 ...
1
vote
1answer
68 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
843 views

Conflict between my modified .sty file and babel's ngerman?

There is some conflict or error I don't understand. I can skip it and nothing visible happens. The output is okay and everything seems to be fine. Still I would like to get rid of the error message. ...
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 ...
4
votes
2answers
152 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 ...
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 ...
19
votes
2answers
13k views

How to change the title of ToC?

I need to change default title of ToC. Is it possible with titlesec package? Here is my MWE: \documentclass{book} \usepackage{titlesec} ...
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 ...
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 ...
12
votes
1answer
1k views

How can I make AUCTeX spell check in the language specified by babel and csquotes macros?

It is possible to make AUCTeX load the spelling dictionary of the language which babel is loaded with. One further convenience would be for it to appropriately react to changes of language within a ...
4
votes
1answer
30 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
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} ...
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 ...
14
votes
4answers
687 views

tikz declare function and babel french option

I would like to declare functions in tikz for multiple uses of the same function within the code. Sadly, it seems that the tikz "declare function" is not compatible with the french option in babel. ...