!qBjTvNDeNFthRIMZex:matrix.org

pigeon.digital

25 Members
www.pigeon.digital15 Servers

Load older messages


Timestamp Message
5 May 2020
10:04:07@aristaeus:tukom.orgaristaeusBut there's a bug with align/multiline stuff. Specifically, if I try and write a matrix:
10:04:23@aristaeus:tukom.orgaristaeus X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}
10:05:28@aristaeus:tukom.orgaristaeus The &'s show up as amp; and the backslashes disappear completely - I'm guessing it's because it turns into HTML before getting to KaTeX?
12:01:56@thosgood:matrix.orgTimdoes katex support the pmatrix environment?
12:02:46@aristaeus:tukom.orgaristaeusyep, see under environments: https://katex.org/docs/supported.html
12:03:09@thosgood:matrix.orgTimhuh interesting, i don’t remember finding a problem with this...
12:03:25@thosgood:matrix.orgTim does it work if you escape the & and \ with an extra \
12:04:12@aristaeus:tukom.orgaristaeusThe \ does, but not &
12:04:37@aristaeus:tukom.orgaristaeusAnd it would be kind of annoying having to write twice as many backslashes
12:05:35@aristaeus:tukom.orgaristaeus(it would also be nice to have \ket, but that's KaTeX's problem)
12:15:39@thosgood:matrix.orgTimhmm...
12:16:01@thosgood:matrix.orgTimhonestly i have no memory of what the code is doing, but i’ll have a look and see if i can figure it out
12:16:37@aristaeus:tukom.orgaristaeusIt's probably got something to do with the composer, so it might be worth waiting until you (or someone else) ports it to the new one
6 May 2020
23:40:55@thosgood:matrix.orgTimyeah i think this is it: it's from the parsing by the composer
23:44:38@thosgood:matrix.orgTimi don't think i'll be making any real edits to pigeon.digital i'm afraid, given how it will (hopefully) become redundant in the not-too-distant future
7 May 2020
00:19:13@aristaeus:tukom.orgaristaeusNo worries, I'm keen for real support too!
00:19:25@aristaeus:tukom.orgaristaeusIs this the right room to talk about the spec?
00:26:30@thosgood:matrix.orgTimprobably the best place, yes :)
00:38:05@aristaeus:tukom.orgaristaeus hmmm, looks like recent KaTeX does support \ket, so that particular complaint is moot
00:38:31@aristaeus:tukom.orgaristaeusBut I was going to say that it would be nice to support custom KaTeXs, in case there's a particular macro you really really need that isn't in standard KaTeX
00:39:17@aristaeus:tukom.orgaristaeusI think that's an argument for serverside rendering, since you can't know whether a particular client will support the macros you're using (even if it supports maths rendering)
02:05:28@hubert:uhoreg.cauhoregserver-side rendering doesn't really help with that situation. If we're on different servers, my server may support different macros from your server. The only way to ensure that the receiving client sees the exact math that the sender wants is for the sender to render.
02:07:37@aristaeus:tukom.orgaristaeusI was thinking render at my homeserver, and then send the result to other homeservers
02:08:24@aristaeus:tukom.orgaristaeusThat way if you put the whole lab on the same homeserver they can happily use the extra macros they need without needing to mess around with getting everyone to use a custom client
02:22:38@hubert:uhoreg.cauhoregserver-side rendering also doesn't work for encrypted rooms
02:23:02@aristaeus:tukom.orgaristaeusheh, I didn't think of that
11 May 2020
10:44:33@saad:matrix.orgSaad joined the room.
22 May 2020
14:21:12@cadair:openastronomy.orgAstroCadair removed their display name AstroCadair.
14:21:53@cadair:openastronomy.orgAstroCadair set their display name to AstroCadair.
5 Jun 2020
19:03:26@pestdoktor:matrix.fentker.eupestdoktor joined the room.

There are no newer messages yet.


Back to Room List