<p class="detailed">Replacing those lines by
<center>
<div class="detailed">solves the problem.
<center>
Le 26 déc. 2020 à 1:53 PM, David Latreyte <address@hidden> a écrit :Good morning all,
I discovered a strange behavior when I export a document to the html format. If I use a fold / unfold environment, everything works normally... until that environment contains a math _expression_ (the equation is always visible and never hided).
The attached pdf tries to accurately describe the problem and the code below is the generated html.
Have you ever encountered such a problem?
Best regards
<div class="switchable" style="margin-left: 38.660688007188px">
<p class="always">
<font class="summary-button container" style="float: left; text-align: right; min-width: 2.5em; margin-left: -3em; margin-right: 0.5em">\(\bullet\)</font><font class="detailed-button container" style="float: left; text-align: right; min-width: 2.5em; margin-left: -3em; margin-right: 0.5em">\(\circ\)</font><strong>Solution</strong>
</p>
<p class="detailed">
_expression_ du travail lorsque la force n'est pas constante :
</p>
<p class="detailed">
<center>
\(\displaystyle W_{A B} (\vec{F}) = \int_A^B \vec{F} \cdot
\mathrm{d} \vec{\ell}\)
</center>
</p>
<p class="detailed">
où \(\mathrm{d} \vec{\ell}\) est un déplacement
élementaire sur la trajectoire.
</p>
</div>
————
David Latreyte
address@hidden
<TeXmacs.pdf>
Archive powered by MHonArc 2.6.19.