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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2009, 01:03 AM   #1
crill
Junior Member
crill can extract oil from cheesecrill can extract oil from cheesecrill can extract oil from cheesecrill can extract oil from cheesecrill can extract oil from cheesecrill can extract oil from cheesecrill can extract oil from cheesecrill can extract oil from cheese
 
Posts: 8
Karma: 1000
Join Date: Jul 2009
Device: none
Arrow pdf (with page numbers) to epub

Okay... I dont need help on how to do it... but I just discovered something.

I had/have many pdf ebooks that I wanted to change epub... thats fine and all, but some pdf ebooks would have a page number and the authors name on each page. So when I would convert it that would come onto the epub file too. So I would have 1, 2, 3, 4... jumbling the text around. As you can imagine thats really annoying!

So I searched the internet about converting pdfs to epub without the page numbers. I couldn't find anything helpful. So it occurred to me that I could crop the pdf and get rid of the author name and page numbers and just leave the text. But I soon learned it was just hidden. So it would still appear on the converted epub even though it was hidden on the pdf. UGH!

Anywhoo, I figured out how to make it so could crop it and convert without having the page numbers and author name appear throughout the whole epub. Im on a mac sooo... this is how I did it:

1) Open pdf on preview and crop it so the author name and page number becomes hidden and you just have the text.

2) Go up to file, print. (No printing here)

3) Click on the PDF icon on the lower left side of the print box.

4) On the dropdown menu click on Save as PostScript

5) Open the new post script file with preview... it will open and tell you its converting to pdf again.

6) And then save the newly converted pdf. And then you can go and convert that to epub without the page numbers and crap coming up everywhere


I tried also Save as PDF on the box... but when I convert to epub the page numbers and stuff still come up... Saving as postscript and having preview convert it to a pdf seems to get rid of the cropped stuff permanently.

I hope this will help some of you and I hope it works with others. Its annoying that preview and other applications dont destructively crop in the first place. Tell me what you think! And sorry for the long post.
crill is offline   Reply With Quote
Old 09-01-2011, 03:50 PM   #2
cleanest
Junior Member
cleanest began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2010
Device: nook
Thanks!

I've been looking for this exact thing! It works great; although I did two and for some weird reason the page numbers got added back in on one of them. I then opened the PDF in Acrobat, exported to RTF, and then converted that to ePub. What a pain but it's worth it sometimes. Thanks!
cleanest is offline   Reply With Quote
Advert
Old 09-01-2011, 06:56 PM   #3
raymiles
Junior Member
raymiles began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: iPod Touch, MacBook
Thanks for that. but with a 543 page book it would surely be too tedious for me to crop each page one by one in the original PDF file. Or is there a way of doing it all at once?
raymiles is offline   Reply With Quote
Old 09-02-2011, 12:45 AM   #4
cleanest
Junior Member
cleanest began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2010
Device: nook
cropping all pages at once

This took me a bit to figure out as well. You do the selection on one page of the area you want to crop. Then you open the sidebar that shows the thumbnails for all the pages. You click one of those pages and then hit command-a (select all). Then in the inspector you click crop and it crops all pages to the size you selected on the one page.

By the way, the full process I did was:

1) use Preview.app to crop all the pages as above
2) print to a new PDF file
3) open in calibre and convert to epub

This worked for one of the two PDF's I converted today. For some reason, the other looked great after I cropped it, but when I converted to epub, somehow weird page numbers (that I never saw in the PDF!) were showing up throughout the epub. For that one, I had to:

1) as above
2) as above
3) open in Acrobat and then export to text
4) edit text with vim (unix editor) and search replace /^M^L^M\d* ^M//
5) open in calibre and convert to epub
cleanest is offline   Reply With Quote
Old 09-02-2011, 07:09 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You could also take a look at PDFReflow. This java tool can easily remove headers and footers. Depending on the source it will lead to a reasonable result.
Toxaris is offline   Reply With Quote
Advert
Old 09-12-2011, 01:32 AM   #6
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
Oh gawd! look at the date
To crop all pages in acrobat select the area to crop with the crop tool and press the enter key. Select ALL.

Last edited by wannabee; 09-12-2011 at 01:37 AM.
wannabee is offline   Reply With Quote
Old 12-12-2011, 04:41 PM   #7
sinan
Enthusiast
sinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of it
 
sinan's Avatar
 
Posts: 23
Karma: 66956
Join Date: Feb 2010
Location: Conn. USA
Device: Kindle 3, Kindle PW
Hi,
That is one of the methods I have been using, but cropping requires adobe pro. Here is much easier way, which removes page number automatically.
First you need to download mobipocket creator. It is a free software which converts pdf into prc (mobi). After installation, run it.
Once you run, you will see "import from existing file" option on the home window. Click "Adobe pdf", then you will be asked directories and stuff. After import, don't convert it to mobi, no , not yet.
Go to "My Document", you will see a folder named "My Publications". You will find your book under this folder as html, pdf, xml without page numbers. It is conversion is quite good. You can edit html file, and used calibre to convert any format you like.

