[l2h] Incompatibility between french.sty and html.sty

taupin taupin <taupin@lps.u-psud.fr>
Thu, 31 Aug 2000 21:53:16 +0200


 Style french.sty (de BG, version 5,00 de décembre 1999) and html.sty
are not compatible. Here is the:

C:\TAUPIN\FFM\ENVIRONT>tex386 -mt25000 -mf80000 -ma200 -ms4000 "&latex"
\renewc$
This is emTeX (tex386), Version 3.14159 [4b] (no format preloaded)
**&latex \renewcommand\encodingdefault{T1} \input tttt1
LaTeX2e <1999/12/01> patch level 1
(tttt1.tex (d:/emtex/texinput/latex2e/article.cls
Document Class: article 1998/05/05 v1.3y Standard LaTeX document class
(d:/emtex/texinput/size10.clo)) (d:/emtex/texinput/french/french.sty

 -23- Extension : style french V4,05b -- 18 fevrier 1999 -- (B.Gaulle)
 -24- french.sty utilise dans ce document le codage de fonte T1.
 -25- french.sty affiche ici ses messages en 7-bits << \`a la TeX >>.

(d:/emtex/texinput/latex2e/latexsym.sty)
(d:/emtex/texinput/french/fenglish.sty
)) (html.sty) (tttt1.aux)

! LaTeX Error: Command \c@chapter already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.3 \begin{document}

?
(d:/emtex/texinput/ulasy.fd)

LaTeX Warning: No \author given.

[1] (tttt1.aux) )
Output written on tttt1.dvi (1 page, 392 bytes).

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

Explanation: french.sty delays all its definitions until the
\begin{document} instead of doing them at à \usepackage{french}

Unfortunately, inbetween, html.sty did the following:

------------------------------------------------------------------------------
%
%  Allocate a new set of section counters, which will get incremented
%  for "*" forms of sectioning commands, and for a few miscellaneous
%  commands.
%

\@ifundefined{c@part}{\newcounter{part}}{}%
\newcounter{lpart}
\newcounter{lchapter}[part]
\@ifundefined{c@chapter}%
 {\let\Hchapter\relax \newcounter{chapter}\let\thechapter\relax
  \newcounter{lsection}[part]}%
 {\let\Hchapter=\chapter \newcounter{lsection}[chapter]}
\newcounter{lsubsection}[section]
\newcounter{lsubsubsection}[subsection]
\newcounter{lparagraph}[subsubsection]
\newcounter{lsubparagraph}[paragraph]
%\newcounter{lequation}

------------------------------------------------------------------------
 Latex2html users and french.sty uses will respond:

  A- french.sty is bas since it postpones its declarations to
\begin{document}
  B- since html.sty makes french.sty crash, it means that html.sty is
faulty.

(Note that this trouble happens since one year, old versions have nor
reference to c@chapter.


- 

------------------------------------------------------------------------
  Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY
  E-mail= mailto:taupin@lps.u-psud.fr
  Tél: (33)1.69.15.60.79, Fax: (33)1.69.15.60.86, home/fax:
(33)1.60.10.26.44

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