Heading Style won't stick

H

henryn

Folks:

Word 2004 Version 11.2
MacOS 10.3.9

Hey, what happened to the heading style assigned to "Fred"?

Here is a meta-description of a portion of page 78 - 79 of a 150-page
document:

...
Paragraph-sytled-Heading 3 -- containing text
Paragraph-styled-Normal - containing text
Paragraph-styled-Normal - empty
Paragraph-styled-Normal+Left 0.25 (direct) containing text
Paragraph-styled-Normal - empty
Paragraph-styled-Normal - empty
--------Page Break-----------
Paragraph-styled-Heading 2 - one word: "Fred"
Paragraph-styled-Normal - containing text
Paragraph-styled-Header 3 - containing text
Paragraph-styled-Normal - containing text
...


I wish. Try as I might to assign style Heading 2 to the one-word paragraph
"Fred", I cannot get this style to "stick". Most importantly to me, this
means that "Fred" won't appear in the Table of Contents.

This is especially mystifying as this pattern is repeated at least 25 more
times in the document. "Bob" -- "Mary" -- "Joe" -- "Sue" all are set to
Heading 2 and show up in the TOC.

Here's what I did to try to set the style of "Fred": I select the paragraph
--including the para mark-- containing "Fred" and tap "Heading 2" in the
Formatting Palette. Immediately, the Formatting Palette indicates "Fred" is

Arial 16 pt, Bold, Kern at 16 pt

But I just commanded "Heading 2", which is currently defined as:

Normal+font: Arial, 14 pt, Bold, Kern at 14 pt, Space Before: 12 pt,
After: 3pt, Keep with next, Level 1

I tried using Format-->Style to apply the change. No help. I tried setting
the style of "Fred" to some other style, like Normal or Heading 3, first,
then selecting Header 2. No difference.

I selected another short paragraph and tried a parallel experiment with
styles Heading 1 and Heading 3. No problem: the Formatting Palette
reflected, yes, those styles "stuck" to the test paras.

Workaround: I finally deleted the paragraph containing "Fred". I typed
"Fred" among some paragraphs styled Normal, selected that para, and styled
it "Heading 2". That stuck. I copied-and-pasted that para to where I
wanted the Level 2 heading "Fred" and ... so far, so good.

But why should this be necessary?

Why wouldn't the heading style "stick"?

What could be different about the one-word paragraph "Fred" to which the
style would not stick? Since the work-around succeeded, there doesn't seem
to be anything about the adjacent paragraphs that could cause this.

How do I prevent this from happening again? Ordinarily I might not even
notice this mis-step, but it is vital to the document that "Fred" be
included in the TOC with all his friends.

Thanks,

Henry

(e-mail address removed) remove 'zzz'
 
C

CyberTaz

Just guessing here, but it may be the result of your "empty paras" at the
end of the preceding page. Have you tried the same type doc using Next Page
section breaks, manual page breaks or other available formatting features
rather than relying on the Return key to create space? Empty paras at the
end of a page not only serve no purpose, but can create unpleasant text flow
& formatting issues. The 'old reliables' (Return & Spacebar) ain't as
reliable as they were on the typewriter :)

BTW - When you apply a para style it isn't necessary to select (highlight)
the entire para. You need only have your insertion point in the para to be
affected. If I interpret your post acurately you are selecting a para from
start to finish in order to apply a style, and that can also cause some
erratic behaviors.
 
H

henryn

Bob Jones:

Thanks for your response

Just guessing here, but it may be the result of your "empty paras" at the
end of the preceding page. Have you tried the same type doc using Next Page
section breaks, manual page breaks or other available formatting features
rather than relying on the Return key to create space? Empty paras at the
end of a page not only serve no purpose, but can create unpleasant text flow
& formatting issues. The 'old reliables' (Return & Spacebar) ain't as
reliable as they were on the typewriter :)

Yes, thanks, I consistently use Insert-->Break-->Page Break.

As for the extra returns, they are there typically because the document is
not finished. If inserting extra returns is inappropriate and potentially
damaging to Word's internally representation of the document, they should
not be allowed. Since they are allowed, then Word should be able to deal
with them.

In any case, if the problem was due to those empty paras, then my
work-around would not work, since it doesn't affect anything other than the
single line-paragraph to which formatting won't "stick".
BTW - When you apply a para style it isn't necessary to select (highlight)
the entire para. You need only have your insertion point in the para to be
affected. If I interpret your post acurately you are selecting a para from
start to finish in order to apply a style, and that can also cause some
erratic behaviors.

