SlideShare ist ein Scribd-Unternehmen logo
1 von 80
Modular documentation
in Structured FrameMaker

Jang F.M. Graat
JANG Communication
Who’s talking ?
Jang F.M. Graat
Physics, Psychology,
Philosophy
20+ years Tech
Writer, Trainer, Consul
tant
15+ years company
JANG Communication
Self-taught FM expert
Agenda for this tutorial
 Step 1: Defining your modular structure

 Step 2: Defining the top-level elements

 Step 3: Defining the layout properties

 Step 4: Using text insets to reuse modules

 Step 5: Creating your own CMS
Agenda for this tutorial
 Step 6: Handling cross-references in reuse modules

 Step 7: Allowing variability in reuse modules

 Step 8: Creating books from reuse modules

 Step 9: Publishing to various layouts

 Wrap-up
Step 1: Defining your
 modular structure
Modular design: top-down
                    Book


 TOC      Chapter          Chapter   Index


Section   Section          Section


           Topic            Topic    Topic
Modular design: bottom-up
                    Book


 TOC      Chapter          Chapter   Index


Section   Section          Section


           Topic            Topic    Topic
Modules: reusability




   Modules    Maps     Pubs
Granularity of modules
Number of modules
Generic vs. specific
Impact on reusability
How much chaos
can you manage ?
Multiple layers of
(nested) modules
Topic-based writing
Answer one question
  “What is this for ?”
  “How does it work ?”
  “How do I do this ?”
  “What are my options ?”
  “What went wrong ?”

All other info
  Related links
Writing for reusability
 Generic topics
 Less is more
 Clear structure
 Rigid structure
 Generic vs. specific
   Separate variability
   Use conditional text ?
Nesting of modules
Allow modules to
contain other modules
Module used at
various levels in
publications
Formatting issues
  Levels of titles
  Font families, sizes
  Indentation, tabs
Naming conventions
Strict naming rules
  Recognizable
  Unique names

Prefixed types
  task-RemoveBoard
  ref-FileSaveOptions
  concept-Mod5402
  t-5402-Adjust
Finding modules
Meaningful titles
  Valid for which part ?
  Include version info ?

