G
Guest
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
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