Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2013, 07:53 PM   #301
lizardlix
Junior Member
lizardlix began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: kindle
Unhappy Mac version doesn't work

I just downloaded this and end up with a "k2pdfopt" file that is not recognized as an application or respond when a file is dragged onto it. Am I doing something wrong?

Thanks!
lizardlix is offline   Reply With Quote
Old 01-14-2013, 12:58 AM   #302
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by lizardlix View Post
I just downloaded this and end up with a "k2pdfopt" file that is not recognized as an application or respond when a file is dragged onto it. Am I doing something wrong?
Please read through the Mac install notes (link at bottom of left-side menu on the main page).
willus is offline   Reply With Quote
Old 01-15-2013, 07:45 AM   #303
GabZeng
Junior Member
GabZeng began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: Kindle Touch
Can't get K2pdfopt to convert

Hi there, I can't get k2pdfopt to convert on my mac.

I've attached a screenshot of it.
Am I doing something wrong?

Cheers
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-01-15 at 8.34.50 PM.jpg
Views:	94
Size:	194.4 KB
ID:	99415  
GabZeng is offline   Reply With Quote
Old 01-15-2013, 08:25 AM   #304
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by GabZeng View Post
Hi there, I can't get k2pdfopt to convert on my mac.

I've attached a screenshot of it.
Am I doing something wrong?
Thank you for the screen shot. That's a big help. It looks like you've done everything you need to do except press <Enter> to start the conversion. Did you do that?
willus is offline   Reply With Quote
Old 01-15-2013, 10:03 PM   #305
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Mac help page update

I have updated the Mac help page--it was out of date. Hopefully it will be more clear now.
willus is offline   Reply With Quote
Old 01-16-2013, 07:05 AM   #306
GabZeng
Junior Member
GabZeng began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: Kindle Touch
Ah! So I had to press <Enter> again! It works great now!
Thanks for the update to the help page as well!
GabZeng is offline   Reply With Quote
Old 01-21-2013, 02:40 AM   #307
anime513
Junior Member
anime513 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: Kindle 4
K2pdfopt Formatting

Hey, firstly let me thank you for this amazing program. It makes reading pdfs on a 6 inch e-ink device realistic. Most of my books come straight off of Amazon, but I have about eight pdfs aside from that. I'm trying to optimize my small collection for my Kindle, but I'm running into some problems with k2pdfopt. Basically, I use Briss to crop my pdfs, Acrobat to remove any hidden text, k2pdfopt to format (output as pdf), and finally calibre to convert. So far, I've only managed to convert only one document successfully. Two or three seem to be producing the following two issues while using k2pdfopt: uneven text sizes at random points (already tried -col 1 to prevent this) and large images or tables splitting up. Here is an example of what I'm talking about:



Any clues of what can be done to prevent this? If I could get k2pdfopt to deal with this issue, I would be able to successfully convert the rest of my pdfs
anime513 is offline   Reply With Quote
Old 01-21-2013, 08:23 AM   #308
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by anime513 View Post
... I'm running into some problems with k2pdfopt. ... Any clues of what can be done to prevent this?
Can you post or send me the source PDF file (or enough of it to reproduce your issues) and the command you are using to convert it? It looks pretty clean, so I'm hoping some fine tuning of the conversion options will help. You can send me a private message if you don't want to post the PDF file in this thread.

Last edited by willus; 01-21-2013 at 08:26 AM.
willus is offline   Reply With Quote
Old 01-21-2013, 11:57 AM   #309
Vanilla
Junior Member
Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.
 
Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
Hi Willus!

Anything new on the "no vertical space before a title" issue? If it's still considered an issue of course. If needed, i can PM you with some samples which exhibit the same behavior - or is it a structural thing? (if wrapping is off, big blocks are simply glued one after another, without looking into them?). TY
Vanilla is offline   Reply With Quote
Old 01-21-2013, 01:42 PM   #310
anime513
Junior Member
anime513 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: Kindle 4
Thank you for taking the time to help me. In general, I've been using -n -m 0 -col 1 for my conversions. I've extracted roughly ten pages from each document that seem to produce the error. The first one is a pretty well known text by Tae Kim found on his website. Take note of how the list on the first page is uneven after conversion and the tables are split throughout. The table issue is much more prevalent on the other two documents. On the C++ document, I end up getting pages of distorted images. Hope that helps.

Edit: Also, I have not cropped these pages through Briss.
Attached Files
File Type: pdf Japanese.pdf (416.7 KB, 107 views)
File Type: pdf Chemistry.pdf (603.1 KB, 73 views)
File Type: pdf C++.pdf (265.2 KB, 84 views)