Attributes of main
module elements
Directory structure
Excel sheet to keep
track of everything
Document Type Definition
Defines valid structure

  Book                            <!DOCTYPE MyBook [

     Chapter                      <!ELEMENT Book (Chapter+)>
                                  <!ELEMENT Chapter (Title,Section+)>
           Title                  <!ELEMENT Section (Title,Body?,Section*)>
                                  <!ELEMENT Body (Para+)>
                                  <!ELEMENT Title (#PCDATA)>
         Section                  <!ELEMENT Para (#PCDATA)>

                   Title          <!ATTLIST Author CDATA #REQUIRED>
                                  <!ATTLIST Editor CDATA #IMPLIED>
                   Body           <!ATTLIST Date CDATA #IMPLIED>
                                  <!ATTLIST Version CDATA #IMPLIED>
                           Para   ]>

               Section
EDD: Element Definition
Doc
Element definitions
  Unique name
  General rule: structure
  Attributes
  Formatting rules

DTD + formatting
Part of every FM file
  Imported from EDD file
Modular EDD - step 1
                                 EDD Version is 8.0

 Book
                                 Element (Container): Book
    Chapter                        General rule:       Chapter+
                                 Element (Container): Chapter
          Title                    General rule:       Title, Section+
                                 Element (Container): Section
        Section                    General rule:    Title, Body?, Section*
                  Title          Element (Container): Body
                                   General rule:       Para+
                  Body           Element (Container): Para
                                   General rule:       <TEXT>
                          Para
                                 Element (Container): Title
                                   General rule:       <TEXTONLY>
              Section
Step 2: Defining the
highest-level elements
Documentation systems
        Book      Book
 Fm
       Chapter   Ditamap


        Flow      File


       Content   Content   Dita
Highest-level elements
                       Element (Container): Book
Available as root in     General rule: Chapter+
                         Valid as the highest-level element.
a FrameMaker file
                       Element (Container): Chapter
                         General rule: Title, Section+
                         Valid as the highest-level element.

                       Element (Container): Section
                         General rule: Introduction, SubSection+
                         Valid as the highest-level element.

                       Element (Container): Introduction
                         General rule: (Par | Figure)+

                       Element (Container): SubSection
                         General rule: Title, (Par | Figure)+
                         Valid as the highest-level element.
Why is this important ?
 Modular documents               File: chapterA
   Each file = one topic     Chapter
                                           Title
   Validation of structure
                                       File: module1
   Separate handling                   File: module4
   (review, translation)

 Inclusion via linking           File: module1
                             Section
   Reused via text insets
                                           Title
   Include entire flow                    Figure

   Starts at root element                          ImageFrame
Granularity of modules
Number of modules
Generic vs. specific
Impact on reusability
How much chaos
can you manage ?
Multiple layers of
(nested) modules
Modular EDD - step 2
                                 EDD Version is 8.0

 Book                            Element (Container): Book
                                   General rule:       Chapter+
    Chapter                        Valid as the highest-level element.
                                 Element (Container): Chapter
          Title                    General rule:       Title, Section+
                                   Valid as the highest-level element.
        Section                  Element (Container): Section
                                   General rule:    Title, Body?, Section*
                  Title          Valid as the highest-level element.

                  Body           Element (Container): Body
                                   General rule:       Para+
                          Para   Element (Container): Para
                                   General rule:       <TEXT>
              Section            Element (Container): Title
                                   General rule:       <TEXTONLY>
Step 3: Defining the
 layout properties
Defining layout properties
 Layout is for users
 Company style guide
 Rigid system
   No exceptions !!!
   No “tweaking” !!!

 Nesting of modules
 Various publications
Direct formatting in EDD
All formatting options
                          Element (Container): Body
                            General rule:          <TEXT>
  Basic properties          Text format rules
                              In all contexts.
  Font properties                Default font properties
                                    Family: Arial CE
                                    Size: 10pt
  Numbering properties           Basic properties
                                    Paragraph spacing
  Pagination properties               Space above: 2pt
                                      Space below: 10pt
                                    Line spacing
  Advanced properties                  Height: 12pt
                                    Tab Stops
Everything available in               Tab stop position: 11.0mm
                                      Tab stop position: 18.0mm
paragraph designer                    Tab stop position: 21.0mm
Using format control lists
 Advantages
  Usually gathered in one
  section of the EDD
  Reuse of the same fcl
  for multiple elements
  Easier to manage

 Disadvantages
  Still part of the EDD
  Not all options available
Formatting outside EDD
Change formatting                                     Style
without editing EDD        EDD           Tags
                                                      guide
Paragraph format tags
                          Structure                 Formatting
Separate style guide
Advantages:                           Document
                              Title
  Accessible formatting
                                       FirstPar
  Easier bookmarking                   BulletList
  Multiple style guides                             ListItem
Paragraph format tags
Unique format tags                Style
                            EDD
  Choose intelligent              guide
  names

Importing EDD
  Create formats on input
  Paragraph tags added

Formatting in template
  Paragraph designer
  Always use “Update all”
Using context rules
All Contexts rule             Element (Container): Body
                                General rule: <TEXT>
                                Text format rules
Context rule                      1. In all contexts.
                                     Use paragraph format: Body

  Parent element             Element (Container): Title
                               General rule: <TEXT>
                               Text format rules
  Nesting of elements               1. If context is: Chapter
                                           Use paragraph format: ChapTitle
  Choice of elements                   Else, if context is: Appendix
                                           Use paragraph format: AppTitle
  First, last, after                   Else, if context is: Section < Chapter
                                           Use paragraph format: SecTitle
                                       Else, if context is: Section {after Title}
Order of execution                     Else
                                           Use paragraph format: SubSecTitle

                                           Use paragraph format: FigTitle
  First match stops search
Modular EDD - step 3
Title element
  Section title depends
  on level of nesting
  Level rule in EDD

Paragraph format tags
  Required heading level
  Note: no exceptions !
  Nested context rule
Step 4: Using text insets
   to reuse modules
FrameMaker text insets
Import entire flow
Disadvantages
  Inset source required
  No search mechanism
  No previewing
  No check on structure
West Street Consulting
FrameMaker ACE Russ Ward
  Full-time tech writer + part-time software developer
  Website: www.weststreetconsulting.com

Extremely useful plug-ins for FrameMaker
  Xref Wizard ( $ 35 per seat )
  FrameSLT ( $ 100 per seat )
  InsetPlus ( free )
  ABCM ( free )
InsetPlus
Element-level linking
Advantages
  Any element in file
  User-friendly interface
  Search & preview
  Check on validity
  Updating quick & easy
  Tracking of usage
InsetPlus linking method
Element attributes
  Source: Unique ID
  Target: conref

Inserting & updating
  Insert empty element
  Link to source element
  Update indivual inset
  Update all insets in file
InsetPlus: further options
 Tracking information
   Where is source used ?
   Updating all references

 Linking options
   Editing conref attribute
   No source required yet
   Automated creation of
   books in XML processor
Modular EDD - step 4
     Element (Container): Book
       General rule:    Chapter+
       Valid as the highest-level element.

     Element (Container): Chapter
       General rule:    Title, Section+
       Valid as the highest-level element.

     Element (Container): Section
       General rule:     Title, Body?, Section*
       Valid as the highest-level element.
            Attribute list
              1. Name:id                      UniqueID   Optional
              2. Name: conref                 String     Optional

     Element (Container): Body
       General rule:     Para+
       Format rules for the first paragraph in element
           1. In all contexts
                    Pagination properties
                       Keep with previous:Yes
Step 5: Creating
 your own CMS
Content Management
Keep track of stuff
  Storing modules
  Searching modules
  Validity for publications
  Review & translation

Database needed ?
  No magic involved
  Manage the chaos
Content Management
Finding content
  Clear structure
  Strict naming

Without a CMS ?
  Store in repositories
  Restrict modularity
  Use nested modules
  Document validity info
Repository files
 Reusable elements
  Wrapper with info
  Enable search & checks
  Printable as catalog

 Bundle reuse modules
  Machine section
  Software section
  Clear subdivision
Organize repository files
 Collect in book
   Printing full catalog
   Easier updating
   Easier to manage

 Division of modules
   One file per assembly ?
   One file per topic type ?
   One file per product ?
Modular EDD - step 5
Same EDD in all files         Element (Container): ReuseModule
                                General rule: ModuleID, Comment?, Section
                                Attribute list
  Guarantee compatibility            1. Name: Author     String  Required
                                     2. Name: Version    Integer Required
                                     3. Name: Revision Integer Required
  Sections in EDD                    4. Name: Validity   String  Required

  Formatting in EDD ?         Element (Container): ModuleID
                                General rule: <TEXTONLY>
                                Prefix rules
Special info added:                  1. In all contexts
                                         Prefix: Identifier:
  Module identifier             Suffix rules
                                     1. In all contexts
                                         Suffix: nValid for:
  Validity and version info                  <$attribute[Validity:ReuseModule]>
                                             nVersion:
  Optional comment                           <$attribute[Version:ReuseModule]>.
                                             <$attribute[Revision:ResudeModule]>n
Step 6: Handling Xrefs
  in reuse modules
Xrefs in FrameMaker
Allowing Xrefs
  Marker attribute in all
  referrable elements
  CrossReference
  element with target
  attribute
  Both attributes optional

Creating Xrefs
  Enter CrossRef element
  Link to available marker
Xrefs in FrameMaker
Xrefs to other files
  Source file required
  Source file changed !

Prepare for Xrefs
  Manually define marker
  FM attribute editor
  Use unique names
Xrefs in FrameMaker
Updating Xrefs
                                    Book
  Source files required

Xref to inset text
  Xref to inset source,
                           See X.          X
  not to inset reference
  Marker available,
  but not recognized
  Manual relinking
                           See X.          X
XRef Wizard
Attribute-based linking
  Unique IDs targeted
  No file names used

Advantages
  No file-dependence
  Works with text insets
  Updating quick & easy
  Reports with links
XRef Wizard
Updating Xrefs
                                       Book
  Book-level process
  Only files in book

Xref to inset text
                              See X.          X
  Xref defined in attribute
  independent of filename
  Marker recognized
  Automatic relinking         See X.          X
XRef Wizard
Book level
  Resolves all Xrefs
  Reports conflicts
  Multiple targets
    Choice of candidates
    Allows jumping into

  Fast and easy
  Update book after this
Modular EDD - step 6
     Element (Container): Para
       General rule:   (<TEXT> | CrossRef )*

     Element (CrossReference): CrossRef
       Attribute list
         1. Name: XRefTarget    ID Reference   Optional

     Element (Container): Title
       General rule:   <TEXTONLY>
       Attribute list
         1. Name: XRefMarker Unique ID         Optional
Step 7: Allowing variability
    in reuse modules
Variable info: FM variables
 Special -> Variables
   Defined per file
   Import to each file
   after changing value

 Use in text insets
   Take value from file that
   includes the text inset
   Does not export to XML
Variables in the EDD
Define element             Element (Container): BookVar
                             General rule:     <EMPTY>
                             Attribute list
  Attribute determines               1. Name: Variable Choice Required

  which variable is used                Choices:          Machine, Company,
                                                          Publisher, PubYear
                             Text format rules
  Empty element text           In all contexts.
                                     Text range.

  Prefix receives value      Prefix rules
                               If context is: [Variable=”Machine”]
  from Book attributes               Prefix: <$attribute[Machine: Book]>
                               Else, if context is: [Variable=”Company”]
                                     Prefix: <$attribute[Company: Book]>
Edit variables                 Else, if context is: [Variable=”Publisher”]
                                     Prefix: <$attribute[Publisher: Book]>
                               Else, if context is: [Variable=”PubYear”]
  Edit Book attributes               Prefix: <$attribute[PubYear: Book]>

  Update book
Variables in the EDD
Allow element               Element (Container): Para
                              General rule:   ( <TEXT> | CrossRef | BookVar )*

  Part of General rule

Insert variable
  Like all other elements
  Only where allowed
  Choose attribute value
  from drop-down list
  Update book !
Conditional text: FM
method
 Condition tags
   Defined per document
   Applied per text section
   Works with text insets

 Hide / show text
   Set hide / show options
   Boolean expression
   All text remains in files
ABCM
Attribute-based
  Define attributes in EDD
  Any applicable element
  Includes children

Condition schemes
  Define schemes once
  Color, filter, validate
Attribute-based conditions
 Defined in EDD              Element (Container): Section
                               General rule:   Title, Body?, Section*
  Attributes applied to        Attribute list
                                 1. Name: id              Unique ID Optional
  all useful elements            2. Name: conref          String      Optional
                                 3. Name: Version         Choice      Optional
  Define attributes once             Choices: VersionA, VersionB, VersionC
                                 4. Name: Product         Strings Optional

  Copy-paste attributes to   Element (Container): Para
  all applicable elements      General rule: (<TEXT> | CrossRef | BookVar )*
                               Attribute list
                                 1. Name: Version        Choice Optional
  Conditions applicable              Choices: VersionA, VersionB, VersionC
  only to elements               2. Name: Product        Strings Optional
ABCM schemes
Library of
schemes
  Coloring schemes
  Filtering schemes
  Validation schemes

Attribute-based
  Match values
  Combined matches
  Execute rule
Coloring source files
 Coloring scheme
  Define color options
  Define matching rules
  Store coloring scheme

 Applying a scheme
  ABCM > Coloring > Color ...
  Choose a coloring scheme
  Apply the scheme
Filtering source files
 Filtering scheme
   Define matching rules
   Store filtering scheme

 Applying a scheme
   ABCM > Filtering > Filter ...
   Choose a filtering scheme
   Choose destination options
   Apply the scheme
Filtering books
                          Master




                  Product A
                                    Product A
                                      DEU




                  Product B        Product B
                                     NLD
Modular EDD - step 7
     Element (Container): Para
         General rule: (<TEXT> | CrossRef | BookVar )*
         Attribute list
              1. Name: Version        Choice    Optional
                   Choices: VersionA, VersionB, VersionC
              2. Name: Product        Strings Optional

     Element (Container): BookVar
         General rule: <EMPTY>
         Attribute list
              1. Name: Variable          Choice     Required
                    Choices: Machine, Company,
                               Publisher, PubYear
         Text format rules
              In all contexts.
                    Text range.
              Prefix rules
                    If context is: [Variable=”Machine”]
                         Prefix: <$attribute[Machine: Book]>
                    Else, if context is: [Variable=”Company”]
                         Prefix: <$attribute[Company: Book]>
Step 8: Creating books
 from reuse modules
Limiting chaos
Library of subtopics
  Standard warnings
  Standard steps

Consistent topics
  Follow machine design
  Follow main tasks
  Create topic templates

Consistent metadata
Consistent topics
Machine modules
  Functional description
  Operating
  Maintaining, cleaning
  Testing, adjusting
  Troubleshooting
  Removing, Mounting
  Replacing parts
Consistent topics
Describe all buttons
  Follow GUI design
  One topic per screen

Describe procedures
  Start-of-day
  Normal operation
  Maintenance
  End-of-day
Possible subtopics
Notes, warnings
Procedure steps
Images + poslists
Button descriptions
Parameter
descriptions
Examples
Specifications
Trade-off
Subtopics
  Create more modules
  Keeping track of usage
  Complex dependencies

Conditional text
  Create complex
  modules
  Change one, change all
  Copies after filtering
Publishing books
Order of final steps
  Update all insets
  Resolve all XRefs
  Update book
  Save book as PDF

One book per product
  Back-up published book
  Include all chapters
Keeping track
Excel workbook
  Available topics
  Versions, revisions
  Status and planning
  Available translations

Usage information
  Manually in Excel
  Via InsetPlus reports
Step 9: Publishing
to various layouts
Formatting outside EDD
Change formatting                                     Style
without editing EDD        EDD           Tags
                                                      guide
Paragraph format tags
                          Structure                 Formatting
Separate style guide
Advantages:                           Document
                              Title
  Accessible formatting
                                       FirstPar
  Easier bookmarking                   BulletList
  Multiple style guides                             ListItem
Import style guide formats
 Page layouts
   Page setup, sizes
   Fixed elements, flows

 Reference pages
   Repository for icons

 Paragraph formats
 Character formats
Using various templates
Same style tags
  Copy template
  Change page layout
  Change para formats
  Change char formats

Include all tags
Add fixed elements
  Standard master pages
Multiple style guides
Modular documentation
Writing topics
Assembling books
Updating Xrefs
Filtering books
Applying layouts
Publishing books
Questions ?
More info & materials:
   send e-mail to
   jang@jang.nl

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Xml
XmlXml
Xml
 
Day Of Dot Net Ann Arbor 2007
Day Of Dot Net Ann Arbor 2007Day Of Dot Net Ann Arbor 2007
Day Of Dot Net Ann Arbor 2007
 
01 xml document structure
01 xml document structure01 xml document structure
01 xml document structure
 
Xml 1
Xml 1Xml 1
Xml 1
 
XML
XMLXML
XML
 
Dynamic Publishing with Arbortext Data Merge
Dynamic Publishing with Arbortext Data MergeDynamic Publishing with Arbortext Data Merge
Dynamic Publishing with Arbortext Data Merge
 
03 x files
03 x files03 x files
03 x files
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
00 introduction
00 introduction00 introduction
00 introduction
 
Ch2 neworder
Ch2 neworderCh2 neworder
Ch2 neworder
 
Building XML Based Applications
Building XML Based ApplicationsBuilding XML Based Applications
Building XML Based Applications
 
Xxx test
Xxx testXxx test
Xxx test
 
1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
 
Html (1)
Html (1)Html (1)
Html (1)
 
Xml
XmlXml
Xml
 
XML for beginners
XML for beginnersXML for beginners
XML for beginners
 
Introduction to XML and Databases
Introduction to XML and DatabasesIntroduction to XML and Databases
Introduction to XML and Databases
 
XML
XMLXML
XML
 
23xml
23xml23xml
23xml
 
Xhtml
XhtmlXhtml
Xhtml
 

Ähnlich wie Modular documentation in Structured FrameMaker

Developing joomla 1.6 templates
Developing joomla 1.6 templatesDeveloping joomla 1.6 templates
Developing joomla 1.6 templatesChad Windnagle
 
Perfomatix - Android Coding Standards
Perfomatix - Android Coding StandardsPerfomatix - Android Coding Standards
Perfomatix - Android Coding StandardsPerfomatix Solutions
 
Python's dynamic nature (rough slides, November 2004)
Python's dynamic nature (rough slides, November 2004)Python's dynamic nature (rough slides, November 2004)
Python's dynamic nature (rough slides, November 2004)Kiran Jonnalagadda
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Suite Solutions
 
Component Framework Primer for JSF Users
Component Framework Primer for JSF UsersComponent Framework Primer for JSF Users
Component Framework Primer for JSF UsersAndy Schwartz
 
The Big Documentation Extravaganza
The Big Documentation ExtravaganzaThe Big Documentation Extravaganza
The Big Documentation ExtravaganzaStephan Schmidt
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsSuite Solutions
 
Twig in the wild august 2018 drupal govcon draft
Twig in the wild   august 2018 drupal govcon draftTwig in the wild   august 2018 drupal govcon draft
Twig in the wild august 2018 drupal govcon draftJeremyKoulish
 
From XML to eBooks Part 2: The Details
From XML to eBooks Part 2: The DetailsFrom XML to eBooks Part 2: The Details
From XML to eBooks Part 2: The DetailsRichard Hamilton
 
Drupal 7 entities & TextbookMadness.com
Drupal 7 entities & TextbookMadness.comDrupal 7 entities & TextbookMadness.com
Drupal 7 entities & TextbookMadness.comJD Leonard
 
DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IISuite Solutions
 

Ähnlich wie Modular documentation in Structured FrameMaker (20)

Down and Dirty EPUB 3
Down and Dirty EPUB 3Down and Dirty EPUB 3
Down and Dirty EPUB 3
 
Developing joomla 1.6 templates
Developing joomla 1.6 templatesDeveloping joomla 1.6 templates
Developing joomla 1.6 templates
 
DITA introduction
DITA introductionDITA introduction
DITA introduction
 
Perfomatix - Android Coding Standards
Perfomatix - Android Coding StandardsPerfomatix - Android Coding Standards
Perfomatix - Android Coding Standards
 
Single Sourcingon Shoestring
Single Sourcingon ShoestringSingle Sourcingon Shoestring
Single Sourcingon Shoestring
 
Python's dynamic nature (rough slides, November 2004)
Python's dynamic nature (rough slides, November 2004)Python's dynamic nature (rough slides, November 2004)
Python's dynamic nature (rough slides, November 2004)
 
Dom
Dom Dom
Dom
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
 
Component Framework Primer for JSF Users
Component Framework Primer for JSF UsersComponent Framework Primer for JSF Users
Component Framework Primer for JSF Users
 
Introduction to odbms
Introduction to odbmsIntroduction to odbms
Introduction to odbms
 
HTML and CSS.pptx
HTML and CSS.pptxHTML and CSS.pptx
HTML and CSS.pptx
 
The Big Documentation Extravaganza
The Big Documentation ExtravaganzaThe Big Documentation Extravaganza
The Big Documentation Extravaganza
 
Mdst 3559-02-01-html
Mdst 3559-02-01-htmlMdst 3559-02-01-html
Mdst 3559-02-01-html
 
25dom
25dom25dom
25dom
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
 
Twig in the wild august 2018 drupal govcon draft
Twig in the wild   august 2018 drupal govcon draftTwig in the wild   august 2018 drupal govcon draft
Twig in the wild august 2018 drupal govcon draft
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
From XML to eBooks Part 2: The Details
From XML to eBooks Part 2: The DetailsFrom XML to eBooks Part 2: The Details
From XML to eBooks Part 2: The Details
 
Drupal 7 entities & TextbookMadness.com
Drupal 7 entities & TextbookMadness.comDrupal 7 entities & TextbookMadness.com
Drupal 7 entities & TextbookMadness.com
 
DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part II
 

Mehr von Jang F.M. Graat

Faster than Agile - Proposal for Lavacon 2015
Faster than Agile - Proposal for Lavacon 2015Faster than Agile - Proposal for Lavacon 2015
Faster than Agile - Proposal for Lavacon 2015Jang F.M. Graat
 
From user assistance to user guidance: Information apps
From user assistance to user guidance: Information appsFrom user assistance to user guidance: Information apps
From user assistance to user guidance: Information appsJang F.M. Graat
 
Dynamic links using (meta)data
Dynamic links using (meta)dataDynamic links using (meta)data
Dynamic links using (meta)dataJang F.M. Graat
 
Maximising the effect of progressive disclosure
Maximising the effect of progressive disclosureMaximising the effect of progressive disclosure
Maximising the effect of progressive disclosureJang F.M. Graat
 
Progressive Disclosure - Putting the User in Control
Progressive Disclosure - Putting the User in ControlProgressive Disclosure - Putting the User in Control
Progressive Disclosure - Putting the User in ControlJang F.M. Graat
 
XPath-based transformations in structured FrameMaker
XPath-based transformations in structured FrameMakerXPath-based transformations in structured FrameMaker
XPath-based transformations in structured FrameMakerJang F.M. Graat
 
Driving DITA off the Map
Driving DITA off the MapDriving DITA off the Map
Driving DITA off the MapJang F.M. Graat
 
Rethinking Version Control for Agile Content
Rethinking Version Control for Agile ContentRethinking Version Control for Agile Content
Rethinking Version Control for Agile ContentJang F.M. Graat
 
Advanced techniques for conversion to structured FrameMaker
Advanced techniques for conversion to structured FrameMakerAdvanced techniques for conversion to structured FrameMaker
Advanced techniques for conversion to structured FrameMakerJang F.M. Graat
 
Create your own $35 CMS in Structured FrameMaker
Create your own $35 CMS in Structured FrameMakerCreate your own $35 CMS in Structured FrameMaker
Create your own $35 CMS in Structured FrameMakerJang F.M. Graat
 
Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.
Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.
Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.Jang F.M. Graat
 
Nur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive Disclosure
Nur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive DisclosureNur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive Disclosure
Nur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive DisclosureJang F.M. Graat
 
Changing the engine without stopping the rickshaw
Changing the engine without stopping the rickshawChanging the engine without stopping the rickshaw
Changing the engine without stopping the rickshawJang F.M. Graat
 
How I killed the webmaster - and got away with it
How I killed the webmaster - and got away with itHow I killed the webmaster - and got away with it
How I killed the webmaster - and got away with itJang F.M. Graat
 
How to become a trainer - and make lots of $$$
How to become a trainer - and make lots of $$$How to become a trainer - and make lots of $$$
How to become a trainer - and make lots of $$$Jang F.M. Graat
 
Getting your hands dirty - How tech authors may be able to survive in the mac...
Getting your hands dirty - How tech authors may be able to survive in the mac...Getting your hands dirty - How tech authors may be able to survive in the mac...
Getting your hands dirty - How tech authors may be able to survive in the mac...Jang F.M. Graat
 

Mehr von Jang F.M. Graat (20)

XSLT for Authors
XSLT for AuthorsXSLT for Authors
XSLT for Authors
 
Faster than Agile - Proposal for Lavacon 2015
Faster than Agile - Proposal for Lavacon 2015Faster than Agile - Proposal for Lavacon 2015
Faster than Agile - Proposal for Lavacon 2015
 
Out of-control
Out of-controlOut of-control
Out of-control
 
Flowcharting DITA
Flowcharting DITAFlowcharting DITA
Flowcharting DITA
 
From user assistance to user guidance: Information apps
From user assistance to user guidance: Information appsFrom user assistance to user guidance: Information apps
From user assistance to user guidance: Information apps
 
Minimalism to the MAX
Minimalism to the MAXMinimalism to the MAX
Minimalism to the MAX
 
Dynamic links using (meta)data
Dynamic links using (meta)dataDynamic links using (meta)data
Dynamic links using (meta)data
 
Maximising the effect of progressive disclosure
Maximising the effect of progressive disclosureMaximising the effect of progressive disclosure
Maximising the effect of progressive disclosure
 
Progressive Disclosure - Putting the User in Control
Progressive Disclosure - Putting the User in ControlProgressive Disclosure - Putting the User in Control
Progressive Disclosure - Putting the User in Control
 
XPath-based transformations in structured FrameMaker
XPath-based transformations in structured FrameMakerXPath-based transformations in structured FrameMaker
XPath-based transformations in structured FrameMaker
 
Driving DITA off the Map
Driving DITA off the MapDriving DITA off the Map
Driving DITA off the Map
 
Rethinking Version Control for Agile Content
Rethinking Version Control for Agile ContentRethinking Version Control for Agile Content
Rethinking Version Control for Agile Content
 
Advanced techniques for conversion to structured FrameMaker
Advanced techniques for conversion to structured FrameMakerAdvanced techniques for conversion to structured FrameMaker
Advanced techniques for conversion to structured FrameMaker
 
Create your own $35 CMS in Structured FrameMaker
Create your own $35 CMS in Structured FrameMakerCreate your own $35 CMS in Structured FrameMaker
Create your own $35 CMS in Structured FrameMaker
 
Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.
Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.
Dita Spezialisierung - Wie machen Sie es, und warum Sie es machen sollen.
 
Nur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive Disclosure
Nur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive DisclosureNur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive Disclosure
Nur der Nutzer weiss, was der Nutzer noch nicht weiss - Progressive Disclosure
 
Changing the engine without stopping the rickshaw
Changing the engine without stopping the rickshawChanging the engine without stopping the rickshaw
Changing the engine without stopping the rickshaw
 
How I killed the webmaster - and got away with it
How I killed the webmaster - and got away with itHow I killed the webmaster - and got away with it
How I killed the webmaster - and got away with it
 
How to become a trainer - and make lots of $$$
How to become a trainer - and make lots of $$$How to become a trainer - and make lots of $$$
How to become a trainer - and make lots of $$$
 
Getting your hands dirty - How tech authors may be able to survive in the mac...
Getting your hands dirty - How tech authors may be able to survive in the mac...Getting your hands dirty - How tech authors may be able to survive in the mac...
Getting your hands dirty - How tech authors may be able to survive in the mac...
 

Kürzlich hochgeladen

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Kürzlich hochgeladen (20)

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 

Modular documentation in Structured FrameMaker

  • 1. Modular documentation in Structured FrameMaker Jang F.M. Graat JANG Communication
  • 2. Who’s talking ? Jang F.M. Graat Physics, Psychology, Philosophy 20+ years Tech Writer, Trainer, Consul tant 15+ years company JANG Communication Self-taught FM expert
  • 3. Agenda for this tutorial Step 1: Defining your modular structure Step 2: Defining the top-level elements Step 3: Defining the layout properties Step 4: Using text insets to reuse modules Step 5: Creating your own CMS
  • 4. Agenda for this tutorial Step 6: Handling cross-references in reuse modules Step 7: Allowing variability in reuse modules Step 8: Creating books from reuse modules Step 9: Publishing to various layouts Wrap-up
  • 5. Step 1: Defining your modular structure
  • 6. Modular design: top-down Book TOC Chapter Chapter Index Section Section Section Topic Topic Topic
  • 7. Modular design: bottom-up Book TOC Chapter Chapter Index Section Section Section Topic Topic Topic
  • 8. Modules: reusability Modules Maps Pubs
  • 9. Granularity of modules Number of modules Generic vs. specific Impact on reusability How much chaos can you manage ? Multiple layers of (nested) modules
  • 10. Topic-based writing Answer one question “What is this for ?” “How does it work ?” “How do I do this ?” “What are my options ?” “What went wrong ?” All other info Related links
  • 11. Writing for reusability Generic topics Less is more Clear structure Rigid structure Generic vs. specific Separate variability Use conditional text ?
  • 12. Nesting of modules Allow modules to contain other modules Module used at various levels in publications Formatting issues Levels of titles Font families, sizes Indentation, tabs
  • 13. Naming conventions Strict naming rules Recognizable Unique names Prefixed types task-RemoveBoard ref-FileSaveOptions concept-Mod5402 t-5402-Adjust
  • 14. Finding modules Meaningful titles Valid for which part ? Include version info ? Attributes of main module elements Directory structure Excel sheet to keep track of everything
  • 15. Document Type Definition Defines valid structure Book <!DOCTYPE MyBook [ Chapter <!ELEMENT Book (Chapter+)> <!ELEMENT Chapter (Title,Section+)> Title <!ELEMENT Section (Title,Body?,Section*)> <!ELEMENT Body (Para+)> <!ELEMENT Title (#PCDATA)> Section <!ELEMENT Para (#PCDATA)> Title <!ATTLIST Author CDATA #REQUIRED> <!ATTLIST Editor CDATA #IMPLIED> Body <!ATTLIST Date CDATA #IMPLIED> <!ATTLIST Version CDATA #IMPLIED> Para ]> Section
  • 16. EDD: Element Definition Doc Element definitions Unique name General rule: structure Attributes Formatting rules DTD + formatting Part of every FM file Imported from EDD file
  • 17. Modular EDD - step 1 EDD Version is 8.0 Book Element (Container): Book Chapter General rule: Chapter+ Element (Container): Chapter Title General rule: Title, Section+ Element (Container): Section Section General rule: Title, Body?, Section* Title Element (Container): Body General rule: Para+ Body Element (Container): Para General rule: <TEXT> Para Element (Container): Title General rule: <TEXTONLY> Section
  • 18. Step 2: Defining the highest-level elements
  • 19. Documentation systems Book Book Fm Chapter Ditamap Flow File Content Content Dita
  • 20. Highest-level elements Element (Container): Book Available as root in General rule: Chapter+ Valid as the highest-level element. a FrameMaker file Element (Container): Chapter General rule: Title, Section+ Valid as the highest-level element. Element (Container): Section General rule: Introduction, SubSection+ Valid as the highest-level element. Element (Container): Introduction General rule: (Par | Figure)+ Element (Container): SubSection General rule: Title, (Par | Figure)+ Valid as the highest-level element.
  • 21. Why is this important ? Modular documents File: chapterA Each file = one topic Chapter Title Validation of structure File: module1 Separate handling File: module4 (review, translation) Inclusion via linking File: module1 Section Reused via text insets Title Include entire flow Figure Starts at root element ImageFrame
  • 22. Granularity of modules Number of modules Generic vs. specific Impact on reusability How much chaos can you manage ? Multiple layers of (nested) modules
  • 23. Modular EDD - step 2 EDD Version is 8.0 Book Element (Container): Book General rule: Chapter+ Chapter Valid as the highest-level element. Element (Container): Chapter Title General rule: Title, Section+ Valid as the highest-level element. Section Element (Container): Section General rule: Title, Body?, Section* Title Valid as the highest-level element. Body Element (Container): Body General rule: Para+ Para Element (Container): Para General rule: <TEXT> Section Element (Container): Title General rule: <TEXTONLY>
  • 24. Step 3: Defining the layout properties
  • 25. Defining layout properties Layout is for users Company style guide Rigid system No exceptions !!! No “tweaking” !!! Nesting of modules Various publications
  • 26. Direct formatting in EDD All formatting options Element (Container): Body General rule: <TEXT> Basic properties Text format rules In all contexts. Font properties Default font properties Family: Arial CE Size: 10pt Numbering properties Basic properties Paragraph spacing Pagination properties Space above: 2pt Space below: 10pt Line spacing Advanced properties Height: 12pt Tab Stops Everything available in Tab stop position: 11.0mm Tab stop position: 18.0mm paragraph designer Tab stop position: 21.0mm
  • 27. Using format control lists Advantages Usually gathered in one section of the EDD Reuse of the same fcl for multiple elements Easier to manage Disadvantages Still part of the EDD Not all options available
  • 28. Formatting outside EDD Change formatting Style without editing EDD EDD Tags guide Paragraph format tags Structure Formatting Separate style guide Advantages: Document Title Accessible formatting FirstPar Easier bookmarking BulletList Multiple style guides ListItem
  • 29. Paragraph format tags Unique format tags Style EDD Choose intelligent guide names Importing EDD Create formats on input Paragraph tags added Formatting in template Paragraph designer Always use “Update all”
  • 30. Using context rules All Contexts rule Element (Container): Body General rule: <TEXT> Text format rules Context rule 1. In all contexts. Use paragraph format: Body Parent element Element (Container): Title General rule: <TEXT> Text format rules Nesting of elements 1. If context is: Chapter Use paragraph format: ChapTitle Choice of elements Else, if context is: Appendix Use paragraph format: AppTitle First, last, after Else, if context is: Section < Chapter Use paragraph format: SecTitle Else, if context is: Section {after Title} Order of execution Else Use paragraph format: SubSecTitle Use paragraph format: FigTitle First match stops search
  • 31. Modular EDD - step 3 Title element Section title depends on level of nesting Level rule in EDD Paragraph format tags Required heading level Note: no exceptions ! Nested context rule
  • 32. Step 4: Using text insets to reuse modules
  • 33. FrameMaker text insets Import entire flow Disadvantages Inset source required No search mechanism No previewing No check on structure
  • 34. West Street Consulting FrameMaker ACE Russ Ward Full-time tech writer + part-time software developer Website: www.weststreetconsulting.com Extremely useful plug-ins for FrameMaker Xref Wizard ( $ 35 per seat ) FrameSLT ( $ 100 per seat ) InsetPlus ( free ) ABCM ( free )
  • 35. InsetPlus Element-level linking Advantages Any element in file User-friendly interface Search & preview Check on validity Updating quick & easy Tracking of usage
  • 36. InsetPlus linking method Element attributes Source: Unique ID Target: conref Inserting & updating Insert empty element Link to source element Update indivual inset Update all insets in file
  • 37. InsetPlus: further options Tracking information Where is source used ? Updating all references Linking options Editing conref attribute No source required yet Automated creation of books in XML processor
  • 38. Modular EDD - step 4 Element (Container): Book General rule: Chapter+ Valid as the highest-level element. Element (Container): Chapter General rule: Title, Section+ Valid as the highest-level element. Element (Container): Section General rule: Title, Body?, Section* Valid as the highest-level element. Attribute list 1. Name:id UniqueID Optional 2. Name: conref String Optional Element (Container): Body General rule: Para+ Format rules for the first paragraph in element 1. In all contexts Pagination properties Keep with previous:Yes
  • 39. Step 5: Creating your own CMS
  • 40. Content Management Keep track of stuff Storing modules Searching modules Validity for publications Review & translation Database needed ? No magic involved Manage the chaos
  • 41. Content Management Finding content Clear structure Strict naming Without a CMS ? Store in repositories Restrict modularity Use nested modules Document validity info
  • 42. Repository files Reusable elements Wrapper with info Enable search & checks Printable as catalog Bundle reuse modules Machine section Software section Clear subdivision
  • 43. Organize repository files Collect in book Printing full catalog Easier updating Easier to manage Division of modules One file per assembly ? One file per topic type ? One file per product ?
  • 44. Modular EDD - step 5 Same EDD in all files Element (Container): ReuseModule General rule: ModuleID, Comment?, Section Attribute list Guarantee compatibility 1. Name: Author String Required 2. Name: Version Integer Required 3. Name: Revision Integer Required Sections in EDD 4. Name: Validity String Required Formatting in EDD ? Element (Container): ModuleID General rule: <TEXTONLY> Prefix rules Special info added: 1. In all contexts Prefix: Identifier: Module identifier Suffix rules 1. In all contexts Suffix: nValid for: Validity and version info <$attribute[Validity:ReuseModule]> nVersion: Optional comment <$attribute[Version:ReuseModule]>. <$attribute[Revision:ResudeModule]>n
  • 45. Step 6: Handling Xrefs in reuse modules
  • 46. Xrefs in FrameMaker Allowing Xrefs Marker attribute in all referrable elements CrossReference element with target attribute Both attributes optional Creating Xrefs Enter CrossRef element Link to available marker
  • 47. Xrefs in FrameMaker Xrefs to other files Source file required Source file changed ! Prepare for Xrefs Manually define marker FM attribute editor Use unique names
  • 48. Xrefs in FrameMaker Updating Xrefs Book Source files required Xref to inset text Xref to inset source, See X. X not to inset reference Marker available, but not recognized Manual relinking See X. X
  • 49. XRef Wizard Attribute-based linking Unique IDs targeted No file names used Advantages No file-dependence Works with text insets Updating quick & easy Reports with links
  • 50. XRef Wizard Updating Xrefs Book Book-level process Only files in book Xref to inset text See X. X Xref defined in attribute independent of filename Marker recognized Automatic relinking See X. X
  • 51. XRef Wizard Book level Resolves all Xrefs Reports conflicts Multiple targets Choice of candidates Allows jumping into Fast and easy Update book after this
  • 52. Modular EDD - step 6 Element (Container): Para General rule: (<TEXT> | CrossRef )* Element (CrossReference): CrossRef Attribute list 1. Name: XRefTarget ID Reference Optional Element (Container): Title General rule: <TEXTONLY> Attribute list 1. Name: XRefMarker Unique ID Optional
  • 53. Step 7: Allowing variability in reuse modules
  • 54. Variable info: FM variables Special -> Variables Defined per file Import to each file after changing value Use in text insets Take value from file that includes the text inset Does not export to XML
  • 55. Variables in the EDD Define element Element (Container): BookVar General rule: <EMPTY> Attribute list Attribute determines 1. Name: Variable Choice Required which variable is used Choices: Machine, Company, Publisher, PubYear Text format rules Empty element text In all contexts. Text range. Prefix receives value Prefix rules If context is: [Variable=”Machine”] from Book attributes Prefix: <$attribute[Machine: Book]> Else, if context is: [Variable=”Company”] Prefix: <$attribute[Company: Book]> Edit variables Else, if context is: [Variable=”Publisher”] Prefix: <$attribute[Publisher: Book]> Else, if context is: [Variable=”PubYear”] Edit Book attributes Prefix: <$attribute[PubYear: Book]> Update book
  • 56. Variables in the EDD Allow element Element (Container): Para General rule: ( <TEXT> | CrossRef | BookVar )* Part of General rule Insert variable Like all other elements Only where allowed Choose attribute value from drop-down list Update book !
  • 57. Conditional text: FM method Condition tags Defined per document Applied per text section Works with text insets Hide / show text Set hide / show options Boolean expression All text remains in files
  • 58. ABCM Attribute-based Define attributes in EDD Any applicable element Includes children Condition schemes Define schemes once Color, filter, validate
  • 59. Attribute-based conditions Defined in EDD Element (Container): Section General rule: Title, Body?, Section* Attributes applied to Attribute list 1. Name: id Unique ID Optional all useful elements 2. Name: conref String Optional 3. Name: Version Choice Optional Define attributes once Choices: VersionA, VersionB, VersionC 4. Name: Product Strings Optional Copy-paste attributes to Element (Container): Para all applicable elements General rule: (<TEXT> | CrossRef | BookVar )* Attribute list 1. Name: Version Choice Optional Conditions applicable Choices: VersionA, VersionB, VersionC only to elements 2. Name: Product Strings Optional
  • 60. ABCM schemes Library of schemes Coloring schemes Filtering schemes Validation schemes Attribute-based Match values Combined matches Execute rule
  • 61. Coloring source files Coloring scheme Define color options Define matching rules Store coloring scheme Applying a scheme ABCM > Coloring > Color ... Choose a coloring scheme Apply the scheme
  • 62. Filtering source files Filtering scheme Define matching rules Store filtering scheme Applying a scheme ABCM > Filtering > Filter ... Choose a filtering scheme Choose destination options Apply the scheme
  • 63. Filtering books Master Product A Product A DEU Product B Product B NLD
  • 64. Modular EDD - step 7 Element (Container): Para General rule: (<TEXT> | CrossRef | BookVar )* Attribute list 1. Name: Version Choice Optional Choices: VersionA, VersionB, VersionC 2. Name: Product Strings Optional Element (Container): BookVar General rule: <EMPTY> Attribute list 1. Name: Variable Choice Required Choices: Machine, Company, Publisher, PubYear Text format rules In all contexts. Text range. Prefix rules If context is: [Variable=”Machine”] Prefix: <$attribute[Machine: Book]> Else, if context is: [Variable=”Company”] Prefix: <$attribute[Company: Book]>
  • 65. Step 8: Creating books from reuse modules
  • 66. Limiting chaos Library of subtopics Standard warnings Standard steps Consistent topics Follow machine design Follow main tasks Create topic templates Consistent metadata
  • 67. Consistent topics Machine modules Functional description Operating Maintaining, cleaning Testing, adjusting Troubleshooting Removing, Mounting Replacing parts
  • 68. Consistent topics Describe all buttons Follow GUI design One topic per screen Describe procedures Start-of-day Normal operation Maintenance End-of-day
  • 69. Possible subtopics Notes, warnings Procedure steps Images + poslists Button descriptions Parameter descriptions Examples Specifications
  • 70. Trade-off Subtopics Create more modules Keeping track of usage Complex dependencies Conditional text Create complex modules Change one, change all Copies after filtering
  • 71. Publishing books Order of final steps Update all insets Resolve all XRefs Update book Save book as PDF One book per product Back-up published book Include all chapters
  • 72. Keeping track Excel workbook Available topics Versions, revisions Status and planning Available translations Usage information Manually in Excel Via InsetPlus reports
  • 73. Step 9: Publishing to various layouts
  • 74. Formatting outside EDD Change formatting Style without editing EDD EDD Tags guide Paragraph format tags Structure Formatting Separate style guide Advantages: Document Title Accessible formatting FirstPar Easier bookmarking BulletList Multiple style guides ListItem
  • 75. Import style guide formats Page layouts Page setup, sizes Fixed elements, flows Reference pages Repository for icons Paragraph formats Character formats
  • 76. Using various templates Same style tags Copy template Change page layout Change para formats Change char formats Include all tags Add fixed elements Standard master pages
  • 78. Modular documentation Writing topics Assembling books Updating Xrefs Filtering books Applying layouts Publishing books
  • 80. More info & materials: send e-mail to jang@jang.nl