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: TeXmacs <address@hidden>
  • To: address@hidden
  • Subject: Re: Export to HTML
  • Date: Wed, 30 Dec 2020 01:17:12 +0100

Hi David,

If you want folding to work from within your Html browser,
then don't forget to add the 'html-fold' package.
It works fine for me, even in the presence of mathematical formulas.
There was just a problem with the size of the bullets, which I just corrected.

Best wishes, --Joris


On Sat, Dec 26, 2020 at 10:53:28PM +0400, David Latreyte wrote:
> 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