MathML to TeX Conversion: Conserving high-level semantics

Size: px
Start display at page:

Download "MathML to TeX Conversion: Conserving high-level semantics"

Transcription

1 Elena Smirnova and Stephen M. Watt Ontario Research Centre for Computer Algebra, University of Western Ontario MathML to TeX Conversion: Conserving high-level semantics ** Demo description ** Contents: 1. Main goals of the converter 2. Principal MathML to TEX conversion scheme MathML Object Structure TeX Object Structure Mapping file 3. Three jobs for the converter 4. Three interfaces to the converter 5. Advanced possibilities Linebreaking in long formulas Settings for output TEX Conversion XML with MathML to XML with TeX 6. Advantages of this converter 7. Choice of Java - program vs XSLT 8. Status (1 of 10)6/28/2005 2:39:04 PM

2 1. Main goal of this converter This program converts a given MathML representation of some formula to an equivalent TeX expression. The MathML may be a part of an XML-file or may be given as an input string. One of the main goals of this converter is to conserve high-level semantics during translation. Using a mapping file allows us to transform high-level MathML extensions to TeX macros. 2. Principal conversion scheme 2.1 MathML Object Structure Figure 1. MathML to TeX converter scheme A MathML-object is represented in the form of Document Object Model as specified by the W3C Recommendation (2 of 10)6/28/2005 2:39:04 PM

3 <math> <mo> </mo> <msupsub> <mi> x </mi> <mn> 3 </mn> <mi> i </mi> </msupsub> </math> 2.2 TeX Object Structure A TeX - object is also represented by a tree, but the logic of its structure is different from that of a MathML DOM-tree. Each level of this tree corresponds to a TeX -group. Example: the following TeX-expression $\sqrt {1-\alpha} + x^{3+a}$ is represented as 2.3 Mapping File Figure 2. Structure of TeX-Object The mapping file is one of principle parts of converter: it describes the correspondence between MathML and TEX patterns. The mapping file has a XML-form and consists of templates, representing MathML - TEX patterns. Each template has a form <pat:template> <pat:tex op="\[tex macro]" parameters=" TEX expression"/> <pat:mml op="mml-element" mode="math text spec"... [MathML expression]... <pat:mml> </pat:template> (3 of 10)6/28/2005 2:39:04 PM

4 The structure of mapping file Namespaces: local: xmlns:pat = " general: xmlns:pat = Root element: pat:tex2mmlmap Allowed children of pat:tex2mmlmap: pat:template Allowed children of pat:template : pat:tex pat:mml pat:img Allowed children of pat:tex : none Allowed children of pat:mml: MathML elements pat:rep pat:variable Allowed children of pat:img : none Table of attributes used with the above elements: Element name Attribute(s) Purpose pat: tex2mmlmap version Map file version pat: tex2mmlmap version Map file version pat: tex2mmlmap version Map file version pat:template - - pat:tex op Matching TeX macro/symbol name params (optional) TeX macro parameters (if any) prec (optional) Template's precedence (Tex to MathML) pat:mml op Matching MathML main operation mode (optional) = 'math' 'text' 'spec' pat:variable name Identifies a variable by its name pat:rep - Declares the repetition pattern More information about our mapping file and its specification can be found on the ORCCA site. Examples of mapping templates (4 of 10)6/28/2005 2:39:04 PM

5 1. for fraction: <pat:template> <pat:tex op="\frac" params="\patvar!{num}\patvar!{den}"/> <pat:mml op="mfrac"> <mfrac> <pat:variable name="num"/> <pat:variable name="den"/> </mfrac> </pat:mml> </pat:template> 2. for fenced expression <pat:template> <pat:tex op="" params="\left\patvar!{o} \patrep*{\patvar*{b},}\patvar{t} \right\patvar!{c}"/> <pat:mml op="mfenced"> <mfenced open="pat:variable=o" close="pat:variable=c"> <pat:rep> <pat:variable name="b"/> </pat:rep> <pat:variable name="t"/> </mfenced> </pat:mml> </pat:template> Using a mapping file allows to transform high-level MathML extensions to TeX macros. Suppose user has defined 2 style sheets for XSLT and for TeX: combinatorics.xsl XSLT template for an element <mmlx:binom>: <xsl:template match = "apply/mmlx:binom[position()=1][count(child::*)=2]"> <mfrac thikness="0ex"> <xsl:for-each select = 'mmlx:binom/child::*'> <xsl:copy-of select='.'/> </xsl:for-each> </mfrac> </xsl:template> combinatorics.cls (5 of 10)6/28/2005 2:39:04 PM

