Access8Math

This NVDA addon provides the function of reading math content. Although the original NVDA already equipped this feature by applying MathPlayer, some functions still needed to be improved, such as not providing or incomplete specific language translation, not providing specific language navigation and browsing and many more.

Navigation interactive mode can segment a math content into smaller partial fragments for speaking, and select the read fragment and method through a series of keyboard key operations. This function can better understand the structure and items of long math content. The hierarchical relationship with the item.

Reading feature

  • Read math content written in MathML in web browser(Mozilla Firefox, Microsoft Internet Explorer and Google Chrome) or read Microsoft Word math content written in MathType. (MathPlayer installed only)
  • Interaction: Press space or enter on the MathML math object to enter navigation interactive mode. It means you can browse part of the sub-content in the math content and move between sub-contents or zoom the size of the sub-content
  • Bấm "Khoảng trắng" trong nội dung toán để mở "Cửa sổ tương tác của Access8Math", nơi có các nút "tương tác" và "sao chép".

    • interaction: Into math content to navigate and browse. Also, you can partially explore the subparts in expression and move or zoom the content between the subpart.
    • sao chép: sao chép mã nguồn đối tượng MathML.
  • Text review: Press the numeric keyboard 1-9 during navigation to read the mathematical content of the serialized text word by word and line by line

  • Analyze the overall mathematical meaning of the content: analyze the structure of MathML, and when it meets a specific rule, read it aloud in the mathematical meaning of the rule
  • Analyze the mathematical meaning of the content item: When navigating and browsing, it will prompt the meaning of the content under its upper content. For example, there are two score items, and moving between them will enroll the item as the denominator or numerator

navigation interactive mode command:

  • "Mũi tên xuống": phóng to phần phụ nhỏ hơn của nội dung toán.
  • "Mũi tên lên": thu nhỏ phần phụ lớn hơn của nội dung toán.
  • "Mũi tên trái": chuyển đến nội dung toán trước.
  • "Mũi tên phải": chuyển đến nội dung toán kế.
  • "Home": Move back to the top.(Entire math content)
  • "Ctrl+c": sao chép mã nguồn đối tượng MathML
  • "1~9 bàn phím số": đọc nội dung toán theo thứ tự bằng tính năng duyệt nội dung của NVDA.
  • "ESC": thoát chế độ điều hướng.

Writing feature

Writing mixed content (text content and mathematical content):

write mixed content

Use delimiter(start delimiter "(" and end delimiter ")", LaTeX block) to determine the area between the text content and the mathematical content, that is, the data in LaTeX block is mathematical content (LaTeX), and the data outside LaTeX block is text content.

Press alt+h in edit field to convert an HTML document with mixed text data and mathematical data and can be reviewed or exported. The data in the LaTeX block will be converted to MathML for presentation with normal text.

  • review: Open the converted HTML document through a program that opens the .HTML extension by default.
  • export: Pack the converted HTML document into a zip file.

Press alt+m key in edit field to pop up the markup command window, select "LaTeX" and press enter, the LaTeX block will be added to the current cursor and the cursor will be automatically moved into it for quick input the content.

Press alt+l key in edit field to pop up the LaTeX command window, select the LaTeX command item to be added and press enter to add the corresponding LaTeX syntax at the current cursor and automatically move the cursor to the appropriate input point for quick Enter the content.

LaTeX command window

  • Select the LaTeX command item and press f1~f12 to set the shortcut
  • Select the LaTeX command item and press d to remove the shortcut that has been set
  • Select the LaTeX command item and press enter to add the corresponding LaTeX syntax at the current cursor

Edit cursor navigation move

  • In edit field, press alt+left arrow key to move to the start point of the previous data block
  • In edit field, press alt+down key without moving, but only read the content of the current data block
  • In edit field, press alt+right arrow key to move to the start point of the next data block
  • In edit field, press alt+home to move to the start point of the current data block
  • In edit field, press alt+end to move to the end point of the current data block

Edit cursor navigation move and select

  • In the editing area, press alt+shift+left arrow key to move to the previous data block and select
  • In the editing area, press alt+shift+down key to move to the current data block and select
  • In the editing area, press alt+shift+right arrow to move to the next data block and select

Press alt+s in edit field to turn on or off the shortcut mode. When the shortcut mode is on, press f1~f12 to quickly insert LaTeX syntax. When the shortcut mode is on, press shift+f1~f12 to read out the LaTeX commands currently bound to the shortcut.

In edit field and the cursor is in the LaTeX block, press alt+i to enter navigation interactive mode

Press NVDA+shift+space in edit field to turn on or off the edit single letter navigation mode. When the edit single letter navigation mode is turned on, you can move the edit cursor with single letter navigation

The following keys by themselves jump edit cursor to the next available block, while adding the shift key causes them to jump edit cursor to the previous block:

  • l: move to the next LaTeX block
  • t: move to the next text block

