b74415a720cf1bc780d15ef8909eb713.ppt
- Количество слайдов: 20
XSL-FO + Math. ML Render Math. ML to Display, PDF, SVG September 18 www. antennahouse. com
XSL-FO • Extensible Stylesheet Language (XSL) Version 1. 0 W 3 C Recommendation 15 October 2001 http: //www. w 3. org/TR/2001/REC-xsl-20011015/ Version 1 was developed by W 3 C from 1998 to 2001 • The objective of XSL is to specify a layout of XML documents on paged media. – 56 formatting objects – including 248 properties 2
Math. ML • Math. ML is the XML-based language for mathematics • In 1997, the W 3 C's Math Working Group finished the Math. ML 1. 0 Specification (superceded in 2001 by Math. ML 2. 0 ) 3
XSL Formatter • XSL Formatter is a software program, developed by Antenna House, to format XSL-FO. – One of the first commercial XSL-FO implementations. – Released in 2001 – Has been enhanced continuously. • Input data: XML/XSL-FO + Raster/Vector Graphics, SVG • Output data: PDF, Windows printer, Windows GUI, SVG (under development, the function is not available with V 3. 2) • Operating System – Windows 2000/2003, XP, Linux, Solaris – AIX, Mac OS X (from V 3. 2 or later) 4
Math. ML option for XSL Formatter V 3. 2 • Developed by Antenna House • Renders Math. ML markup instance that is embedded within XSL-FO • It will be released as an optional function for XSL Formatter V 3. 2 and/or later. • Evaluation version is available from here: http: //www. antennahouse. com 5
What will Math. ML option do? • High quality rendering of XML for STM (Scientific, Technical, Medical) publishing using XSL-FO + Math. ML • XSL-FO + Math. ML will replace Te. X in the future – Te. X is popular, but it is not XML 6
Math. ML both for Web and PDF • XML to XHTML – XML + Math. ML XHTML + Math. ML • XML to PDF – XML + Math. ML XSL-FO + Math. ML 7
Math. ML within XSL-FO • How to specify Math. ML expression within XSL formatting object • Math. ML is treated as a vector Image – XSL-FO V 1. 0 specification only permits to embed foreign object via fo: instream-foreign-object and fo: external-graphic. 8
fo: instream-foreign-object DTD declaration is necessary to use entity reference in Math. ML. In case DTD is necessary:
fo: external-graphic • Specify URL of Math. ML file as the value of src property of fo: external-graphic object
Inline and Block • Inline object: • Block object: Example object is treated like a character enclose fo: instream-foreign-object within fo: block Inline. . . Block 11
Interface • Math. ML Renderer inherits following information from its environment: – – – font-size font-family font-weight font-style length of a 1 px • XSL-FO processor gets following information from Math. ML renderer: – position of base-line 12
Math. ML Support Level • Conformance to Math. ML 2. 0 Specification • W 3 C Math. ML Test Suite result – V 3. 2 Beta version Please refer to information on CD 13
Example • XSL-FO + Math. ML 14
Windows GUI XSL Formatter GUI 15
PDF Adobe Acrobat 16
SVG IE 6 + Adobe SVG Viewer 17
Compatibility Issue • Many tools are expected to be used throughout the world. – Math. ML instances are generated by various tools, such as equation editors and/or converters. • Compatibility between generator and renderer of Math. ML is very important – Correct Math. ML generation by various tools is a presupposition of automatic Math. ML rendering. 18
Contact Information Antenna House, Inc. (Corporate Headquarters) Kojimachi Shuei Bldg. , 4 -3 -13, Kudan-Minami, Chiyoda-ku Tokyo 102 -0074 Japan Ø International: info@antennahouse. com Ø Phone: +81 -3 -3234 -9631 Ø Fax: +81 -3 -3221 -9975 Tokushige Kobayashi
Our Partner in Finland Index Information Technologies Oy P. O. Box 112, Sinikalliontie 6 FIN-02631 Espoo Finland Tel. +358 9 5259 500 www. index. fi Contact: Martti Poutanen