Skip to Content.
Sympa Menu

texmacs-users - Re: Export to HTML

Subject: mailing-list for TeXmacs Users

List archive

Re: Export to HTML


Chronological Thread 
  • From: David Latreyte <address@hidden>
  • To: address@hidden
  • Subject: Re: Export to HTML
  • Date: Sat, 26 Dec 2020 22:53:28 +0400

Hello again,

I found that the problem comes from this part:
<p class="detailed">
       <center>
Replacing those lines by
<div class="detailed">
       <center>
solves the problem.

Unfortunately I don’t know enough of scheme to change the behavior of TeXmacs. I’ll have to change the final html file.

Best regards.
————
David Latreyte
address@hidden




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&ugrave; \(\mathrm{d} \vec{\ell}\) est un d&eacute;placement
       &eacute;lementaire sur la trajectoire.
     </p>
   </div>
————
David Latreyte
address@hidden



<TeXmacs.pdf>




Archive powered by MHonArc 2.6.19.

Top of Page