View Single Post
Old 09-16-2009, 10:29 AM   #27
ahi
Wizard
ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.
 
Posts: 1,790
Karma: 507333
Join Date: May 2009
Device: none
Quote:
Originally Posted by Jellby View Post
Yes, it is. The rest is only checking the files exist and passing options to prince. The script boils down to:

Code:
prince -s default.css -s bookstyle.css -o output.pdf Cover.xhtml Chapter-01.xhtml Chapter-02.xhtml ...
after uncompressing the .epub and getting the correct names and paths for all these filenames.
Can you post what attributes of what tags need to be pulled? Or ought it be obvious from your source even if I have no in-depth knowledge of your choice of scripting language?

- Ahi
ahi is offline   Reply With Quote