Discussion:
CTAN Update: babel-french
(too old to reply)
CTAN Announcements
2017-07-12 17:57:00 UTC
Permalink
Raw Message
Daniel Flipo submitted an update to the

babel-french

package.

Version: 3.3b 2017-07-08
License: lppl1.3

Summary description: Babel contributed support for French

Announcement text:
----------------------------------------------------------------------

Internal change: the main support for French is now in file
french.ldf; portemanteau files frenchb.ldf, francais.ldf,
acadian.ldf, canadien.ldf have been added.
This change is meant for Babel's future releases, but frenchb
v3.3b still works with current Babel (v3.12).

Recommended options to use with Babel are *french* or *acadian*
(for Canadian French currently identical to French), all others
are *deprecated*.

----------------------------------------------------------------------

The package’s Catalogue entry can be viewed at
https://ctan.org/pkg/babel-french

The package’s files themselves can be inspected at
http://mirror.ctan.org/macros/latex/contrib/babel-contrib/french/

------------------------------------------------------------------------

Thanks for the upload.

For the CTAN Team
Petra Rübe-Pugliese

------------------------------------------------------------------------

We are supported by the TeX users groups.
Please join a users group; see https://www.tug.org/usergroups.html .
m***@gmail.com
2017-07-14 18:01:37 UTC
Permalink
Raw Message
Post by CTAN Announcements
Daniel Flipo submitted an update to the
babel-french
package.
Version: 3.3b 2017-07-08
License: lppl1.3
Summary description: Babel contributed support for French
----------------------------------------------------------------------
Internal change: the main support for French is now in file
french.ldf; portemanteau files frenchb.ldf, francais.ldf,
acadian.ldf, canadien.ldf have been added.
This change is meant for Babel's future releases, but frenchb
v3.3b still works with current Babel (v3.12).
Recommended options to use with Babel are *french* or *acadian*
(for Canadian French currently identical to French), all others
are *deprecated*.
----------------------------------------------------------------------
The package’s Catalogue entry can be viewed at
https://ctan.org/pkg/babel-french
The package’s files themselves can be inspected at
http://mirror.ctan.org/macros/latex/contrib/babel-contrib/french/
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Petra Rübe-Pugliese
------------------------------------------------------------------------
We are supported by the TeX users groups.
Please join a users group; see https://www.tug.org/usergroups.html .
This release seems to be broken. This latex file:

\documentclass{article}
\usepackage[french]{babel}
\begin{document}
test
\end{document}

gives multiple errors. The first one is:

! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.3201 \GOfrench
\let\GOfrench\relax%
Ulrike Fischer
2017-07-14 19:10:49 UTC
Permalink
Raw Message
Am Fri, 14 Jul 2017 11:01:37 -0700 (PDT) schrieb
Post by m***@gmail.com
\documentclass{article}
\usepackage[french]{babel}
\begin{document}
test
\end{document}
! Undefined control sequence.
\or \def \BabelLower ##1##...
l.3201 \GOfrench
\let\GOfrench\relax%
Works fine for me after todays update of texlive 2017. Can you show
your log-file?
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
m***@gmail.com
2017-07-15 17:08:02 UTC
Permalink
Raw Message
Post by Ulrike Fischer
Works fine for me after todays update of texlive 2017. Can you show
your log-file?
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
Here it is:

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350) (preloaded format=latex 2017.7.14) 14 JUL 2017 13:46
entering extended mode
**./LaTeX1.tex
(LaTeX1.tex
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\***@part=\count79
\***@section=\count80
\***@subsection=\count81
\***@subsubsection=\count82
\***@paragraph=\count83
\***@subparagraph=\count84
\***@figure=\count85
\***@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) ("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.sty"
Package: babel 2017/06/29 3.12 The Babel package

("C:\Program Files\MiKTeX 2.9\tex\generic\babel\switch.def"
File: switch.def 2017/06/29 3.12 Babel switching mechanism
)
*************************************
* Local config file bblopts.cfg used
*
("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\latex\arabi\bblopts.cfg"
File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of babel
)
("C:\Program Files\MiKTeX 2.9\tex\generic\babel-french\frenchb.ldf"
Language: frenchb 2017/07/08 v3.3b French support from the babel system

("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\latex\frenchle\french.ldf"
File: french.ldf 2006/09/28 v1.14 french option of babel loading the frenchle/FrenchPro package

("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\generic\e-french\french.sty"
("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\latex\msg\msg.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2015/03/17 v1.2c Input encoding file
\***@prehook=\toks14
\***@posthook=\toks15
)
\@inputmsg=\read1
Package: msg 2006/11/09 chargement de l'extension de localisation (V0.50).
)
Package: french 2007/06/28 The e-french package /V6,0/
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def"
File: babel.def 2017/06/29 3.12 Babel common definitions

("C:\Program Files\MiKTeX 2.9\tex\generic\babel\switch.def"
File: switch.def 2017/06/29 3.12 Babel switching mechanism
)
\***@savecnt=\count87
\***@D=\dimen103
)

-29- ***Attention*** : le moteur TeX en utilisation avec des fontes CM
(comme dans ce format TeX) est insuffisant pour la césure
des mots accentués (comme en français).
\@FrDimen=\dimen104

-23- Extension : e-french V6,0 -- 30 octobre 2015 -- (B.Gaulle)
-24- french.sty utilise dans ce document le codage de fonte OT1.
-25- french.sty affiche ici ses messages en 7-bits << à la TeX >>.

("C:\Program Files\MiKTeX 2.9\tex\latex\base\latexsym.sty"
Package: latexsym 1998/08/17 v2.2e Standard LaTeX package (lasy symbols)
\symlasy=\mathgroup4
LaTeX Font Info: Overwriting symbol font `lasy' in version `bold'
(Font) U/lasy/m/n --> U/lasy/b/n (voir le source, ligne 52).
) ("C:\Program Files\MiKTeX 2.9\tex\latex\base\ulasy.fd"
File: ulasy.fd 1998/08/17 v2.2e LaTeX symbol font definitions
)
LaTeX Font Info: Redeclaring font encoding T1 (voir le source, ligne 608).

("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\generic\e-french\fenglish.sty"
File: fenglish.sty 2004/06/23 english interface for the french(le/pro) package
)
Package french Info: Initialisation de l'option french pour Babel (voir le source, ligne 3200).
\***@chapter=\count88
\@FrCount=\count89


french.sty : -48- Lecture du fichier de configuration de e-french (\`a la ligne 3201).
("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\generic\e-french\french.cfg")
! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.3201 \GOfrench
\let\GOfrench\relax%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.3201 \GOfrench
\let\GOfrench\relax%
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

)))) (LaTeX1.aux
! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.5 \***@language{french}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.5 \***@language{french}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.9 \***@language{french}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.9 \***@language{french}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

)
\openout1 = `LaTeX1.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it (voir le source, ligne 5).
LaTeX Font Info: ... okay (voir le source, ligne 5).
LaTeX Font Info: Checking defaults for T1/lmr/m/n (voir le source, ligne 5).
LaTeX Font Info: Try loading font information for T1+lmr (voir le source, ligne 5).
("C:\Program Files\MiKTeX 2.9\tex\latex\lm\t1lmr.fd"
File: t1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: ... okay (voir le source, ligne 5).
LaTeX Font Info: Checking defaults for OT1/cmr/m/n (voir le source, ligne 5).
LaTeX Font Info: ... okay (voir le source, ligne 5).
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n (voir le source, ligne 5).
LaTeX Font Info: ... okay (voir le source, ligne 5).
LaTeX Font Info: Checking defaults for OMX/cmex/m/n (voir le source, ligne 5).
LaTeX Font Info: ... okay (voir le source, ligne 5).
LaTeX Font Info: Checking defaults for U/cmr/m/n (voir le source, ligne 5).
LaTeX Font Info: ... okay (voir le source, ligne 5).

! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.5 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.5 \begin{document}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

[1

] (LaTeX1.aux
! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.5 \***@language{french}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.5 \***@language{french}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Undefined control sequence.
\***@switch ...xtras}{}\ifcase \***@opt@hyphenmap
\or \def \BabelLower ##1##...
l.9 \***@language{french}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.9 \***@language{french}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

) )
Here is how much of TeX's memory you used:
2046 strings out of 493319
23251 string characters out of 3138977
87818 words of memory out of 3000000
5623 multiletter control sequences out of 15000+200000
3640 words of font info for 14 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
31i,4n,29p,247b,433s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on LaTeX1.dvi (1 page, 236 bytes).
Michael Shell
2017-07-16 02:31:46 UTC
Permalink
Raw Message
On Sat, 15 Jul 2017 10:08:02 -0700 (PDT)
Post by m***@gmail.com
french.sty : -48- Lecture du fichier de configuration de e-french (\`a la ligne 3201).
("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\generic\e-french\french.cfg")
! Undefined control sequence.
Martin,

Well, that directory is not the same as your main tree "C:\Program Files\MiKTeX 2.9\tex.."
where babel resides. Watch out for sync issues between the two trees.
Post by m***@gmail.com
("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\latex\frenchle\french.ldf"
File: french.ldf 2006/09/28 v1.14 french option of babel loading the frenchle/FrenchPro package
Package: french 2007/06/28 The e-french package /V6,0/
Maybe your e-french pacakge also needs to be updated. That package sure plays
some strange rewritting games with the version numbers in french.sty:


{\catcode`\@=11{%
\ifx\@***@protect\undefined\let\protect\empty%
\else\let\protect\@***@protect%
\fi%
\xdef\FSfd{30 octobre 2015}% eFrench
\xdef\FSfv{V6,0}%
\xdef\frenchstyleid{\FSfv\space-- \FSfd\space --}%
}}%
\edef\FSfd{2007/06/28 }%
.
.

\ProvidesPackage{\frenchname}%
[\FSfd\space The \frenchpack\space package /\FSfv/]%
}%


Anyway, maybe you are seeing variation of this problem which was supposed to
be fixed a year ago:

https://tex.stackexchange.com/questions/262358/texlive-2015-error-when-using-french-options-with-texstudio

what happens when you put an empty french.cfg in your document directory
and/or load babel with the noconfigs option?


Cheers,

Mike
m***@gmail.com
2017-07-16 20:48:54 UTC
Permalink
Raw Message
Post by Michael Shell
what happens when you put an empty french.cfg in your document directory
and/or load babel with the noconfigs option?
Cheers,
Mike
It doesn't change anything. Anyway I uninstalled and re-installed Miktex and I still have the same problem so it must be a Miktex bug.
Ulrike Fischer
2017-07-16 21:15:34 UTC
Permalink
Raw Message
Am Sun, 16 Jul 2017 13:48:54 -0700 (PDT) schrieb
Post by m***@gmail.com
It doesn't change anything. Anyway I uninstalled and re-installed
Miktex and I still have the same problem so it must be a Miktex
bug.
The problem is that miktex contains the (obsolete) frenchle package
and this clashed with babel-french.

Deinstall frenchle (probably with the user package manager, but
perhaps also with the admin version).
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
m***@gmail.com
2017-07-17 01:43:41 UTC
Permalink
Raw Message
Post by Ulrike Fischer
The problem is that miktex contains the (obsolete) frenchle package
and this clashed with babel-french.
Deinstall frenchle (probably with the user package manager, but
perhaps also with the admin version).
Ok that did it! Thanks a lot.

Javier Bezos
2017-07-16 09:06:33 UTC
Permalink
Raw Message
Post by m***@gmail.com
("C:\Users\Martin et Geneviève\AppData\Roaming\MiKTeX\2.9\tex\latex\frenchle\french.ldf"
File: french.ldf 2006/09/28 v1.14 french option of babel loading the frenchle/FrenchPro package
This is an old version of french.ldf, which was included in frenchle
long ago, but eventually removed a couple of years ago, iirc. You must
uninstall it.

Javier
Michael Shell
2017-07-14 21:43:02 UTC
Permalink
Raw Message
On Fri, 14 Jul 2017 11:01:37 -0700 (PDT)
Post by m***@gmail.com
! Undefined control sequence.
Accoding to Google, there are only a handful of files where there is any
mention of \***@opt@hyphenmap:

texmf-dist/tex/generic/babel/plain.def, switch.def and babel.def
(and mayber babel.sty under the lines \DeclareOption{hyphenmap ...)

and switch.def is where the error is happening.

I note from here:

http://mirror.unl.edu/ctan/macros/latex/required/babel/base/babel.dtx

"\changes{babel~3.9a}{2012/08/11}{Now switch.def is loaded always, so
that there is no need to rebuild formats just to update babel"

and

"\changes{babel~3.9t}{2017/04/28}{Renamed \cs{***@hymapopt} to
\cs{***@opt@hyphenmap} for consistency}


So, when updating (also *from*?) versions of babel prior to 3.9a, you
have to rebuild your format files (and I would also rerun texhash before
doing that just to be sure):

http://texblog.net/latex-archive/distributions/babel-update-miktex/

If that does not fix it, manually verify your system babel files (in
texmf-dist/tex/generic/babel/) especially babel.sty, babel.def, plain.def
and switch.def are indeed of the new version.



Cheers,

Mike Shell
m***@gmail.com
2017-07-15 17:15:50 UTC
Permalink
Raw Message
Post by Michael Shell
Accoding to Google, there are only a handful of files where there is any
texmf-dist/tex/generic/babel/plain.def, switch.def and babel.def
(and mayber babel.sty under the lines \DeclareOption{hyphenmap ...)
and switch.def is where the error is happening.
http://mirror.unl.edu/ctan/macros/latex/required/babel/base/babel.dtx
"\changes{babel~3.9a}{2012/08/11}{Now switch.def is loaded always, so
that there is no need to rebuild formats just to update babel"
and
So, when updating (also *from*?) versions of babel prior to 3.9a, you
have to rebuild your format files (and I would also rerun texhash before
http://texblog.net/latex-archive/distributions/babel-update-miktex/
If that does not fix it, manually verify your system babel files (in
texmf-dist/tex/generic/babel/) especially babel.sty, babel.def, plain.def
and switch.def are indeed of the new version.
Cheers,
Mike Shell
The system babel files are ok. I also tried to update fndb and rebuild format files but it did not change anything.
Loading...