SlideShare une entreprise Scribd logo
1  sur  40
DITA Quick Start:
Defining Style Sheet Requirements
Yehudit Lindblom & Joe Gelb
January 21, 2014
Who are we?
Yehudit Lindblom
• Project Manager and cat herder
Joe Gelb
• Founder and President of Suite Solutions
Suite Solutions
Our Vision: Enable you to engage your customers by providing quick access to
relevant information: DITA provides the foundation
• Help companies get it right the first time
• XML-based Authoring/Publishing Solutions
• Enterprise Intelligent Dynamic Content: SuiteShare Social KB
• Consultancy, Systems Integration, Application Development
• Cross-Industry Expertise
• High Tech, Aerospace & Defense, Discrete Manufacturing
• Healthcare, Government
Main Topics
 Goals of this webinar
 The Magic Button: high quality, localized output from DITA
 Common Requirements
 PDF
 HTML
 Online Help
 ePUB
 Mobile
 Localization Considerations
Goals of this Webinar
Primary Goal: Empower (not overwhelm) you
• Understand the process, details and dependencies involved
• Understand the possibilities
• Help to avoid making assumptions…
• Manage expectations
Key Components of a DITA Solution
1.
2.
3.
4.
5.

Staff
Content
Translation
Publishing
Content and configuration management

Your mission is to develop or acquire each of these
The Magic Button
•

•

Common misconceptions about DITA
• DITA publishing can't match the quality and complexity of desktop
publishing
• Loss of control over the final output as with tools like FM and InDesign
[ those last minute tweaks, page-breaks…. ]
The reality
• Anything we’ve seen can be done using DITA publishing
• Style sheets can be customized, parameterized, localized
• CMS + style sheets gives you the Magic Button: any format in any
language for any device
• Well…. Not so easy at first: takes effort
to set it all up
Multi-purpose Publishing
•

•

Single-source, many outputs
• PDF: hi-fidelity vs online, manuals, data sheets, fold-outs, labels…
• Help: CHM, Web Help, HTML5, website, KB, man pages …
• Mobile: ePUB, Mobi, Nook, feeding native apps, responsive design…
• InDesign
• Word
• Integrations with other systems: Salesforce, Jive…
Dynamic Web Publishing: content on-demand
Content, Structure, Presentation
• Document Type Definition (DTD)
• Schema

Structure
Rules

Document
Instance
• XML
• Media, graphics

Presentation
Rules
(Style Sheet)

Presentation

•
•
•
•

XSL
XSL-FO
CSS
Shakespearean
Templates

•
•
•
•
•
•
•

PDF
HTML
ePUB
DOCX
InDesign
SVG
…
Typical DITA Toolset
XML Authoring

SME Review

CMS
Content Management
System

Automated Publishing
- DITA Open Toolkit
- DITA Accelerator

Web Help

Dynamic Web
- SuiteShare
- LiveContent Reach
- DITA Web
- Fluid Topics
Help Manuals

Mobile

On-demand
High Level Process
1. Assembling your project team
• Project manager, at least one author, and perhaps a graphic designer
(and they all might be the same person)
2. Building requirements
• Which outputs do you have now? What do you want to add or change?
• Opportunity to implement new formats your customers are asking for
3. Information Architecture
• How are your DITA elements being used?
• What output do you want from them?
4. Solution Architecture: CMS, publishing tools
5. Style sheet development
6. Deployment
7. Support / Tweaks
Be Prepared
•
•

•
•
•

Your project team will need to make nitty-gritty detailed decisions about
requirements and priorities
It is important to set as many requirements as possible before the
development starts
• Avoids scheduling or budget surprises, cost overruns
Identify detailed formatting requirements for each output format:
• PDF, HTML, help, mobile, dynamic web, eLearning…
Coordinate with the information architect and conversion team
Communicate clear and detailed formatting requirements to your vendor
Be Prepared
•
•

•

Have all the fonts available before start
Test Data
• Invest the time to put together good representative test data
• Should be based on your IA
• Simulate each combination of tagging and structure
• Test data should be representative of actual XML exported from the
CMS during publishing
Build time for review into your schedule
• You need to review your new outputs thoroughly
• Better to be realistic and allot more time than to do a quick review and
miss issues
Testing and Revisions
•

•
•
•

Job isn’t finished until you can publish real content from the CMS
• Ideally, even for beta testing, publish converted content from
the CMS
Localized style sheets cannot be completed until tested with real
translated content
Leave room in your budget for tweaking the style sheets
As you migrate more content, you will encounter new patterns in
the tagging
• Style sheets are very sensitive to differences in tagging,
especially for PDF
• Page-break rules are sometimes complex and may be tweaked
over time
Basic Requirements for all outputs
•

•

Content-based rules, for example:
• Task steps: if only 1 step, style as a paragraph; if >1, style as
list
• Reordering pre-requisite and context (use general task type
instead)
Basic formatting: fonts, colors, sizes, spacing…

Reality Check:
• Before you start development, the basic formatting should be
decided
• “This is how it will be, mostly, so you can go ahead and get started”
is an invitation for Murphy and a recipe for wasted time and budget
• For many of the requirements we will discuss, details can be
resolved during the development process, but make sure to
account for them in scheduling and budget
Common Requirements for PDF
•
•

•

•

High fidelity (for print) and online version
Turn on or off
• TOC, Index, mini-TOC
• Draft comments, crop marks, watermark, change markup…
Variable sized documents and fold-outs
• Letter, A4, custom sizes (fitting it in the box…), base on locale
• Custom sizes meant for folding with exact spacing requirements
Variable page size and orientation
• Displaying a single topic / page / table / figure in landscape or
different page size – e.g. fold-outs, large diagrams
Common Requirements for PDF
•

•

Custom cover and back pages
• Custom cover graphic
• Title, alternate titles
• Serial number, publication date, revision number, etc.
• Copyright information
• Contact information, addresses,
• Generally driven using metadata, outputclasses
Automated watermarks
• Example: generate based on metadata combined with current date
• Webinar: Suite Labs: Adding a Watermark to your PDF Output
https://www.youtube.com/watch?v=tL6PFDVItEQ
Common Requirements for PDF
•

•
•
•

Page breaks and keep-with-next
• Tends to irritate people the most: folks are used to tweaking manually
• Complexity: elements that span multiple pages
• Can build logic in the style sheets approximating the thought process
of a real person adding manual page breaks
• Can support adding break instructions manually in the source DITA
• Does not work properly in Apache FOP
Table footnotes – appear after the table instead of bottom of page
Flagging – based on conditionalization
Change tracking
• Via the authoring tool
• Via the review tool
• Comparison between 2 document revisions
Other PDF Requirements
•
•

•
•
•

Bar codes and QR codes – generate automatically using AH extension
Section 508 compliance
• Enable PDF to be read by a screen reader
• AntennaHouse extension adds attributes to the PDF for elements such
as links
Show tags in the output for review
Links between documents – instructor and participant guides
MathML for equations
• Render in PDF using AntennaHouse extension
• Render into HTML by automatically generating graphics
• Webinar: Implementing MathML with DITA XML
https://www.youtube.com/watch?v=fnlZcIwJeMw
PDF Rendering Tool
•

•
•

Choose tool that will support all your requirements
• Antenna House
• RenderX
• Apache FOP
If need basic output: Apache FOP will be OK
• Not supported well: Orphan/widow rules, page breaks
Antenna House
• Support for EPS (with GhostScript)
• Other extensions available (MathML, barcodes, etc.)
• Excellent localization support
• Tools for Japanese index sort, regression testing
Considerations for Localization
Support for localized outputs
• Localization is generally supported with the DITA-OT
• Multilingual documents not supported out-of-the-box but can be done
• When done right: use one style sheet for all languages
Customization
• Font usage
• Varies according to the character set
• Automate right-to-left vs left-to-right (header, footer, cover, margins…)
• Formatting
• Use alternatives for emphasizing text in languages that do not use
italics, bold or quotes as used in most other languages, for example:
 「Japanese italicized text」
 «Chinese italicized text »
 “Chinese bolded text ”

• Display Japanese dates in the format: 2013 年 8 月 13 日
Considerations for Localization
•

•

•

Variable strings
• Text that is static throughout the content but vary per language
Examples: “Warning” “Table of Contents”
• DITA-OT already defines most commonly used strings
• Often need to add new strings for copyright, address, special
headings, etc.
Index and glossary sort: Chinese and Japanese do not sort
alphabetically – there are 2 options:
• Use <index-sort-as> and <gloss-sort-as> to manually specify sort
and group orders
• Use AntennaHouse sort module which automates the sort
Page size
• Specify based on locale
• Affects placement of headers/footers, margins, front/back covers
Considerations for Graphics and Media
•
•
•

•

Support for high-res graphics and EPS
• EPS supported by AntennaHouse + GhostScript
Automated conversion during publishing from EPS to other formats
(e.g. PNG) for use with HTML
Whether to use SVG
• XML format; often used for graphics with call-outs
• Easier to localize – with some caveats…
• Allows you to change the text inside the graphic during publish time
• Can automatically convert to other formats (e.g. PNG)
Embedded links to video
Considerations for Graphics and Media
•

•

Sizing for HTML
• Automatically generate smaller graphics OR rely on CSS
• If use CSS, the sizing is controlled by the browser; sometimes less
quality
Display thumbnails
• When clicked, display a large rendition as an overlay
• Good for large figures or charts
General Requirements for HTML
•
•

•
•
•
•

Formatting: fonts, sizes, spacing…
Figure and Tables
• Numbering: “for print” scheme is not the default for HTML
Numbering generally makes sense per topic
Generally we recommend to turn off numbering; only display the
title
• Titles: display above or below
• Cells to span
• First row color
Flagging based on conditionalization
Draft comments: format, view on-demand
Embed Google analytics code
“Mark of the web” – still an issue for older Windows and IE
General Considerations for HTML
HTML5
•
•
•
•

•

•