6 \newcommand{\binom}[2]{left(\atop{#1}{#2}\right)} Now we can put a template for convert <mmlx:binom> to \binom in the mapping file: <pat:template> <pat:tex op="\binom"params="\patvar!{a}\patvar!{b}"/> <pat:mml op="apply-mmlx:binomial"> <apply> <mmlx:binomial> <pat:variable name="a"/> <pat:variable name="b"/> </mmlx:binomial> </apply> </pat:mml> </pat:template> Then we would want to translate <apply> <mmlx:binomial> <apply> <plus/> <ci> a </ci> <ci> b </ci> </apply> <mrow> <mi> c </mi> <mo> + </mo> <mi> d </mi> </mrow> </mmlx:binomial> </apply> The standard way using XSLT will give us explicit expression for this notation: \left(\atop{a+b}{c+d} \right)}, but technique of using mapping file allows us get TeX macro defined in combinatorics.cls: \binom{a+b}{c+d}, in this case we preserve the semantic, defined by user. 3 Three jobs for the converter 1. File to file (6 of 10)6/28/2005 2:39:04 PM

7 To convert an entire MathML file into TEX document XML file with MathML entries to XML document with embedded TEX 2. Expression to expression The system provides the possibility to convert any valid MathML expression, given as input string. 3. Object to object This possibility allows to user manipulate individual MathML and TEX -objects obtained from sources different from standard MathML or TEX files. 4 Three interfaces to the converter The converter is available as 1. Command-line mode 2. GUI Framework 3. Servlet at ORCCA web site. 5. Advanced possibilities 5.1 Linebreaking in long formulas Converter provides a special algorithm for line breaking in TeX output. Motivation: Standard MathML browsers (Amaya, Mozilla, MathPlayer) perform line breaking in mathematical formulas according to their own logic, but TeX does not. So long formulas, generated from MathML may not fit the page of TeX document. The algorithm provides line breaking in long expression such as Plain formulas (like polynomials or simple summation), long text, long numbers, special cases like radicals, fractions, matrix entries, indexes, under and over scripts Examples of linebreaking in special cases: (7 of 10)6/28/2005 2:39:04 PM

8 1. Long expression under a radical 2. Long expression in a numerator 3. Long superscripts 4. Long underscripts 5. Long number 100! = Settings for output TeX The converter allows the user to choose a text area width and font size for the output TEX file. These settings will be considered in the calculation of the optimal formula length. Line breaking usually occurs around mathematical operators, but is done differently in different cultures. There are three ways in which signs of these operators can be 1. before the line break, 2. after the line break, 3. duplicated. Examples: a + b k + m + n z a + b k + m + n z a + b k + + m + n z The user can choose the more convenient variant. The user may also set an option to indent after a line break. (8 of 10)6/28/2005 2:39:04 PM

9 5.3 Conversion XML with MathML to XML with TeX The converter also provides the transformation of a XML file with MathML to XML file with TeX, embedded into CDATA section. This CDATA will be put under XML node <LaTeX> with special namespace. Motivation: this possibility may be useful for HTML to TeX translation. 6. Advantages of this converter The mapping file allows high-level translation of user-defined macros, to help preserve any semantic content of the original expression. Using a mapping file for conversion from MathML to TeX and back allows the converter-program to be flexible (i. e. not hard-coded). If the user needs to add a new TeX-macro or MathML element, he or she may put a new template into this mapping file. The algorithm for line breaking for TeX output lets one deal with mathematical expressions that cannot fit in one line in an output document. The user-friendly GUI lets users browse a file system to pick up an input MathML file, convert it to a DOM tree and easily explore it. 7. Choice of Java - program vs XSLT Java -code designed for this converter allows to share technologies with TeX to MathML converter, in particular mapping file can be used for conversion in both directions to use GUI to manipulate with separate TeX and MathML objects to compute linebreaking + other complex calculations are more natural (9 of 10)6/28/2005 2:39:04 PM

10 8. Status Current version of converter provides possibilities to deal with Formulas Matrices Multi-line equations Equation arrays Commutative diagram (10 of 10)6/28/2005 2:39:04 PM

Generating TEX from mathematical content with respect to notational settings

Generating TEX from mathematical content with respect to notational settings Generating TEX from mathematical content with respect to notational settings Elena Smirnova Ontario Research Centre for Computer Algebra The University of Western Ontario London, ON, N6A 5B7, Canada elena

More information

Generating TEX from mathematical content with respect to notational settings

Generating TEX from mathematical content with respect to notational settings Generating TEX from mathematical content with respect to notational settings Elena Smirnova Ontario Research Centre for Computer Algebra The University of Western Ontario London, ON, N6A 5B7, Canada elena

More information

Exploiting Implicit Mathematical Semantics in Conversion between TEX and MathML

Exploiting Implicit Mathematical Semantics in Conversion between TEX and MathML Exploiting Implicit Mathematical Semantics in Conversion between TEX and MathML Stephen M. Watt Ontario Research Centre for Computer Algebra University of Western Ontario London Canada, N6A 5B7 http://www.csd.uwo.ca/

More information

On the relationship between OpenMath and MathML

On the relationship between OpenMath and MathML On the relationship between OpenMath and MathML Bill Naylor Stephen Watt Ontario Research Center for Computer Algebra University of Western Ontario London Ontario CANADA N6A 5B7 {bill,watt}@orcca.on.ca

More information

MathML Presentation Markup for the Impatient

MathML Presentation Markup for the Impatient Hussein Shafie, XMLmind Software This article is published under the Creative Commons "Attribution-Share Alike" license. February 24, 2018 Table of Contents 1. Basic elements... 1 2. More basic elements...

More information

Meta-Stylesheets for the Conversion of Mathematical Documents into Multiple Forms

Meta-Stylesheets for the Conversion of Mathematical Documents into Multiple Forms Meta-Stylesheets for the Conversion of Mathematical Documents into Multiple Forms Bill Naylor (bill@orcca.on.ca) and Stephen Watt (watt@orcca.on.ca) Ontario Research Centre for Computer Algebra, The University

More information

XML. Objectives. Duration. Audience. Pre-Requisites

XML. Objectives. Duration. Audience. Pre-Requisites XML XML - extensible Markup Language is a family of standardized data formats. XML is used for data transmission and storage. Common applications of XML include business to business transactions, web services

More information

Notation Selection in Mathematical Computing Environments

Notation Selection in Mathematical Computing Environments Notation Selection in Mathematical Computing Environments Elena Smirnova Stephen M. Watt Abstract We examine the problem of notation selection in mathematical computing environments. Users of mathematical

More information

WME MathEdit. An initial report on the WME tool for creating & editing mathematics. by K. Cem Karadeniz

WME MathEdit. An initial report on the WME tool for creating & editing mathematics. by K. Cem Karadeniz 00 000 00 0 000 000 0 WME MathEdit An initial report on the WME tool for creating & editing mathematics by K. Cem Karadeniz 00 000 00 0 000 000 0 Outline MathML WME MathEdit Tool Selection for Implementation

More information

ACCESSIBLE MATH IN DESIRE2LEARN

ACCESSIBLE MATH IN DESIRE2LEARN ACCESSIBLE MATH IN DESIRE2LEARN SECTIONS IN THIS GUIDE DESIRE2LEARN SUPPORT FOR MATHML AND MATHJAX ADDING MATH USING THE EQUATION EDITOR REFERENCES AND LINKS DESIRE2LEARN SUPPORT FOR MATHML AND MATHJAX

More information

The HTML Editor in icollege

The HTML Editor in icollege icollege The HTML Editor in icollege Instructional Technology Services Abstract: This handout provides detailed information about the HTML Editor in icollege. The HTML Editor allows you to create HTML

More information

Authoring Presentation Semantics for Mathematical Documents for the Web

Authoring Presentation Semantics for Mathematical Documents for the Web Authoring Presentation Semantics for Mathematical Documents for the Web Master Thesis in Computer Science Computer Science Department University of Saarland Shahid Manzoor Supervisor: Privatdozentin Dr.

More information

Usage of MathML for paper and web publishing

Usage of MathML for paper and web publishing EuroTEX2001 Kerkrade of MathML for paper and web publishing Tobias Burnus The pre-mathml situation TEX This is the method used by the most (all) of those sitting here. Good: Easy to type in Wide spread

More information

BLAHTEXML and multi-target document generation *

BLAHTEXML and multi-target document generation * * Gilles Van Assche November, Abstract BLAHTEX and BLAHTEXML are open-source tools for converting mathematical expressions written in the TEX syntax into MathML. This article focuses on a particular use

More information

Best Practices for Using the Rich Text Editor

Best Practices for Using the Rich Text Editor Best Practices for Using the Rich Text Editor Overview Many pages in ilearn contain large text entry boxes along with many icons and pull down lists (located above the actual text entry area). These icons

More information

Best Practices for Using the Rich Text Editor

Best Practices for Using the Rich Text Editor Best Practices for Using the Rich Text Editor Overview Many pages in Sakai contain large text-entry boxes along with many icons and pull-down lists (located above the actual text entry area). These icons

More information

An Online Repository of Mathematical Samples

An Online Repository of Mathematical Samples An Online Repository of Mathematical Samples Josef B. Baker, Alan P. Sexton and Volker Sorge School of Computer Science University of Birmingham Motivation Growing community working on recognition, parsing

More information

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11 !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... 7:4 @import Directive... 9:11 A Absolute Units of Length... 9:14 Addressing the First Line... 9:6 Assigning Meaning to XML Tags...

More information

MathML: the inside story

MathML: the inside story iamc.nb 1 MathML: the inside story Neil Soiffer Wolfram Research Basics of MathML Presentation Tags Example a 2 b 2 MathMLForm a 2 + b

More information

Structured documents

Structured documents Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.

More information

Computer algebra systems, mathematical representation, and the DLMF

Computer algebra systems, mathematical representation, and the DLMF Computer algebra systems, mathematical representation, and the DLMF Richard Fateman, Bruce Char, Jeremy Johnson University of California, Berkeley Drexel University, Philadelphia National Institute of

More information

Space for your outline of the XML document produced by simple.f90:

Space for your outline of the XML document produced by simple.f90: Practical 1: Writing xml with wxml The aims of this exercises are to familiarize you with the process of compiling the FoX library and using its wxml API to produce simple xml documents. The tasks revolve

More information

Style Sheet A. Bellaachia Page: 22

Style Sheet A. Bellaachia Page: 22 Style Sheet How to render the content of an XML document on a page? Two mechanisms: CSS: Cascading Style Sheets XSL (the extensible Style sheet Language) CSS Definitions: CSS: Cascading Style Sheets Simple

More information

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University Manipulating XML Trees XPath and XSLT CS 431 February 18, 2008 Carl Lagoze Cornell University XPath Language for addressing parts of an XML document XSLT Xpointer XQuery Tree model based on DOM W3C Recommendation

More information

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,

More information

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML CSI 3140 WWW Structures, Techniques and Standards Representing Web Data: XML XML Example XML document: An XML document is one that follows certain syntax rules (most of which we followed for XHTML) Guy-Vincent

More information

Extreme Java G Session 3 - Sub-Topic 5 XML Information Rendering. Dr. Jean-Claude Franchitti

Extreme Java G Session 3 - Sub-Topic 5 XML Information Rendering. Dr. Jean-Claude Franchitti Extreme Java G22.3033-007 Session 3 - Sub-Topic 5 XML Information Rendering Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda

More information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML

More information

Mathematical Notations in Web Pages

Mathematical Notations in Web Pages in Web Pages Lim Chor Pee Mathematics, Science and Computing Centre Ngee Ann Polytechnic, Singapore email: lcp2@np.ac.sg Abstract To display mathematical notations on the screen in WYSIWYG environment

More information

Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005

Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005 Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005 This FAQ addresses frequently asked questions relating to the XML features of Oracle XML Developer's

More information

Full Price (Academic): $57.00 Upgrade Price (Academic): $37.00 Check with Design Science for site license pricing if order is greater then 5 units

Full Price (Academic): $57.00 Upgrade Price (Academic): $37.00 Check with Design Science for site license pricing if order is greater then 5 units MathType 6 Publisher: Design Science, Inc. 4028 Broadway Ave. Long Beach, CA 90803 USA http://www.dessci.com/en/ Phone: 562-433-0685 FAX: 562-433-6969 General Information: info@dessci.com Retail Cost:

More information

A cross-application architecture for pen-based mathematical interfaces

A cross-application architecture for pen-based mathematical interfaces A cross-application architecture for pen-based mathematical interfaces Elena Smirnova Stephen M. Watt Ontario Research Centre for Computer Algebra University of Western Ontario London ON, Canada N6A 3L8

More information

Interactive XML Visualization - using XSLT 2.0 on the Browser. Phil Fearon - Saxonica

Interactive XML Visualization - using XSLT 2.0 on the Browser. Phil Fearon - Saxonica Interactive XML Visualization - using XSLT 2.0 on the Browser Phil Fearon - Saxonica Big XML Theme Big data Large scale searching Processing large volumes at high speed Crunching big XML files Open Linked

More information

XML for Java Developers G Session 2 - Sub-Topic 1 Beginning XML. Dr. Jean-Claude Franchitti

XML for Java Developers G Session 2 - Sub-Topic 1 Beginning XML. Dr. Jean-Claude Franchitti XML for Java Developers G22.3033-002 Session 2 - Sub-Topic 1 Beginning XML Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Objectives

More information

WME MathEdit. An initial report on the WME tool for creating & editing mathematics. by K. Cem Karadeniz

WME MathEdit. An initial report on the WME tool for creating & editing mathematics. by K. Cem Karadeniz 00 000 00 0 000 000 0 WME MathEdit An initial report on the WME tool for creating & editing mathematics by K. Cem Karadeniz Hi everybody. Today s talk will be on one of the WME tools that I am currently

More information

Web Standards Mastering HTML5, CSS3, and XML

Web Standards Mastering HTML5, CSS3, and XML Web Standards Mastering HTML5, CSS3, and XML Leslie F. Sikos, Ph.D. orders-ny@springer-sbm.com www.springeronline.com rights@apress.com www.apress.com www.apress.com/bulk-sales www.apress.com Contents

More information

Advanced Topics in Curricular Accessibility: Strategies for Math and Science Accessibility

Advanced Topics in Curricular Accessibility: Strategies for Math and Science Accessibility Advanced Topics in Curricular Accessibility: Strategies for Math and Science Accessibility Sean Keegan, Stanford University Ron Stewart, Chair AHEAD Instructional Materials Accessibility Group Creative

More information

Producing MathML with Tralics

Producing MathML with Tralics Producing with Tralics José Grimm Apics Team Institut National de Recherche en Informatique et Automatique Sophia Antipolis Méditerranée DML2010 08 July 2010 A Theorem Scott Osborne, Basic Homological

More information

THE OUTLOOK FOR MATHEMATICS ON THE WEB

THE OUTLOOK FOR MATHEMATICS ON THE WEB Applied Mathematics and Stochastic Analysis, 13:3 (2000), 313-316. SttOIT IEPOITS AND COMMUNICATIONS THE OUTLOOK FOR MATHEMATICS ON THE WEB BRADFORD D. ALLEN Florida Institute of Technology Department

More information

Framework for Sense Disambiguation of Mathematical Expressions

Framework for Sense Disambiguation of Mathematical Expressions Proc. 14th Int. Conf. on Global Research and Education, Inter-Academia 2015 JJAP Conf. Proc. 4 (2016) 011609 2016 The Japan Society of Applied Physics Framework for Sense Disambiguation of Mathematical

More information

Authoring Presentation for OpenMath

Authoring Presentation for OpenMath Authoring Presentation for OpenMath Shahid Manzoor, Paul Libbrecht, Carsten Ullrich, and Erica Melis Deutsches Forschungszentrum für Künstliche Intelligenz {manzoor, paul, cullrich, melis}@activemath.org

More information

Dynamic Aural Browsing of MathML Documents via VoiceXML

Dynamic Aural Browsing of MathML Documents via VoiceXML Dynamic Aural Browsing of MathML Documents via VoiceXML Hemambar Reddy, Gopal Gupta Department of Computer Science University of Texas at Dallas Richardson, TX 75025, USA Arthur I. Karshmer Department

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!   We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 000-141 Title : XML and related technologies Vendors : IBM Version : DEMO

More information

Brokering Mathematical Services in the Global Network

Brokering Mathematical Services in the Global Network Brokering Mathematical Services in the Global Network Wolfgang Schreiner Department of Engineering for Computer-based Learning (CBL) Upper Austrian University of Applied Sciences, Hagenberg, Austria Work

More information

3. Microsoft Office Word as the Editor

3. Microsoft Office Word as the Editor 3. Microsoft Office Word as the Editor Microsoft Office Word (MS Word) is Microsoft s flagship word processing software. Its latest version is MS Word 2007. MS Word 2007 has undergone major architectural

More information

A pen-based mathematical environment Mathink

A pen-based mathematical environment Mathink A pen-based mathematical environment Mathink Elena Smirnova, Stephen M. Watt Ontario Research Centre for Computer Algebra, The University of Western Ontario, London, ON, Canada {elena,watt}@orcca.on.ca

More information

SVG for Displaying OpenMath and MathML Formulae

SVG for Displaying OpenMath and MathML Formulae SVG for Displaying OpenMath and MathML Formulae MAINLINE (CNRS / University of Nice) Stéphane Lavirotte MAINLINE Multimedia Applications Involving Non Linear Information for Networked Education Distance

More information

XML and Databases. Lecture 11 XSLT Stylesheets and Transforms. Sebastian Maneth NICTA and UNSW

XML and Databases. Lecture 11 XSLT Stylesheets and Transforms. Sebastian Maneth NICTA and UNSW XML and Databases Lecture 11 XSLT Stylesheets and Transforms Sebastian Maneth NICTA and UNSW CSE@UNSW -- Semester 1, 2010 Outline 1. extensible Stylesheet Language Transformations (XSLT) 2. Templates:

More information

NTCIR-12 MathIR Task Wikipedia Corpus (v0.2.1)

NTCIR-12 MathIR Task Wikipedia Corpus (v0.2.1) NTCIR-12 MathIR Task Wikipedia Corpus (v0.2.1) This is the revised (v 0.2.1) version of the 'Wikipedia' corpus for the NTCIR-12 Mathematical Information Retrieval (MathIR) tasks (see http://ntcir-math.nii.ac.jp/introduction/).

More information

Presentation 19: XML technologies part 2: XSL, XSLT, XSL-FO, XPath & XML Programming

Presentation 19: XML technologies part 2: XSL, XSLT, XSL-FO, XPath & XML Programming Presentation 19: XML technologies part 2: XSL, XSLT, XSL-FO, XPath & XML Programming Outline XML recap Formatting CSS or XSL? XPath XSL/XSLT XSL-FO XML Programming Slide 2 XML markup recap XML based on

More information

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery. HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets

More information

smt-lib in xml clothes

smt-lib in xml clothes smt-lib in xml clothes Filip Marić filip@matf.bg.ac.yu Faculty of Mathematics, University of Belgrade Studentski trg 16, 11 000 Belgrade, Serbia Predrag Janičić janicic@matf.bg.ac.yu Faculty of Mathematics,

More information

From Electronical Questionnaires to Accessible Maths on Web

From Electronical Questionnaires to Accessible Maths on Web From Electronical Questionnaires to Accessible Maths on Web Lukáš Másilko 1* and Ondřej Nečas 1 1 Teiresiás Support Centre for Students with Special Needs, Masaryk University, Czech Republic masilko@teiresias.muni.cz,

More information

JAVASCRIPT FOR PROGRAMMERS

JAVASCRIPT FOR PROGRAMMERS JAVASCRIPT FOR PROGRAMMERS DEITEL DEVELOPER SERIES Paul J. Deitel Deitel & Associates, Inc. Harvey M. Deitel Deitel & Associates, Inc. PRENTICE HALL Upper Saddle River, NJ Boston Indianapolis San Francisco

More information

AIM. 10 September

AIM. 10 September AIM These two courses are aimed at introducing you to the World of Web Programming. These courses does NOT make you Master all the skills of a Web Programmer. You must learn and work MORE in this area

More information

Open XML Requirements Specifications, a Xylia based application

Open XML Requirements Specifications, a Xylia based application Open XML Requirements Specifications, a Xylia based application Naeim Semsarilar Dennis K. Peters Theodore S. Norvell Faculty of Engineering and Applied Science Memorial University of Newfoundland November

More information

Using MathType. The MathType Window. The Bars

Using MathType. The MathType Window. The Bars The MathType Window Using MathType Empty Slot Insertion Point Selection Status Bar A slot containing no text is displayed with a dotted outline. A blinking marker consisting of a horizontal line and a

More information

Cool Things To Do with Word, Excel & PowerPoint!

Cool Things To Do with Word, Excel & PowerPoint! Cool Things To Do with Word, Excel & PowerPoint! Northside ISD Department of Instructional Technology Table of Contents Microsoft Equation Editor... 3 What Is Equation Editor?... 3 Easy-to-Use Toolbar

More information

The XQuery Data Model

The XQuery Data Model The XQuery Data Model 9. XQuery Data Model XQuery Type System Like for any other database query language, before we talk about the operators of the language, we have to specify exactly what it is that

More information

STEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS

STEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS STEPHEN WOLFRAM MATHEMATICADO OO Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS Table of Contents XXI a section new for Version 3 a section new for Version 4 a section substantially modified for

More information

Towards Intelligent Summarising and Browsing of Mathematical Expressions

Towards Intelligent Summarising and Browsing of Mathematical Expressions Towards Intelligent Summarising and Browsing of Mathematical Expressions Ivelina Stoyanova I.Stoyanova@alumni.bath.ac.uk Department of Computer Science University of Bath, Bath BA2 7AY United Kingdom Abstract.

More information

Chapter 10: Understanding the Standards

Chapter 10: Understanding the Standards Disclaimer: All words, pictures are adopted from Learning Web Design (3 rd eds.) by Jennifer Niederst Robbins, published by O Reilly 2007. Chapter 10: Understanding the Standards CSc2320 In this chapter

More information

singly and doubly linked lists, one- and two-ended arrays, and circular arrays.

singly and doubly linked lists, one- and two-ended arrays, and circular arrays. 4.1 The Tree Data Structure We have already seen a number of data structures: singly and doubly linked lists, one- and two-ended arrays, and circular arrays. We will now look at a new data structure: the

More information

Part VII. Querying XML The XQuery Data Model. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153

Part VII. Querying XML The XQuery Data Model. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153 Part VII Querying XML The XQuery Data Model Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153 Outline of this part 1 Querying XML Documents Overview 2 The XQuery Data Model The XQuery

More information

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University XML Wrap-up CS 431 March 1, 2006 Carl Lagoze Cornell University XSLT Processing Model Input XSL doc parse Input XML doc parse Parsed tree serialize Input XML doc Parsed tree Xformed tree Output doc (xml,

More information

International Journal of Research in Advent Technology Available Online at:

International Journal of Research in Advent Technology Available Online at: CONTENT DICTIONARIES FOR RELATIONAL ALGEBRA Kuo-pao Yang 1, Theresa Beaubouef 2 1 2 Department of Computer Science and Industrial Technology 12 Southeastern Louisiana University 1 kyang@selu.edu ABSTARCT:

More information

Using MathType. The MathType Window. The Bars

Using MathType. The MathType Window. The Bars The MathType Window Using MathType Empty Slot Insertion Point Selection Status Bar A slot containing no text is displayed with a dotted outline. A blinking marker consisting of a horizontal line and a

More information

Equation Editor Applet with TeX Output for the Web E M I L K A C H K Y M B A E V

Equation Editor Applet with TeX Output for the Web E M I L K A C H K Y M B A E V Equation Editor Applet with TeX Output for the Web E M I L K A C H K Y M B A E V Master of Science Thesis Stockholm, Sweden 2006 Equation Editor Applet with TeX Output for the Web E M I L K A C H K Y M

More information

Line Spacing and Double Spacing...24 Finding and Replacing Text...24 Inserting or Linking Graphics...25 Wrapping Text Around Graphics...

Line Spacing and Double Spacing...24 Finding and Replacing Text...24 Inserting or Linking Graphics...25 Wrapping Text Around Graphics... Table of Contents Introduction...1 OpenOffice.org Features and Market Context...1 Purpose of this Book...4 How is OpenOffice.org Related to StarOffice?...4 Migrating from Microsoft Office to OpenOffice.org...4

More information

SDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5

SDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5 2 Basics of XML and XML documents 2.1 XML and XML documents Survivor's Guide to XML, or XML for Computer Scientists / Dummies 2.1 XML and XML documents 2.2 Basics of XML DTDs 2.3 XML Namespaces XML 1.0

More information

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance. XML Programming Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend face-to-face in the classroom or

More information

Session 7. JavaScript Part 2. W3C DOM Reading and Reference

Session 7. JavaScript Part 2. W3C DOM Reading and Reference Session 7 JavaScript Part 2 W3C DOM Reading and Reference Background and introduction developer.mozilla.org/en-us/docs/dom/dom_reference/introduction en.wikipedia.org/wiki/document_object_model www.w3schools.com/js/js_htmldom.asp

More information

Lecture 04 FUNCTIONS AND ARRAYS

Lecture 04 FUNCTIONS AND ARRAYS Lecture 04 FUNCTIONS AND ARRAYS 1 Motivations Divide hug tasks to blocks: divide programs up into sets of cooperating functions. Define new functions with function calls and parameter passing. Use functions

More information

University of Engineering and Technology, Taxila Department of Civil Engineering

University of Engineering and Technology, Taxila Department of Civil Engineering University of Engineering and Technology, Taxila Department of Civil Engineering Course Title: Pre-requisite(s): Computer Applications (HU-210) Theory + Lab None Credit Hours: 2 + 2 Contact Hours: 2 +

More information

The Specification Xml Failed To Validate Against The Schema Whitespace

The Specification Xml Failed To Validate Against The Schema Whitespace The Specification Xml Failed To Validate Against The Schema Whitespace go-xsd - A package that loads XML Schema Definition (XSD) files. Its *makepkg* tool generates a Go package with struct type-defs to

More information

~ Ian Hunneybell: DIA Revision Notes ~

~ Ian Hunneybell: DIA Revision Notes ~ XML is based on open standards, and is text-based, thereby making it accessible to all. It is extensible, thus allowing anyone to customise it for their own needs, to publish for others to use, and to

More information

XSLT Programming Constructs

XSLT Programming Constructs XSLT Programming Constructs Contents 1. Procedural programming in XSLT 2. Defining named template rules 3. Parameterizing XSLT style sheets 2 1. Procedural Programming in XSLT Declarative vs. procedural

More information

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS.

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS. XSL Languages It started with XSL and ended up with XSLT, XPath, and XSL-FO. It Started with XSL XSL stands for EXtensible Stylesheet Language. The World Wide Web Consortium (W3C) started to develop XSL

More information

LPL: Product Description

LPL: Product Description LPL: Product Description LPL is a full-fetched mathematical modeling system with a point-and-click user interface and a powerful modeling language. The language is a structured mathematical and logical

More information

6/3/2016 8:44 PM 1 of 35

6/3/2016 8:44 PM 1 of 35 6/3/2016 8:44 PM 1 of 35 6/3/2016 8:44 PM 2 of 35 2) Background Well-formed XML HTML XSLT Processing Model 6/3/2016 8:44 PM 3 of 35 3) XPath XPath locates items within an XML file It relies on the XML

More information

Math Typesetting and Authoring

Math Typesetting and Authoring Math Typesetting and Authoring Michael Leslie Brooks July 3, 2018 University of Waterloo CS 846 Advanced Topics in Electronic Publishing 1 Agenda First half: Understand how a formatter organizes 2D arrangements

More information

XML. Presented by : Guerreiro João Thanh Truong Cong

XML. Presented by : Guerreiro João Thanh Truong Cong XML Presented by : Guerreiro João Thanh Truong Cong XML : Definitions XML = Extensible Markup Language. Other Markup Language : HTML. XML HTML XML describes a Markup Language. XML is a Meta-Language. Users

More information

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance. XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:

More information

L A TEX and Basic Text Editing

L A TEX and Basic Text Editing L A TEX and Basic Text Editing 1 Basics L A TEXis a mathematical typesetting word processing tool. You need a compiler to display L A TEX, and you can dowload the open-source freeware at MikTex.org. We

More information

Language Proposal: EqualsEquals

Language Proposal: EqualsEquals Language Proposal: EqualsEquals Shortname: eqeq Introduction Motivation Language Description Target Language: Python Syntax Overview Data Types Comments Code block format Declaration Flow control Language

More information

Interactive Graphics Using Parametric Equations (Day 2)

Interactive Graphics Using Parametric Equations (Day 2) Interactive Graphics Using Parametric Equations (Day 2) Dr. Niels Lobo Computer Science Bezier Curves Google bezier curves`` Casselman's Bezier curves Andysspline Bezier Curves Bezier Photo: Automotive

More information

Latex Tutorial. CIS400 Senior Design 9/5/2013

Latex Tutorial. CIS400 Senior Design 9/5/2013 1 Latex Tutorial CIS400 Senior Design 9/5/2013 2 Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling PDF documents from LaTeX Basic document

More information

IBM Tivoli Federated Identity Manager V6.2.2 Implementation Exam.

IBM Tivoli Federated Identity Manager V6.2.2 Implementation Exam. IBM 000-575 IBM Tivoli Federated Identity Manager V6.2.2 Implementation Exam TYPE: DEMO http://www.examskey.com/000-575.html Examskey IBM 000-575 exam demo product is here for you to test the quality of

More information

Why HTML5? Why not XHTML2? Learning from history how to drive the future of the Web

Why HTML5? Why not XHTML2? Learning from history how to drive the future of the Web Why HTML5? Why not XHTML2? Learning from history how to drive the future of the Web Michael(tm) Smith mike@w3.org http://people.w3.org/mike sideshowbarker on Twitter, GitHub, &c W3C Interaction domain

More information

An Architecture for Distributed Mathematical Web Services

An Architecture for Distributed Mathematical Web Services An Architecture for Distributed Mathematical Web s Elena S. Smirnova, Clare M. So, Stephen M. Watt Ontario Research Centre for Computer Algebra (ORCCA) Department of Computer Science University of Western

More information

Domain-specific languages

Domain-specific languages Domain-specific languages also called application specific languages, little languages narrow domain of applicability not necessarily programmable or Turing-complete often declarative, not imperative sometimes

More information

Introduction to Topologi Markup Editor , 2005 Topologi Pty. Ltd.

Introduction to Topologi Markup Editor , 2005 Topologi Pty. Ltd. http://www.topologi.com Introduction to Topologi Markup Editor 2.3 2004, 2005 Topologi Pty. Ltd. info@topologi.com Markup Editor Edit publishing-oriented documents in the built-in Markup Editor: a tag-aware

More information

Quark XML Author for FileNet 2.5 with BusDocs Guide

Quark XML Author for FileNet 2.5 with BusDocs Guide Quark XML Author for FileNet 2.5 with BusDocs Guide CONTENTS Contents Getting started...6 About Quark XML Author...6 System setup and preferences...8 Logging in to the repository...8 Specifying the location

More information

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML

More information

MathJax Documentation

MathJax Documentation MathJax Documentation Release 1.0 Davide Cervone, Casey Stark, Robert Miner, Paul Topping Jun 02, 2017 Contents 1 Basic Usage 3 2 Advanced Topics 51 3 Reference Pages 97 i ii MathJax is an open-source

More information

Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 5/17/2012 Physics 120 Section: ####

Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 5/17/2012 Physics 120 Section: #### Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 Lab partners: Lab#1 Presentation of lab reports The first thing we do is to create page headers. In Word 2007 do the following:

More information

XSLT: How Do We Use It?

XSLT: How Do We Use It? XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman 1 XSLT: Agenda Introduction & Terminology XSLT Walkthrough Client-Side XSLT/XHTML Server-Side XSLT/XHTML More Creative Server-Side XSLT 2 XSLT:

More information

Humanoid Robotics. Projective Geometry, Homogeneous Coordinates. (brief introduction) Maren Bennewitz

Humanoid Robotics. Projective Geometry, Homogeneous Coordinates. (brief introduction) Maren Bennewitz Humanoid Robotics Projective Geometry, Homogeneous Coordinates (brief introduction) Maren Bennewitz Motivation Cameras generate a projected image of the 3D world In Euclidian geometry, the math for describing

More information

MathType. Check with Design Science for site license pricing if order is greater then 5 units

MathType. Check with Design Science for site license pricing if order is greater then 5 units MathType Publisher: Design Science, Inc. 4028 Broadway Ave. Long Beach, CA 90803 USA http://www.dessci.com/en/ Phone: 562-433-0685 FAX: 562-433-6969 General Information: info@dessci.com Retail Cost: Full

More information

Markup Languages SGML, HTML, XML, XHTML. CS 431 February 13, 2006 Carl Lagoze Cornell University

Markup Languages SGML, HTML, XML, XHTML. CS 431 February 13, 2006 Carl Lagoze Cornell University Markup Languages SGML, HTML, XML, XHTML CS 431 February 13, 2006 Carl Lagoze Cornell University Problem Richness of text Elements: letters, numbers, symbols, case Structure: words, sentences, paragraphs,

More information