SlideShare una empresa de Scribd logo
1 de 37
Mathematical Content in
Documentation
DITA Europe, November 2008
DITA Europe 2008: Mathematical Content
in Documentation
1
Introduction
• Lois Patterson
• Creating technical documentation since 1995
• Currently working at QuIC Financial
Technologies: www.quic.com
DITA Europe 2008: Mathematical Content
in Documentation
2
Mathematical content in
documentation: the challenges
In general:
• Mixture of text and alien formats
• Not understood by many tools
• Output is always a challenge
For me:
• Legacy documentation
• Multiple input formats
• Highly complex, mathematical content
DITA Europe 2008: Mathematical Content
in Documentation
3
Where do we start?
• Tools galore, but no standard solution.
• Many ways to create different solutions.
• What solutions best meet everyone’s needs:
SMEs, tech writers, users?
DITA Europe 2008: Mathematical Content
in Documentation
4
What is mathematical content?
• Sometimes just graphics
• Equations created in Word or FrameMaker
• TeX code
• SVG code
• MathML
• Any others?
DITA Europe 2008: Mathematical Content
in Documentation
5
Where does DITA fit?
• DITA ≠ out of the box solution for math.
• DITA and the ideas flowing from DITA still
valuable for mathematical content.
• Maturity model concept can also apply to
mathematical content within DITA.
DITA Europe 2008: Mathematical Content
in Documentation
6
DITA Maturity Model
DITA Europe 2008: Mathematical Content
in Documentation
7
Presentation and markup for math
• “Just” graphics and text
• TeX/LaTeX
• MathML
• SVG (Scalable Vector Graphics)
DITA Europe 2008: Mathematical Content
in Documentation
8
TeX/LaTeX: a brief introduction
• For scientific and mathematical notation, TeX
typesetting language invented in 1976.
• LaTeX is TeX plus macros for typesetting.
• Many theses and scientific articles written in
TeX/LaTeX. E.g. http://www.livingreviews.org
• TeX is a presentation language; no semantic
meaning.
DITA Europe 2008: Mathematical Content
in Documentation
9
What is MathML?
• “[An] XML application for describing mathematical
notation and capturing both its structure and
content. The goal of MathML is to enable
mathematics to be served, received, and processed
on the World Wide Web, just as HTML has enabled
this functionality for text.”http://www.w3.org/Math/
• Presentation MathML, focus on presentation,
produces very long markup.
• Content MathML includes no presentation
information. Can use stylesheets.
DITA Europe 2008: Mathematical Content
in Documentation
10
Content MathML example
DITA Europe 2008: Mathematical Content
in Documentation
11
One equation: multiple formats
Black-Scholes equation - Nobel-Prize-winning equation.
Foundation of financial mathematics.
We’ll see:
PNG
TeX
MathML
SVG
DITA Europe 2008: Mathematical Content
in Documentation
12
Black-Scholes equation example (from Wikipedia)
Highlighted equation is a .png file, with
the TeX markup as ALT text in the HTML
markup.
DITA Europe 2008: Mathematical Content
in Documentation
13
Black-Scholes equation format
comparison
Graphic (.png)
TeX Markup
C(S_0,T) = e^{-rT}(FPhi(d_1) - KPhi(d_2))
What about MathML for this equation?
Too long to show on one page.
DITA Europe 2008: Mathematical Content
in Documentation
14
Black-Scholes: MathML
LaTex converted to MathML,
displayed in browser MathML Source
DITA Europe 2008: Mathematical Content
in Documentation
15
Converted LaTeX to Presentation MathML with a LaTeX to
MathML converter: http://www.maths.nottingham.ac.uk/personal/drw/lm.html
Black-Scholes equation example:
SVG
• Using converter*, I produced SVG markup.
• SVG is XML markup, also viewable in FireFox.
• Can be rendered as raster graphics with Java
or Python packages.
• Small snippet:
<symbol overflow="visible" id="glyph2-1"><path style="stroke: none;" d="M 3.59375 -2.21875 C 3.59375 -2.984375 3.5 -3.546875 3.1875 -4.03125 C
2.96875 -4.34375 2.53125 -4.625 1.984375 -4.625 C 0.359375 -4.625 0.359375 -2.71875 0.359375 -2.21875 C 0.359375 -1.71875 0.359375 0.140625
1.984375 0.140625 C 3.59375 0.140625 3.59375 -1.71875 3.59375 -2.21875 Z M 1.984375 -0.0625 C 1.65625 -0.0625 1.234375 -0.25 1.09375 -0.8125
C 1 -1.21875 1 -1.796875 1 -2.3125 C 1 -2.828125 1 -3.359375 1.09375 -3.734375 C 1.25 -4.28125 1.6875 -4.4375 1.984375 -4.4375 C 2.359375
-4.4375 2.71875 -4.203125 2.84375 -3.796875 C 2.953125 -3.421875 2.96875 -2.921875 2.96875 -2.3125 C 2.96875 -1.796875 2.96875 -1.28125
2.875 -0.84375 C 2.734375 -0.203125 2.265625 -0.0625 1.984375 -0.0625 Z M 1.984375 -0.0625 "/></symbol>
* http://www.tlhiv.org/ltxpreview/ DITA Europe 2008: Mathematical Content
in Documentation
16
DITA and MathML and SVG
• DITA 1.1 supports the <foreign> element.
• Can specialize to support the inclusion of
MathML and SVG in your DITA topics.
• If we use a combination of standard DITA,
MathML, and SVG, will we achieve utopia?
DITA Europe 2008: Mathematical Content
in Documentation
17
Customize DITA Open Toolkit to
work with MathML and SVG
• Can use the Plus Plugins provided on the DITA-
Users group:
http://tech.groups.yahoo.com/group/dita-users/fi
• DITA-Users group provides a great deal of help
– highly recommended!
• XMetal and MathFlow can be tweaked so that
the DITA Open Toolkit works with
MathML/SVG.
DITA Europe 2008: Mathematical Content
in Documentation
18
Documentation lifecycle
DITA Europe 2008: Mathematical Content
in Documentation
19
Input
• Microsoft Word with MathType
• Open Office with built-in math editor
• FrameMaker with Equation Editor
• XMetal (or Arbortext) + MathFlow
• TeX/LaTeX
• Scribbled on scrap paper
• Create yourself, or take what is given you?
DITA Europe 2008: Mathematical Content
in Documentation
20
Input – standards or not?
• SMEs provide content however I can get it.
• Enforcement of standards for input would be
counterproductive.
• Anyone with success enforcing standards for
input?
• Difficulty is that many input formats do not
play well with DITA.
DITA Europe 2008: Mathematical Content
in Documentation
21
Input: Microsoft Word with
MathType
• A WYSIWYG editor, MathType can output
Presentation MathML or LaTeX.
• Somewhat harder from LaTeX or MathML
back to editing in MathType.
• How to avoid cut and paste if your content is
in DITA topics?
DITA Europe 2008: Mathematical Content
in Documentation
22
Open Office with built-in math
editor
• Free tool.
• Easy to use.
• Math editor outputs MathML.
• Integration with DITA possible, but not
seamless.
DITA Europe 2008: Mathematical Content
in Documentation
23
FrameMaker with Equation Editor
• FrameMaker has many positive qualities.
• Only supports DITA 1.0 currently - OK if your
math content will just be graphics.
• Equation Editor does not “naturally” output to
LaTeX or MathML.
• Can use in conjunction with Mif2Go, but still
math will be graphics only.
DITA Europe 2008: Mathematical Content
in Documentation
24
XMetal (or Arbortext) + MathFlow
• Slick combination, fun to work with.
• MathFlow is similar to MathType (both are
Design Science products).
• Can customize the DITA OT that comes with
XMetal/Arbortext for math output.
• Perfect for DITA authoring.
• Unlikely your SMEs use this combination.
DITA Europe 2008: Mathematical Content
in Documentation
25
MathFlow Exchange
• ImportsWord + MathType documents, and
exports them into Arbortext as XML +
MathML. You may be able to DITA-cize the
content.
• Is DITA the guiding principle or an
afterthought?
• Dealing with mathematical content is like a
never-ending conversion project.
DITA Europe 2008: Mathematical Content
in Documentation
26
LaTeX input
• Convert LaTeX equations to MathML, or
graphics.
• Convert LaTeX documents (like an article) to
HTML + graphics.
• Use Hermes technology to convert to xHTML +
graphics.
• No straight line to DITA.
DITA Europe 2008: Mathematical Content
in Documentation
27
Scrap paper input
• More work for me, but I can enter it into
whatever program I like!
DITA Europe 2008: Mathematical Content
in Documentation
28
Review strategies
• Get basic input, integrate it with non-math
text.
• Review is crucial, but how?
• If you use DITA, difficult to allow direct editing
by SMEs.
• In practice with non-DITA documentation,
SMEs rarely directly edit anyway.
DITA Europe 2008: Mathematical Content
in Documentation
29
Ideal review solution
• Our SMEs want to be able to review and edit
equations in real time.
• How?
• Publish DITA content to a Confluence Wiki, enable
editing, republish.
• Lombardi Software – DITA to Wiki
• Many details to work out.
• Keeping TeX markup accessible will be paramount.
DITA Europe 2008: Mathematical Content
in Documentation
30
Publishing outputs
Some choices:
• xHTML + MathML
• xHTML + graphics
• .chm with graphics
• PDF with graphics
All require modifying the DITA OT. Plus Plugins
(as mentioned earlier) are very helpful.
DITA Europe 2008: Mathematical Content
in Documentation
31
Output: xHTML with MathML
• If everyone uses FireFox, or Internet Explorer
with MathPlayer, this is a great solution.
• Falls apart if a documentation user has a
different environment.
• Still need ways of introducing index,
searchability, etc. (like you can do with
EclipseHelp). Standard DITA issues.
DITA Europe 2008: Mathematical Content
in Documentation
32
Other output formats
• xHTML + graphics
• .chm with graphics
• PDF with graphics
If you have MathML and want these formats,
you must render MathML as graphics.
This will require modifying build scripts,
installing DITA OT plugins, and using Java or
other rendering tools.
DITA Europe 2008: Mathematical Content
in Documentation
33
Rendering tools
• MimeTeX renders TeX equations as .gifs.
• Java packages jeuclid and batik render
MathML.
• Antenna House renders MathML for HTML
and PDF.
www.forkosh.dreamhost.com/mimetex.html
jeuclid.sourceforge.net/
xmlgraphics.apache.org/batik/
www.antennahouse.com/product/mathml.htm
DITA Europe 2008: Mathematical Content
in Documentation
34
Less-explored options
• Building applications with Adobe AIR.
• Adobe PDFs can manage some mathematically
relevant wizardry.
• What could you do with Math and Flash?
• How would these integrate with DITA?
DITA Europe 2008: Mathematical Content
in Documentation
35
As we become more mature . . . .
• Make math equations searchable.
• Work with metadata, attributes.
• This is a Ph.D thesis topic, and not one we will
solve here.
• Google the following:
Mowgli project
A More Canonical Form of Content MathML to Facilitate Math
Search
An Investigation of Index Formats for the Search of MathML
Objects
DITA Europe 2008: Mathematical Content
in Documentation
36
DITA Europe 2008
• Thank you for attending.
• Resources URL:
http://dita.xml.org/blog/loisbc
• Email: LoisRPatterson@gmail.com
DITA Europe 2008: Mathematical Content
in Documentation
37

