Re: Designing hypertext for both online and print

Subject: Re: Designing hypertext for both online and print
From: "Andrea Brundt" <andrea_w_brundt -at- hotmail -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 4 Nov 2003 14:53:25 -0500


Hi Chuck!

You could use a VBA macro in the Word doc that would do much of the
find-and-replace work for you. For example, here's some logic that would
convert some of your links.

<pseudo-code>
for each instance of text where character style = hyperlink
for each range of text where paragraph style is a heading
if the hyperlink = the heading then
replace the hyperlink with "See [cross-reference to the heading] on
page [cross reference to the heading's page number]."
end if
next
end with
</pseudo-code>

Other thoughts:
1. If you code this, don't actually use a for...next loop. Use the Find and
Replace objects -- it's more efficient, and has methods designed to do what
you want!
2. This won't work if the hyperlink doesn't match a heading. As a
workaround, you could add print-only conditional text with the actual
heading text after each link -- then your code would work.
3. From an information design perspective, there are convincing arguments
against using inline hyperlinks. These arguments, combined with all the
manual work that they create for you, might justify the cost of a project to
remove them from your documentation.

Good luck!
Andrea

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ROBOHELP FOR FRAMEMAKER TRIAL NOW AVAILABLE!

RoboHelp for FrameMaker is a NEW online publishing tool for FrameMaker that
lets you easily single-source content to online Help, intranet, and Web.
The interface is designed for FrameMaker users, so there is little or no
learning curve and no macro language required! Call 800-718-4407 for
competitive pricing or download a trial at: http://www.ehelp.com/techwr-l4

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Previous by Author: Re: Offshore writers and editors
Next by Author: compensation and productivity (was IMPROVING WRITERS' EFFICIENCY)
Previous by Thread: Designing hypertext for both online and print
Next by Thread: Printing issues


What this post helpful? Share it with friends and colleagues:


Sponsored Ads