Skip to main content
Inspiring
June 3, 2022
Answered

Repeating the same text to different text boxes on multiple pages

  • June 3, 2022
  • 2 replies
  • 1634 views

Hi all,

 

I'm trying to create a mini textbook and would like the titles and subtitles of each unit to be repeated in different text boxes, with different paragraph styles, in different places across the document.

 

The cover is a kind of title page with it's own master and a kind of table of contents.

The spreads are the different units, with their own master design.

 

I've tried using a running header, but this doesn't work unless it's on the same spread.

I've tried using a custom text variable, but the text doesn't wrap properly for longer texts.

I've tried using the content collector, but the paragraph styles are also copied.

 

Ideally, I'd like to be able type in the title and outcome on the 1st page of each unit and it be repeated where necessary.

 

I've attached some screenshots to help visualize the project.

 

Thanks

This topic has been closed for replies.
Correct answer andreww72089748

Much appreciated fella.


Just thought I'd add a follow-up.

 

I've found this script https://pastebin.com/N7CJjJ0J

It was posted a while back by another user and seems to work really nicely! I think the original writer of the script was someone called Tomaxxi.

2 replies

Joel Cherney
Community Expert
June 3, 2022

I am surprised that the running header doesn't work for you; it's pretty configurable. But if running headers won't cut it, you could use cross-references with a custom cross reference format:

 

 

 

Note that I had to edit the "Full Paragraph" cross-reference format to remove the quotation marks, and that I saved it so that the rest of the "Full Paragraph" xrefs I would make in this document would be free of those quote marks. 

Inspiring
June 3, 2022

Sorry to bother you again,

 

Just tried the running header approach again and ran into a similar problem with the custom text variable.

 

It's fine when the text is short (see title on page 2):

 

But when the text is long, it does this (see title on page 2):

 

I'd love to be able to say just keep the titles short, but I'll need a similar technique for when I put in lesson outcomes. The lesson outcomes will be something like, "Learners can make inferences about what is happening in a photo." which I want underneath the titles on the first page, and underneath the titles on page 2 (in the grey area).

andreww72089748AuthorCorrect answer
Inspiring
June 6, 2022

Much appreciated fella.


Just thought I'd add a follow-up.

 

I've found this script https://pastebin.com/N7CJjJ0J

It was posted a while back by another user and seems to work really nicely! I think the original writer of the script was someone called Tomaxxi.

John Mensinger
Community Expert
June 3, 2022
quote

I've tried using the content collector, but the paragraph styles are also copied.

 

True, but if you restyle after placing, the content link and its subsequently-applied style will hold.

 

 

Inspiring
June 3, 2022

Thanks John,

 

Yh, I noticed that and could fall back on it if nothing else works. But, I'm trying to be as efficient as possible and was looking for a kind of 'one and done' approach.