Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

latex formulas

#167

Originally posted on Trac by gaspard Original Trac Ticket

 Description

let the user add a 'latex' mode in an article:


blah blah blah blah blah.
\[
\phi = 3x
\]

or

blah blah
[math]
\phi = 3x
[/math]

I prefer the second version (easier to parse).

The text is replaced by an image. The images are rendered like other images with names like page38.m1.png (node 38, first math element).

All images are created when rendering the first time. They are cached when viewed (visited nodes = node 38).

Delete produced latex content on version update (change state, publish, unpublish, etc).

Trac Attachments

Trac Comments

2008-02-22 23:44:39 changed by gaspard

See also #79 If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic ... (latex to generate PDF).

2008-02-24 22:51:21 changed by gaspard

When parsing text with zazen, use public (cached) image if the file exists. (ApplicationHelper?, line 305).

2008-02-25 17:16:02 changed by gaspard

(In [883]) Implemented [math] mode to write math with LateX (see README for required libraries). Closes #167 latex formulas (8). Implemented pdf generation from LateX templates (needs pdflatex) and from xsl-fo templates. Closes #79 If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic ... (8).

hours set to 8.0.

status changed from new to closed.

resolution set to fixed.

totalhours changed from 0.0 to 8.0.

(In [883]) Implemented [math] mode to write math with LateX (see README for required libraries). Closes #167 latex formulas (8). Implemented pdf generation from LateX templates (needs pdflatex) and from xsl-fo templates. Closes #79 If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic ... (8).

hours set to 8.0.

status changed from new to closed.

resolution set to fixed.

totalhours changed from 0.0 to 8.0.

2008-02-27 23:25:57 changed by gaspard

(In [887]) Fixed some executable paths in order to have pdf/math generation work on debian. Refs #167 latex formulas, #79 If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic ....

Reported by Gaspard Bucher · September 3rd, 2008 @ 03:18 PM

State: resolved
Milestone: 1.0
Assigned to: Gaspard Bucher Gaspard Bucher