This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Anton Tayanovskyy (author)
Sat Jul 04 10:08:30 -0700 2009
texmi /
README.markdown
texmi
TeX math inliner is an adaptation of texvc (TeX validator and
converter) as a shell filter. The idea is to take some XHTML on the
input with math formulas encoded as <EQ>\frac{1}{2}</EQ> and replace
these formulas with texvc output (either as img tags with inline PNG
base64 data, or as HTML).
As an added benefit, texmi inlines <img> tags when it finds them on
the local machine.
Synopsis
cat input.xml | texmi
texmi input.xml
texmi input.xml /tmp/texmi
Building
Requirements:
- Objective CAML
- pxp
- extlib
- LaTeX
On Ubuntu:
# apt-get install ocaml libpxp-ocaml-dev \
libextlib-ocaml-dev mediawiki-math
To build the texmi native executable, run make.
Copying
texmi is made available under the GPL terms (see COPYING).
This is a derivative work containing the modified code of the texvc
(TeX Validator and Converter) tool distributed with Mediawiki. From
the original README:
The MediaWiki software was written by:
* Lee Daniel Crocker
* Magnus Manske
* Jan Hidders
* Brion Vibber
* Axel Boldt
* Geoffrey T. Dairiki
* Tomasz Wegrzanowski
* Erik Moeller
* Tim Starling
* Gabriel Wicke
* Ashar Voultoiz
* Evan Prodromou
* Ævar Arnfjörð Bjarmason
* Niklas Laxström
* Domas Mituzas
* Rob Church
* Jens Frank
* Several others
The contributors hold the copyright to this work, and it is
licensed under the terms of the GNU General Public License,
version 2 or later[1] (see
http://www.fsf.org/licenses/gpl.html). Derivative works and later
versions of the code must be free software licensed under the same
terms. This includes "extensions" that use MediaWiki functions or
variables; see
http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins for
details.
The Wikimedia Foundation currently has no legal rights to the
software.








