MathMl
Oxygen general issues.
-
- Posts: 8
- Joined: Wed Jan 09, 2013 3:30 pm
MathMl
Post by frauborinski »
Hello,
i have an Element <Gleichung> with 1 or ∞ <math> Elements. In Author mode I want to show each of them as a block:
In the CSS it looks like this:
If I open the equation in Author mode with in Mathflow Style Editor a second math element appears in between the first one.
Example before I open the equation:
example after I open the equation:
When I disable Mathflow, it is OK,
when I disable display:block in CSS it works
I use:
Oxygen 16
Mathflow 2.0b style
Mac, Windows
my own framework with extra mathml (although mathml is part of oxygen’s frameworks).
Any help is greatly appreciated
Ulrike Borinski
i have an Element <Gleichung> with 1 or ∞ <math> Elements. In Author mode I want to show each of them as a block:
In the CSS it looks like this:
Code: Select all
Gleichung > mml|math
{
display:block !important;
margin-top:0.7em;
}
mml|math mml|*
{
display:inline !important;
}
Example before I open the equation:
Code: Select all
<Gleichung Nummerierung="false">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msup>
<mi>x</mi>
<mn>4</mn>
</msup>
</math>
</Gleichung>
Code: Select all
<Gleichung Nummerierung="false">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<math>
<msup>
<mi>x</mi>
<mn>4</mn>
</msup>
</math>
</math>
</Gleichung>
when I disable display:block in CSS it works
I use:
Oxygen 16
Mathflow 2.0b style
Mac, Windows
my own framework with extra mathml (although mathml is part of oxygen’s frameworks).
Any help is greatly appreciated
Ulrike Borinski
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: MathMl
Hi Ulrike,
Right now it is quite important in order to properly display mathml equations to have inline style specified on the <mathml> element. So changing it's display style to block will lead to the problems you encountered.
I found the following workaround, to add a static line break after each equation:
Would this workaround be enough for your needs?
Regards,
Radu
Right now it is quite important in order to properly display mathml equations to have inline style specified on the <mathml> element. So changing it's display style to block will lead to the problems you encountered.
I found the following workaround, to add a static line break after each equation:
Code: Select all
Gleichung > mml|math:after{
content:"\A";
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 8
- Joined: Wed Jan 09, 2013 3:30 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service