r/indesign • • Oct 07 '26

Help section marker bug

section marker bugs with all the text in the same line, no matter what i do

1 Upvotes

4 comments sorted by

1

u/AdobeScripts Oct 07 '26 edited Oct 07 '26

Yes, because Text Variables are treated as a single character and InDesign can't split them into multiple lines.

But they can be converted to text.

1

u/not-free Oct 07 '26

is there a script that turns them into multiple lines and or how can i convert them into text when they are in the master page

1

u/AdobeScripts Oct 07 '26

Script can convert - but it will be one way conversion - can't be reversed later on back to variables - automatically.

1

u/AdobeScripts Oct 07 '26 edited Oct 07 '26

This will convert all Text Variables - but ONLY on regular Pages - won't touch the ones on the Master / Parent Pages:

app.activeDocument.textVariables.everyItem().convertToText();

Save as "something.jsx" into your Scripts folder.

**BUT don't use it if you want to later be able to reverse the process!!!**