![]() |
#196 |
Member
![]() ![]() Posts: 13
Karma: 166
Join Date: Mar 2007
Device: Sony Reader
|
Yeah, I tried that, Input Profile = default, Output Profile = Kindle DX, Comic Input preferences all unchecked except "Keep Aspect Ratio" (# of Colors set to 16)... results in the same squished output.
|
![]() |
![]() |
#197 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Looks like the output profile option it not being honored in the GUI. I'll look into and and post when it's fixed.
|
![]() |
Advert | |
|
![]() |
#198 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Have you tried using the CLI ebook-convert to see if that works?
|
![]() |
![]() |
#199 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Apr 2009
Device: Sony PRS505
|
Is there any way of getting calibre to automatically drop page numbers when converting from pdf files. What i mean is that if i convert a pdf file to lrf or epub, the page numbers from the pdf are still present and included as part of the text. My preferred method of converting from pdf at the moment is to first drop the pdf into mobireader and then convert from the resulting prc file using calibre. This fixes the problem by getting rid of the page numbers and the mobipocket reader seems to do a decent job of reformatting the pdf.
|
![]() |
![]() |
#200 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
TevK,
With regards to CBZ, wouldn't the aspect ratio constrain the image based on the shortest pixel direction? That would cause the image to adjust in size accordingly. So no matter which way you use it, the image will be small. (Unless you can scroll an image on the Kindle - or other ebooks). Sorry, your comment just struck me as odd. I haven't tried any manga in ereader software, let alone hardware. So I might not understand what you're encountering. I'm just thinking about what I see happen in image software (photoshop, etc). |
![]() |
Advert | |
|
![]() |
#201 | ||
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Quote:
@JSWolf @TevK The command line works(ish). The keep aspect ratio option was not being sent to the conversion pipeline though the GUI and there were a few bugs in the dx profile. Those have been corrected and it should be working in the next release. |
||
![]() |
![]() |
#202 |
Connoisseur
![]() ![]() Posts: 71
Karma: 131
Join Date: Nov 2007
Location: San Jose, CA
Device: iPad, Kindle DX
|
Fetching 'Joel on Software' fails on 0.6b6. It worked in 0.5.
Code:
Detecting structure... Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Parsing stylesheet.css ... Creating MOBI Output... Generating in-line TOC... Applying case-transforming CSS... Parsing manglecase.css ... Parsing tocstyle.css ... Rasterizing SVG images... Converting XHTML to Mobipocket markup... Serializing markup content... Compressing markup content... Traceback (most recent call last): File "worker.py", line 103, in <module> File "worker.py", line 90, in main File "calibre\gui2\convert\gui_conversion.pyo", line 17, in gui_convert File "calibre\ebooks\conversion\plumber.pyo", line 685, in run File "calibre\ebooks\mobi\output.pyo", line 70, in convert File "calibre\ebooks\mobi\writer.pyo", line 343, in __call__ File "calibre\ebooks\mobi\writer.pyo", line 356, in _dump_stream File "calibre\ebooks\mobi\writer.pyo", line 363, in _generate_content File "calibre\ebooks\mobi\writer.pyo", line 580, in _generate_text File "calibre\ebooks\mobi\writer.pyo", line 498, in _build_TBS_Book ValueError: chr() arg not in range(256) |
![]() |
![]() |
#203 |
Wearer of Pants
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
Anyone else seeing that Calibre freezes up after adding a few PDFs? I get about two in and then on the third it just stays on the adding window perpetually until I abort.
|
![]() |
![]() |
#204 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Is it a specific PDF or just when you add a few at a time? Also, what is the size of the files?
|
![]() |
![]() |
#205 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
Hmmm, I guess I assumed that something like a Fit to Screen was automatically used. Along with Keep Aspect Ration it would mean 16:9 (per your example) but scaled downward based on the smallest screen dimension. Which might have accounted for what TevK was seeing.
|
![]() |
![]() |
#206 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 657
Join Date: Sep 2008
Device: Sony PRS-505
|
I did... The login page just redirects me to the register page. I think I've registered about 3 times. Hence, why I asked if the site stores session using IP. Because thanks to my "brilliant" ISP, my IP changes every few seconds.
EDIT: Nevermind... Finally, found a proxy that works. Last edited by Anggun; 06-14-2009 at 05:16 AM. |
![]() |
![]() |
#207 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
css handling in recipes
I was just playing with the custom recipe for wikipedia from this post:
https://www.mobileread.com/forums/showthread.php?t=41457 I wanted to look into trying to include images, so I yanked the beautiful soup function to see how the default HTML looked with images as an epub. The first thing I noticed was that some of the text sizing changed pretty drastically - nearly everything was the same size. Digging into it, it looks like Calibre normalizes the div classes until nearly everything is using the same class, calibre4. I didn't test this in .5, but since the css handling has seen some pretty major changes I assume that it's quite different there. An example (from the 'Tree' example article in the plugin): Original HTML: Code:
<div class="thumbcaption"> <div class="magnify"><a title="Enlarge" class="internal" href="/wiki/File:Leavessnipedale.jpg"><img width="15" height="11" alt="" src="/skins-1.5/common/images/magnify-clip.png"/></a></div> <a title="Beech" href="/wiki/Beech">Beech</a> leaves.</div> Code:
<div class="calibre4"> <div class="calibre4"><a href="/wiki/File:Leavessnipedale.jpg" title="Enlarge"><img src="images/img2.png.jpg" width="15" height="11" alt="" class="thumbimage"/></a></div> <a href="/wiki/Beech" title="Beech">Beech</a> leaves.</div> </div> I've attached the plugin with the beautiful soup function removed, as this particular example is in the image caption. |
![]() |
![]() |
#208 |
Wearer of Pants
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
Any PDFs and any sized file. I basically spent the afternoon adding PDFs 2-3 at a time (one at a time until it stopped working), restarting calibre, doing it again, etc. Files ran from less than a meg to 50megs.
|
![]() |
![]() |
#209 |
Provocateur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
|
Is anyone else getting crashes when converting a couple hunded or so LIT files at a time? It doesn't seem to be related to a specific book; it just crashes after 100 or so. I doesn't appear to be a memory issue since everything else seems to be fine when it happens.
Update: In fact, it appears to be crashing precisely after converting the 100th LIT to MOBI conversion in a batch, if the batch is larger than that. Last edited by sirbruce; 06-14-2009 at 10:19 PM. |
![]() |
![]() |
#210 |
Member
![]() ![]() Posts: 13
Karma: 166
Join Date: Mar 2007
Device: Sony Reader
|
I tried using ebook-convert via command line, using this command:
ebook-convert /Users/tev/Desktop/fairy_tail_sample.cbz /Users/tev/Desktop/fairy_tail_sample.mobi --title="Fairy Tail Sample" --authors="Mashima, Hiro" --keep-aspect-ratio --right2left --input-profile=default --output-profile=kindle_dx It worked...sorta. Now instead of the image being stretched to fit the width and squished to half the height, it's correctly proportional, but only half the height. I'm guessing this is one of the bugs in the DX profile that was mentioned, which will be fixed in the next release. I'm eagerly awaiting it. =) ![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre metadata.calibre not allowing updates | Chuckels550 | Calibre | 10 | 08-09-2010 05:12 PM |
Using Calibre as a client for another Calibre instance? | toddos | Calibre | 27 | 06-30-2010 04:57 AM |
Sigil 0.2.0 betas available | Valloric | Sigil | 98 | 05-03-2010 04:07 PM |
cannot open calibre on osx 10.6-- "Calibre is already running" message | jlip | Calibre | 4 | 01-02-2010 11:05 PM |
calibre command line utilities and calibre defaults | astrodad | Calibre | 2 | 08-07-2008 03:27 PM |