Comments (6)
sorry, wrong entity there - that would be for \mathrsfs, not \cal
from latexml.
Actually both \mathcal & \mathscr map to mathvariant="script",
unfortunately. (RSFS is sorta halfway between script & fraktur,
but MathML doesn't give an intermediate)
At any rate, this one has been bugging me. I was surprised
that FF supports plane 1 now; Does MathPlayer? Is this safe
for other things, like Opera?
Doing the mapping would be annoying, but if it works and
is safe to use now, maybe that's a good thing.
Other tools like MathML indexers will have to be updated
(but will be eventually, anyway).
from latexml.
Replying to comment 2 @brucemiller:
Actually both \mathcal & \mathscr map to mathvariant="script",
unfortunately. (RSFS is sorta halfway between script & fraktur,
but MathML doesn't give an intermediate)
Yep, unfortunate.
At any rate, this one has been bugging me. I was surprised
that FF supports plane 1 now; Does MathPlayer? Is this safe
for other things, like Opera?
I'm afraid I don't know...
from latexml.
I just checked in a patch to the MathML generation, and a new
option to latexmlpost.
If you use the option --plane1 it will convert all the convertible
pairs of tokens & mathvariant to plane1, w/o the mathvariant.
It's all a bit of a mixed bag, as not all combinations that you
would expect are there, but between the two of them it seems to
work on Firefox. Apparently, some future release of MathPlayer
will support plane1, but no idea about when. I would think Opera
would be more inclined to support plane1 than mathvariant, but
currently (version 10) doesn't support all these codepoints.
So, in summary, using this option doesn't currently generate
very portable files, but it's there to experiment with.
A more restrictive option that only converted (say) script,fraktur and
double-struck might me more useful, but I hate introducing temporary
hacks...
So, let's pretend this one is closed -- for now :>
from latexml.
Thanks! My letters look great!
Unfortunately, it looks like I might have to work up a way to generate different pages for FF vs IE and Opera — well, I'm already doing html and xhtml+mathml versions of the pages...
from latexml.
I guess necessity overcame the ugliness...
I've added another option --hackplane1 to latexmlpost
which causes only the mathvariants script, fraktur and doublestruck
to be converted to plane1. This generates mathml
that works with current firefox and mathplayer,
and displays "correctly", providing the appropriate fonts are installed.
Hopefully, it won't be needed for long, but there it is.
from latexml.
Related Issues (20)
- `\braket{}` tex changed by `latexml` HOT 3
- pdftex_expanded test regression
- Win32 unicode paths HOT 1
- Bulk dump of ar5iv? HOT 10
- Using latexmls HOT 1
- Missing line break in text converted from fancyvrb environments HOT 1
- JATS: Section number appears within section title text HOT 1
- JATS: journal metadata not empty HOT 1
- JATS: <monospace> not output into JATS
- JATS: article title appears at end of body of text
- JATS: mixed-citation vs element-citation
- JATS: <inline-graphic> not output into JATS
- JATS: proper way to add author data (e.g. email, orcid) with LaTeXML
- JATS: proper way to add "author date" for LaTeXML
- JATS: proper way to add license/copyright info
- JATS: Use Commonmeta to generate JATS metadata HOT 8
- Install Fails on Windows 10 via "cpan LaTeXML" HOT 1
- Would like the ability to add static assets at a deeper directory level than the main html file HOT 2
- \hline in array creates empty row
- feat: support alt text via \Description command in ACM template HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latexml.