When trying to compile any document containing the line:
\usepackage[brazilian]{babel}
I get the following error:
! Package babel Error: Unknow option `brazilian'. Either you misspelled it
(babel) or the language definition file brazilian.ldf was not fo
und.
Additional info:
- I get an analagous error when replacing
brazilian
by anything other thanenglish
. - I'm running texlive on Windows, so my way of managing packages is through
tlmgr
- Tried to uninstall and reinstall babel package and got nothing.
- I sense something is wrong since babel is looking for the file "brazilian.ldf" but this is my output to
tlmgr search --global --file "brazilian"
:
tlmgr.pl: package repository http://mirror.jmu.edu/pub/CTAN/systems/texlive/tlnet
biblatex:
texmf-dist/tex/latex/biblatex/lbx/brazilian.lbx
biblatex-apa:
texmf-dist/tex/latex/biblatex-apa/brazilian-apa.lbx
dvdcoll:
texmf-dist/tex/latex/dvdcoll/dcl/brazilian.dcl
minitoc:
texmf-dist/tex/latex/minitoc/brazilian.mld
So, no brazilian.ldf here…
UPDATE:
Looking at the comments and searching for portuges.ldf
file, the following package install command solved the problem here:
tlmgr install babel-portuges
(ps: had to remove old .aux files)
Best Answer
If you don't have the language installed you can do it installing
texlive-lang-portuguese
.Then the
brazilian
option should work.