Latest buzzword…
Current browsers are not fully supporting HTML5; consider implementing
fallback options where there are differences in support
Decide which HTML5 features you would like, check they are supported in the
required browsers, and TEST!!!
Semantic elements: article, header, footer, section, aside, nav, figure,
figurecaption, details
Video
• not supported by some browsers
• still generally requires support for Javascript APIs for embedding controls
• Consider the video encoding and how supported in browsers
E.g. Chrome, Firefox, Opera all support WebM.
Safari and IE only support h264 (recommended)
Microdata attributes: @itemscope, @itemprop – used for search weighting
General Considerations for HTML
Section 508 Compliance
•
•
•
•

•

Accessibility to people with disabilities
Facilitates more effective reading for computerized screen-readers
List of regulations: http://accessibility.psu.edu/section508
Examples
• @alt for images need to be populated – generally, comes from the
source XML content, some automatically populated using style
sheets (e.g. logos, note icons)
• Web pages shall be designed so that all information conveyed with
color is also available without color. Supplement color coding with
other signals such as shape or text
HTML5 compliance with Section 508
• Section 508 has not been updated to correspond with HTML5
• Example: Section 508 requires a <summary> tag, which is
deprecated in HTML5
Choosing an Online Help Platform
Platforms available:
• HTML Help (CHM) – not recommended:
• Only works on Windows client, not cross-platform or server-enabled
• Very little customization possible
• No longer supported by Microsoft
• Does not support modern CSS, which means you cannot share
style sheets between help systems
• SuiteHelp
• oXygen
• Webworks
• Flare
• Robohelp
• Eclipse
Choosing an Online Help Platform:
Considerations
•

•
•

•
•

Browser support
• Big 4: IE, Firefox, Chrome, Safari
• IE: difficult to support older version without many work-arounds
Support for different operating systems: Windows, Mac, Linux
Should not be based on frames
• Deprecated in HTML5
• Causes security problems on many browsers
• Slow
• Not mobile friendly
Context sensitivity
Quality of search
• Javascript-based vs. server-based
• Server-based can provide true phrase search, morphology/fuzzy, etc.
• Search highlighting, snippets
Customizations for Online Help
•
•
•

•

•

TOC images, how to highlight when selected
Index: yes or no
Glossary: yes or no
• Alphabetization can be automated, but grouping is more difficult to
implement
Links: which to generate
• Parent links
• Child links
• Next/previous
• Related links, and whether to group them by topic-type
Breadcrumbs
Customizations for Online Help
•

•
•
•
•
•

Print
• Current topic
• Current topic and all child topics
• All topics in help
Email link to the current topic
Link to a PDF version of the manual
Re-sizable navigation pane
Custom Footer
Custom home page
General Requirements for ePUB
•
•
•
•
•

Formatting: much more limited than on other formats; many quirks
Challenge: ePUB is generated using HTML, but is presented like a book
Topic chunking: which topics should be rendered and flow together: often
this is different than for HTML-based help
Cover page
Which ePUB readers to support?
• Different readers on different mobile platforms differ widely in their
support for CSS
• Kindle is a different format: mobi
Reality Check
• You must test the output on each of the devices and readers that
you want to support
• There are common readers, such as Aldiko
General Requirements for Mobile
•

•

•

•

Responsive vs adaptive design
• Responsive: the help automatically refits itself using CSS media
queries and grids to optimize the usability for different device sizes
• Adaptive: the help is designed for a particular range of sizes
Considerations:
• Which device sizes?
• Which OS?
• HTML5-based vs native app
TOC navigation
• Generally only shows the top level
• Navigate to lower levels through links on the topic pages
jQuery Mobile reponsive UI system is commonly used
• Supports different sizes well without concern for media queries and
grids
General Requirements for Mobile
•
•

•
•

Gestures
• swipe, pinch, zoom/pan graphics
Search
• Since the help is commonly hosted on a web server, it is easier to
implement a more powerful search engine such as SuiteHelp+
Embedding videos
• Embedded links to YouTube
Media
• Not all media types supported out of the box
• Some require special processing
e.g. swf needs an HTML <object> element
Documenting the Style Sheets
Now that we have all these customizations, how do authors use them?
Document the style sheets
• Outputclasses
• Parameters
• Metadata usage for the publication
Pushing the Envelope…
Some advanced use cases
1.
2.
3.
4.

List of Effective Pages
Multilingual foldouts
Modifying graphics during runtime using SVG
Automated re-branding online help based on metadata using SuiteHelp
Case Study: Modifying graphics during
runtime using SVG
1. Icon graphic for standards commission needs to have
the serial number embedded depending on the
geographical location of sale
2. During publishing, serial number is inserted into the
SVG from metadata
3. The Catch: Icons need to flow on back cover from
bottom right to left, then up…
4. Solution:
Rotate the entire back page 180 degrees, so can flow
from top left to bottom right…. the graphic file needs
to start upside-down
Automated Re-Branding online help using
SuiteHelp
Automated Re-Branding online help using
SuiteHelp
Next Level: Dynamic Web
•
•
•
•

