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.

If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic PDF.

#79

Originally posted on Trac by gaspard Original Trac Ticket

 Description (Last modified by gaspard)

LateX:

render pdflatex send data inline cache/delete result

XSL-FO parser:



find cached PDF. If found, abort. normal rendering ==> xml content write xml to file find stylesheet path is in the zafu folder run xslt with 'xml' content and stylesheet ==> 'xsl-fo' file run fop ==> PDF cache PDF cleanup

Trac Attachments

Trac Comments

2008-02-22 23:45:06 changed by gaspard

See also #167 latex formulas (latex math).

2008-02-24 22:58:24 changed by gaspard

If the pdf rendering is too much work for the server, we could use a two file caching scheme:

First file is rendered with user+groups authentication ---> personal version name u345.chs93h.png (user 345) Second file is rendered with read group auth. only ---> group version (simplified rights) name g685.chs93h.png (group 685)

With this in place, logged in users get a cached copy. Anonymous users get the 'group' version if the read group is 'public'.

The only difference with render on each view is that included nodes might not reflect what a specific user would see. This could be an issue if the users edit a document (each one edits a chapter) and they want to check their work as pdf .

2008-02-25 09:33:56 changed by gaspard

status changed from new to assigned.

description changed.

summary changed from Send zafu rendered latex templates to pdflatex if the format is 'pdf' to If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic PDF..

status changed from new to assigned.

description changed.

summary changed from Send zafu rendered latex templates to pdflatex if the format is 'pdf' to If a template output format is 'pdf' use LateX or XSL-FO to generate dynamic PDF..

2008-02-25 09:56:49 changed by gaspard

description changed.

description changed.





2008-02-25 10:11:04 changed by gaspard

Replying to gaspard:

If the pdf rendering is too much work for the server, we could use a two file caching scheme:

  • First file is rendered with user+groups authentication ---> personal version name u345.chs93h.png (user 345)
  • Second file is rendered with read group auth. only ---> group version (simplified rights) name g685.chs93h.png (group 685)

File names should be u345.pdf and g685.pdf inside node asset (no need for hash).

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 assigned 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 assigned 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:03 PM

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