Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2012, 12:53 AM   #1
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
DocBook to ePub (using XSL/XSLT?)

now i would like to know how to convert "docbook to epub" ,i had gone through the forum but only little conversation's are made. will you please suggest me with a tutorial or a step by step guidance
please help(me too).........

Last edited by pdurrant; 07-09-2012 at 03:36 AM.
me too is offline   Reply With Quote
Old 07-09-2012, 03:03 AM   #2
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
The short answer is: "there is no good, automatic way of converting DocBook to EPUB". You might want to try pandoc or similar programs, though.

Last edited by pdurrant; 07-09-2012 at 03:40 AM.
AlPe is offline   Reply With Quote
Advert
Old 07-09-2012, 03:18 AM   #3
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
apologies

right now iam following this tutorial http://www.ibm.com/developerworks/xm.../section5.html
i dont understand this high profile tutorial
but i had managed to create a folder named docbook
then created a file named my book.xml
and made few downloads such as docbook xsl stylesheet and xsltproc
but now i am stuck with what to do next
please help (me too)

Last edited by pdurrant; 07-09-2012 at 03:37 AM.
me too is offline   Reply With Quote
Old 07-09-2012, 03:34 AM   #4
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,593
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by me too View Post
now i would like to know how to convert "docbook to epub" ,i had gone through the forum but only little conversation's are made. will you please suggest me with a tutorial or a step by step guidance
please help(me too).........
Well, both DocBook and ePub are XML based (although earlier DocBook was SGML).

That means that an automated conversion from DocBook to ePub should be possible, but is way beyond anything I've done. Perhaps the cleanest way would be to do it with XSLT, but I know little about it apart from that it exists.

Last edited by pdurrant; 07-09-2012 at 03:37 AM.
pdurrant is offline   Reply With Quote
Old 07-09-2012, 03:59 AM   #5
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
sir,
according to the IBM tutorial i had downloaded docbook-xsl-1.77.1 and combo-2007-10-07.dmg ,will you please confirm me whether i am in the right direction or not ,how to install it and what is the next step?
me too is offline   Reply With Quote
Advert
Old 07-09-2012, 04:21 AM   #6
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,593
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by me too View Post
according to the IBM tutorial i had downloaded docbook-xsl-1.77.1 and combo-2007-10-07.dmg ,will you please confirm me whether i am in the right direction or not ,how to install it and what is the next step?
I really can't help. Apart from knowing the name, I know nothing about XSLT. Good luck. Perhaps someone else will read this and know something about it. I will add XSL(T) to the thread title. (EDIT: Done.)
pdurrant is offline   Reply With Quote
Old 07-09-2012, 04:47 AM   #7
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
thank you

thank you sir, hope someone will help me
me too is offline   Reply With Quote
Old 07-09-2012, 05:43 AM   #8
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Quote:
Originally Posted by me too View Post
right now iam following this tutorial http://www.ibm.com/developerworks/xm.../section5.html
i dont understand this high profile tutorial
but i had managed to create a folder named docbook
then created a file named my book.xml
and made few downloads such as docbook xsl stylesheet and xsltproc
but now i am stuck with what to do next
please help (me too)
As said before, you must build your "own" XSLT (usually you tweak it depending on the content of your DocBook input file) and run it against the input file, perhaps in combination with the scripts (or similar) mentioned in that article.

Last edited by AlPe; 07-09-2012 at 05:45 AM.
AlPe is offline   Reply With Quote
Old 07-09-2012, 05:54 AM   #9
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
sir,
will you please explain me how to install xsltproc
me too is offline   Reply With Quote
Old 07-09-2012, 06:06 AM   #10
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Googling "how to install xsltproc" brings up many useful pages (depending on your operating system, of course):

http://lmgtfy.com/?q=how+to+install+xsltproc
AlPe is offline   Reply With Quote
Old 07-09-2012, 06:31 AM   #11
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
installing the prerequisites on Mac OS X
If not already installed, install automake, autoconf, libtool
$ sudo port install automake autoconf libtool

Note: on Mac OS X, there is a binary named libtool, which is different from what we need. On Mac OS X, we need glibtool, which is exactly what the port install of libtool would bring.

If not already installed, install xsltproc
$ sudo port install xsltproc

If not already installed, install expat library and devel packages
$ sudo port install expat expat-devel

but when i had run it on the terminal,the results was disappointig as follows


LRIM3s-iMac:~ lrim3$ sudo port install automake autoconf libtool
sudo: port: command not found
me too is offline   Reply With Quote
Old 07-10-2012, 06:16 AM   #12
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
please say me

hello all
will someone say me whether xsltproc is already installed on snow leopard
me too is offline   Reply With Quote
Old 07-10-2012, 06:23 AM   #13
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,593
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Well, it is on mine, but whether that's because I installed it or not I can't say. Check in /usr/bin
pdurrant is offline   Reply With Quote
Old 07-10-2012, 07:37 AM   #14
me too
Connoisseur
me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.me too is no ebook tyro.
 
Posts: 57
Karma: 1350
Join Date: Jul 2012
Location: India
Device: none
sir i meant......

http://www.boost.org/doc/libs/1_50_0....macosx.native
sir,
in this tutorial if we go to mac os X snow leopard version, it is mentioning that it is preinstalled.
sir will you please confirm me
i am worried,iam not getting much replies to complete my project by the deadline upto tomorrow

plz all help(me too)...
me too is offline   Reply With Quote
Old 07-10-2012, 01:09 PM   #15
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,593
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
It seems that you're on your own with this one. If anyone at MobileRead was involved in DocBook to ePub conversions, I suspect they'd have chipped in by now.
pdurrant is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting XSL + XML into Epub, is there an easy way? Rogier Calibre 5 09-18-2012 11:20 PM
HTML to Mobi conversions (DocBook XSL, and content.opf?) AndrewLB Calibre 3 09-04-2010 09:02 PM
Docbook to ePub IncarnadinePress ePub 2 04-07-2010 11:25 AM
Converting XML + XSL to Epub. Is there an easy way to do it? Rogier ePub 4 04-22-2009 10:26 AM
DocBook XSL 1.74.0 adds ePub support! Alexander Turcic News 1 06-14-2008 07:06 AM


All times are GMT -4. The time now is 01:06 AM.


MobileRead.com is a privately owned, operated and funded community.