I try to compile my french report, but I get these two errors :
- Package babel error : language definition file Frenchb.ldf not found \ProcessOptions*
- Package babel error : you haven't specified a language option try to proceed from here, type x to quit}
Here is the latex code of babel.sty
\ProcessOptions*
\ifx\bbl@main@language\@undefined
\PackageError{babel}{%
You haven't specified a language option}{%
You need to specify a language, either as a global
option\MessageBreak
or as an optional argument to the \string\usepackage\space
command; \MessageBreak
You shouldn't try to proceed from here, type x to quit.}
\input{babel.def}
\fi
I try to update texlive, but I get always the same problem
sudo apt-get install texlive-lang-all
Here the code.tex
\documentclass[a4paper,12pt,onehalfspacing,headrules,tools]{report}
\textheight 21.8cm \textwidth 15.cm \topmargin 0.cm \oddsidemargin
0.cm \evensidemargin 0.cm
\parindent=10pt
\itemsep=0pt
\parskip=0pt
\baselineskip=0pt
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[Frenchb]{babel}
\usepackage{bm}
%\usepackage{graphicx}
\usepackage{color}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[pdftex]{graphicx}
%\usepackage[dvips]{graphicx}
%\usepackage[ruled,vlined,french,titlenumbered]{algorithm2e}
\usepackage{tabularx}
%\usepackage{algorithmic}
%\usepackage[boxed]{algorithm}
%\usepackage[]{algorithm}
\usepackage{fancyhdr}
\usepackage{longtable}
\usepackage[francais]{minitoc}
\begin{document}
\selectlanguage{french}
....
Any idea please?
Thank you
Best Answer
Presumably you have
or
or
or
None of these are correct.
What you need is
or
or
or