On Sun, Apr 22, 2012 at 3:33 AM, David Jagoe <davidja...@gmail.com> wrote:
> On 21 April 2012 14:41, Dan Cross <cro...@gmail.com> wrote:
>> On Sat, Apr 21, 2012 at 6:20 AM, David Jagoe <davidja...@gmail.com> wrote:
>> > Can anybody tell me whether wkhtmltopdf or flying-saucer deal with
>> > pagination properly? I've been templating TeX to get properly laid out
>> > tables broken over multiple pages. But of course I'd much rather just
>> > generate the PDFs from the HTML that I am already maintaining.
>>
>> Somewhat tangential, but why not generate HTML from TeX?
>
> Are there existing tools for doing that? My current approach is to have a
> single markup language (looks like hiccup) that is a superset of
> (html-hiccup + pdf-hiccup) that can translate to html-hiccup and pdf-hiccup
> for final rendering. When doing the translation any irrelevant tags (e.g.
> page breaks for html) are suitably ignored. I suppose if one was to choose
> html -> tex or tex -> html then the latter may be better in my situation
> because the tex has richer layout semantics.

Quite a few, I think, though of varying levels of quality.  I haven't
looked at many in several years, but from doing a quick search, I'm
seeing:

http://enc.com.au/docs/latexhtml/
http://static.usenix.org/events/samples/conversion.html

...and so forth.  Also, for embedding math in HTML, I've got to admit
that I think that MathJax (http://www.mathjax.org/) is just the way to
go (one can embed LaTeX style equations in HTML elements which are
then dynamically rendered in the browser using JavaScript).

Your mileage may vary of course, depending on the specifics of your
application.  Best of luck!

        - Dan C.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to