#katex

/

      • jakehart has quit
      • jakehart joined the channel
      • PeterBocan joined the channel
      • PeterBocan
        Hello there
      • PeterBocan has quit
      • PeterBocan joined the channel
      • PeterBocan has quit
      • PeterBocan joined the channel
      • PeterBocan has quit
      • PeterBocan joined the channel
      • What shall I do, if I want to contribute, guys? :)
      • @spicyj hello
      • spicyj
        hello!
      • PeterBocan
        I`d like to contribute to KaTeX and I`m not sure where to start.
      • spicyj
        anything in particular you're looking to add or just looking to help out?
      • PeterBocan
        math fonts, that were requested on github.
      • I think I can handle it. :)
      • spicyj
        cool
      • the main thing we're looking for is TeX compatibility
      • for example, we got one fonts PR that worked correctly on some symbols but not others
      • or it worked on letters and numbers but not on symbols or something
      • and since Khan Academy (and others) are using KaTeX for what it can support and falling back to MathJax for others, it's important that if KaTeX renders something without throwing an exception then it looks right :)
      • (in some cases, MathJax and TeX deviate and we tend to prefer TeX's behavior)
      • PeterBocan
        I see. And what`s the support for fonts like bold-face, italic, etc. ?
      • spicyj
        right now we have the font files but we don't support the actual \mathbf, etc commands yet
      • in a lot of ways it's similar to how \color or sizing commands work though
      • PeterBocan
        Yea, but how to pass those fonts/CSS class name?
      • spicyj
        you'll probably need to add logic to pass it all down
      • I haven't thought about it enough to know exactly what needs changing
      • PeterBocan
        Okay, I'll play with it.
      • spicyj
        PeterBocan: xymostech actually made some progress with matrices recently so you might actually see something soon
      • PeterBocan
        Really? Amazing!
      • How come? :P
      • spicyj
        just a new idea about how to make the CSS work :)
      • PeterBocan
        What did she use?
      • I'm just digging into it, and I've added some console.log into \\text function.
      • Ah, okay, now I understand :D ...
      • Which make command should I use mainly? build?
      • spicyj
        I normally 'make serve' then go to http://127.0.0.1:7936/
      • PeterBocan
        I see
      • spicyj
        it should rebuild automatically then
      • PeterBocan
        I see you got your "mathrm" and "mathit" functions within buildCommon.js, not sure if I can "abuse" them.
      • spicyj
        oh, do those work?
      • doesn't look like those actually work
      • PeterBocan
        Nah, just thinking how I'm gonna do it.
      • So these don't work... so I need to tweak CSS, I think.
      • spicyj
        yeah, you will need to change some CSS