Comments (2)
“It seems that all the formulae in this paper have the same weird form. "
basically because all the TeX markup has the same “weird form”.
Namely, it looks like all displayed formula are typeset using either
eqnarray or an array with a dozen columns (most of which end up empty).
The immediate cause of what you’re seeing is that mtext is the fallback
for cmml conversion when latexml doesn’t know what else to generate.
When I wrote it, it wasn’t 100% clear that it was an error, but perhaps
merror would be more appropriate?
At the next level, I took some trouble to make at least a little sense
out of eqnarrays, but that leads to a dilemma: An eqnarray (or alignments of
equations in general) is a single presentational object (either an mtable in mml,
or a table at the html level containing mml), but contains several content
objects (ie. the equations, themselves, if I could heuristicate them).
I can, and do, markup such a beast in latexml, but there’s no direct
correspondence to an mml semantics structure, which is what you’re trying
to generate here. In other words, it’s not clear what “parallel markup”
should be in this case. Any suggestions?
Knowing what the author intended with the array markup, in principle
one could generate structures similar to eqnarray, but such a heuristic
certainly doesn’t apply to math arrays in general.
Finally, the author is using rather specialized notations, bra-ket etc.
One could do some interesting semantics here, but it needs human intervention.
In summary, there are some information architecture issues here
about what the desired representations should be. But, it also
seems unrealistic to expect automatic content extraction from
documents like this.
from latexml.
In the meantime, I have extended the grammar to handle some
quantum mechanical notations.
However, there are 2 basic issues:
- content markup (cmml, OM) cannot even realistically be attempted if
latexml has failed to parse the formula.
- even then, there are ambiguities that need to be resolved
(esp scripts) before a useful content can be generated.
Since the offending document fails on the first issue,
and may not even be reasonable to interpret, I’ll call this one “invalid”
Sorry, trac is bugging me to close tickets!
from latexml.
Related Issues (20)
- 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
- Text alignment HOT 1
- link to (sub)section in title of that (sub)section HOT 3
- Space between \micro-prefix and rest of unit symbol with siunitx HOT 1
- View of a page in a responsive mode with a smartphone HOT 2
- xfrac package fails with mathsvg HOT 5
- siunitx fails in mathmode with --mathsvg HOT 3
- Project home page link gives 404 HOT 1
- add viewBox to inline SVGs HOT 1
- support font sizes provided by the class
- Get Harps manual HOT 1
- Support for the .sty files already included in the directory HOT 4
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.