B.t.w. the numbers 45 and 46 are my pagenumbers.
Are you applying the numbering to your headers? I don't think that should work (well, you already found out). The 'numbering' only gets applied once, on your master page.
You can try this: manually add the numbering to the titles in the main text and apply a character style that hides it: font size 1pt, horizontal text width 1%, text color "None" should do it. Since character styles are not copied along in text variables, the text will appear with the number.
Unfortunately, I misremembered and was sure that "Include paragraph numbering" was an option in Text Variables – but it isn't! That means you indeed have to manually type the numbers before each header, or have them automatically added but then convert all of them to plain text.
Almost forgot to mention: you can automatically apply the HideMe character style in your Headings paragraph style with either a nested style or a GREP style.
Does automatic numbering work for the header if you override to the document page?
I have found this video also quite interesting.
I think it explains what I want to do. Maybe I have to make the numbers in the maindocument invisible but everything else should be the same. Anyway it looks good.
Still not working :-(
I have created a crossreference after my chapterheading. I see on screen (with hidden character view turned on):
I hoped the slash would end the nested style, but it is also shown in my headertext.
At the moment I see in my headertext:
4. Chaptertitle 4.
Which should be 4. Chaptertitle.
I am bit confused why the second 4. shows up. As in the videolink I posted it doesn't show up this way.
I am not even sure if it can work this way as I don't have chapternumbering in my text. Only in the headertext.
As the "numbering" variable is based on a specific "numbering" char style, change the color option: none.
Luckylion's tip is clever [as I said a year ago, see my comment on YouTube!] but its main flaw is that you need to insert manually the cross-references!
On a big book with hundreds of titles …!
Problem with cross references is that it is designed (as I understand right now) to place text from one place to another. And as far as I know, it is not possible to change the look of the text of the 'other place'.
As I don't have numbers in my chapterheaders, I can't work with cross references either to place the numbers in my headertext. I could use crossreferences if I could make the character invisible in my text, but as said: I don't know any way to make it visible in my headertext on the masterpage.
So I think this solution of Lucky Lion doesn't work in my case.
Powerheaders might be interesting but I prefer a free solution. Your quick tip might do the job.
So I have create some rectangle before each chapter in the margin, and use here the numbering and make it invisible, and let is show in the headertext on the masterpage.
I have to play with it.
Free solutions aren't often good ways to win time!
Power Headers is too powerful to try to economize some dollars (or euros).
Imagine that I did what you mean in less than 2 minutes!
… and imagine what It could do: it allows you to insert char styles, directly or as nested/grep styles, play with them. It's powerfully based on Grep too. You can play with multi-lines headers, …
The limit of Power Headers ? … The lack of imagination! I totally love it!
14 Chapters | Auto-numbering on Chapter/Title 1 para styles | One color per chapter | Sometimes, headers with 2 lines, specific "cut" or "…" | text part with superscript, italic, bold Italic and small caps.
Left page header: Chapter number + Chapter text
Right page header: Title 1 number + Title 1 text (complete or partial)
Good luck! … You have 10 minutes to make the headers on a 1,000 pages book!
I assure you: a breeze! Christmas soon!
I forgot: no header on Chapter page and blank page! Of course, one master double-page! …
Still not working :-(
Here again what I want:
Header text on left (master)page of document page:
Example: 45 1.MyTitle
45 is the pagenumber and I want the 1. in my headertext. But not in the chapter titles of my document.
And on the right (master) of document page:
Example: 46 1.1 My section title
I followed the stuff of the video of LuckyLion.
I always get a crossreference show up in my headertext. So I get this on the right page:
1.1 My Title 1.1
I can make the characterstyle of the crossreference invisible but then this seciond 1.1 in my headertext didn't go away.
I have created the crossreference with a nested style. This is important, as said by LuckyLion otherwise the crossreference shows up in after Title.
But that's the exact case with me: It still shows up.
Oh my god, This was very confusing. He (LuckyLion) changes all of his book titles to character line, so he can manipulate it better in the header of the book.
I listened better now to 1.06 and 1.35 in the video.
It seems to work finally. At least one step further.