![]() |
#241 |
Connoisseur
![]() ![]() Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
|
Kovid, I've run into the same problem as others have experienced with Sony Reader resetting/restarting when i attempt to read big news lrf files retrieved in Calibre. I read your FAQ saying to get around it by outputting the file to epub format, but I can't find any option for that in Calibre's interface. Is this something that must be done at the command line at this point? Maybe an option should be added under Fetch news that allows user to choose output format? I absolutely loved the fetch news feature, but can't use it anymore due to Sony's bug.
|
![]() |
![]() |
![]() |
#242 |
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
It's under preferences or similar, where you set the output format on a app-wide basis, rather than per-conversion - Easy to overlook!
|
![]() |
![]() |
![]() |
#243 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
|
Number in right hand of page
Hello:
Every so often in my epub book there are numbers on the far right hand side of the page. These show up both on on my 505 readert and on Digital editions on my desktop PC. Does anybody know what they are? |
![]() |
![]() |
![]() |
#244 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
These are the "page" number. In most cases a "page" is a fixed amount of text, but they could be from the original paper book (if these are encoded into the ePub). Either way, the page number does not change with font size.
|
![]() |
![]() |
![]() |
#245 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
|
Useful: Is there any way I can get rid of them?
|
![]() |
![]() |
![]() |
#246 |
Groupie
![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 406
Join Date: Jan 2008
Device: Amazon Kindle 2, Amazon Kindle, Sony PRS-505
|
web2lrf and ePub output
I was wondering how I can use the command line news fetch tools to output ePub files. I remembered that back in the lrf days, the command is web2lrf. However i couldn't find web2epub, nor could I find any switch option in web2lrf. Should I call web2lrf first and then use any2lrf? Thanks.
|
![]() |
![]() |
![]() |
#247 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
feeds2epub
|
![]() |
![]() |
![]() |
#248 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
html2epub 0.4.101 seems to be broken?
Building file list... Parsing tmp/yxz/001.htm Processing stylesheet /tmp/calibre_0.4.101_g8cCAc_html2epub/content/resources/file_0.css... Failed to parse stylesheet: /tmp/calibre_0.4.101_g8cCAc_html2epub/content/resources/file_0.css CSSStyleDeclaration: Unexpected token, ignoring upto u';'. [1:35: ;] Rationalizing fonts... Parsing tmp/yxz/index.html CSSStyleDeclaration: Unexpected token, ignoring upto u';'. [1:35: ;] Rationalizing fonts... Traceback (most recent call last): File "/usr/bin/html2epub", line 8, in <module> load_entry_point('calibre==0.4.101', 'console_scripts', 'html2epub')() File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 325, in main convert(args[1], opts) File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 264, in convert parse_content(filelist, opts, tdir) File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 119, in parse_content hp.populate_toc(toc) File "/usr/lib/python2.5/site-packages/calibre/ebooks/html.py", line 668, in populate_toc name = self.htmlfile_map[self.htmlfile.referrer] KeyError: HTMLFile:0:a:/tmp/yxz/001.htm |
![]() |
![]() |
![]() |
#249 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
open ticket, attach file
|
![]() |
![]() |
![]() |
#250 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
I've attached a very simple test file in ticket #1239
|
![]() |
![]() |
![]() |
#251 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
[QUOTE=kovidgoyal;259054]
Code:
--override-css "p {margin-top: 0pt; margin-bottom:0pt;padding:0pt; text-indent:20pt}" |
![]() |
![]() |
![]() |
#252 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sure...
|
![]() |
![]() |
![]() |
#253 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
|
![]() |
![]() |
![]() |
#254 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
When I use --override-css options, the result epub file is not a valid zip file and can't be open by unzip.
I use linux version 0.4.103. I think this bug exists since 0.4.100 or early version. The command line I use is : Code:
html2epub ch12.html --override-css "p {margin-top: 0pt; margin-bottom:0pt;padding:0pt; text-indent:20pt}" Code:
<html> <head> <title>title</title> </head> <body> test </body> </html> |
![]() |
![]() |
![]() |
#255 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |