Questions tagged [babel]

{babel} is a package that manages culturally-determined typographical (and other) rules, and hyphenation patterns for a wide range of languages.

is a package that manages culturally-determined typographical (and other) rules, and hyphenation patterns for a wide range of languages. A document may select a single language to be supported, or it may select several, and the document may then switch from one language to another in a variety of ways.

1683 questions
20
votes
1 answer

Unable to get rid of error babel: You haven't defined the language en yet?

! 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 related: Package babel Error: You haven't loaded the…
ashley
  • 301
19
votes
1 answer

Language dependent custom command

I would like to define a command that slightly differs depending on the currently selected language in my document. My code: \documentclass{article} \usepackage[english,french,german]{babel} \newcommand{\mynewcommand}[4]{% \newcommand{#1}{% …
D.Roepo
  • 3,347
15
votes
1 answer

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? I've tried Googling and have seen many others use…
gnychis
  • 255
13
votes
1 answer

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 this approach is of course that one needs to…
11
votes
1 answer

Why is babel loading all these languages?

The following document: \documentclass{article} \usepackage[english]{babel} \begin{document} Something \end{document} Produces the following .log file: Running `LaTeX' on `mwe' with ``pdflatex -interaction=nonstopmode "\input" mwe.tex'' This is…
Seamus
  • 73,242
11
votes
2 answers

Translation of words according to babel language

I've got a template that is to be used in french or english, is there a name in babel defining the "of" of "page x of yy" than I want to translate automaticaly to "page x sur y" If not, is there a way of setting a name according to language selected…
Penbeuz
  • 1,669
7
votes
4 answers

Bug in swedish-babel?

When I use the Swedish babel package, the header on the even sides of the table of contents is written "INNEHåLL" (note the lower-case å which should be an Å). If I use the English version, it correctly says CONTENTS. Is this a bug? I don't have a…
pg-robban
  • 803
7
votes
4 answers

thin unbreakable space

As you maybe know, in French typography, "big" punctuation marks (!?;») must be preceded by a thin undividable space (obviously « must be followed by a thin unbreakable space, and as a matter of exception, : should be preceded by a normal…
6
votes
2 answers

"Table des Matières" instead of "Table of Contents"

Currently, I write a report in LaTeX. Everything goes well except a small problem that bothers me really. The report is written in English except for a summary in French that has to be written in French, for this reason I have imported the…
user1312858
6
votes
1 answer

What is difference Indonesian babel with Bahasa babel ?

I'm reading Babel manual page 18 and there are bahasa, indonesian, indon, and bahasai babel. I want ask " What is difference it?". I am from Indonesia and I confused use it for hyphenation better. Is Indonesian babel better than others? Or Not,…
Hirwanto
  • 1,335
  • 13
  • 21
5
votes
1 answer

Need to write "U despite of using ngerman babel

I write a presentation in German language, so I use \usepackage[ngerman]{babel} Now, I want to write "UTF-8" but the output looks like that: How can I fix it? Thank you for your…
mrbela
  • 1,129
5
votes
1 answer

What is the difference between Babel options brazil and brazilian?

The Babel documentation lists both options but I did not find where it describes the difference. I found one Brazilian website saying "Use a opção brazil para escrever no nosso português" but it never mentioned the other option.
5
votes
1 answer

No hyphenation patterns were preloaded for the language 'nil'

I simply load the package babel with the options nil and french. I need the language nil to be able to prevent hyphenations of certain words like names of persons or publishers. In the past, I used the file zerohyph.tex that I declared in the…
Julien
  • 53
5
votes
0 answers

Unknow option `ngerman' babel

I'm using LaTeXila on Fedora 19. I switched from MikTeX on Windows to that and I want to work with the files I created there. But every time I compile my .tex it gives me the error Package babel Error: Unknow option `ngerman'. Either you misspelled…
lup3x
  • 83
4
votes
0 answers

babel: babel@toc causing problem

I have a bilingual document. The main language is English. Throughout the document, I switch between the two languages. I have noticed that babel writes language-specific commands in the toc file (e. g. \babel@toc {english}{}). I provide an…
1
2 3 4 5