mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] TeXmacs and HTML export


Chronological Thread 
  • From: Thiago Mosqueiro <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] TeXmacs and HTML export
  • Date: Sun, 29 Aug 2010 11:58:32 -0300
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=oO4equf5CoK13vve6XsJm8ub/vIOGDQ+GEOhyISUneHXfmW/2U4dAI2PaWZKmBJGRZ IlBcnLDAernPaadGnZSsWzZ6VXj9UbVtFutXeY8q7JQqZKumhwIsR2iY1VA2YM4AEgYu 8jV+OEXzz6r58en+pvJEJj/NBpmk2dkWDRdNs=

Hi, Chu-Ching,
thanks a lot for telling us about MathJax. I have been searching the internet for examples and it seems that the quality of the final formulas are amazingly good. But I could not find any in-line equation, is it possible? does it work well?
Best,
Thiago

On 28 August 2010 22:38, Offray Vladimir Luna Cárdenas <address@hidden> wrote:
 Hi Chu-Ching,

Thanks for the tips on html redering and Mathjax. The url you posted requieres login. Do you have a more readable example?

Cheers,

Offray

El 24/08/10 05:34, chu-ching huang escribió:

Hi,

If you are not satisfied the export html direct from TeXmacs. Here maybe a
solution:

1. install Mathjax: a _javascript_ engine for latex/MathML that works for almost
browsers.

2. export TeXmacs source in LaTeX format;

3. Copy/Paster to a html as follows:

...
   <script src=""SomeWhere/MathJax.js"" type="text/_javascript_">
    MathJax.Hub.Config({jax: ["input/TeX", "output/HTML-CSS"],
        delayStartupUntil: "onload"
    });
</script>
   ...
   <body>

       """LaTex Contents of here"""
   </body>

4. Some modification needed, for instance:
   a) tmop{} --->  text{}
   b)
   Equations environment can be replaces the following:

   <br />
   \[
   begin{matrix}
                    .....
   \end{matrix}
   \]
   <br />

Here is the example I made:

http://diffusion.cgu.edu.tw/moodle/mod/resource/view.php?id=499


In this demo, another _javascript_, jQuery, is used to simulated "fold" effect
in TeXmacs.

Enjoy,

cch








Archive powered by MHonArc 2.6.19.

Top of page