View Single Post
Old 01-06-2023, 11:34 AM   #1983
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: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by bigmonty View Post
I am trying to convert a chapter of a statistics book in kobo mini profile. The profile suits nicely with my mobile phone screen. The command I used is following :

k2pdfopt Chapter17-Statistics-AZW.pdf -dev kbm -odpi 250 -om .1 -o ch17-asw-mob.pdf

There are quite a few text on right and left margin and also in the footer. While the figure remains intact the table is totally messed up, same with main contents mostly. The actual file is available here:

https://drive.google.com/file/d/1N4f...YPJKjnYnnIgqj/
Try adding -nl to tell k2pdfopt your document has notes in the left margin. I tried this and it seemed to work pretty well on some sample pages. You can do just a few test pages with the -p option to try it out. Also you might want to add -sm so you can see how your source doc is getting parsed. Finally, you can mark regions you don't want messed up with boxes. See this page. Full list of k2pdfopt options is here.
willus is offline   Reply With Quote