WPS-Office equation editor
Solution 1:
For the first issue you need a set of fonts for WPS and this should be dropped into the /usr/share/fonts
folder for system wide access.
Now I have created a git repo with these fonts download it from here and add it like this:
- download fonts from here
- create a folder
sudo mkdir /usr/share/fonts/kingsoft
- copy the contents of that download to folder in (2)
- run
sudo chown -R $USER:$USER /usr/share/fonts/kingsoft
- run
sudo chmod -R o+rw,g+rw /usr/share/fonts/kingsoft
or leave as is if it hasread and write permissions
for owner (you) - run
sudo fc-cache -vfs
For the second issue. You could try this qalculate:
Install: sudo apt-get install qalculate
Qalculator resource: https://www.maketecheasier.com/qalculate-powerful-calculator-for-linux/
Solution 2:
I just downloaded the fonts and copy them into /usr/share/fonts/wps-office/
It worked for me!
The steps were:
- Download the fonts as a zip file: https://github.com/udoyen/wps-fonts
- Unzip the file wps-fonts-master.zip
- Move the .ttf files to /usr/share/fonts/wps-office/ (
sudo mv ~/Downloads/wps-fonts-master/* /usr/share/fonts/wps-office/
) - Restart WPS Office (If it's running)
Solution 3:
Following the steps that is in WPS Office Equation repository on Github.
-
Create and access a temporal directory.
$ mkdir tmp $ cd tmp
-
Clone the Git repository.
$ git clone https://github.com/iamdh4/ttf-wps-fonts.git
-
Enter the directory cloned
$ cd ttf-wps-fonts
-
Run the install script
$ sudo bash install.sh
-
Delete the temporal directory
$ rm -rf /tmp/ttf-wps-fonts
I tried it in WPS 10.1.0.5707 on Linux Mint 19 (based on Ubuntu 18.04).
Solution 4:
WPS Office does not have the tool to Equation Editor as it does in windows
On Windows Equation Editor Software executable .exe are inside this path:
C:\Users\yourusername\AppData\Local\Kingsoft\WPS Office\11.2.0.9906\office6\mui\default\resource\ksee
Note: You need enable view hidden files and folders in windows to find that path.
there is the next folder and files:
Fonts
ee3.dsc
EqnEdit.exe
Equation Editor.chm
Note: You can open the Windows help file on Linux with: xchm or kchmviewer
In the next picture on Linux I have that folder from WPS Office Windows Version with the executable:
EqnEdit.exe
Note: You can obtain that on Windows if you have installed WPS Office. Search in that path.
This software where made for:
http://www.dessci.com
Note: I do not know if in the future they ask that company to make a version for Linux
You can execute this on Linux with wine but the formula generated is not possible to insert to WPS Writer and this tool not have any way to export in file the content code formula language to view the code. But there is a way to enter that on WPS Office Linux version with code:
Enter Fraction and Radical Number in WPS Office Writer enabling Equation Field Code
Acording to this tutorial: http://help.wps.com/articles/how-to-enter-fraction-and-radical-number-in-writer to enable Toggle Field Codes you need to use the shortcut:
Ctrl+F9
now the following appears:
then in the generated field enter (or paste but wihout format):
eq \f(3,4)
Next, click the right mouse button and choose "Toggle Field Codes" from context menu:
now see a fraction:
And in that web page said the next example:
to do that enter:
eq \r(3,2)
with right clic:
and edit:
and appear:
[
I go to enter this in the same place:
eq \f(3,4 ) eq \r(3,2)
and appear repeated "eq":
for this reason delete this second word:
eq \f(3,4 ) \r(3,2)
and now ok:
Now I do other example:
eq × = \f(13 × 7,201 ÷ 6 ) ÷ \r(4, 2 ÷ 3)
And Togle Field Codes:
To do that I insert × and ÷ symbols with that tool in WPS Office:
¿The rest of the codes?
I do not know the language in which these codes are written, I have tried to search the Web for a manual to be able to write the formulas in code but I cannot find anywhere. At the moment what I am going to do is write to the developers because there on that page it says that they can be written:
If you know the codes help us