|
How
we use RoboHelp® HTML
as a single-source tool for help and printed guides
By
Gail Van Landingham
In this article
I'll present the details on how we use RoboHelp® HTML for single sourcing
at DR systems. See last month's newsletter for my article about our search
for a single-source tool.
(For more
in-depth instructions, see Online Help in RoboHelp® HTML.)
Note:
Our company is using RoboHelp® X.3, and the screenshots and examples
in this article are from this version. Currently, Macromedia is selling
RoboHelp® X.5, and the dialog boxes are different in this release.
But the basic procedures are the same.
Here's
what I'll cover in this article:
Before
starting
Before starting,
we reviewed the requirements for our documentation products and thought
about the products we wanted to create:
- Help. Compiled Microsoft HTML Help
- Printed guides. One user guide and several smaller guides
on specific topics
- Release-specific output. The current release plus the Beta
release
We also learned a few key concepts in RoboHelp HTML:
- Conditional Build Tags. These tags identify content that
needs to be excluded from the output. For example, you can create and
apply a tag named "Print" for content that goes only into
a printed guide, not into Help.
- Single source layouts. Each layout is a template that includes
output settings and preferences. For our company, our layouts include
online Help and several printed guides.
Here's
the process we followed.
Creating
Conditional Build tags
- In the Project tab, right-click Conditional Build Tags.
- Select New Conditional Build Tag.
- Name the tag. You can select a different color if you don't
want to use the default color assigned.
- Click OK.
This is
the set of Conditional Build Tags that we created:

Figure
1: Create Conditional Build Tags
Applying
tags to content within a topic
In this example,
we wanted the Related Topics button to appear only in Help, not in the
printed guides.
- Select the text or graphic. In this case, we selected the Related
Topics button.
- Right-click and select Apply Conditional Build Tag.

Figure 2: Apply tag
- Select Online. This is the tag we use for content that goes only into
Help (not into printed guides).
After selecting the tag, the Related Topics button is marked with the
Online tag. It has blue hatch marks--because we selected blue as the
color for the Online tag.

Figure 3: After tag applied
Applying tags to an entire topic
We also needed to exclude entire topics from an output. For example, we
didn't want our Release 6 features (our Beta release) to be included
in the Release 5 Online Help and printed guides.
To
apply the Release 6 tag to an entire topic:
- In the Project tab, select the topic.
- Right-click and select Properties from the shortcut menu.
- Click the Advanced tab.
Figure 4: Topic properties
- Select the Rel6_only tag.
- Click OK.
Creating
single-source layouts
For Release 6 Online Help, we started with the HTML Help template that
RoboHelp provided.
- In the Project tab, double-click Single Source Layouts.
Figure 5: Single Source Layout - Help
- Double-click Microsoft HTML Help. The HTML Help Options dialog box
opens.
Figure 6: HTML Help options
- Next to "Conditional Build Expression," click Define. The Define Conditional
Build Tag Expression dialog opens.
Figure 7: Conditional Build Expression
- Select a tag from the Available tags pane on the left.
- Click the right arrow to move the tag to the "Exclude from output"
pane.
Because we're creating a help system for Release 6, we excluded:
- AddTopicLater. The draft topics that are incomplete.
- Rel5_only. Any text designed for Release 5.
- Print. Any text designed only for printed guides.
- Click OK.
- Click Finish to generate Online Help.
Customizing each printed guide
- In the Project tab, double-click Single Source Layouts.
Figure 8: Single Source Layout - print
- Double-click Printed Doc--R5 User Guide. The Print Document
General dialog box opens.
- Click Next.
- From the list of available topics, select the chapters and topics
for the printed guide.
- Select a topic or book from the Topics pane on the left.
- Click the right arrow to move the topic or book to the Chapter
layout--into the printed guide.
Figure 9: Print content
- Click Next.
- Now map the heading styles used for the HTML topics to the styles
used in the Word template.
Figure 10: Print styles
- Click Finish to generate the printed document.
Meeting our goals
Using a single-source tool, we've been able to meet the requirements
for our documentation products. We've been able to produce Online
Help and multiple printed guides, and maintain two releases of software--all
from a single source.
An unexpected reward was hearing my manager say that using a single-source
method has meant substantial savings for our company.
|