{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

6
votes
1answer
179 views

footnote and autocite=footnote don't behave the same under fnpct

This may sound like a crazy scenario, but whilst using fnpct (and the after-punct-space option especially) and the \autocite command from biblatex (using the option autocite=footnote), I realized the ...
5
votes
1answer
179 views

Missing space after “guillemets”

I have a problem with the \og and \fg characters for opening and closing "guillemet". The closing guillemet is always too close to whatever follows, in other words, there is missing space between \fg ...
7
votes
2answers
168 views

Why does the non-breaking space produce a double space with babel and \og and how to use both \og and non-breaking space?

I am wondering if this is a normal situation or a bug! \documentclass{article} \usepackage[french]{babel} \begin{document} Ceci est \og entre guillemets \fg. Ceci est aussi \og~entre ...
4
votes
1answer
306 views

Doubts for customize classicthesis

I downloaded the classicthesis from its site and I was analysing the contents of the class, the manual, examples and all that. But I have few doubts yet about how to customize well the classic thesis ...
9
votes
1answer
106 views

\endcsname error with nag and newest babel/greek update

Did I miss something with babel and polutonikogreek? I just updated my TeX distribution on my mac through TeX Live Utility, and now I get the error: ./document.tex:5: Missing \endcsname inserted. ...
3
votes
1answer
1k views

Usepackage english babel - default.sty not found?

I am totally new to latex. I have downloaded Miktex (for Windows) and installed it to the root directory of my local hard drive. I have a predefined latex template. When I try to compile this ...
6
votes
2answers
233 views

How to obtain proper justification with XeLaTeX and fontspec package?

I'm trying to obtain a justified paragraph with greek text using XeLaTeX and fontspec package, but there is always a word that exceed the right alignment. Note that with LaTex and the default greek ...
4
votes
1answer
75 views

How to use pstool and babelbib in the same document?

I'm trying to use the pstool package and the babelbib package in my document. I couldn't manage to process an .eps image, when one of the languages loaded by babel is english. Here's an example, with ...
6
votes
2answers
108 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 ...
3
votes
0answers
199 views

Package babel Error: You haven't loaded the language french yet [duplicate]

I just got LaTeX up and running and started following some basic instructions. The first time I followed the beginning over here: http://ftp.ctex.org/pub/tex/tools/editors/TeXworks/manual.pdf ...
5
votes
1answer
301 views

biblatex/babel autolang= doesn't work with idemtracker

Although I was glad to discover that biblatex integrates with babel for bibliography formatting, I might have found a bug that prevents it to work with idem (not ibidem) entries. Same goes with ...
4
votes
2answers
132 views

xcolor \color command affects the wrong word in a Hebrew sequence

When compiling \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[hebrew,english]{babel} \usepackage{xcolor} \begin{document} \sethebrew ראשונה \color{red} שניה \color{black} שלישית ...
1
vote
0answers
57 views

suspended hyphen without linebreak between word and hyphen

I have a word combination like this metallo-porphyrins and -phthalocyanines which eventually gives a linebreak between the hyphen and the word phthalocyanines. I tried to include the ngerman package ...
0
votes
1answer
143 views

using csquotes' shorthands in English

Is there a special reason why csquotes' shorthands cannot be used in English text or am I overlooking something? The \enquote command works fine. It's true that English style quotes are amongst the ...
2
votes
1answer
138 views

babel arabic changes enumeration level

I am trying to add a few short words of Arabic to my English document. This is working, by and large: \documentclass[fontsize=12pt,paper=a4]{scrartcl} \usepackage[LAE,T1]{fontenc} ...
5
votes
1answer
576 views

Prevent biblatex from printing the language name and use language only for hyphenation

In my .bib-file the language field is filled out in all entries. As MWE, they all look (as expected) like: @Collection{Bakker:Grammar, editor = {Egbert J[an] Bakker}, gender = {sm}, title ...
2
votes
0answers
3k views

Unknow option `ngerman' babel [closed]

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 ...
3
votes
1answer
1k views

Problem with lstlinsting biblatex utf8 T1 and babel

I am a Spanish speaker. I have in my TeX file all the usual stuff for my language. Also I use lstlistings and now I want to use biblatex (ex bibtex user). However I can not get working together this ...
15
votes
1answer
168 views

Faroese language package

I am working on a project in faroese, where I need to use the localization features offered by babel. I cannot find a faroese babel package, and when searching for it, there seems to be some ...
5
votes
1answer
596 views

moderncv and babel spanish cause “Missing \endcsname…” error

When I run the following code it compiles as expected: \documentclass[% 11pt ,a4paper ,sans ]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} ...
3
votes
1answer
125 views

How to cite with biblatex in spanish with english quotes?

I'm making an essay in Spanish, so I use \usepackage[spanish]{babel} and \usepackage[style=mla]{biblatex} with biber for bibliography. Everything does what it should, but when citing, style required ...
2
votes
1answer
61 views

Removing the bibliography name

I use the »babel« package with option bahasa . For bibliography purposes, I make the section "Daftar Pustaka", but thebibliography environment produced "Pustaka". So there are two titles. How to ...
30
votes
3answers
19k 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 ...
6
votes
2answers
190 views

Help getting started with Hebrew in babel

I want to write a document that will contain only Hebrew text (and some diagrams). I understand that babel is probably the best way to do it but I am getting utterly confused and haven't been able to ...
1
vote
0answers
102 views

Problem with title languages from thesis template

I'm using LaTeX in order to write my thesis and to make a good impression to the reader. As long as I'm not a very experienced user I use a template from Master/Doctoral Thesis from LaTeX Templates. ...
4
votes
1answer
83 views

Combining dashes from babel with xspace

Assume we have some mathematical object that is used in formulae as well as in "natural" language (in my case, complexity classes). When defining a macro for such an object, I like to use \xspace so ...
12
votes
2answers
529 views

Nonbreaking dash that allows hyphenation

The babel package provides useful dash variants, e.g. "~ for a non-breaking dash that forbids hyphenation in the parts, and "= for a breaking dash that allows hyphenation in the parts. However, ...
3
votes
1answer
173 views

What is the proper way to implement language options in a multilanguage package?

I'm writing a multilingual LaTeX2e package to be used with pdflatex containing several macro and environment definitions. The main language of the document--a thesis--is English, Finnish or Swedish. ...
1
vote
1answer
139 views

Document title with Cyrillic and babel

I'm writing a document in Russian using \babel, and everything in the body of the document seems to work fine. However, when I try to make a Cyrillic title using \maketitle, I get errors saying that ...
11
votes
3answers
175 views

How to pass a macro as the argument to \selectlanguage

The following mwe throws the error You haven't defined the language lang yet. \documentclass{article} \usepackage[american]{babel} \newcommand{\lang}{american} \selectlanguage{\lang} \begin{document} ...
6
votes
1answer
323 views

glossaries \leftmark and \rightmark not translated

I was trying to make an article in french with a glossary (glossaire in our weird tongue), and I noticed that, even if I did manage to set the translation right for the body, the \leftmark (or ...
5
votes
1answer
213 views

how to change language within the .cls file

The problem is this: I want to use in the custom class file (named thesis.cls), a different language than English, Greek to be specific. In the .tex file I loaded the babel package with the command ...
3
votes
1answer
202 views

Babel in Basque

I am new to this and I would like to get what's needed to use Babel in basque. I've tried sudo apt-get install texlive-lang-basque, emulating an answer in this site but it doesn't work. Any help ...
2
votes
1answer
168 views

Workflow to write article with orgmode/babel when knowing LaTeX

I know LaTeX pretty well and I am used to write articles with it. I know orgmode and use it to manage my todo list and research notes. I am trying to learn the babel module of orgmode, so that to ...
6
votes
1answer
82 views

Why memoir does not respect babel when printing \thedate

Why does memoir fail to recognize language specific dates (with \today) outside its own \maketitle? It works fine when I add such metadata after \begin{document}, but I've never done this before ...
1
vote
1answer
280 views

Can anyone provide me with a simple example?

I want to write in urdu with nastaleeq font. I have done quite a few things but i dont know how to write it. Plus i dont know how to use xetex. So can anyone give me a simple example writing urdu in ...
8
votes
0answers
321 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 ...
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? ...
4
votes
1answer
159 views

How to change hyphenation but not quotation marks in bibliography with biblatex?

I'm using biblatex with biber and an authoryear style for my bibliography. My main language is french, but I have different languages in my bibliography (so I load \usepackage[english, french]{babel}. ...
1
vote
1answer
143 views

Change headings to another language when using elsarticle

After downloading the article template of Elsevier (elsarticle) and using it, I discovered that babel is not working. \documentclass[preprint,a4paper,12pt]{elsarticle} \usepackage[dutch]{babel} ...
5
votes
1answer
90 views

Bad interaction between babel and xypic?

I'm writing an elaborate in Italian, and I'm using XY-pic to draw some diagrams. Unfortunately it seems that babel is interacting with XY-pic, making it impossible to group elements. Here is a MWE: ...
5
votes
1answer
212 views

How to get polyglossia with babelshorthands to work with hyperref and csquotes?

I just switched from babel to polyglossia and got several errors which are related to the usage of \enquote in \section. The problems only occur if babelshorthands=true is set for polyglossia and ...
2
votes
0answers
458 views

What to do about error message about extra \else in greek.ldf? [closed]

I get this error since I upgraded to texlive 2013: (/usr/local/texlive/2013/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua))) ! Extra \else. l.74 \else ? Posting this question directly in case ...
3
votes
0answers
129 views

LuaLatex: Showing nonexisting errors [closed]

I am trying to use LuaLatex for printing plots (as PdfLaTeX doesn't have enough memory) but I have a problem with it. I am using TeXLive 2013 with TeXMaker. I was trying to compile a file once with ...
6
votes
2answers
139 views

Branching construct based on the (babel) language selected

I'd like to keep one of my presentations in German and English and have defined a corresponding boolean variable withifthen and a command to typeset either the German or the English text. Is there ...
8
votes
1answer
264 views

Localization of biblatex headings

My Bibliography is subdivided into 2 parts (published / online references). I would like to get an automatic localization of the 2 subheadings, which is controled by the setting of the babel package. ...
2
votes
1answer
916 views

Babel Error: Undefined Control Sequence

I'm running into a bizarre issue with the Babel package that I haven't seen before and would love some help figuring out a solution. First, I'll give an example of something that does compile ...
6
votes
1answer
154 views

Dynamically change language for datetime

I am building a fairly complex letter template as article-extending class, which needs to be able to understand two languages (English and German). This is implemented via babel (with both ngerman and ...
2
votes
1answer
176 views

how to change the word 'preface' in Scientific Workplace 5.5

I'm having a problem with the language in SWP 5.5. I am writting a text in spanish, so I am using the \usepackage[spanish]{babel} sentence at the beginning of the document and it works perfectly with ...
6
votes
1answer
280 views

LaTeX error with footnotes

This is the MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \begin{document} \begin{titlepage} \begin{minipage}{0.8\textwidth} ...