The Progress and Work Plan of MathEdit Wei Su 24 September 2007.

Slides:



Advertisements
Similar presentations
Interaction Design: Visio
Advertisements

CIMCO Integration Software Products
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Project 4 Financial Functions, Data Tables, Amortization Schedules, and Hyperlinks.
Using Macros and Visual Basic for Applications (VBA) with Excel
Understanding Microsoft Excel
Word Lesson 1 Microsoft Word Basics
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
MathEdit, A Browser-based Visual Mathematics Expression Editor Wei Su 1, Paul.Wang 2, Lian Li 1, Guanyu Li 1, Yanjuan Zhao 1 1 Lanzhou University, Lanzhou,
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Senior Project – I.D. Math & Computer Science jsMath Equation Editor Dana Cartwright Advisors – Prof. Cervone & Prof. Striegnitz Editor Design -
An Integrated Solution for Web-based Mathematical Expression Inputting Wei Su Department of Computer Science, Lanzhou University, PRC Department of Computer.
Introduction To Form Builder
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
A guide for UICET for using Wikispaces.  A wiki is a web page or collection of web pages that can be linked together as a website.  Wikis are often.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
Getting Started with Expression Web 3
1 Forms A form is the usual way that information is gotten from a browser to a server –HTML has tags to create a collection of objects that implement this.
Word Processing ADE100- Computer Literacy Lecture 12.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Key Applications Module Lesson 19 — PowerPoint Essentials
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Muhammad Asad University of Engineering and Technology(UET), Taxila, Pakistan ITC Lab 05.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
IE 411/511: Visual Programming for Industrial Applications
Understanding Web Sites. What is a Web Site A collection of Web pages which you can view on the Internet Contains text, graphics, sound, and video to.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Microsoft Excel. Today’s Topics Overview of the Excel Screen The Excel Menus: File, Edit, View, Insert, Format, Tools, Data, Window, Help Entering Formulas.
Tutorial 1: Browser Basics.
Chapter 10 Fireworks: Part II The Web Warrior Guide to Web Design Technologies.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
This tutorial teaches Microsoft Word basics. Although knowledge of how to navigate in a Windows environment is helpful, this tutorial was created for.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
® Microsoft Office 2010 Excel Tutorial 1: Getting Started with Excel.
Productivity Programs Common Features and Commands.
 Definition  Components  Advantages  Limitations Contents  Meaning of Editing Meaning of Editing  Editing Cell Contents Editing Cell Contents 
Word 2010 Vocabulary List 1. Click and Type - A feature that allows you to double-click a blank area of a document to position the cursor in that location,
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
Excel Lesson 1 Excel Basics
Basic Editing Lesson 2.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 2 Manipulating.
1 Chapter 12: Form Builder Objects and Flexible Code.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Lesson 1 – Microsoft Excel * The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
MathEdit: A Web-based Visual Interactive Editor for Mathematical Expressions Wei Su ( 苏伟 ) 1, Paul S.Wang 2 and Lian Li ( 李廉 ) 1 Department of Computer.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
The Excel model for information processing The Excel model is a grid of cells in which items of information are stored and processed. Any information that.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Understanding Microsoft Excel Lesson 1 – Microsoft Excel 2013.
Lesson 6: Working with Word Basics. 2 Learning Objectives After studying this lesson, you will be able to:  Use and customize the Ribbon  Use the Quick.
XP 1 Workshop Overview Goal Participants will leave the workshop with some basic Excel skills and the ability to locate and use online resources to continue.
1 Word Lesson 1 Microsoft Word Basics Microsoft Office 2010 Introductory Pasewark & Pasewark.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Pasewark & Pasewark 1 Excel Lesson 1 Excel Basics Microsoft Office 2007: Introductory.
Dive Into® Visual Basic 2010 Express
ASP.NET Forms.
Project 1 Introduction to HTML.
Working in the Forms Developer Environment
Introduction to the Visual C# 2005 Express Edition IDE
Presentation transcript:

The Progress and Work Plan of MathEdit Wei Su 24 September 2007