mixed content example: The solution of the quadratic equation in one variable (ax2+bx+c=0) is (\frac{-b\pm\sqrt{b2-4ac}}{2a}).

settings

All Access8Math menus are centralized in tools -> Access8Math.

read feature settings

  • General Settings dialog:

    • Language: Access8Math speaking language
    • Khoảng thời gian hạng mục: thiết lập thời gian chờ giữa các mục. Giá trị từ 1 đến 100. Giá trị càng nhỏ thì thời gian chờ càng ngắn và ngược lại.
    • Showing Access8Math interaction window when entering interaction mode: Whether to show "Access8Math interaction window" when pressing the space key on the math object.
    • Analyze the mathematical meaning of the content: perform semantic analysis on the mathematical content, and when it meets a specific rule, using that rule to speak.
    • Reading pre-defined meaning in dictionary when navigating in interactive mode: When the pattern is definied in the dictionary, use dictionary to read the meaning of subpart in the upper layer part.
    • Reading of auto-generated meaning when navigating in interactive mode: When the pattern is not difined or incomplete in dictionary, use automatic generation function to read the meaning of subpart in the upper layer part.
    • Using a beep to alert no move: When navigating in interactive mode, It will hint by beep. If it is not checked, it will hint by speaking "no move".
    • Using NVDA+gesture to active action: Whether shortcut key needs to be added with NVDA key when write mixed content in edit field
  • Rule Settings dialog box: select whether rules are actived.

localization

  • "Unicode dictionary" allows customizing the reading method for each symbol text.
  • "Mathematics Rules" allows customizing the reading method for each type of mathematics.
  • "Add a new language" can add languages: that were not originally provided in the built-in. After adding, there will be more newly added language families in the general settings and can be used to define the reading method through the "unicode dictionary" and "mathematics rules" to reach localization

Các quy định toán học

Access8Math establishes 46 mathematical rules according to the mathematical type and logic to decide the reading math method and order. According to different local math reading logic, the math reading text and order can be changed. The method is as follows:

Edit: After entering the "math rule", the window lists 46 math rules. Choose any math rule and select the "Edit" to enter the editing entry.

Phần "Chỉnh sửa mục" có thể chia thành hai phần, "Đặt nối tiếp" và "Vai trò con".

  • Serialized ordering: Math rule is divided into multiple blocks according to the reading order. In this area, the reading order of child node and the delimitation text of start, inter- and the end can be changed. Taking the fractional rule mfrac as an example, this rule is divided into five reading blocks. The order 0, 2, and 4 represent the initial prompt, the project segmentation prompt, and the end prompt, respectively, and the meanings text can be changed in each field. Order 1 and 3 adjust the reading sequence of child node which can be changed in the drop-down menu.
  • Child role: The next-level sub-item of the mathematical rule. Taking the fractional rule mfrac as an example, the rule contains the numerator and the denominator. The sub-content in the upper sub-content meaning can be changed in the child-node role field.

Example: You can check the reading method of this math rule after editing. After clicking, a math content is preset the corresponding math rules for confirming whether the reading method is as expected.

Recover default: Restores the list of math rules to their initial presets.

Nạp: nạp các tập tin quy định toán.

Xuất: lưu tập tin quy định toán vào nơi quy định để lưu giữ hay chia sẻ.

example

Math contents in Wiki are all written by MathML.

  • Quadratic equation: https://en.wikipedia.org/wiki/Quadratic_equation
  • Matrix multiplication: https://en.wikipedia.org/wiki/Matrix_multiplication
  • Hàm cubic: https://en.wikipedia.org/wiki/Cubic_function

Phương trình bậc hai

  • LaTeX: (ax2+bx+c=0)
  • MathML: -b±b2-4ac2a

github: https://github.com/tsengwoody/Access8Math

Vui lòng báo lỗi hoặc đề xuất. Xin cảm ơn!

Access8Math v3.0 Update

  • Write mathematical content in AsciiMath
  • Write mathematical content in LaTeX
  • Writing mixed content (text content and mathematical content)
  • Use shortcut keys to move the cursor to different types of blocks in edit field
  • Use command menu to select commands in edit field
  • Set shortcuts in the LaTeX command menu
  • Review and export content in edit field to HTML

Access8Math v2.6 Update

  • Auto entering interactive mode when showing Access8Math interaction window.
  • You can choose how to hint no movement in interactive mode: beep or speech 'no move' two way.
  • The content of the current item will be repeated again When there is no movement.

Access8Math v2.5 Update

  • Adding Russian translation of rules and UI. Thanks to the translation work of Futyn-Maker.
  • Fixing compound symbol translation failed bug.
  • Removing duplicates of lowercase letters and added general uppercases in en unicode.dic(0370~03FF).

Access8Math v2.4 Update

  • Sửa lỗi

Access8Math v2.3 Update

  • Compatibility with Python3
  • refactoring module and fix code style
  • Adding one symbol vector rule

