/ Id-Extras Forum / Extract Pages says the page ranges it generated are invalid
-
Author
-
justaddorangejuice
ParticipantHello. I just downloaded ExtractPages 2.0.4 because I need to split an indd document so that each chapter is its own document.
What I’m doing:
- Run the script. When the window opens, select “Split by Style.”
- Select “Chapter #” as the paragraph style.
- Extract as “groups of pages”.
- ExtractPages generates a bunch of numbers in the Range field.
- Click Extract. I immediately get an error message saying “Invalid page range.”
Does anyone have any idea what I’m doing wrong here? It seems odd that the numbers the script itself generates are invalid. I’ve ended up manually adding sections at each instance of “Chapter #” paragraph style, and ExtractPages does seem to work normally if I “Split by section” instead. But I have to do this to a bunch of documents, and I really don’t want to have to go through and add in sections every time when this script is supposed to be able to split at a paragraph style.
Ariel
KeymasterHi,
That is a bit strange.
Can you paste here the page numbers that the script generates in the Range field?
justaddorangejuice
ParticipantSure.
- +0; +1 - +9; +10 - +18; +19 - +30; +31 - +39; +40 - +47; +48 - +57; +58 - +67; +68 - +77; +78 - +86; +87 - +95; +96 - +105; +106 - +115; +116 - +124; +125 - +134; +135 - +144; +145 - +153; +154 - +163; +164 - +173; +174 - +183; +184 - +193; +194 - +203; +204 - +214; +215 - +224; +225 - +233; +234 - +246; +247 - +256; +257 - +266; +267 - +276; +277 - +286; +287 - +296; +297 - +306; +307 - +316; +317 - +325; +326 - +335; +336 - +345; +346 - +355; +356 - +363; +364 - +373; +374 -
-
This reply was modified 11 months, 3 weeks ago by
Ariel.
Ariel
KeymasterThanks.
Hmm. If you delete the
- +0;
that appears right at the beginning, does it work? (Don’t forget to delete the semicolon after the 0 as well.)-
This reply was modified 11 months, 3 weeks ago by
Ariel.
-
This reply was modified 11 months, 3 weeks ago by
Ariel.
justaddorangejuice
ParticipantThat fixed it! The script’s running now. Too late for this book since I used sections instead, but I’ve got plenty more books I need to do this too coming this week so I’ll remember to remove the – +0; from now on.
Thank you!
Ariel
KeymasterWell, it’s a bug with the script I think, and it reminds me of a bug that I thought was fixed.
I don’t suppose there’s any chance you could send me the file to look at and see what’s going on? (send to: admin [at] id-extras.com).
Thanks,
Ariel
-
AuthorPosts
Tagged: Extract Pages