Más contenido relacionado

Similar a Mathematical content in documentation (DITA Europe 2008)

Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...Contrext Solutions
 
DITA and Metadata on an Enterprise Scale
DITA and Metadata on an Enterprise ScaleDITA and Metadata on an Enterprise Scale
DITA and Metadata on an Enterprise ScaleKristen Eberlein
 
Keith Schengili-Roberts - The Rise of SME within Technical Communications
Keith Schengili-Roberts - The Rise of SME within Technical CommunicationsKeith Schengili-Roberts - The Rise of SME within Technical Communications
Keith Schengili-Roberts - The Rise of SME within Technical CommunicationsLavaConConference
 
Using Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentUsing Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentIXIASOFT
 
The Evolution of DITAs
The Evolution of DITAsThe Evolution of DITAs
The Evolution of DITAsIXIASOFT
 
Steering the Course with Helm
Steering the Course with HelmSteering the Course with Helm
Steering the Course with HelmDirk Jablonski
 
DITA on a Shoe String
DITA on a Shoe StringDITA on a Shoe String
DITA on a Shoe StringStan Doherty
 
What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?Luc Vanrobays
 
Sustainable XML for Publishing Applications: DITA Makes It Possible
Sustainable XML for Publishing Applications: DITA Makes It PossibleSustainable XML for Publishing Applications: DITA Makes It Possible
Sustainable XML for Publishing Applications: DITA Makes It PossibleScott Abel
 
