{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

2
votes
1answer
55 views

Why does adding shorthands to language extras no longer work?

It used to be that this worked: \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[main=american,ngerman]{babel} \addto\extrasamerican{\languageshorthands{ngerman}} \begin{document} ...
3
votes
0answers
37 views

Localize fields in biblatex [duplicate]

I'm trying to write a document using a .bib as a database of entries, and then formatting them. However, I need to have some entries in multiple languages. So, is there an easy way to localize fields ...
4
votes
1answer
200 views

Vietnamese babel: font consistency

I am writing a document in English, but want my name written in Vietnamese. I am using babel and mathpazo. The problem is that when I switch font to Vietnamese as in this minimal example: ...
1
vote
1answer
208 views

Missing hyphenation patterns in XeLaTeX [closed]

I'm using tlmgr to manage packages, I have installed babel-hungarian and hyphen-hungarian, but hyphenation is not working. \documentclass{article} \usepackage{xltxtra} \usepackage[hungarian]{babel} ...
0
votes
0answers
16 views

Package babel Error: Unknown option `polish' [duplicate]

Compiler can't find 'polish' package. - I have no idea what is happening, I was editing the same document a week ago and everything worked perfectly fine. Another error that occurs is "l. 299 ...
1
vote
2answers
2k views

Trouble with \usepackage [german] {babel}

All I wanted was to use an umlaut here and there in my paper, so I loaded the above package. I still did not get a decent umlaut. Since I saw that german was popping up in places where it shouldn't ...
6
votes
2answers
306 views

Babel's \selectlanguage{} resets \frenchspacing

I know that \frenchspacing is the way I ought to typeset documents today, but I happen to like the double spacing after periods. To enable them, I use \nonfrenchspacing. But if I use babel and issue a ...
0
votes
0answers
111 views

PyX with Chinese Characters / Xetex / encoding

I've been struggling with getting PyX to output some Chinese characters. The routes I have been trying are: Getting PyX to use Xetex changing my encoding using ...
6
votes
4answers
327 views

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 ...
6
votes
2answers
231 views

Problems with acro package and greek babel?

Well, I need to create an acronym list in my thesis, I was using the acronympackage before for that. Since I updated several package and my old preamble had too much error, I decided to create another ...
1
vote
1answer
493 views

Babel problem. Writing in greek

I am using fedora 20 and note that I am using latexila. I have a problem with greek text. I would like either typesetting greek characters from keyboard or typesetting english letters and get them to ...
5
votes
1answer
283 views

pdfLaTeX problems with figures in Arabi package (Farsi)

I have searched the site with different keywords regarding the aforementioned problem and it seems that I am the first guy with this problem. I am new to Arabi package. I will use it to typeset Farsi ...
2
votes
1answer
94 views

Bibliography string 'by' undefined in Canadian

I use babel with the canadian language, and biblatex-chicago. If I use a @inbook reference with a bookauthor field, I get the following error: Bibliography string 'by' undefined at entry 'smith' on ...
3
votes
2answers
136 views

Error when using Greek babel, mparhack and \pagenumbering{roman}

Using: This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) ... I compile the following MWE: \documentclass[10pt,twoside,openright]{book} ...
2
votes
1answer
176 views

How can I pass babel options through class options?

I built a class upon the article class. This class load a package where the \maketitle command is define. If I do not load babel inside the class, the title of the document is always in english (the ...
3
votes
1answer
174 views

Problem with babel package

In the following code when I am using \usepackage[greek,english]{babel} everything works fine until I try to use \selectlanguage{greek} then I get that error and those warnings: ! Corrupted NFSS ...
13
votes
1answer
1k views

utf8 inputenc vs. babel

I'm using TeXLive 2014 on FreeBSD. Every LaTeX-files produce the following warning: LaTeX Warning: Please use \usepackage[latin2]{inputenc} with \usepackage[magyar]{babel}. "Magyar" is ...
0
votes
1answer
44 views

Can \GetFileInfo read \ProvidesLanguage?

I am not sure but it seems to me that \GetFileInfo used for documentation of .dtx files ignores \ProvidesLanguage from the babel system. Why?
1
vote
1answer
316 views

Possible bug in babel-greek, TexLive 2014

Apologies for bug reporting here, but thought I might as well. My current banner is: $ pdflatex -version | grep 'TeX Live' pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014) The problem seems to be ...
2
votes
1answer
68 views

Error with gnuplot and babel greek

In my preample i use the babel to load the greek language along with the txfontsb package for greek letters. In order to create a plot using gnuplot, i use the following code : -synctex=1 ...
3
votes
1answer
2k views

Why can't I use babel package?

I'm using TexMaker in Xubuntu. I wrote these lines: \documentclass{article} % \title{Os devaneios da pós-graduação de Luís Muniz} \author{Luís Augusto Muniz Telles} \date{\today} ...
5
votes
1answer
186 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
120 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 ...
7
votes
2answers
110 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
132 views

Cannot produce greek with utf8 and babel [closed]

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 ...
2
votes
3answers
302 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
26 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
86 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
2answers
122 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
255 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
81 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
53 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 ...
3
votes
1answer
3k views

Spanish.ldf error [closed]

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} ...
6
votes
1answer
618 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
298 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
342 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
144 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
209 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
1k 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
94 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
123 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 ...
3
votes
1answer
39 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
31 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
108 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 ...
18
votes
1answer
398 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
2answers
557 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
971 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
63 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
1k 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
193 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 ...