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 07-13-2017, 10:38 PM   #1426
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: 925
Karma: 6379999
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by dhdurgee View Post
One of the documents I have been using k2pdfopt with has just added a page to the end of each of the parts that I want to drop. I thought I might be able to use -px -1 to drop the last page, but the dcoumentation appears to indicate that that means no pages are excluded. How do I exclude the last page of a pdf file? If necessary I guess I can process the files with another tool first.
Sorry--there is no way at present to specify page numbers relative to the end of the PDF file. It's a good suggestion, though. You can use k2pdfopt with the -i option to tell you the number of pages in the file.
willus is offline   Reply With Quote
Advert
Old 07-14-2017, 07:28 AM   #1427
wifile
Junior Member
wifile began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: kindle kpw3
https://www.dropbox.com/s/uf7bjbtn1auhpcy/a.jpg?dl=0
https://www.dropbox.com/s/j93kv9ivrxelv80/a1.jpg?dl=0
https://www.dropbox.com/s/yp6m36nftxnwv4x/b.jpg?dl=0
https://www.dropbox.com/s/4ij79nf1ou8tc38/b1.jpg?dl=0
https://www.dropbox.com/s/7gvd5rpe40...oblem.png?dl=0
https://www.dropbox.com/s/4nu1zai70r...oblem.png?dl=0

Ask for some help!

I put "-m -j 0 -col 1 -dev kp3 -ws 0.00001 -gtr 0.00001" int addtional options.
Both a and b are split frome one single pdf file.
a1 and b1 are the results.
a1 problem and b1problem are the problems and what I want them to be.

Last edited by wifile; 07-14-2017 at 07:31 AM.
wifile is offline   Reply With Quote
Old 07-14-2017, 08:52 AM   #1428
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: 925
Karma: 6379999
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by wifile View Post
https://www.dropbox.com/s/uf7bjbtn1auhpcy/a.jpg?dl=0
https://www.dropbox.com/s/j93kv9ivrxelv80/a1.jpg?dl=0
https://www.dropbox.com/s/yp6m36nftxnwv4x/b.jpg?dl=0
https://www.dropbox.com/s/4ij79nf1ou8tc38/b1.jpg?dl=0
https://www.dropbox.com/s/7gvd5rpe40...oblem.png?dl=0
https://www.dropbox.com/s/4nu1zai70r...oblem.png?dl=0

Ask for some help!

I put "-m -j 0 -col 1 -dev kp3 -ws 0.00001 -gtr 0.00001" int addtional options.
Both a and b are split frome one single pdf file.
a1 and b1 are the results.
a1 problem and b1problem are the problems and what I want them to be.
You would think I'd have an option to specify minimum blank gap required between rows of text, but I do not, and -gtr does not help because there is a clean gap between the "lim" and the limit descriptions below. I will consider adding a new option to address this in the next version. For now, you might be able to use the instructions on this help page to avoid specific row splits. I take it you are running on OSX?
willus is offline   Reply With Quote
Old 07-14-2017, 09:07 AM   #1429
wifile
Junior Member
wifile began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: kindle kpw3
Ok ,then, I got your points. thanks then. I'll catch up the update version.
wifile is offline   Reply With Quote
Old 07-15-2017, 09:23 PM   #1430
wifile
Junior Member
wifile began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: kindle kpw3
can k2pdfopt just crop the top's and bottom's blank margins ? nothing to with the left and right, or anything eles.
wifile is offline   Reply With Quote
Old 07-16-2017, 06:35 PM   #1431
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: 925
Karma: 6379999
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by wifile View Post
can k2pdfopt just crop the top's and bottom's blank margins ? nothing to with the left and right, or anything eles.
Technically it doesn't have options to do this, but you should be able to get something satisfactory. Try this:
k2pdfopt -mode trim -w 9in source.pdf
Make the -w argument whatever you need to add whatever desired blank space you want for the left and right margins. E.g. if the text in your document is 7 inches wide, using -w 9in will add an inch of blank margin on either side.
willus is offline   Reply With Quote
Old 07-16-2017, 10:50 PM   #1432
pevoca
Junior Member
pevoca began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: Pocketbook 623
Hi! I have a problem. I don't undertand why text on the left is smaller then other in pdf.
-om 0.08 -m 1 -f2p -1 -gtr 0.008 -fc-
-ehl 1 -wrap+ -c -ocr- -col 1 -p 408-424 -odpi 182 -h 1024 -w 758
With this commands i was trying fix it, but with zero rezult. Also i protected picture with black box. Thank you for your help
http://www.filedropper.com/selection_1
And this problem i have with other pdf files with pictures on the left or right sides.
pevoca is offline   Reply With Quote
Old 07-17-2017, 09:04 AM   #1433
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: 925
Karma: 6379999
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by pevoca View Post
Hi! I have a problem. I don't undertand why text on the left is smaller then other in pdf.
-om 0.08 -m 1 -f2p -1 -gtr 0.008 -fc-
-ehl 1 -wrap+ -c -ocr- -col 1 -p 408-424 -odpi 182 -h 1024 -w 758
With this commands i was trying fix it, but with zero rezult. Also i protected picture with black box. Thank you for your help
http://www.filedropper.com/selection_1
And this problem i have with other pdf files with pictures on the left or right sides.
The link you posted is a result of the output from k2pdfopt, I take it? Do you have a link to the source file (or some pages from it)? The answer is that k2pdfopt cannot re-flow text next to a figure when you specify -col 1. So it is forced to shrink the text next to the figure so that it all fits the width of your device. If you let it find multiple columns, the text size may be more consistent. Or, if you don't want multiple column detection, you can try -mode fitwidth for a more consistent text size across a page.
willus is offline   Reply With Quote
Old 07-17-2017, 09:57 AM   #1434
pevoca
Junior Member
pevoca began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: Pocketbook 623
Ok. Here:
http://www.filedropper.com/111111111111234
pevoca is offline   Reply With Quote
Old 07-18-2017, 08:42 AM   #1435
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: 925
Karma: 6379999
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by pevoca View Post
You made the box around the figure pretty close to the neighboring text, so to get column detection to work correctly, you have to use -cg .05. If you want the text next to it exactly the same size as the rest, use -fc- also:
k2pdfopt -fc- -cg .05 source.pdf
Use -sm to see how k2pdfopt is parsing the source file.
willus is offline   Reply With Quote
Old 07-18-2017, 12:40 PM   #1436
pevoca
Junior Member
pevoca began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: Pocketbook 623
I apply that commands to all document, and some pictures didnt work. Like here:
http://www.filedropper.com/11_17
pevoca is offline   Reply With Quote
Old 07-19-2017, 08:43 AM   #1437
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: 925
Karma: 6379999
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by pevoca View Post
I apply that commands to all document, and some pictures didnt work. Like here:
http://www.filedropper.com/11_17
For that page, you need to extend the range that it searches for columns with -cgr:
k2pdfopt -fc- -cgr 0.5 11.pdf
Use -sm to see how k2pdfopt is parsing the file. You cannot use -cg .05 on this page because it will break the text incorrectly--the default value works better. There may not be one set of settings that works for the entire document, unfortunately. You might like the results from -mode fitwidth better (in terms of consistency, at least, but maybe the text will be too small).
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 05:30 PM.


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