7358 mathcad chart ts_en
7358 mathcad chart ts_en7358 mathcad chart ts_en
7358 mathcad chart ts_enNithyanadham KV
 
MOPs & ML Pipelines on GCP - Session 6, RGDC
MOPs & ML Pipelines on GCP - Session 6, RGDCMOPs & ML Pipelines on GCP - Session 6, RGDC
MOPs & ML Pipelines on GCP - Session 6, RGDCgdgsurrey
 
Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...
Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...
Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...IRJET Journal
 
DITA Specialization: Tools for Visual Support
DITA Specialization: Tools for Visual SupportDITA Specialization: Tools for Visual Support
DITA Specialization: Tools for Visual Supportinstinctools GmbH
 
Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...
Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...
Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...Lviv Startup Club
 
London TensorFlow Meetup - 18th July 2017
London TensorFlow Meetup - 18th July 2017London TensorFlow Meetup - 18th July 2017
London TensorFlow Meetup - 18th July 2017Daniel Ecer
 
Data Day Texas 2017: Scaling Data Science at Stitch Fix
Data Day Texas 2017: Scaling Data Science at Stitch FixData Day Texas 2017: Scaling Data Science at Stitch Fix
Data Day Texas 2017: Scaling Data Science at Stitch FixStefan Krawczyk
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinarSuite Solutions
 
