#79 ✓resolved
Gaspard Bucher

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

Reported by Gaspard Bucher | September 3rd, 2008 @ 03:03 PM | in 1.0

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 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 (8). Implemented pdf generation from LateX templates (needs pdflatex) and from xsl-fo templates. Closes #79 (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 (8). Implemented pdf generation from LateX templates (needs pdflatex) and from xsl-fo templates. Closes #79 (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, #79.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Anyone knows how to use formatting here ?

Git repository: http://github.com/zena

Official website: http://zenadmin.org

Shared Ticket Bins

People watching this ticket

Referenced by

Pages