Strange behaviour with mentions - bug or feature?
Moderators: Eyal Redler, redlers, Ori Redler
Strange behaviour with mentions - bug or feature?
I use mentions in my dissertation but I keep on encountering the following problem:
In my page header, there are two mentions: one for the current level one title and one for the current level two title.
So my header would read "3. Problems - 3.1. Introduction" for example.
So far so good.
HOWEVER, if there is a chapter that has no second level, then the mention still shows the mention for the chapter that last had one.
E.g. my 6th chapter "Conclusion" does not have any second level chapter so the header reads: "6. Conclusion - 5.4. Summary" (ie. mentioning the last chapter's second level.
Let me ask this carefully: is that a bug or a feature or can I get rid of this behaviour?
Regards
Marc
In my page header, there are two mentions: one for the current level one title and one for the current level two title.
So my header would read "3. Problems - 3.1. Introduction" for example.
So far so good.
HOWEVER, if there is a chapter that has no second level, then the mention still shows the mention for the chapter that last had one.
E.g. my 6th chapter "Conclusion" does not have any second level chapter so the header reads: "6. Conclusion - 5.4. Summary" (ie. mentioning the last chapter's second level.
Let me ask this carefully: is that a bug or a feature or can I get rid of this behaviour?
Regards
Marc
-
- Co-founder
- Posts: 695
- Joined: Thu Oct 27, 2005 9:15 am
Hi Mark,
This is not really a bug but also not really a feature. The number of the second level title is actually undefined/invalid. I'm not sure what you're expecting here as there is no "correct" solution to this.
This is not really a bug but also not really a feature. The number of the second level title is actually undefined/invalid. I'm not sure what you're expecting here as there is no "correct" solution to this.
Eyal Redler
----------------------
Co-Founder and Owner at Mellel
Facebook: http://www.facebook.com/mellelwordprocessor
YouTube: http://www.youtube.com/user/MellelRedlex
Donate: https://www.paypal.com/donate/?hosted_b ... 2LWB33YBZW
----------------------
Co-Founder and Owner at Mellel
Facebook: http://www.facebook.com/mellelwordprocessor
YouTube: http://www.youtube.com/user/MellelRedlex
Donate: https://www.paypal.com/donate/?hosted_b ... 2LWB33YBZW
Hi Eyal,Eyal Redler wrote:Hi Mark,
This is not really a bug but also not really a feature. The number of the second level title is actually undefined/invalid. I'm not sure what you're expecting here as there is no "correct" solution to this.
I would simply expect Mellel not to show any text in that case. The chapter is over. So if the mention remains pointing to any previous chapter it is obsolete and misleading.
I can hardly figure any case where the current behaviour is what you want. However, at least in my eyes, every real world use of mentions demands that mentions are omitted if the chapter they referred to (no matter the level) is over, already.
If you could "fix" that, it would save me a lot of work. Right now I have to adjust these pages manually. And I'm sure, Mellel can solve that better.
Aside from that: I'm really very happy with Mellel! It was really worth every single Euro.
All the best!
Marc
-
- Knows everything, can prove it
- Posts: 322
- Joined: Thu Oct 20, 2005 12:28 pm
- Location: Norway
- Contact:
I think we discussed a similar issue a few weeks ago – I would prefer that a variable in this case would be displayed as empty, i.e. using non-printing text to display that the variable is currently undefined.
Perhaps we should post this (or the handling of undefined mentions in general) as a thing that people can vote about in the other part of the forum?
Perhaps we should post this (or the handling of undefined mentions in general) as a thing that people can vote about in the other part of the forum?
That would be a very good solution. To me it's just important that the text doesn't print.ozean wrote:I think we discussed a similar issue a few weeks ago – I would prefer that a variable in this case would be displayed as empty, i.e. using non-printing text to display that the variable is currently undefined.
Perhaps we should post this (or the handling of undefined mentions in general) as a thing that people can vote about in the other part of the forum?
-
- Knows everything, can prove it
- Posts: 98
- Joined: Mon Oct 31, 2005 5:59 pm
- Location: Bonn Germany
carried over mentions from last chapter
Hi, Ori,
I have a similar problem. In my project I would like to normally mention the second level heading in the header. This however does not work, because then the header changes only, when the second level heading changes. If there is text going with the 1st level heading these pages will still receive the second level mention of the previous chapter.
e.g. the chapters are
1 Introduction
1.1 Sources
2 History
2.1 oldest history
When we are in chapter 2 History, but sub-chapter 2.1 has not yet started the header mention will still be 1.1 Sources. This does not make sense.
As Ocean pointed out, Mellel mentions should respect the end of the chapter/level they belong to and mentions should not be carried over to the next chapter. If then the mention is undefined, because the previous chapter has finished and the next sub-chapter has not yet begun, Mellel should replace the undefined mention of the lower level by the mention of the next higher level.
Only if this is implemented, it does make sense to define mentions for all possible levels of auto-titles.
Best regards Hans-Reinhard
I have a similar problem. In my project I would like to normally mention the second level heading in the header. This however does not work, because then the header changes only, when the second level heading changes. If there is text going with the 1st level heading these pages will still receive the second level mention of the previous chapter.
e.g. the chapters are
1 Introduction
1.1 Sources
2 History
2.1 oldest history
When we are in chapter 2 History, but sub-chapter 2.1 has not yet started the header mention will still be 1.1 Sources. This does not make sense.
As Ocean pointed out, Mellel mentions should respect the end of the chapter/level they belong to and mentions should not be carried over to the next chapter. If then the mention is undefined, because the previous chapter has finished and the next sub-chapter has not yet begun, Mellel should replace the undefined mention of the lower level by the mention of the next higher level.
Only if this is implemented, it does make sense to define mentions for all possible levels of auto-titles.
Best regards Hans-Reinhard
Hans-Reinhard Koch, Bonn, Germany
-
- One of the boys
- Posts: 342
- Joined: Wed Oct 19, 2005 11:45 pm
- Contact:
Re: carried over mentions from last chapter
If to put this in simple terms, what you want is that if a level is missing, Mellel will not display the mention either, right?Hans-Reinhard Koch wrote:Hi, Ori,
I have a similar problem. In my project I would like to normally mention the second level heading in the header. This however does not work, because then the header changes only, when the second level heading changes. If there is text going with the 1st level heading these pages will still receive the second level mention of the previous chapter.
e.g. the chapters are
1 Introduction
1.1 Sources
2 History
2.1 oldest history
When we are in chapter 2 History, but sub-chapter 2.1 has not yet started the header mention will still be 1.1 Sources. This does not make sense.
As Ocean pointed out, Mellel mentions should respect the end of the chapter/level they belong to and mentions should not be carried over to the next chapter. If then the mention is undefined, because the previous chapter has finished and the next sub-chapter has not yet begun, Mellel should replace the undefined mention of the lower level by the mention of the next higher level.
Only if this is implemented, it does make sense to define mentions for all possible levels of auto-titles.
Best regards Hans-Reinhard
Ori Redler from RedleX
Re: carried over mentions from last chapter
I'm not the author of the post you were quoting but I started the thread so I take the liberty of answering your question with "yes".Ori Redler wrote:If to put this in simple terms, what you want is that if a level is missing, Mellel will not display the mention either, right?Hans-Reinhard Koch wrote:Hi, Ori,
I have a similar problem. In my project I would like to normally mention the second level heading in the header. This however does not work, because then the header changes only, when the second level heading changes. If there is text going with the 1st level heading these pages will still receive the second level mention of the previous chapter.
e.g. the chapters are
1 Introduction
1.1 Sources
2 History
2.1 oldest history
When we are in chapter 2 History, but sub-chapter 2.1 has not yet started the header mention will still be 1.1 Sources. This does not make sense.
As Ocean pointed out, Mellel mentions should respect the end of the chapter/level they belong to and mentions should not be carried over to the next chapter. If then the mention is undefined, because the previous chapter has finished and the next sub-chapter has not yet begun, Mellel should replace the undefined mention of the lower level by the mention of the next higher level.
Only if this is implemented, it does make sense to define mentions for all possible levels of auto-titles.
Best regards Hans-Reinhard
Regards
Marc
-
- Knows everything, can prove it
- Posts: 98
- Joined: Mon Oct 31, 2005 5:59 pm
- Location: Bonn Germany
I am sorry if I did not express myself clearly: What I mean, Ori, is: When I have defined e.g. level 3 mentions for my headers and – on a specific page – a level three is not yet defined, but the previous chapter with its last level 3 autonumber is finished long ago and my text is now governed by a level 2 or level one heading, the last level 3 mention from the previous chapter should not be carried over, but the level 3 mention should be replaced be the next higher (defined) level mention. As it is now: e. g. text of autonumber 2.7.8 is finished, yet the 2.7.8 mention is carried over to chapters 3 and 3.1 and 3.2, until another sub-chapter of level three begins e. g. with 3.2.1.If to put this in simple terms, what you want is that if a level is missing, Mellel will not display the mention either, right?
So whenever the last text, governed by a level three, is finished and the next level three sub-chapter has not yet begun, the level 3 mention should be replaced be the next higher level mention for which text exists, eg 3 or 3.1, 3.2 until text governed by a level 3 autonumber comes up.
Thus, inserting a level 3 mention into a header would mean, that mentions in the header would be level 1, 2 or maximally 3, depending on the auto-number level of the text on the page.
Does it still sound a bit confused, ot did I make myself clear?
Bets regards
Hnas-Reinhard
Hans-Reinhard Koch, Bonn, Germany
Re: carried over mentions from last chapter
Hi folks,
Has there been any progress on this issue?
If not, look at how I worked around this problem. It's not at all perfect but it can save your day. Let's take the example of Hans-Reinhard:
First I would go to the header with the faulty mention "1.1 sources" and replace it manually by writing the correct "2. History" in it.
Then I would point to the 2nd level 2.1 oldest history IN the main text and just before that title I would insert a page style break. Then I would reconfigure the mentions for the rest of the document (i.e. go into page on the palette, choose first page footer: yes, etc.). Done.
Can't we just have a function like "new style" or "new paragraph style" for mentions without page break. NisusClassic is a good example to follow here.
Cheers,
Hakan
Has there been any progress on this issue?
If not, look at how I worked around this problem. It's not at all perfect but it can save your day. Let's take the example of Hans-Reinhard:
Ok say 1st level mentions are on even pages and 2nd level mentions on odd pages.Hans-Reinhard Koch wrote: 1 Introduction
1.1 Sources
2 History
2.1 oldest history
When we are in chapter 2 History, but sub-chapter 2.1 has not yet started the header mention will still be 1.1 Sources. This does not make sense.
First I would go to the header with the faulty mention "1.1 sources" and replace it manually by writing the correct "2. History" in it.
Then I would point to the 2nd level 2.1 oldest history IN the main text and just before that title I would insert a page style break. Then I would reconfigure the mentions for the rest of the document (i.e. go into page on the palette, choose first page footer: yes, etc.). Done.
Can't we just have a function like "new style" or "new paragraph style" for mentions without page break. NisusClassic is a good example to follow here.
Cheers,
Hakan
-
- Knows everything, can prove it
- Posts: 98
- Joined: Mon Oct 31, 2005 5:59 pm
- Location: Bonn Germany