Radoslaw Jedynak, PhD Poland, Technical University of Radom

Slides:



Advertisements
Similar presentations
Using MathType and WebEQ to Author for MathPlayer Making sense of all the mumbo-jumbo presented by: Bob Mathews Director of Training Design Science, Inc.
Advertisements

WeB application development
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
Project 1 Introduction to HTML.
Authoring Web Pages with MathML for Cross-browser Display Bob Mathews Director of Training Design Science, Inc.
SVG Scalable Vector Graphics. What is SVG? SVG stands for Scalable Vector Graphics SVG is used to define vector-based graphics for the Web SVG defines.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
Developing a Basic Web Page with HTML
Carrie Ann Desnoyers Instructional Designer CREATING ACCESSIBLE MATH IN D2L MATHTYPE, LATEX, MATHPAGES, AND MATHPLAYER.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
CPSC 203: Introduction to Computers Tutorials 03 & 29 by Jie (Jeff) Gao.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review HTML5.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Tutorial 1: Getting Started with HTML5
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
HTML Structure & syntax
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language)  XML is a markup language for creating documents containing structured information.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language  XML is a markup language for creating documents containing structured information.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Strategies for Math & Science Accessibility Ron Stewart Access Technology Instructor High Tech Training Center Unit California Community Colleges.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Scientific Markup Languages Birds of a Feather Brief Overview of MathML Timothy W. Cole Mathematics Librarian & Professor of Library.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
HTML Structure & syntax
Basic HTML Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
4.01 How Web Pages Work.
Web Basics: HTML/CSS/JavaScript What are they?
Project 1 Introduction to HTML.
Web Site Development and Macromedia Dreamweaver 8
Chapter 1 Introduction to HTML.
HTML.
Improving Braille accessibility and personalization on Internet
Project 1 Introduction to HTML.
Generating Nemeth Braille Output Sequences from Content MathML Markup
Chapter 1: Introduction to XHTML (part 1)
Introduction to XHTML.
Chapter 4 - Introduction to XHTML: Part 1
Introducing HTML & XHTML:
XML.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Introduction to HTML- Basics
Introduction to HTML5.
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Web Application Development
HTML 5 SEMANTIC ELEMENTS.
CIS 133 mashup Javascript, jQuery and XML
Pertemuan 1 Desain web Pertemuan 1
HTML Structure & syntax
4.01 How Web Pages Work.
Web Programming : Building Internet Applications Chris Bates CSE :
Presentation transcript:

How to create web pages using mathematical expressions – introduction to MathML Radoslaw Jedynak, PhD Poland, Technical University of Radom Faculty of Teacher Training Department of Mathematics jedynakr@pr.radom.pl

Basic Methods of Displaying Mathematics on the Web 1. Images - typically graphic formats are GIF or JPEG We can insert an image in HTML document writing command: <img src= ”file.ext”> This solution has some limitations: poor quality of the images (resolution 72 or 96 dpi) equations displayed as images cannot be fully integrated with the surrounding text - web page has long download times

Basic Methods of Displaying Mathematics on the Web 2. PDF Files We can insert a PDF file in HTML document writing command <a href=”file.pdf”>. These files have high quality for viewing and printing. The solution has some limitations: - the display of PDF files requires a special viewer application like Acrobat Reader - PDF files cannot be well integrated with the Web environment

Basic Methods of Displaying Mathematics on the Web 3. Other simple solutions of displaying mathematical content on the Web HTML commands <sup> - superscripts and <sub> subscripts such as x<sup>3</sup>+ y<sub>i</sub>+ z<sup>j</sup> for x3 + yi+zj. 1 ASCII charts, such as --------------- 1 + x + y

Basic Methods of Displaying Mathematics on the Web 4 MathML Mathematical Markup Language (MathML) is an XML application for describing mathematical formulas on the Web. The first specification of the standard MathML was published by W3C in 1998 . MathML 2.0 was published in October 2003. Math Working Group works over recommendation MathML 3.0 at present.

Introduction to MathML language It is possible to encode mathematical expressions in MathML language with two kinds of markups: - Presentation Markup Content Markup Presentation MathML focuses on the display of an equation but the content MathML focuses on the semantic meaning of the expression.

Presentation Markup MathML Presentation Markup has about 30 elements and 50 attributes. All elements begin with letter m.Example of Presentation Markup encodes x + y : <math> - element is required for any piece of MathML <mrow> - expression is displayed in a horizontal row <mi>x</mi> - identifier (variable) <mo>+</mo> - operator <mi>y</mi> </mrow> </math> http://www.w3.org/TR/MathML/chapter3.html

Content Markup MathML Content Markup consists of about 150 elements and 12 attributes. Example of Content Markup encodes x + y : <math> <apply> - element is used to apply operators or functions to expressions <plus/> - operator <ci>x</ci> - identifier (variable) <ci>y</ci> </apply> </math> http://www.w3.org/TR/MathML/chapter4.html

Comparison Content Markup and Presentation Markup MathML Presentation Markup MathML Content Markup

Presentation Markup - examples Fraction Square Root Superscript

Presentation Markup - example

Presentation Markup - example A <mfrac> element may only have exactly two child element A <mrow> element has to be used as a wrapper element

Native MathML Support: MathML on the Web Browser Statistics: Native MathML Support: Mozilla 1.0 ~10 % Mozilla MathML Plugin: Internet Explorer MathPlayer ( IE 5.5) Integre techexplorer ~ 85 %

Universal MathML Stylesheet MathML on the Web XHTML 1.1 + MathML 2.0 www.w3.org/Math Universal MathML Stylesheet (XSLT Stylesheet) Plugin Code Required MIME Type: HTML Only Presentation Markup MIME Type: XML IE + MathPlayer IE + techexplorer Mozilla

MathML on the Web ( XHTML +MathML ) XML Declaration

MathML on the Web ( XHTML +MathML ) Universal MathML Stylesheet

MathML on the Web ( XHTML +MathML ) Document Type Declaration

MathML on the Web ( XHTML +MathML ) XHTML Namespace MathML Namespace

Interpretation of example of MathML Presentation Markup by a) Mozilla Firefox, b) Amaya

Tips for Internet Explorer If we want to display correctly this example in Internet Explorer we have to download the following files: mathml.xsl - from http://www.w3.org/Math/XSL/mathml.xsl ctop.xsl - from http://www.w3.org/Math/XSL/ctop.xsl pmathml.xsl - from http://www.w3.org/Math/XSL/pmathml.xsl pmathmlcss.xsl – from http://www.w3.org/Math/XSL/pmathmlcss.xsl xhtml-math11-f.dtd – from http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd and save for example in the folder which includes the files with MathML code.

Authoring and Editing MathML We can find the list of recommended software tools supporting MathML on the Web of W3C Math Consortium. http://www.w3.org/Math/Software/.

DragMath editor DragMath is an open-source equation editor written in Java. This editor can be simply run within a web browser as a Java applet. We can build up mathematical expressions in a traditional two dimensional way because DragMath is "drag and drop" editor . http://www.dragmath.bham.ac.uk/demo.html

WIRIS editor WIRIS Editor is WYSIWYG editor for maths expressions. The editor is based on Java technology which allows it to be supported by any Web browser and any Operating System. We can also create mathematical expression on the producer Web http://www.wiris.com/demo/mmleditor/

Thank you for your attention