package babel error: you haven't specified a language option

Dimitris Diochnos diochnos at gmail.com
Mon Feb 26 00:54:42 UTC 2018


Hi,

Babel is a package that lets you write in multiple languages in your
tex file (and eventually in the compiled file that you will create).
As the error message says, you have not specified a language option.
My guess is that somewhere in the preamble of your document you have a
statement of the form:

\usepackage{babel}

Replacing that statement with:

\usepackage[american]{babel}

you should be able to compile the document without the error that you
mention. (Also, as a general remark, a short example that others can
use to reproduce the error that you claim is always appreciated, so,
do not be shy including such an example.)

Cheers!
Dimitris

P.S.: https://ctan.org/pkg/babel has a link to the documentation of
the package as well.

On Sun, Feb 25, 2018 at 6:37 PM, Fabrizio Salvatore via macports-users
<macports-users at lists.macports.org> wrote:
> Hi,
>
> I have come across the following error message when compiling a LaTeX
> document:
>
> package babel error: you haven't specified a language option
>
> I've googled for this and what I found is related to the presence or not of
> the texlive-language-* packages. I have checked that I have all those
> available on macports installed, but I still have the same error message.
> Does anyone have any experience with that?
>
> Thanks a lot !
>
> Fab
>
> --
> +++++++++++++++++++++++++++++++++++++++++++++++
> Dr Fabrizio Salvatore    |    e-mail: p.f.salvatore at sussex.ac.uk
> orcid.org/0000-0002-3709-1554
> Department of Physics and Astronomy, University of Sussex,
> Brighton, Sussex, BN1 9QH, United Kingdom
> Tel.:  +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068
> http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore
> facebook.com/p.fabrizio.salvatore
> +++++++++++++++++++++++++++++++++++++++++++++++


More information about the macports-users mailing list