• Members 1533 posts
    July 27, 2026, 2:33 p.m.

    Earlier, I posted a thread about using Unicode to post e.g. writing y=xⁿ instead of ASCII y=x^n.

    There also ways to show a "real" equation, i.e. not as one long line of ASCII or Unicode, see long thread here:

    openphotographyforums.com/forums/threads/mathematical-equations-in-opf-posts.26844/page-2

    For example, click here: kronometric.org/phot/temp/mathml%20101%20file%20type.mml and the formula with show in a new tab at top left, small text. In HTML there are several ways to show it bigger, centered, etc.

    Here is the HTML code:

    <?xml version="1.0" encoding="UTF-8"?>
    
    <math xmlns="http://www.w3.org/1998/Math/MathML">
     <semantics>
      <mrow>
       <mrow>
        <mrow>
         <mo stretchy="false">(</mo>
         <mrow>
          <mfrac>
           <mi>t</mi>
           <msup>
            <mi>N</mi>
            <mn>2</mn>
           </msup>
          </mfrac>
         </mrow>
         <mo stretchy="false">)</mo>
        </mrow>
        <mo stretchy="false">=</mo>
        <mfrac>
         <mrow>
          <mrow>
           <mi>L</mi>
           <mo stretchy="false">×</mo>
           <mi>S</mi>
          </mrow>
         </mrow>
         <mi>K</mi>
        </mfrac>
       </mrow>
      </mrow>
      <annotation encoding="StarMath 5.0">( t over N^2 ) = {L times S} over K</annotation>
     </semantics>
    </math>

    Video: www.youtube.com/watch?v=gAux-vNEuIU&t=8s

  • July 27, 2026, 2:44 p.m.

    Why does this matter in this forum? Just curious as I haven't really noticed anyone else asking for it.

    Alan

  • July 27, 2026, 2:44 p.m.

    Misago editor does not support MathML. You can copy-paste rendered result as image here, if needed.

  • Members 1533 posts
    July 27, 2026, 3:26 p.m.

    I never said that Misago editor supports MathML.

    I said "For example, click here: kronometric.org/phot/temp/mathml%20101%20file%20type.mml and the formula with show in a new tab at top left, small text.", obviously showing that Misago supports hyperlinks (URLs).

  • Members 1533 posts
    July 27, 2026, 3:34 p.m.

    It matters to me as related to an earlier thread about Unicode; I did not expect any "whoopee"s and, right away, here come some negative responses with none positive so far.

  • Members 1883 posts
    July 27, 2026, 3:44 p.m.

    Not from me. We all use the internet and it's good to learn the options available. Also, if one happens to be into the theory behind optics, exposure etc, being able to display the equations in the usual math language is a real bonus.

  • Members 1533 posts
    July 27, 2026, 6:02 p.m.

    Thank you Bryan!

  • Members 2217 posts
    July 28, 2026, 10:51 a.m.

    This conversation intrigued me.
    It could be useful, even here on a photo forum, but creating such code blocks to render an equation looks mind boggling difficult.

    The modern answer is to use AI to do the hard work for you.
    ...Just make a handwritten equation and take a photo of it and ask ChatGTP to convert it.

    Takes only seconds to get the answer.
    E.g.
    here are two handwritten equations:
    Z equals.jpeg
    and something more challenging
    Schrödinger.jpeg

    You can then use this following text to tell ChatGTP what to do with these photos:

    Convert the handwritten mathematical equation in my uploaded image into a clean LaTeX code block. Show the LaTeX code. Render and display this equation in the correct mathematical style. Then convert that LaTeX code to a MathML code block with correct indenting and create a .html file with only the MathML equation formatted nicely and give the html file the name of the uploaded image.
    Allow me to click a link to download that html file

    you can check the answer you get from ChatGTP to see if everything was interpreted correctly

    If you then open these html files (generated for you by ChatGTP) locally in any browser (a double click is enough) it will display the equation beautifully
    (Chat GTP even knew what the equation represents!)

    Arvo told us that Misago unfortunately can’t render MathML code, but adding a link e.g. Z equals or Schrödinger to that newly generated html file would work fine. You can use Something like Github to host the html files and create the links, (dropbox won't work)

    Z equals.jpeg

    JPG, 79.8 KB, uploaded by Fireplace33 on July 28, 2026.

    Schrödinger.jpeg

    JPG, 45.4 KB, uploaded by Fireplace33 on July 28, 2026.

  • Members 1533 posts
    July 28, 2026, 1:52 p.m.

    most impressive !!!

    Github hurts my brain so I add a link to the MML file which is on my website, then go there and right-click (FireFox) to view the <math> ... </math> MML source code.

    Just posted a formula elsewhere using Arvo's image method:

    openphotographyforums.com/forums/threads/mathematical-equations-in-opf-posts.26844/page-2#post-218813

  • Members 1883 posts
    July 28, 2026, 2:21 p.m.

    I like that you found that or worked it out.

    I don't mind a bit of coding and MathML is just another markup language which follows the same overall rules which aren't overly complicated - just gotta learn the elements / words of the language - but having a table open of all the elements and another of implementation examples is the only way.

    I really wish I had heard of MathML earlier though. Over the years it would have really helped... But there are other ways - I didn't know that the Open Office math editor could be used stand alone either. I haven't tried it - just learnt that following Ted's links...

  • Members 1533 posts
    July 28, 2026, 3:06 p.m.

    I've just down-loaded LibreOffice which is more up-to-date but still does MathML with a somewhat better User Interface.

  • Members 2217 posts
    July 28, 2026, 3:43 p.m.

    Thanks.

    Just a small note.
    Misago can't render MathML equations, but it's possible to add some mods to Misago so that it could do so. AI tells you how it's possible.
    But we have very limited resources for any such things here and probably there's only a very small need for it.
    So, as Arvo said, it's not possible here.

  • Members 2217 posts
    July 28, 2026, 3:50 p.m.

    But why do the coding when AI is faster and better?
    It's somehow cool that it can convert an analog handwritten scribble to a printable professional looking equation. In seconds.

    AI will cause enough difficulties for us in the future, we might as well at least enjoy the free advantages while we can.

  • Members 1883 posts
    July 28, 2026, 3:51 p.m.

    No but at least we can write the code and make an image to post...

  • Members 1533 posts
    July 28, 2026, 8:18 p.m.

    I asked Google AI ...

    So us Users can modify Misago to that extent !!