•

Variety of content: documentation, videos, how-to articles, safety
information, data sheets, marketing material
Context filtering: goal-oriented filtering to contextually relevant content
Personalized docs: allow readers to assemble content on demand and
render to PDF for print and ePub for offline mobile access
Audience Participation: allow your audience to add new content,
comment on existing content, express approval, and easily share
knowledge with others
Modern User Experience: smooth transition between mobile and
desktop
• Activity often starts on mobile,
moves to desktop, returns to mobile
• Internet connection not always available
Keep in Touch! Let us know how we can
help you.
For additional information, contact:

Yehudit Lindblom
Joe Gelb
solutions@suite-sol.com
U.S. Office
(609) 360-0650

EMEA Office
+972-2-993-8054

www.suite-sol.com
Follow us on Linked-In
http://www.linkedin.com/company/527916

Contenu connexe

Tendances

What They Won't Tell You About DITA
What They Won't Tell You About DITAWhat They Won't Tell You About DITA
What They Won't Tell You About DITA
Alan Houser
 
DITA and Agile Are Made For Each Other
DITA and Agile Are Made For Each OtherDITA and Agile Are Made For Each Other
DITA and Agile Are Made For Each Other
IXIASOFT
 

Tendances (20)

DITA Quick Start
DITA Quick StartDITA Quick Start
DITA Quick Start
 
The DITA Iceberg, DITA Europe 2016
The DITA Iceberg, DITA Europe 2016The DITA Iceberg, DITA Europe 2016
The DITA Iceberg, DITA Europe 2016
 
What They Won't Tell You About DITA
What They Won't Tell You About DITAWhat They Won't Tell You About DITA
What They Won't Tell You About DITA
 
Short Descriptions Shouldn't Be a Tall Order: Writing Effective Short Descrip...
Short Descriptions Shouldn't Be a Tall Order: Writing Effective Short Descrip...Short Descriptions Shouldn't Be a Tall Order: Writing Effective Short Descrip...
Short Descriptions Shouldn't Be a Tall Order: Writing Effective Short Descrip...
 
Increasing Findability with Subject Schemes (Advanced DITA Webinar)
Increasing Findability with Subject Schemes (Advanced DITA Webinar)Increasing Findability with Subject Schemes (Advanced DITA Webinar)
Increasing Findability with Subject Schemes (Advanced DITA Webinar)
 
Introduction to DITA
Introduction to DITAIntroduction to DITA
Introduction to DITA
 
DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016
DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016
DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016
 
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
 
The Evolution of DITAs
The Evolution of DITAsThe Evolution of DITAs
The Evolution of DITAs
 
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
 
Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32
 
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse? TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
 
Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...
Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...
Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...
 
Taxonomy 101: Classifying DITA Tasks
Taxonomy 101: Classifying DITA TasksTaxonomy 101: Classifying DITA Tasks
Taxonomy 101: Classifying DITA Tasks
 
DITA introduction
DITA introductionDITA introduction
DITA introduction
 
Optimizing Content Reuse with DITA
Optimizing Content Reuse with DITAOptimizing Content Reuse with DITA
Optimizing Content Reuse with DITA
 
Pat Farrell, Migrating Legacy Documentation to XML and DITA
Pat Farrell, Migrating Legacy Documentation to XML and DITAPat Farrell, Migrating Legacy Documentation to XML and DITA
Pat Farrell, Migrating Legacy Documentation to XML and DITA
 
DITA and Agile Are Made For Each Other
DITA and Agile Are Made For Each OtherDITA and Agile Are Made For Each Other
DITA and Agile Are Made For Each Other
 
10 Million Dita Topics Can't Be Wrong
10 Million Dita Topics Can't Be Wrong10 Million Dita Topics Can't Be Wrong
10 Million Dita Topics Can't Be Wrong
 
How to Optimize Your Metadata and Taxonomy
How to Optimize Your Metadata and TaxonomyHow to Optimize Your Metadata and Taxonomy
How to Optimize Your Metadata and Taxonomy
 

Similaire à DITA Quick Start Webinar: Defining Your Style Sheet Requirements

Model-driven and low-code development for event-based systems | Bobby Calderw...
Model-driven and low-code development for event-based systems | Bobby Calderw...Model-driven and low-code development for event-based systems | Bobby Calderw...
Model-driven and low-code development for event-based systems | Bobby Calderw...
HostedbyConfluent
 
How to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreHow to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle core
Dan Poltawski
 

Similaire à DITA Quick Start Webinar: Defining Your Style Sheet Requirements (20)

DITA Quick Start Webinar Series: Building a Project Plan
DITA Quick Start Webinar Series: Building a Project PlanDITA Quick Start Webinar Series: Building a Project Plan
DITA Quick Start Webinar Series: Building a Project Plan
 
Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...
Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...
Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...
 
Rapid development of help files and user documentation in Dr.Explain 5
Rapid development of help files and user documentation in Dr.Explain 5Rapid development of help files and user documentation in Dr.Explain 5
Rapid development of help files and user documentation in Dr.Explain 5
 
