Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Barnes & Noble NOOK

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2010, 12:19 AM   #1
Quantalume
Junior Member
Quantalume began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: nook wifi
Reading Linux man pages on the nook

It was thinking that the nook would be a good device to have around to view man pages, seeing as how there never seems to be enough real estate on the PC's screen. I had to find a web page that reflowed the man pages, since they are usually formatted for 80 columns, then use Google's mobilizer to remove frames and otherwise make it more nook friendly. Here's what I came up with as a good link: http://google.com/gwt/x?u=http://linux.die.net/man/. This displays pretty nicely in the nook's browser.

It would be nice to have offline man pages, too. Does anyone know of an effort to put man pages in epub format?
Quantalume is offline   Reply With Quote
Old 12-27-2010, 11:20 AM   #2
luqmaninbmore
Da'i
luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.luqmaninbmore ought to be getting tired of karma fortunes by now.
 
luqmaninbmore's Avatar
 
Posts: 1,144
Karma: 1217499
Join Date: Oct 2008
Location: Baltimore
Device: Toshiba Thrive, Kobo Touch, Kindle 1, Aluratek Libre, T-Mobile Comet
You could always try web2fb2. That also creates an epub file in addition to the fb2.
luqmaninbmore is offline   Reply With Quote
Advert
Old 12-27-2010, 08:55 PM   #3
Quantalume
Junior Member
Quantalume began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: nook wifi
Thanks for the link. I've now educated myself on the fb2 format in addition to trying out the converter. It only converts one page at a time, rather than traversing the html links and putting everything into one file. I guess I'll start with the most-needed commands, particularly any associated with troubleshooting network connectivity issues.
Quantalume is offline   Reply With Quote
Old 12-28-2010, 08:31 AM   #4
cypresstwist
Nooking in Romania
cypresstwist doesn't littercypresstwist doesn't littercypresstwist doesn't litter
 
Posts: 54
Karma: 232
Join Date: Aug 2010
Location: Romania
Device: Nook WiFi
man elinks > elinksmanual.txt && ebook-convert elinksmanual.txt elinksmanual.epub --no-default-epub-cover

For this you have to have Calibre installed (for ebook-convert). But Ițm sure you will find a way to automatize this so that you can extract all man pages and convert them to epub format.

/Later edit: since the TXT file loses the embedded man links and formatting, you might want to use this instead, to create a PDF file:

man -t groff | ps2pdf - > groff.pdf && ebook-convert groff.pdf groff.epub --no-default-epub-cover

Tested it and the epub file is successfully created with better formatting.

Last edited by cypresstwist; 12-28-2010 at 08:45 AM.
cypresstwist is offline   Reply With Quote
Old 10-23-2011, 11:56 AM   #5
lambdax
Junior Member
lambdax began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2011
Device: Kindle keyboard
man -> html -> calibre

Just found this thread through google. There's another way that works really well: use man to format the page as html and send it to Calibre:
Code:
man --html=calibre xyz
(where xyz is the command whose man page you want).

This sends an html-formatted man page directly to Calibre, where you can then convert to ePub. (I don't know if this works with all versions of man, but at least on Ubuntu 11.10 it does).
lambdax is offline   Reply With Quote
Advert
Old 10-23-2011, 12:38 PM   #6
linux_author
Connoisseur
linux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplanelinux_author makes transoceanic flights without the assistance of an airplane
 
Posts: 99
Karma: 55044
Join Date: Jul 2011
Location: Gulf of Mexico
Device: Nook Touch, N800
Quote:
Originally Posted by lambdax View Post
Just found this thread through google. There's another way that works really well: use man to format the page as html and send it to Calibre:
Code:
man --html=calibre xyz
(where xyz is the command whose man page you want).

This sends an html-formatted man page directly to Calibre, where you can then convert to ePub. (I don't know if this works with all versions of man, but at least on Ubuntu 11.10 it does).
interesting, as i never knew there was an '--html' option... will have to try this (it obviously will *not* work under OS X)
linux_author is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
50,000 pages reading challenge Crusader Reading Recommendations 28 11-06-2011 11:38 AM
man pages saigkill Calibre 2 05-03-2010 05:27 PM
New hack PRS-505: multi status line with %read, time&pages reading, pages per minute. Car105 Sony Reader Dev Corner 5 01-03-2010 10:03 AM
Classic nook skipping pages qpid360 Barnes & Noble NOOK 4 12-28-2009 04:31 PM
Reading PDF files on Windows or Linux Bob Russell PDF 18 02-14-2009 01:21 PM


All times are GMT -4. The time now is 08:38 AM.


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