Copy link to clipboard
Copied
I decided there was a better way to do something and now I've created a mess for myself. At the end of sections of my textbook, I have Important Points boxes:
Note that there is an anchored text frame at the top, overyling the top of the main text frame. Some of my Important Points boxes need to continue on the next page. I'd been manually copying and manually cutting and pasting between the two (or three) Important Point boxes, so the second one would look like this:
Note that this header box text frame is in the same place, but needs to be longer (manually adjusted) and to say 2/2 rather than 1/2. I have an Object Style for both the tinted big text frame and the header text frame, and the header text frame is linked to the main tinted text frame. Originally I was manually copying the main text frame to a second frame and manually cutting and pasting text to get the Important Points text to appropriately divide the text between the two big tinted text frames. But tonight I got the bright idea that I should just link the two (or three) text frames and let the text flow where it will. I found that I had anchored the header to the text in the big tinted text box and had to change this to link it to the big tinted text frame to get it to repeat properly.
I figure someone does this kind of thing all the time and may have some best practices to recommend. Especially when something like this happens:
Copy link to clipboard
Copied
Just to confirm you have
This is creating 3 problems:
Even if you anchor “to the frame”, it’s still technically anchored to a text position.
When text reflows - oversets - jumps to the next frame…the anchored header may:
This is expected behaviour, not a bug.
2. Anchored headers don’t “know” about continuation
An anchored object - has no concept of 1/2, 2/2 - doesn’t know if it’s the first or continuation frame - can’t automatically resize per frame
So you’re fighting the layout engine instead of using it.
3. Threaded frames + anchored frames = fragile
As soon as you thread frames, anchored objects are at the mercy of reflow. That’s why your “idea” worked until it didn’t.
What I'd look into
Use a Paragraph Rule + GREP/Nested Style (no header frame at all)
If the header always sits at the top of the tinted box, don’t make it a separate frame.
How it works
First paragraph = “Important Points”
Apply:
Paragraph Rule Above (for the tinted bar)
GREP/Nested Character Style (for the label text)
Keep Options (optional but if you want to start at top of every page or keep with the pink box etc.)
Let the text flow naturally - No anchoring - No overlap - Flows perfectly across pages - Zero manual resizing
This might be a limitation but maybe you won't get automatic “1/2, 2/2” numbering without scripting
How are textbooks and manuals are normally built?
Unanchored header frame on the Parent (Master) page
If the header must be a separate frame:
Then:
Page 1 uses the “Start” style
Continuation pages switch to “Continued”
What I'd avoid in your current setup
The “1/2, 2/2” numbering
I don't think InDesign can detect “This is the second frame of a threaded object”, possible maybe with a script.
What are the alternatives?
Most publishers choose the last one.
What would be my preference?
Remove all anchored header frames (I have a script that an unanchor all objects in a document if you want it)
Make headers > Paragraph rule + nested style or Parent-page frame (not anchored)
Tinted text frames thread normally
Use:
“Important Points”
“Important Points (continued)”
Can you perhaps give a bit more info:
Do these boxes ever start mid-page?
Are you open to dropping 1/2, 2/2?
Copy link to clipboard
Copied
Thanks for your time and your expertise, Eugene!
The whole thing started when I saw a textbook with such "Important Points" with a header in a separate frame like what I posted and decided to do something similar.
Most of them fit on one page, and only a few go more than one page, so automation is not so important for this.
I should have known better; this was my cognitive error. I KNEW that anchored objects are anchored to TEXT, but like a magpie attracted to a shiny object I somehow deluded myself that if I POSITIONED my anchored header relative to the main text frame that somehow ANCHORED it there. This was in passing as I was deciding to let text flow between those Important Points text frames to "automate" this to some degree if I have to edit the text in the main Important Points text frame. And I'm OK with manually adjusting the text in those headers rather than specifying the size in a style. Each header text frame needs to be manually adjusted in size as the size depends on the length of the title (or abbreviated title) of the section to which they refer.
Now that you've pointed out the error of my ways (as well as explaining how to automate something similar which I hope will help someone else at some point) I'm going to continue to kludge as follows. If I need an Important Points text frame to continue onto another page:
Kludgy but works, and without need to automate.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more