Discussion:
OT: command line epub reader?
Tom Fowle
2015-10-05 03:15:36 UTC
Permalink
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
Willem van der Walt
2015-10-05 05:25:07 UTC
Permalink
Hi,
There is ebook-speaker by Jos Lemens which would read some epub books
directly.
The way I would prefer at the moment, is to install calibre and use its
command-line program called ebook-convert to convert the epub into some
format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the player is
currently more of a demonstrator of the functionallity of the cainteoir
library than a player that one would use on a daily basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
Please consider the environment before printing this email.
Kirk Reiser
2015-10-05 12:22:27 UTC
Permalink
Yes, I use ebook-convert as well. It does a pretty nice job of
converting most formats like epub, rtf, mobi, etc, to txt files. At
least, that's the file format I like best. Here is a tiny script I use
when converting.


#!/bin/bash

base=`basename -s .epub "$1"`
ebook-convert "$1" "$base".txt --linearize-tables --unsmarten-punctuation --insert-blank-line --asciiize --disable-dehyphenate --max-line-length=80
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub books
directly.
The way I would prefer at the moment, is to install calibre and use its
command-line program called ebook-convert to convert the epub into some
format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the player is
currently more of a demonstrator of the functionallity of the cainteoir
library than a player that one would use on a daily basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and conditions,
e-mail legal notice, and implemented Open Document Format (ODF) standard.
Post by Tom Fowle
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
Post by Tom Fowle
This message has been scanned for viruses and dangerous content by
MailScanner,
Post by Tom Fowle
and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Well that's it then, colour me gone!
Al Sten-Clanton
2015-10-05 12:56:50 UTC
Permalink
Kirk, is using --max-line-length=80 a matter of personal preference of
line length or is there more to it? Thanks!

Al
Post by Kirk Reiser
Yes, I use ebook-convert as well. It does a pretty nice job of
converting most formats like epub, rtf, mobi, etc, to txt files. At
least, that's the file format I like best. Here is a tiny script I use
when converting.
#!/bin/bash
base=`basename -s .epub "$1"`
ebook-convert "$1" "$base".txt --linearize-tables
--unsmarten-punctuation --insert-blank-line --asciiize
--disable-dehyphenate --max-line-length=80
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub books
directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub into
some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the player
is currently more of a demonstrator of the functionallity of the
cainteoir library than a player that one would use on a daily basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and conditions,
e-mail legal notice, and implemented Open Document Format (ODF) standard.
Post by Tom Fowle
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
Post by Tom Fowle
This message has been scanned for viruses and dangerous content by
MailScanner,
Post by Tom Fowle
and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Kirk Reiser
2015-10-05 14:59:37 UTC
Permalink
Hi Al: Just personal preference. I often put my txt files on my old
bookport. I use a utility called ubt to massage the files into indexed
versions the bookport can deal with and it seems to like 80 characters
best. On my computers I have my consoles all set to 160 by 64 lines so
80 characters work just fine on the computers as well.
Post by Al Sten-Clanton
Kirk, is using --max-line-length=80 a matter of personal preference of
line length or is there more to it? Thanks!
Al
Post by Kirk Reiser
Yes, I use ebook-convert as well. It does a pretty nice job of
converting most formats like epub, rtf, mobi, etc, to txt files. At
least, that's the file format I like best. Here is a tiny script I use
when converting.
#!/bin/bash
base=`basename -s .epub "$1"`
ebook-convert "$1" "$base".txt --linearize-tables
--unsmarten-punctuation --insert-blank-line --asciiize
--disable-dehyphenate --max-line-length=80
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub books
directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub into
some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the player
is currently more of a demonstrator of the functionallity of the
cainteoir library than a player that one would use on a daily basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and conditions,
e-mail legal notice, and implemented Open Document Format (ODF) standard.
Post by Tom Fowle
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
Post by Tom Fowle
This message has been scanned for viruses and dangerous content by
MailScanner,
Post by Tom Fowle
and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Well that's it then, colour me gone!
Al Sten-Clanton
2015-10-05 15:51:10 UTC
Permalink
Thanks!

Al
Post by Kirk Reiser
Hi Al: Just personal preference. I often put my txt files on my old
bookport. I use a utility called ubt to massage the files into indexed
versions the bookport can deal with and it seems to like 80 characters
best. On my computers I have my consoles all set to 160 by 64 lines so
80 characters work just fine on the computers as well.
Post by Al Sten-Clanton
Kirk, is using --max-line-length=80 a matter of personal preference of
line length or is there more to it? Thanks!
Al
Post by Kirk Reiser
Yes, I use ebook-convert as well. It does a pretty nice job of
converting most formats like epub, rtf, mobi, etc, to txt files. At
least, that's the file format I like best. Here is a tiny script I use
when converting.
#!/bin/bash
base=`basename -s .epub "$1"`
ebook-convert "$1" "$base".txt --linearize-tables
--unsmarten-punctuation --insert-blank-line --asciiize
--disable-dehyphenate --max-line-length=80
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub books
directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub into
some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the player
is currently more of a demonstrator of the functionallity of the
cainteoir library than a player that one would use on a daily basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and conditions,
e-mail legal notice, and implemented Open Document Format (ODF) standard.
Post by Tom Fowle
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
Post by Tom Fowle
This message has been scanned for viruses and dangerous content by
MailScanner,
Post by Tom Fowle
and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Tom Fowle
2015-10-06 02:18:37 UTC
Permalink
Willem and Kirk,
thanks both will check out these possibilities.