DITA and SEO
DITA and SEODITA and SEO
DITA and SEO
 
Create Your Own Starter Files
Create Your Own Starter FilesCreate Your Own Starter Files
Create Your Own Starter Files
 
Webcast: DITA Best Practices
Webcast: DITA Best PracticesWebcast: DITA Best Practices
Webcast: DITA Best Practices
 
Model-driven and low-code development for event-based systems | Bobby Calderw...
Model-driven and low-code development for event-based systems | Bobby Calderw...Model-driven and low-code development for event-based systems | Bobby Calderw...
Model-driven and low-code development for event-based systems | Bobby Calderw...
 
One Tool to Help Them All - Leigh White
One Tool to Help Them All -  Leigh WhiteOne Tool to Help Them All -  Leigh White
One Tool to Help Them All - Leigh White
 
Software development planning and essentials
Software development planning and essentialsSoftware development planning and essentials
Software development planning and essentials
 
Software development planning and essentials
Software development planning and essentialsSoftware development planning and essentials
Software development planning and essentials
 
DITA Interoperability
DITA InteroperabilityDITA Interoperability
DITA Interoperability
 
Planning our End Game at Automation Anywhere: A Story of Content and Tools St...
Planning our End Game at Automation Anywhere: A Story of Content and Tools St...Planning our End Game at Automation Anywhere: A Story of Content and Tools St...
Planning our End Game at Automation Anywhere: A Story of Content and Tools St...
 
Metadata & Interoperability: Free Tools
Metadata & Interoperability: Free ToolsMetadata & Interoperability: Free Tools
Metadata & Interoperability: Free Tools
 
Joomla! theming
Joomla! themingJoomla! theming
Joomla! theming
 
How to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreHow to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle core
 
Agile Content Development and the IXIASOFT DITA CMS
Agile Content Development and the IXIASOFT DITA CMSAgile Content Development and the IXIASOFT DITA CMS
Agile Content Development and the IXIASOFT DITA CMS
 
Chap004
Chap004Chap004
Chap004
 
Content Publishing
Content PublishingContent Publishing
Content Publishing
 
Content Strategy From the Outside In
Content Strategy From the Outside InContent Strategy From the Outside In
Content Strategy From the Outside In
 
Best practices for implementing and rolling out a memoQ server in an organiz...
Best practices for implementing and rolling out  a memoQ server in an organiz...Best practices for implementing and rolling out  a memoQ server in an organiz...
Best practices for implementing and rolling out a memoQ server in an organiz...
 

Plus de Suite Solutions

C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
Suite Solutions
 
LocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputsLocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputs
Suite Solutions
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
Suite Solutions
 
Debugging and Error handling
Debugging and Error handlingDebugging and Error handling
Debugging and Error handling
Suite Solutions
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
Suite Solutions
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
Suite Solutions
 

Plus de Suite Solutions (20)

SuiteHelp 4.0: Latest Features in Enterprise Webhelp
SuiteHelp 4.0: Latest Features in Enterprise WebhelpSuiteHelp 4.0: Latest Features in Enterprise Webhelp
SuiteHelp 4.0: Latest Features in Enterprise Webhelp
 
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
 
SuiteHelp 3.2.5 Latest Features
SuiteHelp 3.2.5 Latest FeaturesSuiteHelp 3.2.5 Latest Features
SuiteHelp 3.2.5 Latest Features
 
Using Taxonomy for Customer-centric Dynamic Publishing
Using Taxonomy for Customer-centric Dynamic PublishingUsing Taxonomy for Customer-centric Dynamic Publishing
Using Taxonomy for Customer-centric Dynamic Publishing
 
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with the DITA Open ToolkitDITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
 
Introduction to S1000D
Introduction to S1000DIntroduction to S1000D
Introduction to S1000D
 
Suite Labs: Generating SuiteHelp Output
Suite Labs: Generating SuiteHelp OutputSuite Labs: Generating SuiteHelp Output
Suite Labs: Generating SuiteHelp Output
 
Overview of SuiteHelp 3.1 for DITA
Overview of SuiteHelp 3.1 for DITAOverview of SuiteHelp 3.1 for DITA
Overview of SuiteHelp 3.1 for DITA
 
Svg and graphics
Svg and graphicsSvg and graphics
Svg and graphics
 
C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
 
LocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputsLocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputs
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
 
AdvancedXPath
AdvancedXPathAdvancedXPath
AdvancedXPath
 
Ot performance webinar
Ot performance webinarOt performance webinar
Ot performance webinar
 
PDF Localization
PDF  LocalizationPDF  Localization
PDF Localization
 
Debugging and Error handling
Debugging and Error handlingDebugging and Error handling
Debugging and Error handling
 
Dost.jar and fo.jar
Dost.jar and fo.jarDost.jar and fo.jar
Dost.jar and fo.jar
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
 
Developing Plugins
Developing PluginsDeveloping Plugins
Developing Plugins
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

