#1 Nov. 12, 2012 11:49:20

PQ
Registered: 2012-11-12
Posts: 3
Profile   Send e-mail  

Separate page files

Hi,

First off I'd like to say that your programme does far and away the best job at cleanly converting PDFs that I've seen to date.

I was wondering if you would consider adding the ability to output the html markup into individual files per page. I realise that it's technically possible by selectively ignoring all lines except for those on the desired page one page at a time, but it means it's difficult to use the ignore functionality for it's original purpose, and in our instance where we have to convert documents 100's of pages long, it massively increases the time taken to do the job.

It occurs to me that you've written PDFMasher concentrating mainly on the use case of eBook creation, but some of your potential user base might have different uses.

Thanks

Offline

#2 Nov. 12, 2012 15:31:37

hsoft
Registered: 2012-08-04
Posts: 84
Profile   Send e-mail  

Separate page files

Anything is always possible, but your request have me curious: what would be the purpose of having one html file per page?

Offline

#3 Nov. 13, 2012 11:49:00

PQ
Registered: 2012-11-12
Posts: 3
Profile   Send e-mail  

Separate page files

In our case, we provide digital publications as rich turning page presentations, but many of our clients have a need for a ‘text only’ view of the page content, basically a button that presents the textual content with structural markup such as headings, paras and lists but with no layout or style.

I imaging another use would be if someone wanted to populate pages of a website with the contents of a PDF.

Thanks,
Paul.

Offline

#4 Nov. 13, 2012 13:55:38

hsoft
Registered: 2012-08-04
Posts: 84
Profile   Send e-mail  

Separate page files

The feature would be a bit too specific for my own taste, but a little research has shown a program to split HTML based on header tags:

https://txt2tags.wordpress.com/2006/08/31/split-html-in-multiple-pages/

One thing that PdfMasher could do is to give the option to automatically insert “Page <page number>” elements at the beginning of each page, which would allow you to have easy markers for your page splitting.

Offline

#5 Nov. 13, 2012 18:50:40

PQ
Registered: 2012-11-12
Posts: 3
Profile   Send e-mail  

Separate page files

Fair enough… If it wouldn't benefit enough of your users then I understand that it's not worth developing the feature.

When you mention inserting ‘Page <page number>’, do you mean that there's the ability to do this already or is this a feature you're looking at adding? We could definitely post process based on that, although we would probably need to be differentiated from ‘Page x’ appearing in the text of the PDF somehow, maybe it could appear in the form of a html comment.

Offline

#6 Nov. 14, 2012 20:14:20

hsoft
Registered: 2012-08-04
Posts: 84
Profile   Send e-mail  

Separate page files

No the feature isn't there yet, it was an idea I had to introduce a feature that had a more generic utility and yet would allow you to reach your goal. I've create a feature ticket at https://bitbucket.org/hsoft/pdfmasher/issue/21

Offline

Board footer

Moderator control

Powered by DjangoBB