Forum: Redcloth to_latex

Posted by Gaspard Bucher (gazoduc)
on 2008-02-27 07:38
Attachment: to_latex.patch (8,27 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 2008-02-27 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 2008-02-27 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>:
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.