W3C home > Mailing lists > Public > www-math@w3.org > September 2012

Re: MathML & CSS ; mstyle

From: Paul Libbrecht <paul@hoplahup.net>
Date: Wed, 5 Sep 2012 14:18:42 +0200
Cc: www-math@w3.org
Message-Id: <DA15A934-143D-4060-ADEE-FE380C0DFC9B@hoplahup.net>
To: Frédéric WANG <fred.wang@free.fr>
Hello Frédéric,

> Just a quick test on the MathML2 testsuite (I could not find a zip archive for the MathML3 version).

Find one for today here:
	http://draft.i2geo.net/static/paultmp/mml-testsuite-main-2012-09-05.zip 
I avoided thus far to include a zip as part of the builds since it would make the folder (shared by every member of the group) yet bigger.
(we'd need one for each track: main, mathml3, mathmlcss).
I'd prefer sharing the testsuite source and explaining how to construct the output.

> Probably a better search could be done, but
> find -name *.mml | xargs grep "<mstyle" | egrep -v "background|color|scriptlevel|displaystyle|fontsize|fontstyle|fontweight|mathsize|fontfamily|scriptminsize"
> returns
> ./Presentation/GeneralLayout/mstyle/mstyle1.mml: <mstyle maxsize="1">
> ./Presentation/GeneralLayout/mstyle/mstyleAlinethick1.mml: <mstyle>
> ./Presentation/GeneralLayout/mstyle/mstyleAlinethick1.mml: <mstyle>
> ./Presentation/GeneralLayout/mstyle/mstyleAlinethick1.mml: <mstyle linethickness="2">
> ./Presentation/TokenElements/mo/moSminmax20.mml: <mstyle minsize='1cm' maxsize='3cm'>
> ./ErrorHandling/NumChildren/noChildPresentation.mml: <mstyle></mstyle>
> 
> This shows that the only use of <mstyle> outside the first category seems to be linethickness, maxsize, minsize. I filtered attributes from the first category and there are not a lot either as you can see above.

I had a bit more here. See below.

Paul

> >>> find main -name "*.mml" | xargs grep "<mstyle" | egrep -v "background|color|scriptlevel|displaystyle|fontsize|fontstyle|fontweight|mathsize|fontfamily|scriptminsize"

> main/Characters/Variants/double-struck.mml:  <mstyle mathvariant="double-struck">
> main/Characters/Variants/fraktur-bold.mml:  <mstyle mathvariant="bold-fraktur">
> main/Characters/Variants/fraktur.mml:  <mstyle mathvariant="fraktur">
> main/Characters/Variants/monospace.mml:  <mstyle mathvariant="monospace">
> main/Characters/Variants/sans-serif-bold-italic.mml:  <mstyle mathvariant="sans-serif-bold-italic">
> main/Characters/Variants/sans-serif-bold.mml:  <mstyle mathvariant="bold-sans-serif">
> main/Characters/Variants/sans-serif-italic.mml:  <mstyle mathvariant="sans-serif-italic">
> main/Characters/Variants/sans-serif.mml:  <mstyle mathvariant="sans-serif">
> main/Characters/Variants/script-bold.mml:  <mstyle mathvariant="bold-script">
> main/Characters/Variants/script.mml:  <mstyle mathvariant="script">
> main/Characters/Variants/serif-bold-italic.mml:  <mstyle mathvariant="bold-italic">
> main/Characters/Variants/serif-bold.mml:  <mstyle mathvariant="bold">
> main/Characters/Variants/serif-italic.mml:  <mstyle mathvariant="italic">
> main/Characters/Variants/serif.mml:  <mstyle mathvariant="normal">
> main/ErrorHandling/NumChildren/noChildPresentation.mml:        <mstyle></mstyle> 
> main/Presentation/GeneralLayout/mstyle/mstyle1.mml:  <mstyle maxsize="1">
> main/Presentation/GeneralLayout/mstyle/mstyleAlinethick1.mml:  <mstyle>
> main/Presentation/GeneralLayout/mstyle/mstyleAlinethick1.mml:  <mstyle>
> main/Presentation/GeneralLayout/mstyle/mstyleAlinethick1.mml:  <mstyle linethickness="2">
> main/Presentation/TokenElements/mo/moSminmax20.mml:  <mstyle minsize="1cm" maxsize="3cm">
> main/Topics/Accents/accents1.mml:      <mstyle accent="false">
> main/Topics/Accents/accents2.mml:      <mstyle accent="false">
> main/Topics/Accents/accents3.mml:      <mstyle accent="false">
> main/Topics/Accents/accents4.mml:      <mstyle accent="false">
> main/Topics/Accents/accents5.mml:      <mstyle accent="false" accentunder="false">
> main/Topics/Accents/accents6.mml:      <mstyle accent="false" accentunder="false">
> main/Topics/Accents/mover1.mml:    <mstyle accent="false">
> main/Topics/Accents/mover2.mml:    <mstyle accent="false">
> main/Topics/Accents/mover3.mml:    <mstyle accent="false">
> main/Topics/Accents/mover4.mml:    <mstyle accent="false">
> main/Topics/Accents/mover5.mml:    <mstyle accent="false">
> main/Topics/Accents/mover6.mml:    <mstyle accent="false">
> main/Topics/Accents/mover7.mml:    <mstyle accent="false">
> main/Topics/Accents/mover8.mml:    <mstyle accent="false">
> main/Topics/Accents/mover9.mml:    <mstyle accent="false">
> main/Topics/Accents/munder1.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder2.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder3.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder4.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder5.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder6.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder7.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder8.mml:    <mstyle accentunder="false">
> main/Topics/Accents/munder9.mml:    <mstyle accentunder="false">
> main/Topics/BiDi/ByElement/dir_menclose_circle.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_menclose_downdiagonalstrike.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_menclose_left.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_menclose_longdiv.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_menclose_many.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_menclose_radical.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mfenced.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mfrac_bevelled.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mfrac_left.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mfrac_right.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mmultiscripts.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mover.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mpadded.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mroot.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_msqrt.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_msub.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_msubsup.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_msup.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_mtable.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_munder.mml:        <mstyle dir="rtl">
> main/Topics/BiDi/ByElement/dir_munderover.mml:        <mstyle dir="rtl">
> main/Topics/ElementaryMathExamples/rec3-ElementaryMathExamples-17.mml:<math xmlns="http://www.w3.org/1998/Math/MathML">  <mstyle decimalpoint="٫">    <mlongdiv longdivstyle="stackedleftlinetop">
> main/Topics/LineBreak/linebreaking005-linebreakstyle.mml:    <mstyle linebreakstyle="before">
> main/Topics/LineBreak/linebreaking006-linebreakmultchar.mml:    <mstyle linebreakmultchar="·">
> main/Topics/LineBreak/linebreaking007-indentalign1.mml:    <mstyle indentalign="right">
> main/Topics/LineBreak/linebreaking008-indentalign2.mml:    <mstyle indenttarget="plus6">
> main/Topics/LineBreak/linebreaking010-indentshift.mml:    <mstyle indentshift="25%" indentalignlast="right">
> main/Topics/LineBreak/linebreaking011-indentamount.mml:    <mstyle indentshift="6em">
> main/Topics/LineBreak/linebreaking012-tables.mml:          <mstyle indentalign="id" indenttarget="plus1">
> main/Topics/LineBreak/linebreaking012-tables.mml:          <mstyle linebreakstyle="after">
Received on Wednesday, 5 September 2012 12:19:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 5 September 2012 12:19:20 GMT