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

Place 3 paragraph styles side by side

Explorer ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

Hi,

I have imported a lot of text using the XML import and it came in fine.

Each of the Child Nodes contains 10 text items. Each of the text items has been assigned a Paragraph Style.

I created a Paragraph Style for each of the elements and then assigned a Tag to the Paragraph Styles to format each of the leements in each XML child node.

At the moment they are all aligned under each other.

I would like 3 of the Paragraph style element to be side by side:

Example at the moment they show on the page as:

Paragraph Style 1

Paragraph Style 2

Paragraph Style 3

I would them to show as:

Paragraph Style 1 - Paragraph Style 2 - Paragraph Style 3

With 3000 Child Nodes I would like to be able to set the formatting using Paragraph styles if possible so that the changes will cascade through the document.

Is this possible?

Cheers

Views

449

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 ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

Hi Darren:

Can we assume that paragraphs 1–3 are multi-line paragraphs? In that case you'd need to use tables or threaded frames with column breaks to get the paragraphs to sit side-by-side. InDesign doesn't have an easy way to set one multi-line paragraph next to another paragraph multi-line paragraph. If they are single-line, you can use tabs to space them across the page.

The good news is that you can use Next Paragraph to assign the cascading styles (paras 1, 2, and 3, 1, 2, 3, 1, 2, 3) with a right-click in the Style panel.

~Barb

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
Explorer ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

Hi

thanks for the quick response.

The 3 paragraph Style Elements are actually only 1-3 words in length

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 ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

Hi Darren:

In that case, you can use tabs to sit them side by side fairly easily, but they will all use the same paragraph style. Do they need 3 paragraph styles? Sharing what you have now and your intended layout would be helpful here.

~Barb

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
Explorer ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

I actually tried a different approach which also did not work as expected.

I imported the XML file and tagged the Paragraph styles.

Then I deleted every Child Node except the first one.

I then opened up the Story Editor and formatted the Tags by removing some paragraph tags and adding a tab space between the 3 elements required.

So in the Story Editor it looked correct and updated on the Page for the one Node.

I then re imported the XML file hoping it would cascade and clone the same formatting but it removed it and imported everything with the basic structure.

If there was a way to tell Indesign to use the Story Editor structure, it would have worked.

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 ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

We can automate this after you import:

I then opened up the Story Editor and formatted the Tags by removing some paragraph tags and adding a tab space between the 3 elements required.

Does that help?

~Barb

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
Explorer ,
May 29, 2019 May 29, 2019

Copy link to clipboard

Copied

Hi,

thanks for the feedback.

How do you automate this please?

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 ,
May 29, 2019 May 29, 2019

Copy link to clipboard

Copied

LATEST

Based on my understanding of your description, your text comes in like this:Screen Shot 2019-05-29 at 6.49.59 AM.png

And you want it to look something like this:

Screen Shot 2019-05-29 at 7.42.09 PM.png

If I got that right, set up a GREP query as follows:

Screen Shot 2019-05-29 at 7.45.41 PM.png

Change All:

Screen Shot 2019-05-29 at 7.45.45 PM.png

Results:

Screen Shot 2019-05-29 at 7.45.53 PM.png

Set your tab stops.

Screen Shot 2019-05-29 at 7.37.42 PM.png

Once it is working, you can save it to run anytime. And if you need the columns to look different, you can do that with nested styles.

Screen Shot 2019-05-29 at 7.39.37 PM.png

~Barb

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