From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33322 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Guillaume Dehaene Newsgroups: gmane.text.pandoc Subject: Re: Show-and-tell: equation annotation for MathJax Date: Tue, 14 Nov 2023 09:27:20 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ab09bd060a188f4e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2325"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBC7JVCW5SUMBBBO7ZSVAMGQE7UECCRY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 14 09:27:55 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f58.google.com ([209.85.167.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r2om2-0000LY-SA for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 14 Nov 2023 09:27:54 +0100 Original-Received: by mail-lf1-f58.google.com with SMTP id 2adb3069b0e04-50985abb593sf5583748e87.3 for ; Tue, 14 Nov 2023 00:27:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699950474; cv=pass; d=google.com; s=arc-20160816; b=bzUq+32IKrhHaq0Yn9aVrYUBxadW/qaS3YMLiP/wos8/pcSKb+AZtedbWMVLZZ9kZ4 DXjOPR8kxbzfQ1u03yBPXJ7zmIWjoS38/icAixa3zodwTWlySAOgUll35N/TWqt8fy8O 5nZdJFRILgCOIhfOioDbVIEMpfk92OwD8K9lNfZYR62Ssf4UHbJmQCjUTEQIIUbsh8hs j14OV+xBoD6PBNdJbfn3ahrF13wp9lwnxWM1TWBfd6bLDtp6nR7x/xbkhJShn7Ycv/P4 iv5W9Ow6NABnDL+Hyiv+rTnCbI6PG3NMl49iTM1wop/0rFRUKcsjzehKxIJG4mdEp2z6 02+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=7lN4fh2q8nMc4hOX+7rbTy7w+YHCQEOsMzaMN86YHe0=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=pPyVdpVQQLIdgWA7nbUjHvrbjxW5ncnDhWkyCAoITWB+dcCigKgSvZ/JY0ZZAR7O4X 9XCCrBYH6lmhyLrr+6SCrMPaduaU/uXfjW3qxaOaZM1OfFNfBWM1By42DWx8bU1g/UFl NykWKgQWABfiBhKQ04F731yAvnN+Fg0/r1Xe2PBtWr1YhtnPNCpBrMshKKq6MOQrQZzb /xnp1B3SMzkgIJvR8bDa206+Q+dAPtzHR0zdKS6Ib1NveMlgg4kdv6/p0DWtVXd9t75h PkPVUYEXoaL28lz7a6QPoiqP+5H8IZoInXO4M6Ub7BGfmDH47Rw83JUosvl1j4NS2h/S xHrA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZaYv0WIe; spf=pass (google.com: domain of guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22f as permitted sender) smtp.mailfrom=guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1699950474; x=1700555274; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=7lN4fh2q8nMc4hOX+7rbTy7w+YHCQEOsMzaMN86YHe0=; b=wKnYujrMTAY6y7Nc2LNnLC2BLML1M1AtirLVbRQnnkZiVkauiDH72kTN0AtXEFzcY3 HmqWfp7wzfSUMa6DMLl4h8K4IuuVRbukGG9bcJejHBBolIKlQxkcMnhYQP1UKXJ1Kkfl y1X5pnu9As/6r7cQXPZm8L1O4hSxXHkXLBL+D1lBM20MT1CDM2sTrsZzmXzcnzrkLDxy EclfKo6rX/pA+4K4nQaNR4U8mHr/PKU+2eYWkjUvqPzyoJMaU0mFcT3x1Ra9pO8KyH1b Q22bbxG9FdT+3tysjJ4Cu6CfaB6kHxO2H8hhyPy9Ak9nGf/edjZW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699950474; x=1700555274; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=7lN4fh2q8nMc4hOX+7rbTy7w+YHCQEOsMzaMN86YHe0=; b=DeH9KQYDJqpwiVm+WYRkMGuqzkLZp99OX46rY8C4cbglH6eWQjMGATz9L/JI4lfKh0 BQZvXuzG1om7XHVgX59GoRbEKSFZOvWhmudS5NdFDNuzSglaFdpmnCsd2QETfPlitdS0 083PEB8S1sAqrylR5/RSfZhHoRcwoFCWKbKSqQpxbaboetyZiMMkqfxudwShuHGOdSbn k6iIc8HDL+0nSI+1KZ6ZBNyQGsZYSJ1iCtbpCDOtM3vGtzxB8uCMOvu8d5ZJ6TBL60p/ Mf5NRA7bJozKGQVZ+UPwQR2omacUt9hNZobJHwbLpiP7ro17xZ2/s6jI0ICu7/o6gK X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699950474; x=1700555274; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=7lN4fh2q8nMc4hOX+7rbTy7w+YHCQEOsMzaMN86YHe0=; b=HVpBkO0bv1TPUEQx8vNguGLo8GdyytCfU3plaFGvBq8poUwF8DTXd6+Z910ak91dxI 9reCigirnheVuuZOLlLmmHcmsW6nzf9lTGMjyCARDiVRYSeYnOTGTy6PjgH98gVl9eN7 S4SXP7vvtunyNy11JvT5uODbf7dOFhUw263/CIeS3eB/pxwbzzejrowP0Oe7ZgLmhQsa 0Xwa2bj44TmfJ5r/imTUMcGSmMxcVkj8/IV2xbr6Ry8CUG3Fr6gPAWL4BZbqmoKvXACr U4EiS5 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yzvx42k4RhNhbcc55YiioO32BApzJt2sFRNiSNCqGjP/XTHdkph UJ3n+Ilq8mxE3pjh2rdo7l4= X-Google-Smtp-Source: AGHT+IGTXwS5GuKQdzPGOeT9Yo5/YzqJRvaidL3lPUKrmCNgyYCfJmgAE7QfJQ5YxvTmhT48OE7gUQ== X-Received: by 2002:a05:6512:3290:b0:507:b8e1:76f0 with SMTP id p16-20020a056512329000b00507b8e176f0mr5787579lfe.22.1699950473120; Tue, 14 Nov 2023 00:27:53 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3e01:b0:507:b8d5:d6d3 with SMTP id i1-20020a0565123e0100b00507b8d5d6d3ls460607lfv.0.-pod-prod-09-eu; Tue, 14 Nov 2023 00:27:47 -0800 (PST) X-Received: by 2002:ac2:5ec1:0:b0:509:8fbf:7af0 with SMTP id d1-20020ac25ec1000000b005098fbf7af0mr5570231lfq.69.1699950466914; Tue, 14 Nov 2023 00:27:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699950466; cv=none; d=google.com; s=arc-20160816; b=rg2Oj2IV71AygBI5JoEUm90eLhqo7BHkh+LRhwwa4VDUhf7d5CW/StTaZhlTFX2nfb /XZ0fwZy/KKE7pq+aR4gGM6CHoNrkMLSqcoWVZzydRZiaDwgz99AuuKWArUyxNnn89MD SJ7ENUFdcsz5t1e+2zsD5tdE5OEJL4bL/UDJ3d5SdTBd0tJr/vjS4z6nntFgF78t02rK 3KwmYyFLuZqDysyP13basqXynH/EF6O4mjBVFAelYo24zLUyW9T3IeAJmDmvjanevpoR A2mj8AG2htHCELF5PeFwcuDORftsaTeFXlGZFAxkm1/ABGoPqQZwCgcrmOcLK5aU2PYU GhAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ltZacY1kayeLX1U6Rlvu0P9DgTiwFhdt/boamsT5VFI=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=bcCaovRDsLdqvwztHV4uDiO0tDLKhq4iLrjs7AugpEWGxC3Iwsbpph9xvlc8BvgO4S iIWkV42oA5J1dVEsZa2A6BTN483sfMCfb42e7/s3SJAo/g2zFbpl+Db2SRMh0y1QFHXy SJAyQFNdszQecnA9Fp13EWSmCAyoXJxMaNz45ecwasyt7nVdxunU5Y89aYHUi8VZ1TOs SX3AbNkWLK0vWqzrYHI5hNbw4+Z4IJ1YV3h89F2KtjB11upI+fHfFFUxcaw9+kQFiViz Kr3f+amVSXbshdNx7xneMGStY/zfl/KJavTE/oUc1qsXcaBcf0PsO9HAq8C5wngMoFK4 PLlw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZaYv0WIe; spf=pass (google.com: domain of guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22f as permitted sender) smtp.mailfrom=guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com. [2a00:1450:4864:20::22f]) by gmr-mx.google.com with ESMTPS id g8-20020a056512118800b005056618eed7si286944lfr.4.2023.11.14.00.27.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Nov 2023 00:27:46 -0800 (PST) Received-SPF: pass (google.com: domain of guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22f as permitted sender) client-ip=2a00:1450:4864:20::22f; Original-Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c59a4dd14cso63902211fa.2 for ; Tue, 14 Nov 2023 00:27:46 -0800 (PST) X-Received: by 2002:a05:651c:168e:b0:2c5:137d:6baa with SMTP id bd14-20020a05651c168e00b002c5137d6baamr1157407ljb.14.1699950466106; Tue, 14 Nov 2023 00:27:46 -0800 (PST) In-Reply-To: X-Original-Sender: guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZaYv0WIe; spf=pass (google.com: domain of guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22f as permitted sender) smtp.mailfrom=guillaume.dehaene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:33322 Archived-At: --000000000000ab09bd060a188f4e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, that's correct. This is a smart-margin feature. It wouldn't be too hard technically and probably desirable to annotate individual elements of an equation block (for example, consider highlighting a term being moved from one side of the equal side to the other in two successive equations) However, I've run into two design / UX issues when considering this case: - in the final HTML, how would the user interact with the annotation: - to see that an element is annotated (needs to work with nested annotations, with multiple annotations, etc) - to see which elements are concerned by the currently-displayed annotation (without interfering with the "is annotated" styling of the other elements of the equation block) etc - how would the writer specify the annotation, in a way that isn't too disruptive of their normal workflow? - this is the bigger issue for me. without a rich-text editor which supports highlighting of individual math elements, I don't know how to handle this even If I had a great answer, there remains the issue of hacking it inside of MathJax. At this point, it might be better to actually fork their code, instead of writing something a posteriori I'd love to have it as a feature someday, but it's in the distant future. Le lun. 13 nov. 2023 =C3=A0 17:32, Gwern Branwen a =C3=A9= crit : > So this does not let you annotate individual elements of the equation to > provide popups/links or color them, but is only whole-equation level and > basically a way to a margin-note/sidenote that aligns nicely with the > equation? > > -- > gwern > https://gwern.net > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAMwO0gzAOVy1QkYuR1MRwnG= ix%2BKsJJKfSMdFQka97jTUabQLQg%40mail.gmail.com > > . > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAKOoOVUVuWVjcX7UkvgJTCErekjDarzFCeSRU7_%3DZyNNqgCVUA%40mail= .gmail.com. --000000000000ab09bd060a188f4e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, that's correct. This is a smart-margin feature.
It wouldn't be too hard technically and probably desi= rable to annotate individual elements of an equation block
(for example,= consider highlighting a term being moved from one side of the equal side t= o the other in two successive equations)
However, I've run into two = design / UX issues when considering this case:
- in the final HTM= L, how would the user interact with the annotation:
=C2=A0 - to s= ee that an element is annotated (needs to work with nested annotations, wit= h multiple annotations, etc)
=C2=A0 - to see which elements are c= oncerned by the currently-displayed annotation (without interfering with th= e "is annotated" styling of the other elements of the equation bl= ock)
=C2=A0 etc
- how would the writer specify the anno= tation, in a way that isn't too disruptive of their normal workflow?
=C2=A0 - this is the bigger issue for me. without a rich-text edito= r which supports highlighting of individual math elements, I don't know= how=C2=A0to handle this

even If I had a great ans= wer, there remains the issue of hacking it inside of MathJax.
At this po= int, it might be better to actually fork their code, instead of writing som= ething a posteriori

I'd love to have it as a feature someday, bu= t it's in the distant future.

Le=C2=A0lun. 13 nov. 2023 =C3=A0=C2= =A017:32, Gwern Branwen <gwern@gwern.= net> a =C3=A9crit=C2=A0:
So this does not let you annotate ind= ividual elements of the equation to provide popups/links or color them, but= is only whole-equation level and basically a way to a margin-note/sidenote= that aligns nicely with the equation?

--

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwO0gzAOVy1QkYu= R1MRwnGix%2BKsJJKfSMdFQka97jTUabQLQg%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAKOoOVUVuWVjcX7UkvgJTCErekjDarzFCeSRU7= _%3DZyNNqgCVUA%40mail.gmail.com.
--000000000000ab09bd060a188f4e--