Subject: mailing-list for TeXmacs Users
List archive
From : "chu-ching huang" <address@hidden>- To: address@hidden
- Subject: [TeXmacs] TeXmacs and HTML export
- Date: Tue, 24 Aug 2010 18:34:02 +0800
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
- [TeXmacs] TeXmacs and HTML export, chu-ching huang, 08/24/2010
- Re: [TeXmacs] TeXmacs and HTML export, Offray Vladimir Luna Cárdenas, 08/29/2010
- Re: [TeXmacs] TeXmacs and HTML export, Thiago Mosqueiro, 08/29/2010
- Re: [TeXmacs] TeXmacs and HTML export, chu-ching huang, 08/31/2010
- Re: [TeXmacs] TeXmacs and HTML export, chu-ching huang, 08/31/2010
- Re: [TeXmacs] TeXmacs and HTML export, Thiago Mosqueiro, 08/29/2010
- Re: [TeXmacs] TeXmacs and HTML export, Offray Vladimir Luna Cárdenas, 08/29/2010
Archive powered by MHonArc 2.6.19.