Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2017, 01:32 PM   #1
harrythecrayest
Junior Member
harrythecrayest began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2017
Device: mobile
Inline Math equation editing

Hello every, I am a IT staff of a tutorial centre. I wish to know are the any ways to type math equation and symbols without editing html. Thank you very much.
harrythecrayest is offline   Reply With Quote
Advert
Old 05-31-2017, 01:40 PM   #2
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,429
Karma: 769772
Join Date: Nov 2009
Device: many
Most equation editors (see LibreOffice, MSOffice,etc), allow someone to save an equation as mathml mark-up which can be cut and pasted as text into an xhtml page. I use the equation editor in LibreOffice. It works nicely.

You can also use Latex to generate equations and save them as mathml.

Last edited by KevinH; 05-31-2017 at 08:56 PM.
KevinH is offline   Reply With Quote
Old 05-31-2017, 08:41 PM   #3
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 617
Karma: 7507886
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
Most epub readers won't support mathml (at least for epub2). That said, if the goal is to let people not familiar with html write texts with math, maybe simple markdown with latex-math support would work. Take a look at pandoc. Pandocs markdown allows math equations and can be converted to html, epub, latex and pdf.
dickloraine is offline   Reply With Quote
Old 06-01-2017, 02:08 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,359
Karma: 117701645
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
As mentioned before, support for MathML is scarce. I usually convert the equation to SVG. That way it scales quite well. You can create the equation directly on the codecogs site. If the equations are in Word, you can use my add-in to convert them to SVG or PNG.
Toxaris is offline   Reply With Quote
Old 06-01-2017, 10:15 AM   #5
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,429
Karma: 769772
Join Date: Nov 2009
Device: many
Toxaris,
How do you convert MS math to an SVG or PNG? Can it be done on the fly? I have looked at a number of projects that try to convert mathml to svg but these are typically MathJax based javascript routines that are not easy to integrate into Sigil.

Thanks,

Kevin
KevinH is offline   Reply With Quote
Advert
Old 06-01-2017, 12:35 PM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,359
Karma: 117701645
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by KevinH View Post
Toxaris,
How do you convert MS math to an SVG or PNG? Can it be done on the fly? I have looked at a number of projects that try to convert mathml to svg but these are typically MathJax based javascript routines that are not easy to integrate into Sigil.

Thanks,

Kevin
I can either extract it from a Word document in the OMath format and convert that to MathML and subsequent to SVG. The SVG can be converted to PNG.
The MathML to SVG code is based on SVGMath I believe it was, which is written in Python. I have converted it to C# for easier integration. However, the current version of my add-in uses a compiled version of SVGMath, but that is going away in the new version. Then I will use my library.
Toxaris is offline   Reply With Quote
Old 06-01-2017, 02:11 PM   #7
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,429
Karma: 769772
Join Date: Nov 2009
Device: many
I'll have to dig up svgmath and see what its capabilities are.

Thanks!
KevinH is offline   Reply With Quote
Old 06-01-2017, 03:07 PM   #8
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,359
Karma: 117701645
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by KevinH View Post
I'll have to dig up svgmath and see what its capabilities are.

Thanks!
No problem, if you want to know how to convert from OMath to MathML, let me know.
Toxaris is offline   Reply With Quote
Old 06-01-2017, 03:45 PM   #9
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,429
Karma: 769772
Join Date: Nov 2009
Device: many
I was more thinking of a Preview mode fast inline mathml to svg conversion. Using MathJax can be quite slow (even with MathJax stripped down and condensed to one file as we use it). Since Preview gets constantly updated and reloaded with every change, speed to convert mathml to svg is important when previewing an epub with mathml.

So if a C-version (or python) of the routines in svgmath can be used, it would help prevent lag when using Sigil in Preview to see mathml.
KevinH is offline   Reply With Quote
Old 06-01-2017, 04:32 PM   #10
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,359
Karma: 117701645
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
The python program is not particularly fast, but perhaps faster than MathJax.
Toxaris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing content.opf with clips; Editing visibility varlog Sigil 45 04-24-2016 07:55 AM
Free Book - The Henderson Equation (DF) koland Deals, Freebies, and Resources (No Self-Promotion) 0 07-23-2012 10:37 AM
Asus Eee Slate has pretty impressive HWR + Equation Editor grumpy3b General Discussions 4 04-23-2011 08:55 AM
Science Fiction Godwin, Tom: The Nothing Equation. v1. 29 Jan 09 Dr. Drib Kindle Books (offline) 0 01-29-2009 01:55 PM
Science Fiction Godwin, Tom: The Nothing Equation. v1. 29 Jan 09 Dr. Drib BBeB/LRF Books (offline) 0 01-29-2009 01:50 PM


All times are GMT -4. The time now is 11:51 AM.


MobileRead.com is a privately owned, operated and funded community.