Last edited by anime513; 01-21-2013 at 01:44 PM.
anime513 is offline   Reply With Quote
Old 01-21-2013, 09:44 PM   #311
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by Vanilla View Post
Anything new on the "no vertical space before a title" issue? If it's still considered an issue of course. If needed, i can PM you with some samples which exhibit the same behavior - or is it a structural thing? (if wrapping is off, big blocks are simply glued one after another, without looking into them?). TY
I know what the issue is, so you don't need to send more examples. It's exactly what you suggested--big blocks getting appended to each other without looking inside of them for line spacings. I've got the suggestion on my "to do" list. I'm not sure exactly when I'll get out the next release at this point. I've put a lot of time into k2pdfopt in the last few months and I'm taking a bit of a breather for now, but I still want to keep it progressing.
willus is offline   Reply With Quote
Old 01-21-2013, 10:16 PM   #312
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by anime513 View Post
Thank you for taking the time to help me. In general, I've been using -n -m 0 -col 1 for my conversions....
Try using -mode fw (fit width):

k2pdfopt -mode fw japanese.pdf

You can see what the -mode option does on my usage page, or take a look at the native output help page. If you don't want the output rotated, add -ls-. The -vb option (which is applied by -mode fw), when supplied with a negative value, keeps the scaling more uniform. [Yet another option is to set -odpi to a lower value so that k2pdfopt doesn't over-magnify certain regions.] For documents like you're reading--single column with lots of special spacings, figures, and indentation, the -mode fw option is best if it produces output large enough to read on your e-reader. If you need higher magnification than -mode fw, then you should try the default conversion (no arguments), which will allow text wrapping, but you'll probably get some occasional strange formatting, particularly on the Chem book which has stuff in the margins--that's something k2pdfopt doesn't handle well.

For the C++ doc, set the white threshold to a high value so that anything that isn't perfectly white is considered "not white":

-wt 250

That will do much better at keeping k2pdfopt from splitting up the figures, which have a lot of light grey backgrounds that k2pdfopt thinks are white space by default.

Here is a better description of how -vb works--a description which I'll put into the next release:

-vb <thresh> Set gap-size vertical-break threshold between regions that cause them to be treated as separate regions. E.g. -vb 2 will break the document into separate regions anywhere there is a vertical gap that exceeds 2 times the median gap between lines of text. These separate regions may then be scaled and aligned independently. Special values: Use -vb -1 to preserve all horizontal alignment and scaling across entire regions (vertical spacing may still be adjusted). Use -vb -2 to exactly preserve each region (both horizontal alignment and vertical spacing--this is the value used by -mode fw, for example). The default is -vb 1.75.

willus is offline   Reply With Quote
Old 01-22-2013, 04:59 AM   #313
Vanilla
Junior Member
Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.Vanilla shines like a glazed doughnut.
 
Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
Quote:
Originally Posted by willus View Post
I know what the issue is, so you don't need to send more examples. It's exactly what you suggested--big blocks getting appended to each other without looking inside of them for line spacings. I've got the suggestion on my "to do" list. I'm not sure exactly when I'll get out the next release at this point. I've put a lot of time into k2pdfopt in the last few months and I'm taking a bit of a breather for now, but I still want to keep it progressing.
Thank you for answering, i will patiently wait for the next release, whenever that is
Vanilla is offline   Reply With Quote
Old 01-29-2013, 12:35 AM   #314
giacitto
Junior Member
giacitto began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2013
Device: Kindle 3
not possible to read the converted pdf

I just tried you software with two pdf and the risults are:
1. when trying to open them with Acrobat Reader it says "Error when opening the document. The file is broken and cannot be read"
2. when I put them in my Kindle Kindle 3 it cannot open them and says "This pdf cannot be opened due to embedded features not yet supported by Kindle"
What am I doing wrong? Thank you for supporting...
giacitto is offline   Reply With Quote
Old 01-29-2013, 08:43 AM   #315
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 573
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by giacitto View Post
I just tried you software with two pdf and the risults are:
1. when trying to open them with Acrobat Reader it says "Error when opening the document. The file is broken and cannot be read"...
Adobe should be able to read the converted file. Would you be able to post the source PDF file and converted file (you can use the paperclip to attach files to posts)? Can Adobe read the source PDF file okay? What options are you using to convert? On what system? What version of Adobe?
willus is offline   Reply With Quote
Reply

Tags
ebook apps, k5 tools, kindle tools, kindle touch, tools

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:28 AM.


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