Sure, it might not be necessary to select the whole paragraph, but it
simply should not do any harm to do so.

The cause of this? It would be my guess that the information "embedded in"
the paragraph mark at the end of this paragraph became corrupted. There was
nothing in particular I did to cause this, and there is no way I could
detect the corruption except to notice that the new paragraph formatting
would not stick.

Thanks,

Henry

(e-mail address removed) remove 'zzz'
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi Henry:

The bad paragraph may have had a "Heading 2 char char" style applied.

These monstrosities are hidden in Word 2004, but they still exist. If the
document (or some text in it has been copied from a document...) that has
been anywhere near PC Word 2002 (or Word 2003 in the hands of a user who
doesn't know how to use it...) then this is likely.

If that was your problem, selecting the bad paragraph and hitting Control +
Spacebar to remove the crap character style would have fixed it.

After that, you would have found that the underlying paragraph style had
correctly changed to Heading 2.

On the other hand, it *is* possible to get a mangled paragraph container.
If you do, it goes read-only and won't store style formatting...

Cheers


Bob Jones:

Thanks for your response



Yes, thanks, I consistently use Insert-->Break-->Page Break.

As for the extra returns, they are there typically because the document is
not finished. If inserting extra returns is inappropriate and potentially
damaging to Word's internally representation of the document, they should
not be allowed. Since they are allowed, then Word should be able to deal
with them.

In any case, if the problem was due to those empty paras, then my
work-around would not work, since it doesn't affect anything other than the
single line-paragraph to which formatting won't "stick".

Sure, it might not be necessary to select the whole paragraph, but it
simply should not do any harm to do so.

The cause of this? It would be my guess that the information "embedded in"
the paragraph mark at the end of this paragraph became corrupted. There was
nothing in particular I did to cause this, and there is no way I could
detect the corruption except to notice that the new paragraph formatting
would not stick.

Thanks,

Henry

(e-mail address removed) remove 'zzz'

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
H

henryn

Hullo John!

Thanks for your reply:

Hi Henry:

The bad paragraph may have had a "Heading 2 char char" style applied.

I'm not sure what that means. Null character styles, maybe?
These monstrosities are hidden in Word 2004, but they still exist. If the
document (or some text in it has been copied from a document...) that has
been anywhere near PC Word 2002 (or Word 2003 in the hands of a user who
doesn't know how to use it...) then this is likely.

Thank you for confirming my experience!

No, this document is entirely original. Nothing imported from earlier
versions or other documents. No OCR input.

As far as I know Word is entirely stock condition. (Yeah, yeah, I know, you
encourage me to customize, but I don't see any advantage in doing so when a
stock system is so unreliable -- customization might uncover further
vulnerabilities, and variations in customization may mean different problems
depending on the details.) The only "unusual" features I use is inserted
graphics and I'm maintaining a TOC.
If that was your problem, selecting the bad paragraph and hitting Control +
Spacebar to remove the crap character style would have fixed it.

"Control-spacebar"? Now there's an easy-to-remember combination! Is there
a corresponding menu item? How would this differ from choosing "Clear
Formatting" -- which I did try?
After that, you would have found that the underlying paragraph style had
correctly changed to Heading 2.

I checked the last two backups and found the erroneous formatting, but now
the Heading 2 format choice is immediately applied, so I don't have any idea
what is going on. I'm not going to spend any more time trying to track
this down -- I need to get the content done!
On the other hand, it *is* possible to get a mangled paragraph container.
If you do, it goes read-only and won't store style formatting...

Impossible to confirm, but that feels exactly like what happened.

Thanks,

Henry
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi Henry:

I'm not sure what that means. Null character styles, maybe?

No.. "Linked Styles". They're a construct of the later versions of Word
that constitute the most laughter-injury-producing design bug Microsoft has
so far come up with!

The original problem was that really knee-cap-level users could not
understand the difference between lines and paragraphs and selections.

In the beginning, it was simple and worked properly. If you applied a
character style, it applied to the selected text (or not at all, if there
was no selection). If you applied a paragraph style, it applied regardless
of what you had selected, because the selection was always in a paragraph.

Users could not understand that paragraph marks were somehow "significant",
so Microsoft "fixed" that by allowing users to hide their paragraph marks.

Then users could not understand that their formatting would sometimes apply,
and sometimes not, depending on what they had selected.

So Microsoft "fixed" it so that if you selected less than half of a
paragraph and applied formatting, the formatting you applied would be
applied only to the selected text. If you selected more than half, the
formatting would be applied to the whole paragraph. The rule was based on
percentage, and was never published, which simply added another source of
stress and worry and unpredictability to people trying to use Word to get
correctly formatted documents out on time.

Then the users could not understand that unless they SELECTED a whole
paragraph, Word could not apply a paragraph style to it. So Microsoft
"fixed" that too... Now, if you select "part" of a paragraph but NOT the
paragraph mark, Word will apply your formatting only to the selected
characters.

If the formatting you choose to apply happens to be a style of type
paragraph, Word "should" do nothing (and that's what it used to do...). So
Microsoft "fixed" that too... Now, Word instead creates a new mutant style
called a "Linked Style". It's a fifth style type. It contains only the
Character Formatting properties of the paragraph style you chose, but is
linked to it. As opposed to a "True" Character style, that contains only
the character formatting properties but no linkages. Whereas a Character
style allows the properties of the underlying paragraph style to "shine
through" unless modified in the Character style, a Linked style does not.
If you look it up in Format>Style>Organiser... You will see that Word has
appended the name "Char" to the original style name.

See how "simple" they have now made it? Is it any wonder that there's a
headlong rush away from Word: now it's so simple that even ordinary mortals
with a university graduation and a successful law practice haven't a hope of
working out how to use it :)

In their screaming haste to render their product unusable by removing
consistency from the function designed to produce consistency, the clueless
newbie who designed this mechanism forgot to turn off his inanity in the
case where the user on the second attempt again selects "part" of a
paragraph: but this time selects the "Heading 3 Char" style (which usually
helpfully sorts to the top of the list immediately it is created, right
under the user's nose).

So on the second attempt, Word creates Heading 3 Char Char, and on the third
attempt (assuming the user always picks the "top" style, and has the
formatting palette width set too narrow to see what they're really doing...)
"Heading 3 Char Char Char".

The whole thing is a constant source of mirth and derision to document
professionals, to whom its almost an "in joke". The depth and scale to
which the designer of this mechanism simply did NOT understand the
fundamental PURPOSE of styles, or even the basic requirements for formatting
a document, are just breath-taking. The designer of this mechanism is so
stupid that you would wonder whether he actually has enough intelligence to
be declared "sane". His boss, on the other hand, who approved this design,
is so sloppy you could only call him "negligent". He CANNOT have read the
design documents for this, without this appalling error becoming immediately
apparent.

They made a mad scramble to fix this in Word 2002 SP1. There, by default,
they have "hidden" the names of the Char Char styles in the Task Pane, so
the user is less likely to select them and re-apply them.

By Word 2003, the scale of the disaster was becoming apparent, even to
Marketing. So they introduced another fix: they expanded the maximum string
length of a style name, to try to prevent the burgeoning occurrences of
document corruption caused by the appended "char" suffices overflowing the
style name string and corrupting the document style table (and thus, the
document).

Last week, I encountered a new personal best example of this horror: A
style that had been "Chared" more than 50 times... Each of the Char styles,
remember, refers to the predecessor which refers to... Which refers to...

For a truly magical entertainment experience, pick one of the earlier
iterations: say the fifth generation, and apply a different style to
paragraphs formatted with it (anything but "normal" style). Then delete the
particular Char Char variant from the document. The mayhem that results
amongst the other 45 descendants just has to be experienced to be believed.
DON'T close the document: Word will never be able to open it again!!
As far as I know Word is entirely stock condition. (Yeah, yeah, I know, you
encourage me to customize, but I don't see any advantage in doing so when a
stock system is so unreliable -- customization might uncover further
vulnerabilities, and variations in customization may mean different problems
depending on the details.)

Like a Harley Davidson, Word is made to be improved. Like a Harley
Davidson, Word is slow, under-powered and handles like a supermarket trolley
until you DO improve it :)
"Control-spacebar"? Now there's an easy-to-remember combination! Is there
a corresponding menu item? How would this differ from choosing "Clear
Formatting" -- which I did try?

"Clear Formatting" removes all formatting, back to "Style 0" (Normal Style).
Ctrl + SpaceBar removes only Direct character formatting and styles. Of type
"character". Command + Option + Q removes only direct paragraph formatting,
resetting back to the applied paragraph style + any applied character
formatting, direct or styled.

Cheers

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top