Comments (8)
I've just rendered PDF in my environment:
max
after U
and V
looks ok, but W(Cu)
looks with spaces.
jEuclid doesn't use justification.
Original source mathml:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>w</mi>
<mfenced open="(" close=")">
<mrow>
<mtext>Cu</mtext>
</mrow>
</mfenced>
<mo>=</mo>
<mn>1,3</mn>
<mo>×</mo>
<msup>
<mrow>
<mn>10</mn>
</mrow>
<mrow>
<mrow>
<mo>−</mo>
<mn>6</mn>
</mrow>
</mrow>
</msup>
</math>
If we move mfenced open="(" close=")"
into nested mtext
, i.e.:
<mrow>
<mtext>(Cu)</mtext>
</mrow>
then we get a bit compact view:
Looks like jEuclid adds some space for mfenced
.
In any case isn't looks as original (there isn't distance between w
and (
:
In the original docx, this equation typed as normal text (not Equation object in Word). If we insert it as Equation, then we get the distance between w
and (
:
My proposal - move mfenced
attributes into nested element in xslt on-fly.
from bipm-si-brochure.
I think the concern is about "Vmax" looking like "V m a x". The space between the parentheses is acceptable. Thanks!
from bipm-si-brochure.
BIPM xslt updated for decreasing space between (
and )
.
It affects on these equations: si-brochure-fr.presentation.mathml.pdf
from bipm-si-brochure.
Thank you @Intelligent2013 ! Can we close this now?
from bipm-si-brochure.
Done.
from bipm-si-brochure.
Need confirmation. In the latest provided si-brochure-fr.presentation.mathml.pdf
file, line 226 is this:
BIPM pointed out that:
There is still an error in item 226: the index ‘12’ before the C for carbon, should be a superscript, not a subscript: 12C.
But it is encoded correctly in source
[stem%unnumbered]
++++
ii(M)("X") = ii(A)_"r" ("X") [ii(M)(""^{12}"C")//12] = ii(A)_"r" ("X") ii(M)_{rm(u)}
++++
And also rendered correctly in the currently released version:
@Intelligent2013 could you help confirm the latest stylesheet is correct? Thanks!
from bipm-si-brochure.
Yes, the latest stylesheet (in mn-native-pdf/xslt_src) is correct and renders so:
si-brochure-fr.presentation.mathml.pdf shows only difference between source mathml markup and mfenced processing, but not all another mathml markup as preceding superscript, superscript one-level alignment, etc.)
from bipm-si-brochure.
Thank you!
from bipm-si-brochure.
Related Issues (20)
- PDF: Wrong fonts used when generated on GHA HOT 7
- BIPM final review: content errors to be fixed HOT 4
- BIPM final review: presentational errors to be fixed HOT 2
- BIPM final review: "NOTE :" French typographic rule inserts empty space before colons HOT 23
- BIPM final review: Links to BIPM outcomes should follow document language HOT 5
- BIPM final review: Update reference conventions to CIPM/CGPM/CCTF outcomes HOT 7
- BIPM final review: number spacing in groups of 3, but don't let 1 digit hanging
- Failure in generation on Ubuntu
- Brochure: Update configuration of grouping decimals HOT 1
- Brochure: Clarification about BIPM request HOT 2
- BIPM XSLT: Remove colons insertions HOT 3
- Displaying fetched non-ASCII characters HOT 4
- Indentation of table title HOT 7
- BIPM: Initials vs. list items issue HOT 2
- Unable to install dependencies HOT 1
- Site generate for collection generates component PDFs twice HOT 3
- Fix build HOT 6
- Update SI Brochure references to outcomes HOT 2
- Encoding indented editorial note HOT 3
- (URGENT) UnitsML encoding missing from resulting Semantic XML HOT 2
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 bipm-si-brochure.