Hi Joe,
Instead of page numbers for backward reference, can you use a
cross-reference to Section 3 or something? E.g., "see chapter 6". Then the
text would be useful in either version.
Cross-references can be automatically created as hyperlinks, which do not
show the normal formatting.
By the way, Table of Contents and cross-references act as hyperlinks in a
regular Word document, even before the conversion to HTML, for ease of
reading on screen.
You've asked this question before, apparently without a satisfactory answer.
I doubt you are going to get something that automatically triggers on Save
As as you wish. However, if you are willing to run a FormatForHTML and a
FormatForPrint macro before output, you could probably get what you want
with a minimum of effort once the macros are setup, and get the macros to
include the Save As command.
On 11/5/06 4:49 AM, "Joe Hunter" wrote:
> The best way to describe this question is to first describe what I am trying
> to achieve.
>
> I have a document that I want to use both in printed form and as an html
> document. I would like this transition to be transparent so as not to have to
> change markup back and forth each time the document is updated.
>
> Table of Contents entries automatically become hyperlinks in the HTML
> document without any effort on my part, and print normally if printing the
> document. What I want to do is have other manually entered hyperlinks not
> print, but still appear in the HTML document.
>
> For example, the manual hyperlinks would be backward reference to other
> parts of the document, inserted for convenience when viewing the HTML
> document. In the printed document, they would serve no purpose.
>
> They might be barely acceptable in the printed document if they had page
> numbers, but then the page numbers would be meaningless in the HTML version.
>
> So what I am trying to find is some way to enter something that acts like a
> Table of Contents entry, but appears only in the HTML edition.
>
> Unfortunately, the Index entries retain useless page numbers instead of
> being converted to hyperlinks like the Table of Contents. However, a user
> can simple use "Find" to locate something in an HTML document, and the Index
> section can be ignored or deleted before distribution.
>
> Is there any sort of way to have text that is conditional based on the
> output format without requiring some manual operation each time?
>
> Thanks
--
Daiya Mitchell, MVP Mac/Word
Word FAQ:
http://www.word.mvps.org/
MacWord Tips: <http://word.mvps.org/Mac/WordMacHome.html>
What's an MVP? A volunteer! Read the FAQ:
http://mvp.support.microsoft.com/