TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
[The following ideas, in no particular order, come from a variety of
posts, with their authors credited. There's some repetition because I
didn't have time to edit. More details are available on the Web...]
SOME METHODS FOR CONDITIONAL TEXT IN WORD
=========================================
- Styles that you hide or show depending on context.
- Custom document properties.
- Includetext fields so that your document takes content from subdocs.
Create a set of subdocs for each context.
- Database-controlled, macro-driven conditionals (I've just completed
something on these lines that provides branded, company-specific
procedures for each company in a group of companies).
(Geoff Lane)
The most basic conditional text mechanism in Word is the IF field, which
tests for bookmark (variable) values. It used to be documented under
"mail merge" because that's what it was developed for. I've used it (as
far back as Word 2.0 for Windows) to create complex variations of user
and admin docs from a single source.
(David Brown)
Create a single Word document with styles for A, B, and C. Each of the
three letters has its own set of styles in the document: Body Text A,
Body Text B, etc.
Create three different templates: In Template 1, style B and C are
hidden text. In Template 2, style C is hidden. In Template 3, none of
the styles are hidden.
Conditional text is displayed according to the template that you link to
the document -- the document itself doesn't change.
(Dan Goldstein)
If you have RoboHelp, you could use it to create your documents, and
then export to word. You can mark topics for inclusion or exclusion when
exporting to word. You could then have three different word outputs from
the same source project.
(Richard Sharon)
In reality, Word's IF field code is more powerful than FrameMaker's
conditional text implementation because it supports Boolean operators...
In Word, you can use AND and OR operators or nested IF fields when
building the IF fields to conditionalize text, and this gives much more
control over the rules that you can construct. On the other hand, the
need to specify every item of conditional content inside these complex
field codes is really cumbersome.
(Fred Ridder)
I recommend using a color or special font for your conditional text.
Then, when you run the index for the smaller subset (with conditional
text off), you can delete those extra lines from your index very easily.
(Seth Maislin)
> -----Original Message-----
> From: Keith Hood
> Sent: Friday, July 20, 2007 5:03 PM
> To: Dan Goldstein; TECHWR-L
> Subject: RE: Conditional Text Question
>
> ... About free methods for doing conditional text
> in Word -- I'd appreciate some info on them. I
> have my own homebrewed methods but they're kind
> of clumsy. I'd really like to find something both
> effective and simpler.
>
This message contains confidential information intended only for the use of the addressee(s). If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing, copying, electronic storing or the taking of any action in reliance on the contents of this message is strictly prohibited. If you have received this message by mistake, please notify us, by replying to the sender, and delete the original message immediately thereafter. Thank you.
Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more. http://www.DocToHelp.com/TechwrlList
True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-