{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

3
votes
1answer
911 views

Fontspec with bibtex with accents give me a bug : “Missing \endcsname inserted. \char”

i try to get out of a 3 days trouble, hope for your help ! I just want to find my bibliography in my font without bug... I'm using \documentclass{scrbook}, & {Adobe Garamond Pro} font with \...
6
votes
2answers
204 views

Why does a different font appear on Greek and different on English?

I'm trying to create a pdf that contains both English and Greek. But the two different languages appear in different fonts. Can someone tell me why? This is my code: \documentclass[11pt,a4paper]{...
7
votes
1answer
1k views

Very strange biblatex style in french archeology

I have many problems with a bibliography style with biblatex. And excuse my english, I'm a French student. I would like a style like this: but after a lot of research I obtained: It is almost ...
2
votes
0answers
405 views

natbib - Citation in English and German [closed]

I am writing a document, which combines a German chapter (the intro) with several English chapters (the main document). Hence I would like to use the natbib in the intro, to provide a citation which ...
12
votes
1answer
101 views

Spanish Babel causes accents in start of sentence to stretch cell height

When the first letter of a sentence in a table cell has an accent, the cell height is stretched and it looks strange. This only happens when I use the Babel package (with Spanish) so I think it may be ...
5
votes
1answer
132 views

Changing the writing language

I write in greek (having before load all the necessary packages and own commands - babel etc). In order to change the language and write a word in english I type \gre and the letters appear with ...
3
votes
0answers
1k views

LaTeX hyphenation problems in Spanish [closed]

I am using this preamble on my document, edited with TeXStudio/MiKTeX and I am getting several words not hyphenated and past the margin limits on the right side. As you can probably see, I am very new ...
10
votes
2answers
2k views

How to suppress the space before the colon, in French language?

I would like to suppress the space before the colon, when using [french]babel. I only want to change this locally (that is not everywhere in the document, but just at some place). \documentclass{...
1
vote
1answer
106 views

Pgfplots, problem with pin and [francais]{babel}

When I don't use babel package, pins are ok. I suspect there is a problem with the colon, in french we put a space before and after, but how to tell pgfplot not to do it? \documentclass{standalone} \...
0
votes
1answer
975 views

Enable portuguese language in babel in a gentoo linux system

How can a language be enabled in babel on a gentoo linux system? texlive has been installed using the system package management software.
4
votes
1answer
1k views

Foreign language quotation marks with babel and csquotes on pdfLaTeX

I haven't been able to switch the quotation marks from Spanish to English in the document resulting from the MWE below. What, if anything, am I doing wrong or missing? And, yes, I've also tried by ...
3
votes
1answer
505 views

Command \maketitle with cyrillic and Times New Roman

I am trying to output the title of the document using font Times New Roman with Bulgarian language. If I use \documentclass[14pt,a4paper]{article} \usepackage{fontspec} \setmainfont{Times New Roman} \...
5
votes
2answers
415 views

Multilingual document: Problem between babel and csquotes: \MakeOuterQuote{"}

: Line 5 is my problem... I want to use simple quotation marks in a multilingual document with csquotes AND babel, with the help of \MakeOuterQuote{"}, and I need the command \selectlanguage{ngerman} ...
6
votes
1answer
229 views

Conflict between stackengine and babel with spanish option

When pdfLaTeXing the MWE below I get a Missing \endcsname inserted error message. The compilation proceeds with no errors as soon as the babel package is not loaded with the spanish option (well, to ...
4
votes
1answer
625 views

Adjusting biblatex bibliography style

I previously asked a question about adjusting the style of natbib 1, but gave up an switched to biblatex. I am working on my bachelor's thesis and need help adapting the bibliography and citation ...
5
votes
1answer
772 views

What causes this \discretionary error?

I would like to compile my old LaTeX thesis to PDF. The text was created in 1999 (emTeX, I believe) when the computers and the tools were a bit different -- read it, I am returning to LaTeX after 14 ...
6
votes
1answer
929 views

Several questions about migrating to XeLaTeX

I am using LaTeX for years now but I am considering to migrate to XeLaTeX. The main reason for this change is the babel package which change a lot the layout of my documents according to my language ...
10
votes
1answer
815 views

How to translate tikz calendar names?

TikZ-calendar uses English names like Monday, Mon, Tuesday, January, February etc. How to I automatically translate them to - say - German? Looking at the pgfcalendar.code.tex file I see all those ...
15
votes
1answer
236 views

Should babel package call be placed at the end of the preamble?

I remember to have read few year ago1 that babel line2 should be placed at the end of the preamble in order to avoid problems with other packages. (I believe hyperref package should also be placed at ...
5
votes
1answer
176 views

Can I proofread babel hyphenation rules for a specific language?

I wonder where I can find and proofread the babel hyphenation rules. Would it be possible to learn from those hyphenation rules (for example for a student of a language) where to place a hyphen?
6
votes
1answer
383 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 ...
6
votes
2answers
773 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 ...
8
votes
2answers
255 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 guillemets~\fg,...
4
votes
2answers
801 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
163 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
2answers
3k 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 ...
7
votes
2answers
539 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
102 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
141 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
207 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
703 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
201 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} שלישית \...
3
votes
1answer
124 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
311 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
200 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} \usepackage[utf8]{...
6
votes
1answer
2k 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 =...
3
votes
0answers
5k 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
2k 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 ...
17
votes
1answer
225 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 confusion,...
9
votes
1answer
2k 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
283 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
97 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 ...
56
votes
4answers
64k 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 ...
9
votes
2answers
462 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 ...
2
votes
1answer
206 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
118 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 ...
19
votes
3answers
2k 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
450 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
298 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
309 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} ...