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: 10321
- 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, NBR147
24)
cvs-id.def
ifthen.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 Abreviacoes
cvs-id.def
nbr10522-1988.def 2003/10/13 v1.2 Abreviacoes bibliograficas (NBR10522:1988)
cvs-id.def
abntex-abrev-pt_BR.def 2005/11/14 v1.3 definicao de abntex-abrev, traducao d
e termos en_US/pt_BR
cvs-id.def
abntex-text.sty 2005/11/14 v1.1 abnTeX text replacements
cvs-id.def
abntex-text-pt_BR.def 2005/12/21 v1.2 Definicao de nomes em Portugues/Brasil
(pt_BR)
cvs-id.def
abntex-default-design.sty 2005/06/22 v1.2 Definicoes de design padrao do abn
tex
cvs-id.def
relsize.sty 2003/07/04 ver 3.1
nbr6027-1989.def
nbr14724-2001.def
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
setspace.sty 2000/12/01 6.7 Contributed and Supported LaTeX2e package
mathptmx.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 file
utf8.def 2006/03/30 v1.1i UTF-8 support for inputenc
t1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc
ot1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc
omsenc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc
babel.sty 2008/07/06 v3.8l The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
portuges.ldf 2008/03/18 v1.2q Portuguese support from the babel system
trivfloat.sty 2009/04/23 v1.4 Quick floats in LaTeX
float.sty 2001/11/08 v1.3d Float enhancements (AL)
mdwlist.sty 1996/05/02 1.1 Various list-related things
hyperref.sty 2009/09/23 v6.78v Hypertext links for LaTeX
ifpdf.sty 2009/04/10 v2.0 Provides the ifpdf switch (HO)
ifvtex.sty 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
ifxetex.sty 2009/01/23 v0.5 Provides ifxetex conditional
hycolor.sty 2008/09/08 v1.4 Code for color options of hyperref/bookmark (HO
)
xcolor-patch.sty 2008/09/08 xcolor patch
pd1enc.def 2009/09/23 v6.78v Hyperref: PDFDocEncoding definition (HO)
etexcmds.sty 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
infwarerr.sty 2007/09/09 v1.2 Providing info/warning/message (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty 2009/08/13 v3.4 Keyval support for LaTeX options (HO)
kvsetkeys.sty 2009/07/30 v1.5 Key value parser with default handler support
(HO)
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
bitset.sty 2007/09/28 v1.0 Data type bit set (HO)
intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
bigintcalc.sty 2007/11/11 v1.1 Expandable big integer calculations (HO)
pdftexcmds.sty 2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions (
HO)
ifluatex.sty 2009/04/17 v1.2 Provides the ifluatex switch (HO)
ltxcmds.sty 2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO)
atbegshi.sty 2008/07/31 v1.9 At begin shipout hook (HO)
hpdftex.def 2009/09/23 v6.78v Hyperref driver for pdfTeX
abntcite.sty 2006/04/25 v1.30 Chamadas de referencias no texto (NBR10520, NB
R10522)
cvs-id.def
nbr10520-2002.def 2006/04/25 v1.4 Definicoes para abntcite (NBR10520:2002)
cvs-id.def
abnt-alf.sty 2002/06/24
enumerate.sty 1999/03/05 v3.00 enumerate extensions (DPC)
dsfont.sty 1995/08/01 v0.1 Double stroke roman fonts
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
algorithm2e.sty 2005/10/04 v3.9 algorithms environments
xspace.sty 2006/05/08 v1.12 Space after command names (DPC,MH)
rotating.sty 2009/03/28 v2.16a rotated objects in LaTeX
booktabs.sty 2005/04/14 v1.61803 publication quality tables
array.sty 2005/08/23 v2.4b Tabular extension package (FMi)
pst-text.sty 2006/01/01 package wrapper for pst-text.tex (hv)
pstricks.sty 2004/05/12 v0.2l LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2009/05/19 v1.29 `PSTricks' (tvz)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX
pst-text.tex 2006/11/05 1.00 `pst-text' (tvz)
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
longtable.sty 2004/02/01 v4.11 Multi-page Table package (DPC)
makecell.sty 2009/08/03 V0.1e Managing of Tab Column Heads and Cells
tocloft.sty 2009/09/04 v2.3d parameterised ToC, etc., typesetting
subfig.sty 2005/06/28 ver: 1.3 subfig package
caption.sty 2008/08/24 v3.1j Customizing captions (AR)
caption3.sty 2008/08/24 v3.1j caption3 kernel (AR)
ltcaption.sty 2008/03/28 v1.2 longtable captions (AR)
fancyhdr.sty
ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
nameref.sty 2007/05/29 v2.31 Cross-referencing by name of section
refcount.sty 2008/08/11 v3.1 Data extraction from references (HO)
main.out
main.out
supp-pdf.tex
ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm.
omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm.
omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm.
omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm.
***********
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