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

Textbox anchored inside another textbox, can it reflow?

Explorer ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

Hi everyone,

 

I am trying to figure out the best way to achieve something. I'm working on a 500+ pages book. The idea is to have titles outside of the original text frame. That in itself is quite easy to achieve, we'll all agree, with a separate smaller text frame that is positioned outside for the title and link the text frames together with threading.

 

Now comes the interesting part which makes it more complicated. I want to achieve two more things:
1. I need it to be reflow-proof, as some inserts or additions will probably come in at a later stage
2. I need it to be able to export well as an epub later on as well as be printed in offset printing.

 

In order to make it reflow-proof, I was thinking I could ad the (autosizing) text frame with the titles as inline anchored objects with specific spacing before and after the anchored object. The problem is that it is an object then and I can't seem to link the main text frame with the inline anchored text frame and then out of it again… which leeds to the second part of what I want to achieve… will the text set this way keep the right structure when I export as epub later on?

 

As an added difficulty, pages have a narrower spine, so left pages need to align the titles left outside the main text frame and right for the right side pages (right page illustrated below).

 

Do you guys have any idea how to achieve this?

Screenshot 2024-12-17 at 15.35.31.png

TOPICS
EPUB

Views

241

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 , Dec 17, 2024 Dec 17, 2024

RobertatIDTasker_0-1734450223324.png

 

RobertatIDTasker_0-1734450280904.png

 

RobertatIDTasker_1-1734450313205.png

 

Votes

Translate

Translate
Community Expert , Dec 17, 2024 Dec 17, 2024

Puisque to document est en français, je réponds en français.

Est-ce que cette solution te conviendrait ?

Capture d’écran 2024-12-17 à 17.12.44.pngCapture d’écran 2024-12-17 à 17.13.01.png

 

Edit : je viens de voir que @Robert at ID-Tasker avait déjà proposé cette solution.

Votes

Translate

Translate
Community Expert ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

Anchored TFs can't be linked to other TFs. 

 

Anchored object's alignment is controlled by applied ObjectStyle. 

 

But the TF needs to be Anchored - not InLine. 

 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

If you want title to be "sticking out" - you just have to play with insets - in the ParaStyle definition. 

 

Set Inset for everything else than the title. 

 

Think of it as an extra / different margins. 

 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

But this wouldn't work with different left and right page layout, would it?
Also, insets etc are already quite complex in this book, many styles for multi level lists etc… 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

How different? Can you post some screenshots? 

 

Depends on your styles structure - if they are BasedOn. 

 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

Screenshot 2024-12-17 at 16.32.28.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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

RobertatIDTasker_0-1734450031352.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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

RobertatIDTasker_0-1734450223324.png

 

RobertatIDTasker_0-1734450280904.png

 

RobertatIDTasker_1-1734450313205.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
Explorer ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

What about justification?

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

I mean Left Justify is not an option then? Ragged lines is not an option for the main body text here.

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

quote

I mean Left Justify is not an option then?


By @Captain Sacha

 

Left on both pages?

 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

With left justify I mean no ragged lines… for lists it's OK, but for the main body text I need the text to be justified, like in my very first screenshot in my main question.

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

I've left it "left aligned" - there is no problem for making it "left justified": 

 

RobertatIDTasker_0-1734451577545.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
Explorer ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

THIS!

This is indeed it, I just had to wrap my mind around it differently.
I hadn't considered to just change inset on left and right side simultaneously to achieve the effect for the body text, and then readjust the position of the main text frame itself. Then use the away from spine only for the titles.
I feel this could be the solution indeed. I will now play some more with these settings.

Thanks a bunch!

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

As Robert said, that could be done with paragraph styles. Instead of choosing to align left or right, try aligning toward or away from spine. That way, the text changes based on whether it flows on a recto or verso folio.

On deeper thought, tho, you might need two similar styles; one each for a left and a right page, if the Indents are manipulated to get the overhang left and overhang right. Each of the two styles could be set to Left Justified.

Mike Witherell

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

Yeah, but that would mess everything up as soon as text reflows, wouldn't it?
Also, with 30 styles, doubling them would be a huge mess.

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

quote

Yeah, but that would mess everything up as soon as text reflows, wouldn't it?

 

By @Captain Sacha

 

What do you mean?

 

quote

Also, with 30 styles, doubling them would be a huge mess.


By @Captain Sacha

 

Why would you have to duplicate them?

 

30 styles isn't a lot 😉

 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

OK, please discard my response to this, now that I figured out what you meant in your earlier comments.

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

Changing my mind again, if you set the big outdented justified titles in a separate textframe, you could anchor those textframes into the flow. Anchored textframes can be sensitive "relative to" left and right hand pages and adjust accordingly. Just make sure you anchor them into a separate hard return paragraph styled empty line. It should reading-order ok and export to epub in correct reading order, too.

About the only other way I can think of to get a flowable complicated layout like you describe is by means of tables (but that makes me shudder a little bit).

Mike Witherell

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

That was my initial thought I tried to explain in my first message. I was not sure if it would export correctly. 

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

Puisque to document est en français, je réponds en français.

Est-ce que cette solution te conviendrait ?

Capture d’écran 2024-12-17 à 17.12.44.pngCapture d’écran 2024-12-17 à 17.13.01.png

 

Edit : je viens de voir que @Robert at ID-Tasker avait déjà proposé cette solution.

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 ,
Dec 17, 2024 Dec 17, 2024

Copy link to clipboard

Copied

LATEST

C'est effectivement la bonne réponse. Je l'avais mal compris au premier tour.
L'affaire est réglée !

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