Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Cross-referrences to heading text come un-anchored
Word 2000 SP3 on an XP Pro SP2 machine.
In my document, I have numerous cross-references to other points in the same document. My cross-references are almost always to headings by heading text, and using the "insert as hyperlink" option. I then go about editing my document in and around those links, as per usual. What I find is that the links continuously - but infuriatingly enough not consistently - seem to lose track of the beginning of the point to which they are meant to be linked; a link to a heading now becomes a link to the heading and the 3 or 4 lines before the heading, and inserts all 4-5 lines as the link text. They mostly seem to come un-anchored when I close the document and re-open it, though using Update Felds will sometimes cause it to happen without closing the document; I presume this means that the links are coming un-anchored as I work, but the effects don't show up til the fields are updated. In testing under more controlled circumstances I haven't been able to reproduce the problem... anyone recognise it? |
#2
|
|||
|
|||
Cross-references depend on hidden bookmarks inserted around the
referenced text. These bookmarks can easily "grow" to have more text than desired, depending on how you insert new paragraphs before a bookmarked one: If you press ENTER at the beginning of a bookmarked paragraph, the newly created paragraph will be included in the bookmark. The safe method to add a paragraph before a bookmarked one is to press ENTER at the end of the *previous* paragraph. To restore a bookmark to point to the correct paragraph, you can do the following: Select the correct target and then choose Bookmark on the Insert menu. Check the "Hidden bookmarks" option and then click the "Location" option. Word highlights the bookmark name. Click Add, which will redefine the bookmark to point to the correct item. -- Stefan Blom Microsoft Word MVP "rob" wrote in message ... Word 2000 SP3 on an XP Pro SP2 machine. In my document, I have numerous cross-references to other points in the same document. My cross-references are almost always to headings by heading text, and using the "insert as hyperlink" option. I then go about editing my document in and around those links, as per usual. What I find is that the links continuously - but infuriatingly enough not consistently - seem to lose track of the beginning of the point to which they are meant to be linked; a link to a heading now becomes a link to the heading and the 3 or 4 lines before the heading, and inserts all 4-5 lines as the link text. They mostly seem to come un-anchored when I close the document and re-open it, though using Update Felds will sometimes cause it to happen without closing the document; I presume this means that the links are coming un-anchored as I work, but the effects don't show up til the fields are updated. In testing under more controlled circumstances I haven't been able to reproduce the problem... anyone recognise it? |
#3
|
|||
|
|||
Thanks Stefan!
I take it - since you didn't mention it - that there isn't any way to get the boundaries of these hidden bookmarks to appear in the text in the same way that non-hidden bookmarks can be made visible? It would certainly make navigating around them easier... - rob. |
#4
|
|||
|
|||
If you could see them, they wouldn't be hidden, would they? g Like you,
though, I wish there were some way to make them more obvious. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "rob" wrote in message ... Thanks Stefan! I take it - since you didn't mention it - that there isn't any way to get the boundaries of these hidden bookmarks to appear in the text in the same way that non-hidden bookmarks can be made visible? It would certainly make navigating around them easier... - rob. |
#5
|
|||
|
|||
"rob" wrote in message
... Thanks Stefan! Glad I could help. I take it - since you didn't mention it - that there isn't any way to get the boundaries of these hidden bookmarks to appear in the text in the same way that non-hidden bookmarks can be made visible? It would certainly make navigating around them easier... If you want your bookmarks to be visible, you'll have to insert them yourself (via InsertBookmark); you can control the display of manual bookmarks on the View tab of ToolsOptions. Then insert your cross-references from the Bookmark category in the Cross-Reference dialog box. -- Stefan Blom Microsoft Word MVP |
#6
|
|||
|
|||
No promises, but someone once sent me a macro with this line in it. Stefan,
you're usually good at VBA, do you think this might work? ActiveDocument.Bookmarks.ShowHidden = True Running it *might* turn them on, though I would test on a copy. I don't have time/any hidden bookmarks around currently to test it myself. DM I take it - since you didn't mention it - that there isn't any way to get the boundaries of these hidden bookmarks to appear in the text in the same way that non-hidden bookmarks can be made visible? It would certainly make navigating around them easier... If you want your bookmarks to be visible, you'll have to insert them yourself (via InsertBookmark); you can control the display of manual bookmarks on the View tab of ToolsOptions. Then insert your cross-references from the Bookmark category in the Cross-Reference dialog box. -- Daiya Mitchell, MVP Mac/Word Word FAQ: http://www.word.mvps.org/ MacWord Tips: http://www.word.mvps.org/MacWordNew/ What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/ |
#7
|
|||
|
|||
Unfortunately, no. Setting the ShowHidden property to TRUE means that
hidden bookmarks are visible in the Bookmark dialog box (and in the Bookmarks collection when using VBA). -- Stefan Blom Microsoft Word MVP "Daiya Mitchell" wrote in message .. . No promises, but someone once sent me a macro with this line in it. Stefan, you're usually good at VBA, do you think this might work? ActiveDocument.Bookmarks.ShowHidden = True Running it *might* turn them on, though I would test on a copy. I don't have time/any hidden bookmarks around currently to test it myself. DM I take it - since you didn't mention it - that there isn't any way to get the boundaries of these hidden bookmarks to appear in the text in the same way that non-hidden bookmarks can be made visible? It would certainly make navigating around them easier... If you want your bookmarks to be visible, you'll have to insert them yourself (via InsertBookmark); you can control the display of manual bookmarks on the View tab of ToolsOptions. Then insert your cross-references from the Bookmark category in the Cross-Reference dialog box. -- Daiya Mitchell, MVP Mac/Word Word FAQ: http://www.word.mvps.org/ MacWord Tips: http://www.word.mvps.org/MacWordNew/ What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/ |
#8
|
|||
|
|||
Ah well. thanks, Stefan.
On 7/18/05 1:43 AM, "Stefan Blom" wrote: Unfortunately, no. Setting the ShowHidden property to TRUE means that hidden bookmarks are visible in the Bookmark dialog box (and in the Bookmarks collection when using VBA). -- Stefan Blom Microsoft Word MVP "Daiya Mitchell" wrote in message .. . No promises, but someone once sent me a macro with this line in it. Stefan, you're usually good at VBA, do you think this might work? ActiveDocument.Bookmarks.ShowHidden = True Running it *might* turn them on, though I would test on a copy. I don't have time/any hidden bookmarks around currently to test it myself. DM I take it - since you didn't mention it - that there isn't any way to get the boundaries of these hidden bookmarks to appear in the text in the same way that non-hidden bookmarks can be made visible? It would certainly make navigating around them easier... |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
cross reference that includes both the heading number and the text | Microsoft Word Help | |||
End/FootNote text style | Page Layout | |||
How to select paragraph between tow specified words? | Microsoft Word Help | |||
HOWTO: keep para text on same line as numbered heading w/diff. for | Page Layout | |||
Outline | Page Layout |