Possible disadvantage of text is you probably loose markup if any E.G. pages
chapters etc. Maybe html in some cases.
TNX&73
tom Fowle WA6ivg
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub
books directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub
into some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the
player is currently more of a demonstrator of the functionallity of
the cainteoir library than a player that one would use on a daily
basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and
conditions, e-mail legal notice, and implemented Open Document
Format (ODF) standard. The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Kirk Reiser
2015-10-06 02:51:17 UTC
Permalink
Well, that really depends more on how the original document was set up
than the conversion. The ebook-convert script has options to keep or
throwaway any type of formatting the document contains. There's no
reason a text file can't contain any information you wish to keep.
Post by Tom Fowle
Willem and Kirk,
thanks both will check out these possibilities.
Possible disadvantage of text is you probably loose markup if any E.G. pages
chapters etc. Maybe html in some cases.
TNX&73
tom Fowle WA6ivg
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub
books directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub
into some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the
player is currently more of a demonstrator of the functionallity of
the cainteoir library than a player that one would use on a daily
basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and
conditions, e-mail legal notice, and implemented Open Document
Format (ODF) standard. The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Well that's it then, colour me gone!
Steve Holmes
2015-10-19 09:47:48 UTC
Permalink
Personally I love having the rich navigation offered by most epub
readers. I would much rather not convert to plain text files. I'm not
aware of any Linux readers that can read epubs directly and be
accessible too. What I end up doing most times is just take the epub
books and read them with Voice Dream reader on my iOS devices but that
ain't Linux:).
Post by Kirk Reiser
Well, that really depends more on how the original document was set up
than the conversion. The ebook-convert script has options to keep or
throwaway any type of formatting the document contains. There's no
reason a text file can't contain any information you wish to keep.
Post by Tom Fowle
Willem and Kirk,
thanks both will check out these possibilities.
Possible disadvantage of text is you probably loose markup if any E.G. pages
chapters etc. Maybe html in some cases.
TNX&73
tom Fowle WA6ivg
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub
books directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub
into some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the
player is currently more of a demonstrator of the functionallity of
the cainteoir library than a player that one would use on a daily
basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
-- >This message is subject to the CSIR's copyright terms and
conditions, e-mail legal notice, and implemented Open Document
Format (ODF) standard. The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Well that's it then, colour me gone!
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Tom Fowle
2015-10-20 03:28:10 UTC
Permalink
Thanks for the reminder about voice dream reader, when I get my slugish self
up to speed on my iPhone, I'll get it.
Thanks
tom fowle
Post by Steve Holmes
Personally I love having the rich navigation offered by most epub
readers. I would much rather not convert to plain text files. I'm not
aware of any Linux readers that can read epubs directly and be
accessible too. What I end up doing most times is just take the epub
books and read them with Voice Dream reader on my iOS devices but that
ain't Linux:).
Post by Kirk Reiser
Well, that really depends more on how the original document was set up
than the conversion. The ebook-convert script has options to keep or
throwaway any type of formatting the document contains. There's no
reason a text file can't contain any information you wish to keep.
Post by Tom Fowle
Willem and Kirk,
thanks both will check out these possibilities.
Possible disadvantage of text is you probably loose markup if any E.G. pages
chapters etc. Maybe html in some cases.
TNX&73
tom Fowle WA6ivg
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub
books directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub
into some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the
player is currently more of a demonstrator of the functionallity of
the cainteoir library than a player that one would use on a daily
basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
-- >This message is subject to the CSIR's copyright terms and
conditions, e-mail legal notice, and implemented Open Document
Format (ODF) standard. The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Well that's it then, colour me gone!
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Willem van der Walt
2015-10-20 05:15:18 UTC
Permalink
Again, the cainteoir command-line application needs verry little work to
turn it into a very usable epub3 reader. Some one with some c++ expertees
and some time to spend on it is what is needed.
Kind regards, Willem
Post by Tom Fowle
Thanks for the reminder about voice dream reader, when I get my slugish self
up to speed on my iPhone, I'll get it.
Thanks
tom fowle
Post by Steve Holmes
Personally I love having the rich navigation offered by most epub
readers. I would much rather not convert to plain text files. I'm not
aware of any Linux readers that can read epubs directly and be
accessible too. What I end up doing most times is just take the epub
books and read them with Voice Dream reader on my iOS devices but that
ain't Linux:).
Post by Kirk Reiser
Well, that really depends more on how the original document was set up
than the conversion. The ebook-convert script has options to keep or
throwaway any type of formatting the document contains. There's no
reason a text file can't contain any information you wish to keep.
Post by Tom Fowle
Willem and Kirk,
thanks both will check out these possibilities.
Possible disadvantage of text is you probably loose markup if any E.G. pages
chapters etc. Maybe html in some cases.
TNX&73
tom Fowle WA6ivg
Post by Willem van der Walt
Hi,
There is ebook-speaker by Jos Lemens which would read some epub
books directly.
The way I would prefer at the moment, is to install calibre and use
its command-line program called ebook-convert to convert the epub
into some format you like, like .txt or html.
Then there is the cainteoir program which do read epub, but the
player is currently more of a demonstrator of the functionallity of
the cainteoir library than a player that one would use on a daily
basis.
Cainteoir can be used to extract the text from epub as well.
HTH, Willem
Post by Tom Fowle
Hi folks
Is there a command line reader for .epub books?Did a net search and didn't
find anything promising but maybe missed something great?
thanks
tom Fowle
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
-- >This message is subject to the CSIR's copyright terms and
conditions, e-mail legal notice, and implemented Open Document
Format (ODF) standard. The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Please consider the environment before printing this email.
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Well that's it then, colour me gone!
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
Please consider the environment before printing this email.
Loading...