Re: [Ilugc] Need help - HTML to PDF with Custom Fonts
> If processing text to HTML/PDF is an acceptable option, there are > > tools like AsciiDoctor[1] that are wonderful. It allows you to generate > HTML, PDF, EPUB etc. from marked up plain text. And the mark up very > simple, it doesn't come in the way of content creation. It is a free > software release under MIT license. You can give it a try. Thanks > > > [1] http://asciidoctor.org/ As far as I know, asciidoc related tools wont work for unicode text. We get the html file from pressbooks.com as https://ia801504.us.archive.org/29/items/ManaosaiShortStories/Manaosai-short-stories.html looking for a solution to convert this to A4 pdf and B7 size( 6 inch, 9cm x 12 cm) via command line. -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : http://FreeTamilEbooks.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] Need help - HTML to PDF with Custom Fonts
> I have just released a XeTeX book template (under MIT license) to > generate PDF from Emacs org-mode (plain text). > > https://github.com/shakthimaan/xetex-book-template > Nice. Pressbooks is not giving Tex kind of output. But it gives a xhtml file. See a sample here : https://ia801504.us.archive.org/29/items/ManaosaiShortStories/Manaosai-short-stories.html Is it possible to convert this file to A4 pdf and 6 inch PDF (9cm x 12 cm) automatically ? Thanks. -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : http://FreeTamilEbooks.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] Need help - HTML to PDF with Custom Fonts
Hi, --- On Sat, Feb 13, 2016 at 5:36 AM, Shrinivasan Twrote: | Is it possible to convert this file to A4 pdf and 6 inch PDF (9cm x 12 cm) | automatically ? \-- You are confusing content and presentation. I already mentioned this to you earlier [1] that you need to get the content in plain text format. Later, you have the option of generating the book in any format for any medium. Converting to a specific format may or may not fully solve your current problem, but, it will not scale! SK [1] http://www.ae.iitm.ac.in/pipermail/ilugc/2015-July/082579.html -- Shakthi Kannan http://www.shakthimaan.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] Need help - HTML to PDF with Custom Fonts
Hi Shrini On Sat, Feb 6, 2016 at 2:30 AM, Shrinivasan Twrote: > > Looking for a solution to automate the process of converting XHTML to A4 > and B7 size PDFs so that we add a web interface, host in server, ask > authors to upload epub or xhtml file to get PDF files as outputs. > > If processing text to HTML/PDF is an acceptable option, there are tools like AsciiDoctor[1] that are wonderful. It allows you to generate HTML, PDF, EPUB etc. from marked up plain text. And the mark up very simple, it doesn't come in the way of content creation. It is a free software release under MIT license. You can give it a try. Thanks [1] http://asciidoctor.org/ -- Thank you Balachandran Sivakumar ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] Need help - HTML to PDF with Custom Fonts
Hi, --- On Sat, Feb 6, 2016 at 2:30 AM, Shrinivasan Twrote: | We are looking for a solution to convert html pages to A4 pdf and B7 pdf | for FreeTamilEbooks.com project \-- I have just released a XeTeX book template (under MIT license) to generate PDF from Emacs org-mode (plain text). https://github.com/shakthimaan/xetex-book-template You can use multiple natural languages in the same book. The example/ in the sources has both Tamil and English. A sample PDF generated is available at: http://shakthimaan.com/dump/book.pdf The content in the book is just to fill up the page. Most of the ground work is done, but, I am still working on styling. SK -- Shakthi Kannan http://www.shakthimaan.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
[Ilugc] Need help - HTML to PDF with Custom Fonts
We are looking for a solution to convert html pages to A4 pdf and B7 pdf for FreeTamilEbooks.com project Training authors to create ebooks themself using Pressbooks.com They can export epub, mobi, xhtml from pressbooks. Now, few volunteers are converting xhtml to PDF by printing from Firefox. by changing the margin and printer settings in Firefox. see point 8 at https://goinggnu.wordpress.com/2014/02/01/how-to-create-an-ebook-for-free-tamil-ebooks-com/ Many authors find that this is difficult. Looking for a solution to automate the process of converting XHTML to A4 and B7 size PDFs so that we add a web interface, host in server, ask authors to upload epub or xhtml file to get PDF files as outputs. Explored PhantomJS http://we-love-php.blogspot.co.uk/2012/12/create-pdf-invoices-with-html5-and-phantomjs.html We want to use custom TTF fonts for Tamil. Ila Sundaram-10.TTF is the font we want to use. Tried to set this font via CSS using @font-face. But the PDFs are not using this font. Explored wkhtmltopdf It is not rendering B7 size properly and can not set custom font. Looking for volunteers to explore the PhantomJS or wkhtmltopdf to generate PDF files from HTML with custom font. reply here or contact me if you are interested to volunteer. Thanks. -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : http://FreeTamilEbooks.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines