MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Plugins (https://www.mobileread.com/forums/forumdisplay.php?f=268)
-   -   Pagelist plugin for print edition page numbers (https://www.mobileread.com/forums/showthread.php?t=265237)

David Kudler 03-15-2016 05:27 PM

May I ask what is probably a silly question?

How the heck do I generate page numbers/spans when exporting from InDesign (CC) to a reflowable ePub3 file —*so that I can then use this plugin to generate a pagelist?

I can see that they're automatically there when I export to FXL. For a novel, do I have to go through and enter the #)@$*)@ things by hand, or is there something that I can do at the InDesign end to add the tags?

JSWolf 03-15-2016 05:34 PM

Is this compatible with ADE 2.0.1? If not, why not make it compatible?

Doitsu 03-15-2016 05:36 PM

Quote:

Originally Posted by David Kudler (Post 3281367)
How the heck do I generate page numbers/spans when exporting from InDesign (CC) to a reflowable ePub3 file —*so that I can then use this plugin to generate a pagelist?

Unfortunately, I can't help you with that. You might want to ask this question in the Workshop forum or the ePub forum.

David Kudler 03-15-2016 10:09 PM

Quote:

Originally Posted by Doitsu (Post 3281372)
Unfortunately, I can't help you with that. You might want to ask this question in the Workshop forum or the ePub forum.

Will do. Thanks for your help — and for the awesome plugins! :-D

Quote:

Originally Posted by JSWolf (Post 3281371)
Is this compatible with ADE 2.0.1? If not, why not make it compatible?

Um... ADE 2 doesn't handle ePub3 at all, does it? Pagelists are an ePub3 feature.

Tex2002ans 03-16-2016 04:53 AM

Quote:

Originally Posted by David Kudler (Post 3281505)
Um... ADE 2 doesn't handle ePub3 at all, does it?

Nope. I believe EPUB3 support was added in ADE 4.0.

Quote:

Originally Posted by David Kudler (Post 3281505)
Pagelists are an ePub3 feature.

Actually, pageLists can be done in EPUB2:

http://www.idpf.org/epub/20/spec/OPF...Section2.4.1.2

EPUB3 just changed the way it is done.

DiapDealer 03-16-2016 09:17 AM

For the record: ADE 2 will read/render text-based EPUB3s (novels primarily) just fine. You're correct that it doesn't support the multi-media aspects, or the scripting portions, or the fixed-layout portions of the EPUB3 spec, but "supporting" EPUB3 all depends on the EPUB itself. It's not like ADE 2 (or 3) says, "I can't open that." It, in fact, opens/renders many commercially-available EPUB3s just fine.

Offtopic though. My apologies, Doitsu. Back to pagelist/pagemap generation. ;)

Doitsu 03-16-2016 09:54 AM

Quote:

Originally Posted by Tex2002ans (Post 3281650)
I believe EPUB3 support was added in ADE 4.0.

That's correct, however, ADE 4.x won't display pagelist based page numbers in the book. (At least the Children's Literature test file, which worked fine with iBooks, didn't work with ADE 4.x; there's a Show Page Numbers menu item, but it doesn't seem to do anything. )

Quote:

Originally Posted by Tex2002ans (Post 3281650)
Actually, pageLists can be done in EPUB2:

That's also technically correct, but, AFAIK, there are no free ePub2 apps that actually support this feature. Even among dedicated ePub3 apps pagelist support isn't that great. AFAIK, the only free ePub3 apps that support pagelist page numbers are iBooks and Azardi Reader.

Quote:

Originally Posted by DiapDealer (Post 3281807)
Offtopic though. My apologies, Doitsu. Back to pagelist/pagemap generation. ;)

Your comments are always welcome, because they usually contain useful information or are at least entertaining. :)
The same goes, of course, for Tex2002ans who consistently provides high-quality answers.

Tex2002ans 03-16-2016 07:33 PM

Quote:

