Skip to content
This repository

Write LaTeX-formatted documents using J evaluation

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 doc
Octocat-spinner-32 extra
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 jdoc.ijs
Octocat-spinner-32 jlatex
Octocat-spinner-32 jlatex.ijs
Octocat-spinner-32 opdata.ijs
README
This is JtoLaTeX, a compiler which writes LaTeX files using J evaluation
for the hard bits.

This project aims to be extensible, and to interface well with J.
A natural corollary of this behavior will be a particularly powerful
formatting language.

The script jlatex can be run on a document, and will compile it to a
.tex document and then run pdflatex on that.

To install,
$ cd ~user/
$ git clone git://github.com/mlochbaum/JtoLaTeX.git
# ln -s JtoLaTeX/jlatex /usr/bin/jlatex
where ~user is given by
   jpath '~user'
in J.

Documents are written in LaTeX, except that a section enclosed in an
escape like \L() will be executed according to the verb L_pjdoc_ in
jdoc.ijs. In particular, L converts a J expression into an "equivalent"
LaTeX expression, sending '2+^~<:5' to '2+(5-1)^{5-1}', for example.

This allows you to do many J things in LaTeX, like computations, tables,
and plots.

See doc/introduction for some (not very extensive) guidance and examples
of JtoLaTeX code.

Handling of built-in functions can be configured in opdata.ijs, and
functionality can be added by writing a script in the extra folder.

This version includes the filepath '~user/JtoLaTeX/' in the file jlatex,
which must be changed if you want to install somewhere else.
Something went wrong with that request. Please try again.