Skip to content

Export WPS Formula to MathType Conversion

This document explains how to convert formulas in WPS files exported from Doc2X to MathType format.

System Requirements

  • Operating System: Windows platform
  • Required Software: MathType + WPS Office
  • Test Environment:
    • WPS Version: Latest official version 12.1.0.19302 (December 26, 2024)
    • Windows Version: Windows 10 22H2 Home Edition

MathType Plugin Installation Process

Step 1: Download Required Files

You need to download the following 7 files:

  1. Visual C++ Redistributable
  2. VBA Support Package
  3. VBA English Language Pack
  4. VBA Chinese Language Pack
  5. OMML Conversion File
  6. MathType Plugin File
  7. MathType Command Template

How to Obtain: These files can typically be obtained from the MathType official website or related technical support channels

Step 2: Install VBA to Enable WPS Macro Support

Install in the following order:

Installation Sequence

Visual C++ Redistributable Installation

Detailed Installation Steps

Install 1_vcredist_x86.exe:

  1. Double-click to run the installer
  2. An installation wizard will appear
  3. Check "I have read and accept the license terms"
  4. Click "Install" to complete installation
WPS Macro Function Verification

Install Other VBA Components:

  • Double-click to run 2_Vba71.msi, 3_Vba71_1033.msi, 4_Vba71_2052.msi
  • These software installations only show brief popup windows and require no additional operations

Verify VBA Installation

After installation, open WPS and check the Tools menu bar:

  • "Run Macro" option should be available (enabled state)
  • "Macro Security" option should be available (enabled state)
Copy Files to WPS Directory 1

Step 3: Install MathType Plugin

Steps:

  1. Open WPS installation directory
  2. Copy OMML2MML.XSL and MathPage.wll to the above directory

Note:

  • If you changed the installation directory when installing WPS, please adjust the path accordingly
  • AppData folder is a hidden folder; you can directly enter the full path in the address bar
Copy Files to WPS Directory 2
Copy Files to WPS Directory 3
  1. Open another WPS directory (this directory is fixed)
  2. Copy MathPage.wll and MathType Commands 2016.dotm to this directory
Copy Files to WPS Directory 4

Step 4: Verify MathType Plugin Installation

  1. Restart WPS
  2. Check MathType Tab:
    • A "MathType" tab should appear after opening WPS
    • All function buttons in the tab should be clickable
    • If all functions are available, the installation is complete
Select OMML Formula Type

Convert Formulas with MathType Plugin

Execute Conversion

  1. Open WPS document containing OMML formulas

  2. Click the MathType tab

  3. Click "Convert Formulas" button

Conversion Completion Confirmation
  1. Select OMML formulas in the popup window
    • Select "OMML Formulas" option
    • Click "Convert" button
Select Formula Type
  1. Wait for conversion to complete
    • The system will automatically process all OMML formulas in the document
    • A confirmation window will appear when conversion is complete
Wait for Conversion to Complete

Conversion Complete

The conversion process from OMML formulas to MathType formulas is now complete.

Important Notes

Installation Requirements

  • Ensure VBA components are installed in the correct order
  • MathType requires a legitimate license for full functionality
  • Close WPS and other Office programs during installation

System Compatibility

  • This tutorial is tested on Windows 10 system
  • Different versions of WPS may have directory differences
  • It's recommended to use newer versions of WPS for better compatibility

File Paths

  • Pay attention to the two different installation directories
  • AppData is a hidden folder; you need to show hidden files or enter the path directly
  • If you can't find the corresponding directory, search for key folder names

Troubleshooting

Q: No macro functionality in WPS after VBA installation?

A:

  1. Ensure all 4 VBA components were installed in order
  2. Restart WPS Office
  3. Check if your WPS version supports macro functionality

Q: MathType tab doesn't appear?

A:

  1. Confirm files were copied to the correct directories
  2. Restart WPS
  3. Check if files were mistakenly deleted by antivirus software

Q: Error message when converting formulas?

A:

  1. Ensure MathType is properly installed and activated
  2. Check compatibility between WPS version and MathType version
  3. Try reinstalling plugin files

Q: Can't find the specified installation directory?

A:

  1. Enter key folder names in Windows search
  2. Check if WPS was installed to a custom path
  3. You can view installation information through WPS Help menu

Alternative Solutions

If the above methods don't work, consider:

  1. Use Microsoft Word

    • Save WPS document as Word format
    • Use MathType conversion in Word
  2. Contact Technical Support

    • Consult MathType official technical support
    • Seek help from WPS user community
  3. Use Other Conversion Tools

    • Consider professional formula conversion software
    • Use online formula conversion services

If you encounter other issues, please refer to MathType official documentation or contact technical support.