Originally Posted by Doitsu (Post 3281818)
That's also technically correct, but, AFAIK, there are no free ePub2 apps that actually support this feature. Even among dedicated ePub3 apps pagelist support isn't that great. AFAIK, the only free ePub3 apps that support pagelist page numbers are iBooks and Azardi Reader.

For EPUB3 readers, Readium works as well (and I assume any Readium SDK-based apps (there is probably a few on Android)).

Quote:

Originally Posted by Doitsu (Post 3281818)
The same goes, of course, for Tex2002ans who consistently provides high-quality answers.

*slips you some money under the table* :thumbsup:

LauraB7 11-17-2017 01:37 PM

I have a set of InDesign scripts to do this. It inserts conditional text with the page numbers inserted at the print page breaks. A post-export script will turn that <span> into the correct epub:type inflection and collect the pagelist to plop into the <nag> document.

See: http://www.bradytypesetting.com/rorohikoscripts

DiapDealer 11-17-2017 02:07 PM

Quote:

Originally Posted by LauraB7 (Post 3613392)
I have a set of InDesign scripts to do this. It inserts conditional text with the page numbers inserted at the print page breaks. A post-export script will turn that <span> into the correct epub:type inflection and collect the pagelist to plop into the <nag> document.

See: http://www.bradytypesetting.com/rorohikoscripts

<nag> document. :rofl:

I know this was a typo, and I know what you meant, but boy .... did it ever make me giggle! :D

David Kudler 11-25-2017 07:10 PM

Quote:

Originally Posted by DiapDealer (Post 3613409)
<nag> document. :rofl:

I know this was a typo, and I know what you meant, but boy .... did it ever make me giggle! :D

#eprdctn humor! :-)

David Kudler 08-08-2020 03:40 PM

I have a book that I'm converting that's widely used as a textbook in print, so this is great.

Just to be sure I understand what I have to do to make this work:
  1. Paste the epub:type="pagebreak" clip at the location where each pagebreak occurs in the physical copy
  2. Run the plugin

That's it, right?

I'm bummed that InDesign only supports pagelist export for fixed-format ePubs.

Doitsu 08-09-2020 01:50 AM

Quote:

Originally Posted by David Kudler (Post 4020873)
Just to be sure I understand what I have to do to make this work:
  1. Paste the epub:type="pagebreak" clip at the location where each pagebreak occurs in the physical copy
  2. Run the plugin

That's it, right?

For the clip to work, you need to insert the page number, highlight it and then select the clip.

For example, if you insert 12, highlight it, and apply the clip you'll get:

Code:

<span epub:type="pagebreak" id="page12">12</span>
The plugin will use this information for generating the pagelist entries.

If there already are anchor tags with page numbers and ids in your book, you can modify the PageList.json preference file to re-use them. For example, the following preferences

Code:

{
  "tag": "a",
  "attribute": "class",
  "value": "page"
}

tells the plugin to look for:

Code:

<a class="page" id="page1">1</a>
However, in epub3 books, you'll need to manually add the epub:type="pagebreak" attributes.

David Kudler 08-14-2020 03:58 PM

Quote:

Originally Posted by Doitsu (Post 4020993)
For the clip to work, you need to insert the page number, highlight it and then select the clip.

Thanks. That's what I understood; I just didn't express it very well. ;-)

I'm about to dive into this. Wish me luck.

Terry Brown 10-09-2020 02:08 PM

I have used the pagelist plugin to modify an epub, saved it and loaded it in iBooks on my iPad. iBooks recognizes the new file has page numbers and shows the option, in the table of contents, to "tap to show printed page numbers". However, when I do this, the page numbers in the table of contents do not change, and when I am reading the book, there are no page numbers shown on an individual page. When I tap to show the menu and chapter progress, the number of pages left in the chapter is shown, but this number is related to the iBooks page number, not the 'real book' page numbers I added (that is, the number of pages left in the chapter changes with font size.).

Is there something else I need to do to make the page numbers show up?


All times are GMT -4. The time now is 07:06 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.