Access8Math v2.2 Update

  • fix bug incorrect speech when a single node has more characters.
  • Fix compatibility issue in NVDA 2019.2, thanks to pull requests of CyrilleB79.
  • Fix bug in unicode dict has duplicate symbols.
  • Add translations in French, thanks to the translation work of CyrilleB79.
  • Adjust keyboard shortcut.

Nhật kí cập nhật Access8Math 2.1

  • Định lý nhị thức
  • In interactive mode, "interaction window" can be displayed manually via ctrl+m when "interaction window" are not showed.
  • Sửa lỗi chuyển qua nhiều ngôn ngữ.
  • Add translations in Turkish, thanks to the translation work of cagri (çağrı doğan).
  • Cập nhật tương thích choh nvda 2019.1 kiểm tra tập tin manifest.ini.
  • Tái cấu trúc mã nguồn cửa sổ hộp thoại.

Nhật kí cập nhật Access8Math 2.0

  • Add multi-language new-adding and customizing settings,and add three windows of "unicode dictionary", "math rule", "New language adding"
  • The "unicode dictionary" can customize the reading way of each math symbolic text.
  • "math rule" can customize the reading method and preview the modification through the sample button before completed.
  • "Thêm ngôn ngữ mới" cho phép thêm các ngôn ngữ không có sẵn trong hệ thống. Ngôn ngữ mới sẽ được thêm vào Cài đặt chung, và tùy chỉnh đa ngôn ngữ có thể thực hiện thông qua định nghĩa của "từ điển unicode" và "quy tắc toán học".definition of "unicode dictionary" and "mathematical rules".
  • improved in interactive mode, you can use the number keys 7~9 to read sequence text in the unit of line.

Nhật kí cập nhật Access8Math 1.5

  • In "general setting" dialog box add setting pause time between items. Values from 1 to 100, the smaller the value, the shorter the pause time, and the greater the value, the longer the pause time.
  • Sửa lỗi hộp thoại cài đặt không lưu được cấu hình trong NVDA 2018.2.

Nhật kí cập nhật Access8Math 1.4

  • Adjust settings dialog box which divided into "general setting" and "rules setting" dialog box. "General Settings" is the original "Access8Math Settings" dialog box, and "Rule Settings" dialog box is for selecting whether specific rules are enabled.
  • Các quy tắc mới

    • vector rule: When there is a "⇀" right above two Identifier, the item is read as "Vector...".
    • frown rule:When there is a " ⌢ " right above two Identifier, the item is read as "frown...".
  • Sửa lỗi

Nhật kí cập nhật Access8Math 1.3

  • Quý tắc mới

    • positive rule: Read "positive" rather than "plus" when plus sign in first item or its previous item is certain operator.
    • square rule: When the power is 2, the item is read as "squared".
    • cubic rule: When the power is 3, the item is read as "cubed".
    • line rule: When there is "↔" right above two Identifier, the item is read as "Line ...".
    • line segment rule: When there is "¯" right above two Identifier, the item is read as "Line segement ...".
    • ray rule: When there is a "→" right above two Identifier, the item is read as "Ray ..."
  • Add interaction window: Pressing "Space" in math content to open "Access8Math interaction window" which contains "interaction" and "copy" button.

    • interaction: Into math content to navigate and browse.
    • sao chép: sao chép mã nguồn đối tượng MathML.
  • Thêm ngôn ngữ giao diện choh tiếng Trung giản thể (.po).

  • Adjust inheritance relationship between rules to ensure proper use of the appropriate rules in conflict.
  • Sửa lỗi

Nhật kí cập nhật Access8Math 1.2

  • Quý tắc mới

    • negative number rule: Read 'negative' rather than 'minus sign' when minus sign in first item or its previous item is certain operator.
    • integer add fraction rule: Read 'add' between integer and fraction when fraction previous item is integer.
  • Cải thiện kiến ​​trúc chương trình

    • add sibling class
    • add dynamic generate Complement class
  • Sửa lỗi

Nhật kí cập nhật Access8Math 1.1

  • In navigation mode command, "Ctrl+c" copy object MathML source code.
  • Hộp thoại cài đặt trong tùy chỉnh:

    • Ngôn ngữ: Access8Math đọc ngôn ngữ trên nội dung toán học.
    • Phân tích ý nghĩa toán học của nội dung: phân tích ngữ nghĩa nội dung toán học, phù hợp với các quy định cụ thể, đọc bằng ý nghĩa toán học của quy định đó.
    • Read defined meaning in dictionary: When the pattern is definied in the dictionary, use dictionary to read the meaning of subpart in the upper layer part.
    • Read of auto-generated meaning: When the pattern is not difined or incomplete in dictionary, use automatic generation function to read the meaning of subpart in the upper layer part.
  • Add some simple rule. Single rules are simplified versions of various rules. When the content only has one single item, for better understanding and reading without confusion, you can omit to choose not to read the script before and after the content.

  • Cập nhật unicode.dic.
  • Sửa lỗi