WME Group Outline 1.Introduction 1.1 MathEdit Overview 1.2 Main Functionalities 2.Expression Editing 2.1 Template 2.2 Entering Expressions 2.3 Editing Modes 3.Visual Navigation 3.1 Basic Navigation 3.2 Traversal Navigation 3.3 Cursor Movement 4.MathEdit API and Example 5.Work Plan

WME Group 1. Introduction  MathEdit is a browser-based tool implemented in JavaScript that provides a convenient and intuitive graphical user interface for creating and editing mathematical expressions as well as a well-defined API for interoperating with its containing Web page. MathEdit can produce MathML Content and Presentation Markup as well as infix expressions for Web applications. The results returned can be displayed in a Web page or used in further computations. Today, I will describe the methods of expression editing, visual navigation, and the MathEdit API. I will also present the examples of using MathEdit in such interactive Web applications as curve plotting and Math-capable BBS.

WME Group The Feature of MathEdit  Works with any popular Web browser  Written in Standard JavaScript and DOM  Works within Independently or embedded in other systems , such as WME , MAG, MathPass system  Using MathML Content and Presentation Encoding, Support infix inputting  Extensible and Customizable 1.Introduction to MathEdit

WME Group MathEdit Authoring Environment 1.Introduction to MathEdit

WME Group Main Functionalities  Create a new or edit an existing mathematical expression interactively with a convenient GUI  Direct editing of MathML code and Infix code  Set mathematical expression format and style  Customize toolbar, palette and expression template  Import/Export MathML –Capture and retrieve the MathML markup or Infix from other applications or webpage. – Open an existing MathML file or Infix stored in the local file system or at the originating Web server – Save MathML in a local or remote file –Return the result mathematical encoding (content, presentation, composite and infix) to the parent window 1.Introduction to MathEdit

WME Group Some Examples of Math expression  Demo Demo 1.Introduction to MathEdit

WME Group MathEdit Architecture MathEdit Architecture 1.Introduction to MathEdit

WME Group 2. Expression Editing It is essential to provide convenient and intuitive operations to insert and remove the desired structures, including sub-expressions, operators and characters. MathEdit supports several forms of user input, infix, MathML and template. Infix is convenient for users who are familiar with the notation. For others, the common approach is to use graphical templates that can be selected to enter particular kinds of mathematical expressions such as fractions, square roots, powers, and so on. 2. Expression Editing

WME Group Template 2. Expression Editing

WME Group The Shortcut Key of Tool Button 2. Expression Editing

WME Group The Shortcut Key of the Templates (1 of 3) 2. Expression Editing

WME Group The Shortcut Key of the Templates (2 of 3) 2. Expression Editing

WME Group The Shortcut Key of the Templates (3 of 3) 2. Expression Editing

WME Group Entering Expressions 2. Expression Editing Table 1. Inputting Operation Methods in MathEdit Table 1 shows how the treatment of a new token (row headings) is dependent on the previous token (column headings)

WME Group Editing Modes MathEdit supports five operational modes:  Visual Edit mode  MathML Content mode  MathML Presentation mode  Infix mode  Preview mode 2. Expression Editing

WME Group Visual Edit mode  Generally, the Visual Edit mode is for users to create and edit mathematical expressions interactively.  In Visual Edit mode, the MathML Content code of the currently selected expression is always displayed in the MathEdit status bar. It shows, at a glance, the nesting of the MathML structure at the cursor location, and gives users an easy way to select sub-expressions containing the cursor. 2. Expression Editing

WME Group MathML Mode  In MathML mode, a user can view, enter, and edit MathML source code directly. Copy and paste of MathML code is supported.  There are two kinds of MathML code: Content and Presentation. The Presentation code can’t be edited. 2. Expression Editing

WME Group Infix Mode  In Infix mode a user can enter expressions in infix notation or extract the infix representation of the expression being edited. 2. Expression Editing

WME Group Preview Mode  In Preview mode, the expression is displayed in its final form and no editing is allowed. Previewing is usually the last step before a user is done creating or editing an expression. 2. Expression Editing

WME Group 3. Visual Navigation Convenient visual navigation is important and a user has multiple ways to visually navigate the displayed expression:  basic navigation  traversal navigation  cursor navigation 3. Visual Navigation

