Moving to -support as suggested. I dug into the HTML after MathJax does its thing, and that question mark is definitely getting a font-size reduction (as a percentage) set on it by MathJax. Increasing to 100% makes it better, but it actually appears to be slightly larger than if I put a question mark (outside math) right next to it by editing the page in Firefox’s inspector. This feels like a MathJax bug that probably should be punted to their support list, since PreTeXt isn’t doing anything other than moving the punctuation inside the math, wrapped in \text.
(Regarding the list, I would probably use two m elements in this context, since the comma is more part of the grammar of the sentence than the grammar of the math. If I were writing “Let x,y,z\in\mathbb{R}”, I would use a single math element and take the “math commas” in that case, since the commas in that case feel like they’re more part of the syntax of the math.)
> On Jun 29, 2022, at 10:16 AM, Jean-Sébastien Turcotte <
jsebastie...@gmail.com> wrote:
>
> Yes I agree that a comma starting a line is bad. And the comma difference isn't that much noticeable but the question mark is somewhat more. I never know when I enumerate math things if I should do <m>a</m>,<m>b</m> vs <m>a,b</m>. I feel like both could be warranted in a given context.
>
> Also I realise that this is the wrong forum for this, I thought I was in -support. Should we move it?
>
> On Wednesday, June 29, 2022 at 11:10:23 AM UTC-4
steven...@gmail.com wrote:
> The difference in presentation is likely unintended; I'm just explaining why it looks different. Folks who know more details on MathJax will have to comment on if it's fixable, but I think the different-looking comma is less obnoxious than a line-broken comma at least.
>
>
>
> Steven Clontz
>
https://clontz.org -
steven...@gmail.com
>
> On Wed, Jun 29, 2022 at 10:08 AM Jean-Sébastien Turcotte <
jsebastie...@gmail.com> wrote:
> So this is intended? Somehow I never noticed but it felt weird reading it today.
>
> On Wed, Jun 29, 2022 at 11:05 AM Steven Clontz <
steven...@gmail.com> wrote:
> The period is being included in the LaTeX fed to MathJax, so it won't be line-broken.
>
> The comma is handled similarly, but your original mathmode comma looks different because the injected punctuation is wrapped in \text: \vec{e}_1=(1,0),\vec{e}_2=(0,1)\text{,}
>
>
>
> Steven Clontz
>
https://clontz.org -
steven...@gmail.com
>
>
> On Wed, Jun 29, 2022 at 10:02 AM Jean-Sébastien Turcotte <
jsebastie...@gmail.com> wrote:
> In the guide, it says to put punctuation immediately after <m> </m> so that it can migrate correctly. However this seems to sometime produce a smaller font size.
>
>
>
> Compare line 3 at this Paragraph with the final question mark of the same paragraph.
>
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pretext-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pretext-dev/c5344e9b-a98f-43c2-b290-549eb5370951n%40googlegroups.com.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "PreTeXt development" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/pretext-dev/o_v5ruXmORQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
pretext-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pretext-dev/CAOWT6ThGpJ31ByEZVf%3DJCGWVVBTWM8irEWy0bQ2OO9zpQvskAA%40mail.gmail.com.
>
>
> --
> Jean-Sébastien Turcotte
>
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pretext-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pretext-dev/CAPuDJ%2BNh1gBOKLpp9bmsJUGZ-8%3Di96hS8BorV%2BBtTzb45SLsUQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pretext-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pretext-dev/354277a9-b824-492a-9423-894e7f965ea9n%40googlegroups.com.
--
Mitch Keller
mi...@rellek.net
http://www.rellek.net/