[daisy] Equations how-to needed...

Bruno Dumon bruno at outerthought.org
Mon Oct 1 10:11:24 CDT 2007


On Mon, 2007-10-01 at 06:59 -0700, Etienne Beaule wrote:
> Hello all,
> 
> I searched the web and this mailing list and it looks like some people
> were able to modify daisy so that you can work with latex-style
> equations.

Indeed, unfortunately they never shared their code.

>  I would very much need this feature and was wondering if there is a
> step-by-step guide to get this to work in books, PDFs and HTML (wiki)
> versions of the documents.
> 
> Any help would be greatly appreciated...

As far as rendering in HTML is concerned, a while ago I found this
jsMath library:

http://www.math.union.edu/~dpvc/jsMath/
(examples:
http://www.math.union.edu/~dpvc/jsMath/examples/welcome.html )

which basically turns the rendering of the equations into a client-side
issue (just check out the source of those pages).

For the PDFs, the rendering would still need to happen on the server.
For this, see the thread titled "Incorporate equations in daisy wiki"
form March 2006:

http://lists.cocoondev.org/pipermail/daisy/2006-March/thread.html

which suggests to render the equations as bitmaps. Ideally they would be
embedded as vector graphics, but embedding PDF graphics is not supported
by our PDF renderers.

None of this is a simple "how-to", but maybe it can help you get
started.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list