DITA Quick Start Webinar: Defining Your Style Sheet Requirements

  • 1. DITA Quick Start: Defining Style Sheet Requirements Yehudit Lindblom & Joe Gelb January 21, 2014
  • 2. Who are we? Yehudit Lindblom • Project Manager and cat herder Joe Gelb • Founder and President of Suite Solutions Suite Solutions Our Vision: Enable you to engage your customers by providing quick access to relevant information: DITA provides the foundation • Help companies get it right the first time • XML-based Authoring/Publishing Solutions • Enterprise Intelligent Dynamic Content: SuiteShare Social KB • Consultancy, Systems Integration, Application Development • Cross-Industry Expertise • High Tech, Aerospace & Defense, Discrete Manufacturing • Healthcare, Government
  • 3. Main Topics  Goals of this webinar  The Magic Button: high quality, localized output from DITA  Common Requirements  PDF  HTML  Online Help  ePUB  Mobile  Localization Considerations
  • 4. Goals of this Webinar Primary Goal: Empower (not overwhelm) you • Understand the process, details and dependencies involved • Understand the possibilities • Help to avoid making assumptions… • Manage expectations
  • 5. Key Components of a DITA Solution 1. 2. 3. 4. 5. Staff Content Translation Publishing Content and configuration management Your mission is to develop or acquire each of these
  • 6. The Magic Button • • Common misconceptions about DITA • DITA publishing can't match the quality and complexity of desktop publishing • Loss of control over the final output as with tools like FM and InDesign [ those last minute tweaks, page-breaks…. ] The reality • Anything we’ve seen can be done using DITA publishing • Style sheets can be customized, parameterized, localized • CMS + style sheets gives you the Magic Button: any format in any language for any device • Well…. Not so easy at first: takes effort to set it all up
  • 7. Multi-purpose Publishing • • Single-source, many outputs • PDF: hi-fidelity vs online, manuals, data sheets, fold-outs, labels… • Help: CHM, Web Help, HTML5, website, KB, man pages … • Mobile: ePUB, Mobi, Nook, feeding native apps, responsive design… • InDesign • Word • Integrations with other systems: Salesforce, Jive… Dynamic Web Publishing: content on-demand
  • 8. Content, Structure, Presentation • Document Type Definition (DTD) • Schema Structure Rules Document Instance • XML • Media, graphics Presentation Rules (Style Sheet) Presentation • • • • XSL XSL-FO CSS Shakespearean Templates • • • • • • • PDF HTML ePUB DOCX InDesign SVG …
  • 9. Typical DITA Toolset XML Authoring SME Review CMS Content Management System Automated Publishing - DITA Open Toolkit - DITA Accelerator Web Help Dynamic Web - SuiteShare - LiveContent Reach - DITA Web - Fluid Topics Help Manuals Mobile On-demand
  • 10. High Level Process 1. Assembling your project team • Project manager, at least one author, and perhaps a graphic designer (and they all might be the same person) 2. Building requirements • Which outputs do you have now? What do you want to add or change? • Opportunity to implement new formats your customers are asking for 3. Information Architecture • How are your DITA elements being used? • What output do you want from them? 4. Solution Architecture: CMS, publishing tools 5. Style sheet development 6. Deployment 7. Support / Tweaks
  • 11. Be Prepared • • • • • Your project team will need to make nitty-gritty detailed decisions about requirements and priorities It is important to set as many requirements as possible before the development starts • Avoids scheduling or budget surprises, cost overruns Identify detailed formatting requirements for each output format: • PDF, HTML, help, mobile, dynamic web, eLearning… Coordinate with the information architect and conversion team Communicate clear and detailed formatting requirements to your vendor
  • 12. Be Prepared • • • Have all the fonts available before start Test Data • Invest the time to put together good representative test data • Should be based on your IA • Simulate each combination of tagging and structure • Test data should be representative of actual XML exported from the CMS during publishing Build time for review into your schedule • You need to review your new outputs thoroughly • Better to be realistic and allot more time than to do a quick review and miss issues
  • 13. Testing and Revisions • • • • Job isn’t finished until you can publish real content from the CMS • Ideally, even for beta testing, publish converted content from the CMS Localized style sheets cannot be completed until tested with real translated content Leave room in your budget for tweaking the style sheets As you migrate more content, you will encounter new patterns in the tagging • Style sheets are very sensitive to differences in tagging, especially for PDF • Page-break rules are sometimes complex and may be tweaked over time
  • 14. Basic Requirements for all outputs • • Content-based rules, for example: • Task steps: if only 1 step, style as a paragraph; if >1, style as list • Reordering pre-requisite and context (use general task type instead) Basic formatting: fonts, colors, sizes, spacing… Reality Check: • Before you start development, the basic formatting should be decided • “This is how it will be, mostly, so you can go ahead and get started” is an invitation for Murphy and a recipe for wasted time and budget • For many of the requirements we will discuss, details can be resolved during the development process, but make sure to account for them in scheduling and budget
  • 15. Common Requirements for PDF • • • • High fidelity (for print) and online version Turn on or off • TOC, Index, mini-TOC • Draft comments, crop marks, watermark, change markup… Variable sized documents and fold-outs • Letter, A4, custom sizes (fitting it in the box…), base on locale • Custom sizes meant for folding with exact spacing requirements Variable page size and orientation • Displaying a single topic / page / table / figure in landscape or different page size – e.g. fold-outs, large diagrams
  • 16. Common Requirements for PDF • • Custom cover and back pages • Custom cover graphic • Title, alternate titles • Serial number, publication date, revision number, etc. • Copyright information • Contact information, addresses, • Generally driven using metadata, outputclasses Automated watermarks • Example: generate based on metadata combined with current date • Webinar: Suite Labs: Adding a Watermark to your PDF Output https://www.youtube.com/watch?v=tL6PFDVItEQ
  • 17. Common Requirements for PDF • • • • Page breaks and keep-with-next • Tends to irritate people the most: folks are used to tweaking manually • Complexity: elements that span multiple pages • Can build logic in the style sheets approximating the thought process of a real person adding manual page breaks • Can support adding break instructions manually in the source DITA • Does not work properly in Apache FOP Table footnotes – appear after the table instead of bottom of page Flagging – based on conditionalization Change tracking • Via the authoring tool • Via the review tool • Comparison between 2 document revisions
  • 18. Other PDF Requirements • • • • • Bar codes and QR codes – generate automatically using AH extension Section 508 compliance • Enable PDF to be read by a screen reader • AntennaHouse extension adds attributes to the PDF for elements such as links Show tags in the output for review Links between documents – instructor and participant guides MathML for equations • Render in PDF using AntennaHouse extension • Render into HTML by automatically generating graphics • Webinar: Implementing MathML with DITA XML https://www.youtube.com/watch?v=fnlZcIwJeMw
  • 19. PDF Rendering Tool • • • Choose tool that will support all your requirements • Antenna House • RenderX • Apache FOP If need basic output: Apache FOP will be OK • Not supported well: Orphan/widow rules, page breaks Antenna House • Support for EPS (with GhostScript) • Other extensions available (MathML, barcodes, etc.) • Excellent localization support • Tools for Japanese index sort, regression testing
  • 20. Considerations for Localization Support for localized outputs • Localization is generally supported with the DITA-OT • Multilingual documents not supported out-of-the-box but can be done • When done right: use one style sheet for all languages Customization • Font usage • Varies according to the character set • Automate right-to-left vs left-to-right (header, footer, cover, margins…) • Formatting • Use alternatives for emphasizing text in languages that do not use italics, bold or quotes as used in most other languages, for example:  「Japanese italicized text」  «Chinese italicized text »  “Chinese bolded text ” • Display Japanese dates in the format: 2013 年 8 月 13 日
  • 21. Considerations for Localization • • • Variable strings • Text that is static throughout the content but vary per language Examples: “Warning” “Table of Contents” • DITA-OT already defines most commonly used strings • Often need to add new strings for copyright, address, special headings, etc. Index and glossary sort: Chinese and Japanese do not sort alphabetically – there are 2 options: • Use <index-sort-as> and <gloss-sort-as> to manually specify sort and group orders • Use AntennaHouse sort module which automates the sort Page size • Specify based on locale • Affects placement of headers/footers, margins, front/back covers
  • 22. Considerations for Graphics and Media • • • • Support for high-res graphics and EPS • EPS supported by AntennaHouse + GhostScript Automated conversion during publishing from EPS to other formats (e.g. PNG) for use with HTML Whether to use SVG • XML format; often used for graphics with call-outs • Easier to localize – with some caveats… • Allows you to change the text inside the graphic during publish time • Can automatically convert to other formats (e.g. PNG) Embedded links to video
  • 23. Considerations for Graphics and Media • • Sizing for HTML • Automatically generate smaller graphics OR rely on CSS • If use CSS, the sizing is controlled by the browser; sometimes less quality Display thumbnails • When clicked, display a large rendition as an overlay • Good for large figures or charts
  • 24. General Requirements for HTML • • • • • • Formatting: fonts, sizes, spacing… Figure and Tables • Numbering: “for print” scheme is not the default for HTML Numbering generally makes sense per topic Generally we recommend to turn off numbering; only display the title • Titles: display above or below • Cells to span • First row color Flagging based on conditionalization Draft comments: format, view on-demand Embed Google analytics code “Mark of the web” – still an issue for older Windows and IE
  • 25. General Considerations for HTML HTML5 • • • • • • Latest buzzword… Current browsers are not fully supporting HTML5; consider implementing fallback options where there are differences in support Decide which HTML5 features you would like, check they are supported in the required browsers, and TEST!!! Semantic elements: article, header, footer, section, aside, nav, figure, figurecaption, details Video • not supported by some browsers • still generally requires support for Javascript APIs for embedding controls • Consider the video encoding and how supported in browsers E.g. Chrome, Firefox, Opera all support WebM. Safari and IE only support h264 (recommended) Microdata attributes: @itemscope, @itemprop – used for search weighting
  • 26. General Considerations for HTML Section 508 Compliance • • • • • Accessibility to people with disabilities Facilitates more effective reading for computerized screen-readers List of regulations: http://accessibility.psu.edu/section508 Examples • @alt for images need to be populated – generally, comes from the source XML content, some automatically populated using style sheets (e.g. logos, note icons) • Web pages shall be designed so that all information conveyed with color is also available without color. Supplement color coding with other signals such as shape or text HTML5 compliance with Section 508 • Section 508 has not been updated to correspond with HTML5 • Example: Section 508 requires a <summary> tag, which is deprecated in HTML5
  • 27. Choosing an Online Help Platform Platforms available: • HTML Help (CHM) – not recommended: • Only works on Windows client, not cross-platform or server-enabled • Very little customization possible • No longer supported by Microsoft • Does not support modern CSS, which means you cannot share style sheets between help systems • SuiteHelp • oXygen • Webworks • Flare • Robohelp • Eclipse
  • 28. Choosing an Online Help Platform: Considerations • • • • • Browser support • Big 4: IE, Firefox, Chrome, Safari • IE: difficult to support older version without many work-arounds Support for different operating systems: Windows, Mac, Linux Should not be based on frames • Deprecated in HTML5 • Causes security problems on many browsers • Slow • Not mobile friendly Context sensitivity Quality of search • Javascript-based vs. server-based • Server-based can provide true phrase search, morphology/fuzzy, etc. • Search highlighting, snippets
  • 29. Customizations for Online Help • • • • • TOC images, how to highlight when selected Index: yes or no Glossary: yes or no • Alphabetization can be automated, but grouping is more difficult to implement Links: which to generate • Parent links • Child links • Next/previous • Related links, and whether to group them by topic-type Breadcrumbs
  • 30. Customizations for Online Help • • • • • • Print • Current topic • Current topic and all child topics • All topics in help Email link to the current topic Link to a PDF version of the manual Re-sizable navigation pane Custom Footer Custom home page
  • 31. General Requirements for ePUB • • • • • Formatting: much more limited than on other formats; many quirks Challenge: ePUB is generated using HTML, but is presented like a book Topic chunking: which topics should be rendered and flow together: often this is different than for HTML-based help Cover page Which ePUB readers to support? • Different readers on different mobile platforms differ widely in their support for CSS • Kindle is a different format: mobi Reality Check • You must test the output on each of the devices and readers that you want to support • There are common readers, such as Aldiko
  • 32. General Requirements for Mobile • • • • Responsive vs adaptive design • Responsive: the help automatically refits itself using CSS media queries and grids to optimize the usability for different device sizes • Adaptive: the help is designed for a particular range of sizes Considerations: • Which device sizes? • Which OS? • HTML5-based vs native app TOC navigation • Generally only shows the top level • Navigate to lower levels through links on the topic pages jQuery Mobile reponsive UI system is commonly used • Supports different sizes well without concern for media queries and grids
  • 33. General Requirements for Mobile • • • • Gestures • swipe, pinch, zoom/pan graphics Search • Since the help is commonly hosted on a web server, it is easier to implement a more powerful search engine such as SuiteHelp+ Embedding videos • Embedded links to YouTube Media • Not all media types supported out of the box • Some require special processing e.g. swf needs an HTML <object> element
  • 34. Documenting the Style Sheets Now that we have all these customizations, how do authors use them? Document the style sheets • Outputclasses • Parameters • Metadata usage for the publication
  • 35. Pushing the Envelope… Some advanced use cases 1. 2. 3. 4. List of Effective Pages Multilingual foldouts Modifying graphics during runtime using SVG Automated re-branding online help based on metadata using SuiteHelp
  • 36. Case Study: Modifying graphics during runtime using SVG 1. Icon graphic for standards commission needs to have the serial number embedded depending on the geographical location of sale 2. During publishing, serial number is inserted into the SVG from metadata 3. The Catch: Icons need to flow on back cover from bottom right to left, then up… 4. Solution: Rotate the entire back page 180 degrees, so can flow from top left to bottom right…. the graphic file needs to start upside-down
  • 37. Automated Re-Branding online help using SuiteHelp
  • 38. Automated Re-Branding online help using SuiteHelp
  • 39. Next Level: Dynamic Web • • • • • Variety of content: documentation, videos, how-to articles, safety information, data sheets, marketing material Context filtering: goal-oriented filtering to contextually relevant content Personalized docs: allow readers to assemble content on demand and render to PDF for print and ePub for offline mobile access Audience Participation: allow your audience to add new content, comment on existing content, express approval, and easily share knowledge with others Modern User Experience: smooth transition between mobile and desktop • Activity often starts on mobile, moves to desktop, returns to mobile • Internet connection not always available
  • 40. Keep in Touch! Let us know how we can help you. For additional information, contact: Yehudit Lindblom Joe Gelb solutions@suite-sol.com U.S. Office (609) 360-0650 EMEA Office +972-2-993-8054 www.suite-sol.com Follow us on Linked-In http://www.linkedin.com/company/527916