Text Formatting ⇒ Why trivfloat wants to speak french???
-
- Posts: 13
- Joined: Thu Sep 25, 2008 1:20 pm
Why trivfloat wants to speak french???
Hello,
First of all, I am not doing a french document.
My problem: When I put
\usepackage[utf8]{inputenc}
\usepackage{trivfloat}
\usepackage[brazil]{babel}
\usepackage[alf,abnt-etal-list=0,abnt-etal-cite=2,abnt-year-extra-label=yes,abnt-etal-text=emph]{abntcite}
\usepackage{abnt-alf}
(...)
I got the error:
projetoFinal.tex:132:Package babel Error: You haven't defined the language french yet. \begin{document}
When I comment the \usepackage{trivfloat} line, everything works fine.
Does anyone know what is happening?
Thanks!
Roberto
First of all, I am not doing a french document.
My problem: When I put
\usepackage[utf8]{inputenc}
\usepackage{trivfloat}
\usepackage[brazil]{babel}
\usepackage[alf,abnt-etal-list=0,abnt-etal-cite=2,abnt-year-extra-label=yes,abnt-etal-text=emph]{abntcite}
\usepackage{abnt-alf}
(...)
I got the error:
projetoFinal.tex:132:Package babel Error: You haven't defined the language french yet. \begin{document}
When I comment the \usepackage{trivfloat} line, everything works fine.
Does anyone know what is happening?
Thanks!
Roberto
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Why trivfloat wants to speak french???
Hi Roberto,
if you would post a minimal working example instead of just that piece of code we could test and examine the problem.
I've tried your code, I had to comment out the packages abntcite and abnt-alf in order to make it compilable and of course I had to build a document around it using a class - there was no babel error.
Perhaps delete your .aux file and compile again.
Stefan
if you would post a minimal working example instead of just that piece of code we could test and examine the problem.
I've tried your code, I had to comment out the packages abntcite and abnt-alf in order to make it compilable and of course I had to build a document around it using a class - there was no babel error.
Perhaps delete your .aux file and compile again.
Stefan
LaTeX.org admin
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Why trivfloat wants to speak french???
As the author of trivfloat, I can't see why this is happening. As Stefan says, a full working example is needed here.
Joseph Wright
-
- Posts: 13
- Joined: Thu Sep 25, 2008 1:20 pm
Re: Why trivfloat wants to speak french???
Thanks!
I attached a minimial example.
By the way, I found that if I put \usepackage[brazil,french]{babel} it does compile.
But is strange, since nothing in my doc is in french...
I attached a minimial example.
By the way, I found that if I put \usepackage[brazil,french]{babel} it does compile.
But is strange, since nothing in my doc is in french...
- Attachments
-
- testex.zip
- (46 KiB) Downloaded 398 times
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Why trivfloat wants to speak french???
Your example needs abnt.cls, which is missing from the zip file (standard files such as booktabs, trivfloat itself, etc., are not really necessary!)
Joseph Wright
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Why trivfloat wants to speak french???
Phew, I found all of the necessary files on the Internet. If you start with a clean folder (delete all aux files, etc.) then all is fine. You might get an odd error if there are old aux files about delete all of them before trying anything. \listfiles gives me:
Code: Select all
*File List*abnt.cls 2006/09/09 v1.32 Classe abnt (NBR6024, NBR6027, NBR6028, NBR14724)cvs-id.defifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)multicol.sty 2006/05/18 v1.6g multicolumn formatting (FMi)abntex-abrev.sty 2005/11/14 v1.4 Abreviacoescvs-id.defnbr10522-1988.def 2003/10/13 v1.2 Abreviacoes bibliograficas (NBR10522:1988)cvs-id.defabntex-abrev-pt_BR.def 2005/11/14 v1.3 definicao de abntex-abrev, traducao de termos en_US/pt_BRcvs-id.defabntex-text.sty 2005/11/14 v1.1 abnTeX text replacementscvs-id.defabntex-text-pt_BR.def 2005/12/21 v1.2 Definicao de nomes em Portugues/Brasil(pt_BR)cvs-id.defabntex-default-design.sty 2005/06/22 v1.2 Definicoes de design padrao do abntexcvs-id.defrelsize.sty 2003/07/04 ver 3.1nbr6027-1989.defnbr14724-2001.defreport.cls 2005/09/16 v1.4f Standard LaTeX document classsize12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)setspace.sty 2000/12/01 6.7 Contributed and Supported LaTeX2e packagemathptmx.sty 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR, WaS)helvet.sty 2005/04/12 PSNFSS-v9.2a (WaS)keyval.sty 1999/03/16 v1.13 key=value parser (DPC)indentfirst.sty 1995/11/23 v1.03 Indent first paragraph (DPC)inputenc.sty 2006/05/05 v1.1b Input encoding fileutf8.def 2006/03/30 v1.1i UTF-8 support for inputenct1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputencot1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputencomsenc.dfu 2006/03/30 v1.1i UTF-8 support for inputencbabel.sty 2008/07/06 v3.8l The Babel packagebblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configurationportuges.ldf 2008/03/18 v1.2q Portuguese support from the babel system
Joseph Wright
Why trivfloat wants to speak french???
This problem is still happening and removing aux files doesn't help.
In case anyone arrives here without luck, I've put some details here: https://tex.stackexchange.com/questions ... ing-french
In case anyone arrives here without luck, I've put some details here: https://tex.stackexchange.com/questions ... ing-french