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.

Are page breaks really irrelevant for html? In a lot of cases it would
be nice to not have one enormous toilet-paper roll of hundreds of KB
of HTML but smaller, more digestible chunks, at least for readers'
sakes if not for servers' and bandwidth's.

On the other hand, if the document has section boundaries and the
sections aren't too large, the section boundaries might be the better
choices to use as HTML page boundaries.

-- 
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