Taxonomy of Differential Compression
Taxonomy of Differential CompressionTaxonomy of Differential Compression
Taxonomy of Differential CompressionLiwei Ren任力偉
 

Similar a Mathematical content in documentation (DITA Europe 2008) (20)

Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...
 
DITA and Metadata on an Enterprise Scale
DITA and Metadata on an Enterprise ScaleDITA and Metadata on an Enterprise Scale
DITA and Metadata on an Enterprise Scale
 
Keith Schengili-Roberts - The Rise of SME within Technical Communications
Keith Schengili-Roberts - The Rise of SME within Technical CommunicationsKeith Schengili-Roberts - The Rise of SME within Technical Communications
Keith Schengili-Roberts - The Rise of SME within Technical Communications
 
Math Stack - Autum
Math Stack - AutumMath Stack - Autum
Math Stack - Autum
 
Using Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentUsing Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative Environment
 
The Evolution of DITAs
The Evolution of DITAsThe Evolution of DITAs
The Evolution of DITAs
 
Steering the Course with Helm
Steering the Course with HelmSteering the Course with Helm
Steering the Course with Helm
 
DITA on a Shoe String
DITA on a Shoe StringDITA on a Shoe String
DITA on a Shoe String
 
Why Is DITA So Hard?
Why Is DITA So Hard?Why Is DITA So Hard?
Why Is DITA So Hard?
 
What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?
 
Sustainable XML for Publishing Applications: DITA Makes It Possible
Sustainable XML for Publishing Applications: DITA Makes It PossibleSustainable XML for Publishing Applications: DITA Makes It Possible
Sustainable XML for Publishing Applications: DITA Makes It Possible
 
7358 mathcad chart ts_en
7358 mathcad chart ts_en7358 mathcad chart ts_en
7358 mathcad chart ts_en
 