Or you can use Adobe Acrobat Pro and permanently remove page numbers. Follow the link below for more information.

Edit:
In some cases, cropping pdf before dropping it into Mobipocket creator yields better results with Mobipocket creator. There is a simple and free software called Briss to crop pdf files. Portable version is also available.
For more information https://www.mobileread.com/forums/sho...d.php?t=160755

Last edited by sinan; 02-04-2012 at 01:01 AM.
sinan is offline   Reply With Quote
Old 12-12-2011, 09:58 PM   #8
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
Quote:
Originally Posted by sinan View Post
After installation, run it.
Once you run, you will see "import from existing file" option on the home window. Click "Adobe pdf"
I already had mobipocket creator installed. I ran a html file through it first as suggested and made a prc which worked fine but sadly, I didn't find the import feature on the home page as you mentioned.

This would be a good work around because exporting from PDFs that have been cropped to remove folios still includes the folios. The cropping just masks the output. The content is still there. Though invisible until you export it.
Attached Thumbnails
Click image for larger version

Name:	rubbish.jpg
Views:	894
Size:	282.8 KB
ID:	79895  
wannabee is offline   Reply With Quote
Old 01-05-2012, 10:37 PM   #9
Tetchystar
Mouse Army
Tetchystar began at the beginning.
 
Tetchystar's Avatar
 
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Kobo Forma
Quote:
Originally Posted by sinan View Post
Hi,
That is one of the methods I have been using, but cropping requires adobe pro. Here is much easier way, which removes page number automatically.
Hi sinan, I've been looking around the internet for exactly how to convert PDFs without page numbers and your method worked for me easily and perfectly! Thank you so much for putting up this great method.

wannabee, you have to run pdf through mobipocket and leave it. Don't convert it, and put the html file made by mobipocket into calibre, then use calibre to convert to whatever you want. The html output from mobipocket doesn't have the page numbers or authors name, etc.
Tetchystar is offline   Reply With Quote
Old 01-11-2012, 07:09 AM   #10
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
OK . . . Thanks. I think.
However, how can I proceed without the import option being available as pictured above?
wannabee is offline   Reply With Quote
Old 01-12-2012, 06:49 AM   #11
comtrjl
Connoisseur
comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.
 
Posts: 75
Karma: 204999
Join Date: Aug 2006
Location: London
There are 2 editions of mobi creator - you need the 'publisher edition' not the 'home' edition.
It's here: http://www.mobipocket.com/en/Downloa...ilsCreator.asp

bob
comtrjl is offline   Reply With Quote
Old 01-12-2012, 11:57 PM   #12
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
Quote:
Originally Posted by comtrjl View Post
There are 2 editions of mobi creator - you need the 'publisher edition' not the 'home' edition.
It's here: http://www.mobipocket.com/en/Downloa...ilsCreator.asp

bob
Cool . . . I'll give it a go. Thanks
wannabee is offline   Reply With Quote
Old 05-30-2012, 02:16 PM   #13
vandeetz
Junior Member
vandeetz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2012
Device: nook, iPad
I followed the instructions from the 1st post

all seemed to work well, until I converted the pdf to epub in Calibre... it shows the picture from the cover of the book, but all thats on the epub for text is some random characters.

I can convert it fine without cropping the pdf, but then I'm left with all the random page numbers in the middle of my text.

Help!!!!

just an FYI for those trying to help me, I have a mac... so any software suggestions would need to be mac compatible

thanks!!!
vandeetz is offline   Reply With Quote
Old 01-12-2019, 09:13 AM   #14
BenSL
Junior Member
BenSL began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2019
Device: Kindle fire
Quote:
Originally Posted by crill View Post

1) Open pdf on preview and crop it so the author name and page number becomes hidden and you just have the text.

2) Go up to file, print. (No printing here)

3) Click on the PDF icon on the lower left side of the print box.

4) On the dropdown menu click on Save as PostScript

5) Open the new post script file with preview... it will open and tell you its converting to pdf again.

6) And then save the newly converted pdf. And then you can go and convert that to epub without the page numbers and crap coming up everywhere

Hey there, I'm wondering if there is an update on how to do this since the original post was from several years ago. I see one of the other websites listed in other comments is no longer functioning.
Essentially I don't have the option to save as PostScript.
Any ideas?
BenSL is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page numbers in pdf jacktanner Calibre 2 10-08-2011 08:11 PM
page numbers messed up in my epub verybadcat ePub 1 04-13-2010 04:47 PM
PRS-300 ePub, Incorrect Page Numbers? Purge Sony Reader 6 11-19-2009 12:33 PM
DX, PDF, and Page Numbers tklaus Amazon Kindle 1 06-28-2009 08:20 PM
pdf and page numbers pimpoum Sony Reader 2 04-21-2009 12:52 PM


All times are GMT -4. The time now is 09:54 PM.


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