strategies for conditional content

28
Strategies for Conditional Text in FrameMaker 8 Terry Smith DITA/TECHCOMM November 2008

Upload: scriptorium-publishing

Post on 07-Nov-2014

6.539 views

Category:

Technology


0 download

DESCRIPTION

Comparison of the different ways you can specify conditional content in both regular and structured FrameMaker 8.

TRANSCRIPT

Page 1: Strategies For Conditional Content

Strategies for Conditional Text in FrameMaker 8

Terry SmithDITA/TECHCOMM

November 2008

Page 2: Strategies For Conditional Content

About the presenter

Technical Consultant, Scriptorium Publishing, based in Research Triangle Park, NCFrameMaker ACEAuthored updates to Publishing Fundamentals: FrameMaker 8

Page 3: Strategies For Conditional Content

Agenda

Purpose of conditional contentMarking text as conditionalOptions for processing conditional content in unstructured FrameMakerAttribute filtering in structured FrameMaker

Page 4: Strategies For Conditional Content
Page 5: Strategies For Conditional Content

Determine the conditional text “dimensions” you need

Page 6: Strategies For Conditional Content

Which content can be conditional?

Page 7: Strategies For Conditional Content

Marking conditional content in regular FrameMaker

Choice 1: Never allow condition tags to overlapChoice 2: Always (or just sometimes) allow overlapping condition tags

Page 8: Strategies For Conditional Content

Regular FrameMaker

Show/Hide conditions: Each condition is either showing or hidden (despite misleading Conditional Text dialog box that implies other options).Conditional expressions: These let you combine conditional operators (those used in Boolean expressions) for more flexibility.

Page 9: Strategies For Conditional Content

Traditional conditional text: applying one tag only

Good: Easy to see which condition tags are applied.Bad: May need lots of condition tags.

Page 10: Strategies For Conditional Content

One tag only: up to 32 condition tags needed

Page 11: Strategies For Conditional Content

Traditional conditional text: layering every condition tag that applies

Good: May need (somewhat) fewer tags.Bad: Difficult to manage the tags.

Page 12: Strategies For Conditional Content

Layering condition tags: only 18 tags (not 32)

Page 13: Strategies For Conditional Content

Layered tags hard to manage

Page 14: Strategies For Conditional Content

Demo of Show/Hide conditions

Applying conditionsShow/HideShowing condition indicators

Page 15: Strategies For Conditional Content

Conditional expressions require minimum number of condition tags

Page 16: Strategies For Conditional Content

Conditional Expressions

Mix of condition tags (some layered, some not) = Challenging conditional expressionsConsistently layered tagging = easy conditional expressions

Page 17: Strategies For Conditional Content

Demo of conditional expressions

Building an expressionShowing “as per expression”

Page 18: Strategies For Conditional Content

Condition tags retained in XML, but not part of structure

Page 19: Strategies For Conditional Content

Structured FrameMaker

Attributes and filtering available for structured FrameMaker only.Filter which conditional content shows in output based on attributes. Filtering is at the element level.

Page 20: Strategies For Conditional Content

Marking conditional content in structured FrameMaker

Specify only one value for a single attribute.You can specify values for multiple attributes.

Page 21: Strategies For Conditional Content

Attribute filtering goes beyond conditional text functionality

Can filter on multiple attributes.Product = “Pro” AND Output = “Print” AND Platform = “UNIX”Conditional tags are always combined as OR.Excellent approach for content with numerous conditions.

Page 22: Strategies For Conditional Content

Downside: Visual indicators not available

You Cannot use colors to indicate attribute filtering unless you add on to FrameMaker:

ABCMSourcererCustom FDK clientFrameScript

Page 23: Strategies For Conditional Content

Structured FrameMaker setup

Your document's structure must allow some attributes you can use for your conditional content.

Page 24: Strategies For Conditional Content
Page 25: Strategies For Conditional Content

Add attributes for filtering to EDD

Add attributes to all elements you may want to make conditional.For XML, you need to change the files that make up the structured application to process any attributes you add. No additional changes needed for print and PDF (Save As PDF).

Page 26: Strategies For Conditional Content

Marking structured content as conditional

Specify one value for attribute.Structure may allow multiple values for a single attribute, but filter by attribute doesn’t process multiple values on a single attribute.You can specify both condition tags and attributes, but you can only use one to set which conditions show in FrameMaker.

Page 27: Strategies For Conditional Content

Demo of filter by attribute

Specify attribute values.Build filter.Apply filter.Validate for each attribute filter.

Page 28: Strategies For Conditional Content

Contact information

Scriptorium PublishingResearch Triangle Park, NC, [email protected], x113