MOPs & ML Pipelines on GCP - Session 6, RGDC
MOPs & ML Pipelines on GCP - Session 6, RGDCMOPs & ML Pipelines on GCP - Session 6, RGDC
MOPs & ML Pipelines on GCP - Session 6, RGDC
 
Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...
Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...
Optimization Problems Solved by Different Platforms Say Optimum Tool Box (Mat...
 
DITA Specialization: Tools for Visual Support
DITA Specialization: Tools for Visual SupportDITA Specialization: Tools for Visual Support
DITA Specialization: Tools for Visual Support
 
Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...
Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...
Volodymyr Lyubinets. One startup's journey of building ML pipelines for text ...
 
London TensorFlow Meetup - 18th July 2017
London TensorFlow Meetup - 18th July 2017London TensorFlow Meetup - 18th July 2017
London TensorFlow Meetup - 18th July 2017
 
Data Day Texas 2017: Scaling Data Science at Stitch Fix
Data Day Texas 2017: Scaling Data Science at Stitch FixData Day Texas 2017: Scaling Data Science at Stitch Fix
Data Day Texas 2017: Scaling Data Science at Stitch Fix
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
 
Taxonomy of Differential Compression
Taxonomy of Differential CompressionTaxonomy of Differential Compression
Taxonomy of Differential Compression
 

Último

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 

Último (20)

Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 

Mathematical content in documentation (DITA Europe 2008)

  • 1. Mathematical Content in Documentation DITA Europe, November 2008 DITA Europe 2008: Mathematical Content in Documentation 1
  • 2. Introduction • Lois Patterson • Creating technical documentation since 1995 • Currently working at QuIC Financial Technologies: www.quic.com DITA Europe 2008: Mathematical Content in Documentation 2
  • 3. Mathematical content in documentation: the challenges In general: • Mixture of text and alien formats • Not understood by many tools • Output is always a challenge For me: • Legacy documentation • Multiple input formats • Highly complex, mathematical content DITA Europe 2008: Mathematical Content in Documentation 3
  • 4. Where do we start? • Tools galore, but no standard solution. • Many ways to create different solutions. • What solutions best meet everyone’s needs: SMEs, tech writers, users? DITA Europe 2008: Mathematical Content in Documentation 4
  • 5. What is mathematical content? • Sometimes just graphics • Equations created in Word or FrameMaker • TeX code • SVG code • MathML • Any others? DITA Europe 2008: Mathematical Content in Documentation 5
  • 6. Where does DITA fit? • DITA ≠ out of the box solution for math. • DITA and the ideas flowing from DITA still valuable for mathematical content. • Maturity model concept can also apply to mathematical content within DITA. DITA Europe 2008: Mathematical Content in Documentation 6
  • 7. DITA Maturity Model DITA Europe 2008: Mathematical Content in Documentation 7
  • 8. Presentation and markup for math • “Just” graphics and text • TeX/LaTeX • MathML • SVG (Scalable Vector Graphics) DITA Europe 2008: Mathematical Content in Documentation 8
  • 9. TeX/LaTeX: a brief introduction • For scientific and mathematical notation, TeX typesetting language invented in 1976. • LaTeX is TeX plus macros for typesetting. • Many theses and scientific articles written in TeX/LaTeX. E.g. http://www.livingreviews.org • TeX is a presentation language; no semantic meaning. DITA Europe 2008: Mathematical Content in Documentation 9
  • 10. What is MathML? • “[An] XML application for describing mathematical notation and capturing both its structure and content. The goal of MathML is to enable mathematics to be served, received, and processed on the World Wide Web, just as HTML has enabled this functionality for text.”http://www.w3.org/Math/ • Presentation MathML, focus on presentation, produces very long markup. • Content MathML includes no presentation information. Can use stylesheets. DITA Europe 2008: Mathematical Content in Documentation 10
  • 11. Content MathML example DITA Europe 2008: Mathematical Content in Documentation 11
  • 12. One equation: multiple formats Black-Scholes equation - Nobel-Prize-winning equation. Foundation of financial mathematics. We’ll see: PNG TeX MathML SVG DITA Europe 2008: Mathematical Content in Documentation 12
  • 13. Black-Scholes equation example (from Wikipedia) Highlighted equation is a .png file, with the TeX markup as ALT text in the HTML markup. DITA Europe 2008: Mathematical Content in Documentation 13
  • 14. Black-Scholes equation format comparison Graphic (.png) TeX Markup C(S_0,T) = e^{-rT}(FPhi(d_1) - KPhi(d_2)) What about MathML for this equation? Too long to show on one page. DITA Europe 2008: Mathematical Content in Documentation 14
  • 15. Black-Scholes: MathML LaTex converted to MathML, displayed in browser MathML Source DITA Europe 2008: Mathematical Content in Documentation 15 Converted LaTeX to Presentation MathML with a LaTeX to MathML converter: http://www.maths.nottingham.ac.uk/personal/drw/lm.html
  • 16. Black-Scholes equation example: SVG • Using converter*, I produced SVG markup. • SVG is XML markup, also viewable in FireFox. • Can be rendered as raster graphics with Java or Python packages. • Small snippet: <symbol overflow="visible" id="glyph2-1"><path style="stroke: none;" d="M 3.59375 -2.21875 C 3.59375 -2.984375 3.5 -3.546875 3.1875 -4.03125 C 2.96875 -4.34375 2.53125 -4.625 1.984375 -4.625 C 0.359375 -4.625 0.359375 -2.71875 0.359375 -2.21875 C 0.359375 -1.71875 0.359375 0.140625 1.984375 0.140625 C 3.59375 0.140625 3.59375 -1.71875 3.59375 -2.21875 Z M 1.984375 -0.0625 C 1.65625 -0.0625 1.234375 -0.25 1.09375 -0.8125 C 1 -1.21875 1 -1.796875 1 -2.3125 C 1 -2.828125 1 -3.359375 1.09375 -3.734375 C 1.25 -4.28125 1.6875 -4.4375 1.984375 -4.4375 C 2.359375 -4.4375 2.71875 -4.203125 2.84375 -3.796875 C 2.953125 -3.421875 2.96875 -2.921875 2.96875 -2.3125 C 2.96875 -1.796875 2.96875 -1.28125 2.875 -0.84375 C 2.734375 -0.203125 2.265625 -0.0625 1.984375 -0.0625 Z M 1.984375 -0.0625 "/></symbol> * http://www.tlhiv.org/ltxpreview/ DITA Europe 2008: Mathematical Content in Documentation 16
  • 17. DITA and MathML and SVG • DITA 1.1 supports the <foreign> element. • Can specialize to support the inclusion of MathML and SVG in your DITA topics. • If we use a combination of standard DITA, MathML, and SVG, will we achieve utopia? DITA Europe 2008: Mathematical Content in Documentation 17
  • 18. Customize DITA Open Toolkit to work with MathML and SVG • Can use the Plus Plugins provided on the DITA- Users group: http://tech.groups.yahoo.com/group/dita-users/fi • DITA-Users group provides a great deal of help – highly recommended! • XMetal and MathFlow can be tweaked so that the DITA Open Toolkit works with MathML/SVG. DITA Europe 2008: Mathematical Content in Documentation 18
  • 19. Documentation lifecycle DITA Europe 2008: Mathematical Content in Documentation 19
  • 20. Input • Microsoft Word with MathType • Open Office with built-in math editor • FrameMaker with Equation Editor • XMetal (or Arbortext) + MathFlow • TeX/LaTeX • Scribbled on scrap paper • Create yourself, or take what is given you? DITA Europe 2008: Mathematical Content in Documentation 20
  • 21. Input – standards or not? • SMEs provide content however I can get it. • Enforcement of standards for input would be counterproductive. • Anyone with success enforcing standards for input? • Difficulty is that many input formats do not play well with DITA. DITA Europe 2008: Mathematical Content in Documentation 21
  • 22. Input: Microsoft Word with MathType • A WYSIWYG editor, MathType can output Presentation MathML or LaTeX. • Somewhat harder from LaTeX or MathML back to editing in MathType. • How to avoid cut and paste if your content is in DITA topics? DITA Europe 2008: Mathematical Content in Documentation 22
  • 23. Open Office with built-in math editor • Free tool. • Easy to use. • Math editor outputs MathML. • Integration with DITA possible, but not seamless. DITA Europe 2008: Mathematical Content in Documentation 23
  • 24. FrameMaker with Equation Editor • FrameMaker has many positive qualities. • Only supports DITA 1.0 currently - OK if your math content will just be graphics. • Equation Editor does not “naturally” output to LaTeX or MathML. • Can use in conjunction with Mif2Go, but still math will be graphics only. DITA Europe 2008: Mathematical Content in Documentation 24
  • 25. XMetal (or Arbortext) + MathFlow • Slick combination, fun to work with. • MathFlow is similar to MathType (both are Design Science products). • Can customize the DITA OT that comes with XMetal/Arbortext for math output. • Perfect for DITA authoring. • Unlikely your SMEs use this combination. DITA Europe 2008: Mathematical Content in Documentation 25
  • 26. MathFlow Exchange • ImportsWord + MathType documents, and exports them into Arbortext as XML + MathML. You may be able to DITA-cize the content. • Is DITA the guiding principle or an afterthought? • Dealing with mathematical content is like a never-ending conversion project. DITA Europe 2008: Mathematical Content in Documentation 26
  • 27. LaTeX input • Convert LaTeX equations to MathML, or graphics. • Convert LaTeX documents (like an article) to HTML + graphics. • Use Hermes technology to convert to xHTML + graphics. • No straight line to DITA. DITA Europe 2008: Mathematical Content in Documentation 27
  • 28. Scrap paper input • More work for me, but I can enter it into whatever program I like! DITA Europe 2008: Mathematical Content in Documentation 28
  • 29. Review strategies • Get basic input, integrate it with non-math text. • Review is crucial, but how? • If you use DITA, difficult to allow direct editing by SMEs. • In practice with non-DITA documentation, SMEs rarely directly edit anyway. DITA Europe 2008: Mathematical Content in Documentation 29
  • 30. Ideal review solution • Our SMEs want to be able to review and edit equations in real time. • How? • Publish DITA content to a Confluence Wiki, enable editing, republish. • Lombardi Software – DITA to Wiki • Many details to work out. • Keeping TeX markup accessible will be paramount. DITA Europe 2008: Mathematical Content in Documentation 30
  • 31. Publishing outputs Some choices: • xHTML + MathML • xHTML + graphics • .chm with graphics • PDF with graphics All require modifying the DITA OT. Plus Plugins (as mentioned earlier) are very helpful. DITA Europe 2008: Mathematical Content in Documentation 31
  • 32. Output: xHTML with MathML • If everyone uses FireFox, or Internet Explorer with MathPlayer, this is a great solution. • Falls apart if a documentation user has a different environment. • Still need ways of introducing index, searchability, etc. (like you can do with EclipseHelp). Standard DITA issues. DITA Europe 2008: Mathematical Content in Documentation 32
  • 33. Other output formats • xHTML + graphics • .chm with graphics • PDF with graphics If you have MathML and want these formats, you must render MathML as graphics. This will require modifying build scripts, installing DITA OT plugins, and using Java or other rendering tools. DITA Europe 2008: Mathematical Content in Documentation 33
  • 34. Rendering tools • MimeTeX renders TeX equations as .gifs. • Java packages jeuclid and batik render MathML. • Antenna House renders MathML for HTML and PDF. www.forkosh.dreamhost.com/mimetex.html jeuclid.sourceforge.net/ xmlgraphics.apache.org/batik/ www.antennahouse.com/product/mathml.htm DITA Europe 2008: Mathematical Content in Documentation 34
  • 35. Less-explored options • Building applications with Adobe AIR. • Adobe PDFs can manage some mathematically relevant wizardry. • What could you do with Math and Flash? • How would these integrate with DITA? DITA Europe 2008: Mathematical Content in Documentation 35
  • 36. As we become more mature . . . . • Make math equations searchable. • Work with metadata, attributes. • This is a Ph.D thesis topic, and not one we will solve here. • Google the following: Mowgli project A More Canonical Form of Content MathML to Facilitate Math Search An Investigation of Index Formats for the Search of MathML Objects DITA Europe 2008: Mathematical Content in Documentation 36
  • 37. DITA Europe 2008 • Thank you for attending. • Resources URL: http://dita.xml.org/blog/loisbc • Email: LoisRPatterson@gmail.com DITA Europe 2008: Mathematical Content in Documentation 37

Notas del editor

  1. Hi everyone. Introduction
  2. Introduction: Quiz audience about whether they are working at small or large companies, what countries are they from. I first put mathematical equations on the web in 1995, using a now-extinct shareware math editor, and then making .gifs.
  3. Lay out the problems. Attendees not necessarily aware of the issues.
  4. I define the parameters, and get an idea of what people are working with currently.
  5. We aren’t interested in just the web. MathML has applications beyond the web, just as XML does.