RE: [EXTERNAL] Re: MathML Core authoring tools?

LaTeX (or an AMS variant thereof) has \vmatrix. Isn't this unambiguously a determinant? \abs{} and \card{} seem to be needed in any case.

Thanks,
Murray

-----Original Message-----
From: David W. Farmer <farmer@aimath.org> 
Sent: Wednesday, December 7, 2022 10:01 AM
To: www-math@w3.org
Subject: [EXTERNAL] Re: MathML Core authoring tools?


It is a good idea to have a LaTeX file that tests MathML core.
It will also serve as a quick way for people to see how to author various constructions.

Are there ideas for how the LaTeX source will be aware that
|A|
means absolute value (or whichever of the many other things it might mean)?

I think it is reasonable to have several macros

\abs{A}
\det{A}
\card{A}

all of which render as
|A| .
But where is the information which provides the intent?


On Wed, 7 Dec 2022, Deyan Ginev wrote:

> Hi Lorenzo,
> 
> Great to hear that LyX has a MathML generator, I wasn't aware of that. 
> I see that it's written in C++ and covers a lot of territory. Cool!
> Including LyX in the W3C page is exactly what we would want to do, 
> especially if you're planning a MathML Core update.
> 
> As to "transition guides":
> 1. I think it will be very useful if we could prepare a large 
> "vanilla" LaTeX document full of equations, which exercises all of MathML Core. That way any latex-based generator can have a baseline for browser testing.
> 2. It may also be useful to have an itemized list of the small changes 
> (such as <mo> no longer allowing the "accent" attribute), which developers could use as a "checklist" while refactoring their code.
> 
> Maybe some of these kinds of resources already exist? I could help 
> with compiling the LaTeX doc if need be, but the itemized list will likely require the time of the usual MathML Core suspects.
> 
> Greetings,
> Deyan
> 
> 
> On Wed, Dec 7, 2022 at 11:45 AM Lorenzo Bertini <lorenzobertini97@gmail.com> wrote:
>       Il 06/12/22 09:04, Frédéric WANG ha scritto:
>       > Hello,
>       >
>       > For historical reasons, many MathML generators are based on MathML 3, or
>       > even the subset supported by Firefox. Now that browsers have been moving
>       > to MathML Core, it would be good to have a list of tools that have been
>       > updated to be more aligned with MathML Core (for some definition of
>       > "aligned") and be recommended for users.
>       >
>       > We already have https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3.org%2Fwiki%2FMath_Tools&data=05%7C01%7Cmurrays%40exchange.microsoft.com%7Cf5348a8ba19e404bff5808dad87d18a2%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C638060329071764316%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YL6im2nPpsjaK36EnNrkwY4prp789kOfra85u97fQAk%3D&reserved=0 but I'm not sure it's
>       > really up-to-date (even the two links of the Browsers section are broken
>       > and the CG's polyfills are not listed...). Perhaps it should be
>       > refreshed and reorganized so users targeting native browser support can
>       > more easily find relevant tools?
>       >
>       > To start the discussion:
>       >
>       > - We can probably remove "Mozilla Gecko/Firefox" and "Apple WebKit" from
>       > the list, since all the three main engines are going to support MathML
>       > Core.
>       > - I'm still maintaining TeXZilla and it was updated in 2019 during the
>       > MathML Core simplification (although it may probably still generate
>       > non-MathML Core features in some rare cases).
>       >
>       > This idea originated from the MDN discussions at
>       > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fpull%2F22640&data=05%7C01%7Cmurrays%40exchange.microsoft.com%7Cf5348a8ba19e404bff5808dad87d18a2%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C638060329071764316%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=K8rbphuItDjfHghOgJ%2F1ZIPsBOsbVdvUz1KO3YdGy1Q%3D&reserved=0.
>       >
>
>       I highly suggest adding LyX (https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lyx.org%2F&data=05%7C01%7Cmurrays%40exchange.microsoft.com%7Cf5348a8ba19e404bff5808dad87d18a2%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C638060329071764316%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2F6Lb%2F%2BOPUhSgRn3MSGJAgRSXzeq%2FQlYF1%2BBSVxt56UI%3D&reserved=0) to the list. It is an
>       actively maintained document processor that can output in a variety of
>       formats, including HTML/Docbook/Epub with MathML math. I've been
>       authoring MathML ebooks for the longest time with it.
>
>       Also, I think the "others" category should be renamed to "Document
>       processors".
>
>       On a side note, I sometimes send patches for LyX about MathML output.
>       What would I need to do to make it MathML core compliant?
>
>       Thanks,
>       --
>       Lorenzo
> 
> 
>

Received on Wednesday, 7 December 2022 18:09:18 UTC