Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] TeXmacs and HTML export

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] TeXmacs and HTML export


Chronological Thread 
  • From: Offray Vladimir Luna Cárdenas <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] TeXmacs and HTML export
  • Date: Sat, 28 Aug 2010 20:38:49 -0500

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