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

Anchor option with text wrap-overlapped the first line of the paragraph

Participant ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

Dear Team,

 

When I used the "text wrap" style with "anchor" option, the first line overlapped the background of the picture.

Could you perhaps suggest a way to have this anchor-style text wrap properly?

 

Text Wrap with anchor option applied output (wrong output):

kanagakumar_1-1711686027520.png

 

I need the below output:

kanagakumar_0-1711685884019.png

 

Thanks

kk

TOPICS
Scripting

Views

326

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

correct answers 2 Correct answers

Community Expert , Mar 29, 2024 Mar 29, 2024

 

Inline anchor with max negative offset

and then adjust it slightly

 

EugeneTyson_0-1711703283456.png

 

Votes

Translate

Translate
Community Expert , Mar 29, 2024 Mar 29, 2024

If you anchor it in the centre it will be in the middle.

If you anchor it on the left it will be on the left.

 

What do you want to do here? Re-anchor to the start of the paragraph.

Votes

Translate

Translate
Community Expert ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

Hi @kanagakumar, I believe the problem your describe is a known issue, and I really hope someone has a better answer than mine, but I just had a play with it and got it to work by putting the photo's frame inside another text frame, which is anchored to the main text. See attached demo.indd.

Screen Recording 2024-03-29 at 15.42.55.gif

- Mark

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 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

You cannot wrap the first line due to technical reasons. Developers have tried, but InDesign would come into a never ending loop and work would be impossible. Therefore you must either anchor in the previous line or not use an anchor at all. It is not a bug but a technical limitation. 

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 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

Hi @Willi Adelberger, that's interesting. Do you know what the technical limitation is? It surprises me because Indesign seems quite happy to wrap the first line around an anchored text frame (as in my example). What would be technically different about a graphic frame I wonder....

- Mark

 

Edit: maybe the complexities around clipping paths and wrapping shapes...

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 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

quote

Do you know what the technical limitation is?


By @m1b

 

OP have Anchor Point in the middle of the text - TextWrap is pushing text - but also pushes AnchorPoint - so it would be neverending loop.

 

But in some cirumstances - like setting alignment of the Anchored Object to the edge of the TextFrame - problem shouldn't occure as there wouldn't be any text on the left of the Anchored object.

As long as Object is not affecting text in previous Paragraph(s). 

 

Divide & Conquer algorithm could be used - but it would be rather too 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
Participant ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

Dear Mark,

 

Thank you for your response.

 

Since the input file is XML based, the XML structure would be impacted if I changed the inline format (your input).

Can you suggest alternative way, without  affect xml structure.

 

Thanks

kk

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 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

quote

Dear Mark,

 

Thank you for your response.

 

Since the input file is XML based, the XML structure would be impacted if I changed the inline format (your input).

Can you suggest alternative way, without  affect xml structure.


By @kanagakumar

 

Post Processing - dedicated script would move objects based on specified rules.

 

In this case - all - or according to applied ParaStyle - anchored object should be re-anchored to the start of Paragraph - or to the end of previous Paragraph or new Paragraph should be added.

 

Possibilities are endless.

 

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 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

 

Inline anchor with max negative offset

and then adjust it slightly

 

EugeneTyson_0-1711703283456.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
Participant ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

Dear Eugene Tyson,

 

I tried to your method, but output is not comming. The photo placed in the center of the paragraph.

see below the screen shot. Kindly let me know if I'm doing incorrectly.

 

kanagakumar_0-1711705052085.png

 

Thanks

kk

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 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

If you anchor it in the centre it will be in the middle.

If you anchor it on the left it will be on the left.

 

What do you want to do here? Re-anchor to the start of the 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
Participant ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

Dear Eugene Tyson,

 

Thank you very much for your guidance.

 

Thanks

kk

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 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

No prob - glad it's working for you.

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 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

LATEST

Great!

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