Skip to main content
Cagataytech
Known Participant
March 19, 2021
Question

Chapter title in one condition and no title in the other. Is it possible?

  • March 19, 2021
  • 1 reply
  • 193 views

I think that the solution might be a very simple one but I spent at least half an hour on this one with no result so I'm asking the experts. A certain document in my book has to have a chapter title in condition A and no title in condition B (The title for condition B is present on another document which won't be used in book A).

 

First of all, I couldn't find a way to create a line with a title in it for one condition which gets removed for the other condition. Then I thought to create an empty line for the other condition (I was OK with an empty line on top of the page at that time). This causes very complex problems which I can't even describe.

 

Right now I'm thinking of either creating a line with some empty spaces in it to be used as an anchor for the empty line or maybe utilizing tables just for the purpose of this simple task.

 

Is there some other simple solution to this issue or am I missing something?

This topic has been closed for replies.

1 reply

Community Expert
March 19, 2021

Hi,

 

I am sorry. I do not understand what you mean with empty lines.

When you have a paragraph and apply a condition to the whole paragraph, you can hide this paragraph for condition B.

However, when the paragraph which you hide is the only paragraph in a table cell or in a text frame, the paragraph cannot disappear completely. Any graphics which are inserted automatically via Frame Above/Below will still be there.

If the header refers to this paragraph, it will be empty.

Can you please explain in more detail what you mean?

 

Best regards

 

Winfried