WME Group Basic Navigation MathEdit keeps track of the sub- expression and displays a color background to visually identify it to the user. The arrow keys are used to move the current sub-expression up to the parent node down to the first child left/right to sibling nodes. 3. Visual Navigation

WME Group Traversal Navigation  MathEdit also supports a systematic traversal of the entire expression so the user has a way of reaching any node on the tree. By pressing the PageDown key, the current node is moved in a traversal sequence defined by DFS (depth-first search). The PageUp key, on the other hand, provides the inverse-orient traversal. 3. Visual Navigation

WME Group Traversal Navigation 3. Visual Navigation

WME Group PageDown Key or Tab Key 3. Visual Navigation

WME Group PageUp Key or Shift+Tab 3. Visual Navigation

WME Group Cursor Movement  MathEdit also allows the user to use the mouse to move the current node. Now mouse is just supported in Firefox version.  In MathEdit the location of the cursor is indicated by a blinking vertical line. The cursor indicates the current insertion point and may be positioned either to the left or right of the current expression. 3. Visual Navigation

WME Group Cursor Navigation 3. Visual Navigation

WME Group 4. MathEdit API and Example  The MathEdit API, supported by a set of JavaScript functions, allows applications to create an editor instance, sets any initial expression in it, configure its template palette and other GUI features, and set/retrieve the MathML code and Infix code it contains.  There are two methods of applying MathEdit into interactive Web: pop-up window and in-page frame. –pop-up window: user can activate MathEdit by the methods of newMath() or editMathByID(). A pop-up window with MathEdit will open and user can edit their desired math expressions by MathEdit. When user clicks Return button, the object math code (MathML or Infix) will transfer to the main program. –in-page frame: the MathEdit can be embedded in interactive Web by using mathedit(tID,stateStr) to define a new mathedit instance. User can customize the templates and toolbars through MathEdit API function set() 4. MathEdit API and Example

WME Group The MathEdit API Library Method Apply to Description newMath( id, parentId )pop-upCreate a new MathML expression. editMathById( id )pop-upEdit an existing Math Expression by ID. editMath(Str,cType,tID,pID)pop-upEdit an existing Math Expression by MathML or Infix set(attributeName,value)in-pageSet attribute value of the MathEdit instance. display(winID)in-pageDisplay the MathEdit in the page. getAttributeNames()in-pageget all attribute names of the MathEdit instance. getAttributeValues()in-pageget all attribute values of the MathEdit instance. editMathByCode(Str,cType)in-pageEdit an existing Math Expression by MathML or Infix get(attrID)bothGet attribute value of the MathEdit instance. 4. MathEdit API and Example var myInstance = new mathedit(myInstance,stateStr);

WME Group Example 1: Plotting User-Entered Equations  The user first clicks on an icon to pop up the MathEdit tool in order to create a desired formula interactively. When done, the user clicks the return folder icon on the menu bar to close the MathEdit window.  After filling in the plotting range, a click on the plot button triggers JavaScript code, in the enclosing Web page, which obtains the string representation of the formula created via the MathEdit API. The formula string then becomes part of a POST request to a curve plotting program which displays the result 4. MathEdit API and Example

WME Group Example 2: Math-enabled BBS ① Set insert focus or select existed expression ② Call MathEdit ③ Edit expression ④ Return MathML to insert point or replace existed expression 4. MathEdit API and Example Try It

WME Group 5. Work Plan IE VersionFirefox Version NavigationKeyboard (Basic and Traversal)Mouse (Cursor) Main CodeContentPresentation Provide Code Content, Presentation, InfixPresentation Best forSemantic (Computing, Plotting)Display (BBS, typeset) RestrictThe editing Result must be a math expression Can construct a new math expression PluginMathPlayerV1.5 native support 5. Work Plan Need to Improved

WME Group Work Plan-Next Step  Develop Firefox Version Requirement needs to be clear: (Maybe discuss in next week seminar) Content or Presentation Navigation Method (Cursor or Selection)  Improve IE version Collect the feedback and improve the MathEdit

WME Group Thank you !