![]() |
#286 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Kobo (touch)
|
![]()
Glad I found this. It works well and is quite simple. Purchased an ebook version but it didn't perform well converting it in Calibre-text was indented and spaced after every two lines. This did the trick blocking the text nicely. using Calibre again tidied it up. However, you have to provide your own metadata - book cover, etc, as Calibre can't read it.
Thanks a million ![]() |
![]() |
![]() |
![]() |
#287 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#288 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Kobo (touch)
|
Quote:
Before (after using k2pdfopt) Doc2 EBW.doc After (after using Calibre) Doc2EBW(2).doc I guess this works just as well by dragging or pasting the k2pdfopt file straight into your ereader without using Calibre, so I assume Calibre doesn't make a great deal of difference, although I haven't tried it. I've experimented with another document. However, either due to the font scale or lack of margin customizing, some of the lettering is cut or omitted at either side of the k2pdfopt formatted document. Are there any ways to resolve this? Thanks |
|
![]() |
![]() |
![]() |
#289 |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Yes. Use -m 0 (or select 'm' at the interactive menu and then put in 0).
|
![]() |
![]() |
![]() |
#290 |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
|
![]() |
![]() |
Advert | |
|
![]() |
#291 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
|
custom vertical space at page break
Hi, first let me tell your k2pdfopt is the greatest pdf modifier for mobile readers that can be
![]() I don't know if this seems to be a useful feature (or implementable one), but could the vertical space between page breaks be made so that it would depend on the font size of the text after the break, compared to the font before the break (or, instead of font sizes - the height of those lines)? This would be very helpful when there is a page break between chapters, contents page etc. so that: a) no unnecessary space would be added between normal text at page break (lines continue to be 'merged' so to speak in the output pdf) b) some vertical space would be added when a new chapter starts, for example (otherwise, it looks pretty annoying) Example for b) Code:
... lorem ipsum some text from chapter 1 ends here. CHAPTER TWO. ANNOYING LACK OF SPACE ABOVE And thus begins the new chapter with new text. ... Last edited by Vanilla; 01-08-2013 at 12:52 PM. |
![]() |
![]() |
![]() |
#292 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
Edit (9 Jan 2013): Okay, when I convert with "-mode fw", there is no gap put in front of "Chapter 2," so I see what you're talking about there. That is due to the setting of -vb -2 that is applied by -mode fw. That setting causes each page region to be treated as a "black box"--that is, I don't look inside of the page regions to try to determine font sizes, line spacing, etc., so I don't have any information on what spacing to put between regions. I'll think about ways to improve this. Last edited by willus; 01-09-2013 at 11:03 PM. |
|
![]() |
![]() |
![]() |
#293 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Kobo (touch)
|
K2pdfopt and Calibre
I didn't use any options to customize the document from the interactive menu. I just pasted it into the .exe and pressed 'enter.'
I can easily send you the entire k2pdfopt doc. The formatted Calibre version, however, is somewhat difficult. It only shows up as a pdf unsupported document. I can still send you it, I think, if you know how to access it as a readable pdf doc. Maybe you're computer savvy in this way. If you know how to do it, it would be useful to know how to unblock unreadable documents. I'm sending this from here because I haven't made an effort to find your private message after re-logging in. Hope you don't mind. |
![]() |
![]() |
![]() |
#294 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Kobo (touch)
|
Margin Correction
|
![]() |
![]() |
![]() |
#295 |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
It's fine--I was trying to avoid having too many back-and-forths in the public thread. You can attach the docs in a reply to this thread or send them to me privately. I'd like to see the Calibre file even if it's in a strange format. FYI, to get to old messages after you login, just go to the upper left of the page, select "User CP" (User Control Panel) from the left side of the top blue bar, and then, on the left-side menu of the control panel page, under "Private Messages" (towards the bottom), select "List Messages."
|
![]() |
![]() |
![]() |
#296 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
|
Quote:
And an example: I'll try to explicitly set the vb option, to see if changes the output. TY. |
|
![]() |
![]() |
![]() |
#297 |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Any chance you can attach the source file, or attach just a couple pages from it (involving a chapter change)? Then I can try out your options with that file ane make sure I understand what's going on. K2pdfopt might be treating the "Chapter One" piece as a figure since it has that black bar which will prevent a line break. It's hard to tell without having the source.
|
![]() |
![]() |
![]() |
#298 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
|
Quote:
(and i presume it's seen as image, but i think i saw the same behavior in other pdfs; also, perhaps some space before an image does no harm or even helps, at least if the image still fits the page): sample.pdf ( Perhaps treating an image like a "tall line" i.e. no matter if it's text or not? Just speculating of course) Last edited by Vanilla; 01-10-2013 at 08:51 AM. |
|
![]() |
![]() |
![]() |
#299 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
If the reason the Calibre epub file looks better is due to (1) above, and your e-reader can directly read PDF files, then you can avoid having to process the k2pdfopt output with Calibre by adjusting the width and height values when you use k2pdfopt (select 'd' from the interactive menu or use the -w and -h command-line options, or maybe just increase the output resolution by using a value for -dr that is higher than 1, e.g. -dr 1.5 or -dr 2). |
|
![]() |
![]() |
![]() |
#300 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
|
Made some more tests (on that sample) - basically, only when wrapping is enabled and effective (e.g. in portrait mode, when it actually splits the lines), there is some nice space before the chapter title.
Last edited by Vanilla; 01-11-2013 at 07:11 AM. |
![]() |
![]() |
![]() |
Tags |
ebook apps, k5 tools, kindle tools, kindle touch, tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viewing PDFs with another font | Font | PocketBook | 4 | 11-12-2010 08:27 AM |
Viewing Textbook PDFs... | NJReader | enTourage Archive | 4 | 08-17-2010 05:17 PM |
PRS-600 Restart bug while viewing PDFs? | conundrum | Sony Reader | 2 | 03-04-2010 08:46 PM |
More on viewing pdfs | dso371 | Bookeen | 8 | 03-11-2008 07:15 PM |
Viewing Untagged PDFs on Palm T|X | Eroica | Reading and Management | 3 | 12-10-2007 01:44 PM |