• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
15

How to quickly extract a line as a title and use a new text framework

Advocate ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

Seems like someone has written a similar script before?

This new framework remains connected to the front and back frames, separated by the frame separator (Shift+NumEnter)

This line applies the specified paragraph style.

Thank you very much.

Like this.png

TOPICS
Bug , Feature request , How to , Performance , Print , Scripting

Views

195

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

Well, it's exceedingly simple, but simply selecting that minor head and clicking a style such as 'BigSpanHead' to change the style would seem to do it, without any need for scripting or complex automation.

 

One paragraph style is simply bolded/spaced text; the latter would use Span Columns with space above and below, plus any tweaks like rules above or below, or a border.

 

What do you see as needing a more complex approach? (You do not need to, and should not, break the text into multiple frames for this kind of layout; use the tools that preserve a single text flow and all its advantages.)


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.0 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

It seems that someone has written a script before.
I have seen it.
I just can't find it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

What do you want the script to do that a span heading does not?


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.0 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

dublove: Before InDesign had column-spanning paragraphs we used scripts to get the same effect. There are several of them aound. But they're no longer needed, as James pointed out. Simply use  a column-spanning paragraph.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

What is ”a column spanning paragraph?"
Like this?

662.png

I want to bring up this line as a text box.
Instead of crossing columns within the same text box.
That way, InDesign will be very slow.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

Instead of crossing columns within the same text box.

 

So you tried that? In case you didn't see here:

 

PeterKahrel_0-1710347535147.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

LATEST

Just to make it clear, the difference between these two pages is that a simple heading style is changed to a spanned-column heading style, in one click selecting the new style:

JamesGiffordNitroPress_1-1710347511234.png

 

 

JamesGiffordNitroPress_0-1710347472574.png

 

The flow of text is maintained, no work is required to create separate text boxes or flow text through them, and it can be undone by simply selecting a non-span head style.

 

Everything about the approach you want to use is inferior in multiple ways — amount of work required both to create the layout and then to maintain it as the document is edited, having to manually rearrange content initially and every time there is a change... with the style, it's a simple, integral use of InDesign capabilities; by cutting the content into text boxes, you are creating a rigid layout with no automatic adjustment, and one that can cause all kinds of downstream problems with output and export.

 

If you insist, I'm sure someone can come up with that very old (and old-school) script. But a few minutes investigating how Span Columns works in a paragraph style might convince you this advanced method is better.

 

And if spanning columns slows down InDesign, which it might under some circumstances, consider that against how much time you will invest creating, updating and maintaining a "manual layout" page of separate text boxes. Using a style also allows global changes to the heading — size, font, color, and spacing — which a manual layout would need individual adjustments to every instance.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.0 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines