]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/latex.mdwn
web commit by http://ptecza.myopenid.com/: * Add my page
[ikiwiki.git] / doc / todo / latex.mdwn
1 How about a plugin adding a
2 [[preprocessor_directive|preprocessordirective]] to render some given LaTeX
3 and include it in the page?  This could either render the LaTeX as a PNG via
4 [[debpkg dvipng]] and include the resulting image in the page, or perhaps
5 render via [HeVeA](http://pauillac.inria.fr/~maranget/hevea/index.html),
6 [TeX2page](http://www.ccs.neu.edu/~dorai/tex2page/tex2page-doc.html), or
7 similar. Useful for mathematics, as well as for stuff like the LaTeX version
8 of the ikiwiki [[/logo]].
9
10 ----
11
12 ikiwiki could also support LaTeX as a document type, again rendering to HTML.
13
14 ----
15
16 Conversely, how about adding a plugin to support exporting to LaTeX?
17
18 >> I did some tests with using Markdown and a customized HTML::Latex and html2latex
19 >> and it appears it will work for me now. (I hope to use ikiwiki for many
20 >> to collaborate on a printed book that will be generated at least once per day in PDF format.)
21 >>
22 >> --JeremyReed
23
24 >>> Have a look at [pandoc](http://code.google.com/p/pandoc/).  It can make PDFs via pdflatex. --[[roktas]]
25
26 ----
27
28 [here](http://ng.l4x.org/gitweb/gitweb.cgi?p=ikiwiki.git/.git;a=blob;f=IkiWiki/Plugin/latex.pm) is a first stab at
29 a latex plugin. Examples [here](http://ng.l4x.org/latex/). Currently without image support for hevea. And the latex2html
30 output has the wrong charset and no command line switch to change that. Dreamland.
31
32
33 [[tag soc]]