Ruby Forum Redcloth > to_latex

Posted by Gaspard Bucher (gazoduc)
on 27.02.2008 07:38
Attachment: to_latex.patch (8,3 KB)
(Received via mailing list)
Hi there !

I needed a 'to_latex' implementation to generate PDF in zena (a CMS
http://zenadmin.org) through LaTeX.

Here is a first draft for a 'to_latex' implementation.

There are some issues with tables, footnotes but the biggest issue is
character escaped to their html entities (’). I have just
started writing the tests. More to come soon.

I will try to find a way to fix this without modifying too much of
SuperRedCloth.

(the patch applies on SR rev 245).

Gaspard
Posted by Jason Garber (Guest)
on 27.02.2008 15:59
(Received via mailing list)
Could you post this as a ticket on http://code.whytheluckystiff.net/
redcloth/newticket?  You must create a RubyForge account and give
yourself access at http://code.whytheluckystiff.net/access/

I'd like to have different formatters for XHTML and HTML, too, so
yeah, SRC should be as formatter-agnostic as possible.
Posted by Gaspard Bucher (gazoduc)
on 27.02.2008 18:16
(Received via mailing list)
Done ! http://code.whytheluckystiff.net/redcloth/ticket/35

(I added the code to fix the html entities escaping problem).

2008/2/27, Jason Garber <jg@jasongarber.com>: