From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gPxpBVAhuWBgfgEAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 20:37:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WM2JAFAhuWBMaQAAB5/wlQ (envelope-from ) for ; Thu, 03 Jun 2021 18:37:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 72C31208A6 for ; Thu, 3 Jun 2021 20:37:02 +0200 (CEST) Received: from localhost ([::1]:44120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1losDE-0004XO-Ax for larch@yhetil.org; Thu, 03 Jun 2021 14:37:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1losCR-0004VK-Ni for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 14:36:11 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:42705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1losCP-00061M-LM for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 14:36:11 -0400 Received: by mail-ed1-x534.google.com with SMTP id i13so8251522edb.9 for ; Thu, 03 Jun 2021 11:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=iPur3BcTZWqdF7GlUVM7Bw/KTL3bvq5WE22eQ8ZTxqk=; b=U3vyQ3CGsHIP9hNVgbMhBvLVcDd57rXX8imEKe+ZKeewfhQRjb05CnRY1WQBsSg/43 m4rYDwv5Avs04rSQX23Zj/n/Mn+XXMiMW2LDIv/NEK+bFAGFZIgQOAErsIGSp/x9eTE7 Qohd5Xi29KdcTqtABwQexbmSwLAm7P+TFVDvmsMktUwwRH1IqEJlwuZg9JYdDZJpjGuv Ce4mT1i1gWWFU/FpwhnjpasUvcCBXFI+DXNzVNrJwT5OlPcK3eqXg2RnFlD4/70no7ZV YnoYG7DkqJC6GzetxY9EnhFjaYho4SSj9GMo8dG0mKMFsejp5b+K8V/JuMdd0p6v5VFn P2eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=iPur3BcTZWqdF7GlUVM7Bw/KTL3bvq5WE22eQ8ZTxqk=; b=ir/II8h8qw2nrol3ErvduiQ3e8jUG8EnU1CZKy9slpTbQc/AkOA66WSl6wV7UgDETA 9uk0W504fUlxV5q3QzQcmFeybfhgOCb+WMBhM1Rt/rJqDtFIegqyvtyrKbO505NA7ZZ0 ORRteBIqfjp3EcO+EJQRTxBFJFrruG8QuFkYFvhoVNZMm2Uy0+/W3uaaOIwzkKqRXi/Y PzjPTQDlfhOwqakT29o3ibLNZvEWpav6qs2UDpb0MaeLbHq85Q8Q+fiUNTwGoq8eG57j a5GWyI2fvoRUCT45xUCfkU4N9IWY0YuVgJ0a4Fk2GQwc0eshGHX8h+nfODuIITgCObmV tUvA== X-Gm-Message-State: AOAM531cA3gBQJ+MzgaHont8907UX5V+BRnjzldNgPWmBUX2vL5YoWGm 5LULCCzUtxfuLgapIhgse0VHJz22EQPFKbpGq86x7/1AbjU= X-Google-Smtp-Source: ABdhPJxYHLCPWVgAYcauMqlhT0WzYZ0DJwDBitMy8de5mBd3P28SC6Rg+JwgZ7rQ1qL8pk5NTF9ESKALUaWs3ZfRLPg= X-Received: by 2002:a05:6402:946:: with SMTP id h6mr791047edz.261.1622745364688; Thu, 03 Jun 2021 11:36:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Galaxy Being Date: Thu, 3 Jun 2021 13:35:53 -0500 Message-ID: Subject: Re: Formatting content in a footnote for ox-tufte To: emacs-orgmode Mailinglist Content-Type: multipart/alternative; boundary="00000000000005f17805c3e0d92c" Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=borgauf@gmail.com; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622745422; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iPur3BcTZWqdF7GlUVM7Bw/KTL3bvq5WE22eQ8ZTxqk=; b=G9B2rYLzkxl0j5n0fuC2i7E86rDjE9ubEthniXQCRjIByV6lD1sxK89xPh33qh679DqTVD g5etwE3H5ztzhcZ82aj0FVNL4zCaVbN2hUSQGl6E6UN5JT9nI+89L07vDwCu7//qf4RwCN /MfJFtEPC6WW4cMlLXDjD2Nh6H94oDjOBQXbKliYew0XdEjdYSjk0KS2dBXOG8MhbMmCXJ 4LTjkbN4Mb70sTY8ivAvJ1sjKKmzCT4rXgo7X8P/Ykt0eBMHwe+jBuVqv0jN9b8fwkTanf fxBtdZGq0EypVlts+cZ9GVBnVSxlys/LBheveFskRfu4T5aXBqCr+hWgt5PQJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622745422; a=rsa-sha256; cv=none; b=Ecodd/OXjjtqeONx+qNpsVKI+Z+LWFF7PJOesoU0LZ1hBDFsv3vPs6Cr7TG8GmC7iwkKur yAu3+MoxeI5M5dQHea+J1ABcZv5MXHuiG41pn+qX52NaqndclFhHWkfBDRzjD8YYZ9eF0j YOAod+K5HRNubioWRr2wpZxzlHCJ3ZM/niZVC7xu3f8bPBz9UVabVPFCnfgeJqlslk39P6 7F/5OS+ow9e+DZUw1QN8x3UWKq/K/kwsogMeTkWtafM+8Ky0cYu1YbJE206qaSgfpucXMh 6olGA8MlMwz4p5XOWbSl1/U+jQaIdwg7d6+OkMj40C6a5QfHDOe92AH8IKzbJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=U3vyQ3CG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=U3vyQ3CG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 72C31208A6 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q01fV+TKibQt --00000000000005f17805c3e0d92c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I just discovered that the ox-tufte handling of footnote formatting is different from normal org mode formatting. Normal footnotes take source blocks while ox-tufte ignores them and all other blocks as well. On Wed, Jun 2, 2021 at 11:22 AM Galaxy Being wrote: > I'm using the org tufte ox-tufte > and started tweaking the underlying tufte.css > to my needs. It's really meant > for org html export, not like the more elaborate org-to-latex Tufte > formatting from org mode luminary Thomas Dye. As such, it gives you the > Tufte look-and-feel with fonts and the famed sidenote/margin note feature > -- all for just making a footnote (that appears beside its link in the te= xt > rather than the usual at the bottom of the page). The margin note > capability is gnarlier in that it is just a link in the main text that th= en > appears to the right of the main text > > [[mn:1][Here is some text that will appear as a side column block]][[mn:2= ][And > putting one right after the first one makes it look like a new paragraph]= ] > > Obviously, this is a limiting factor on how elaborate and expressive thes= e > side columns can be, especially the margin note which has your content > inside the link. However, the sidenote as a redirected footnote isn't too > bad. Still, I'd like to be able to fully format what goes into a footnote > without jumping through a lot of hoops. Here's an example of one footnote > as sidenote that comes out looking okay despite the kludginess > > [fn:1] Star chart for.... \\ > \\ > file:./images//Celestial_map_Hyi.png \\ > \\ > Just text for a few lines of text that is just meant as filler, not > anything important. Just here to show how text looks in a > sidenote. Cool, I think this is enough.\\ > \\ > ~foldr :: (a =E2=86=92 b =E2=86=92 b) =E2=86=92 b =E2=86=92 [a] =E2=86=92= b~ \\ > ~foldr f e [ ] =3D e~\\ > ~foldr f e (x : xs) =3D f x (foldr f e xs)~ \\ > \begin{align*} > v =3D \frac{x}{t} > \end{align*} > [[ > https://learning.edx.org/course/course-v1:EPFLx+MatlabeOctaveBeginnersX+1= T2017/home][MatLab > > and Octave training]] > > For one, I couldn't get any sort of normal org block formatting (e.g., > #+BEGIN_example...) for the code snippet to be recognized. Is there any > sort of "normal" content formatting for org footnotes? Obviously, the wor= st > is the margin note [[mn:... situation. That simply needs to be redone. > But a margin note differs from a sidenote only because the margin note is > not numbered. I tried the org-footnote-auto-label set to confirm, but it > always reverts back to plain numbering. > > Any ideas for improvement appreciated. This would be a really good-lookin= g > org html export option if it was bit more user-friendly. > > =E2=A8=BD > Lawrence Bottorff > Grand Marais, MN, USA > borgauf@gmail.com > --=20 =E2=A8=BD Lawrence Bottorff Grand Marais, MN, USA borgauf@gmail.com --00000000000005f17805c3e0d92c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I just discovered that the ox-tufte handling of footnote f= ormatting is different from normal org mode formatting. Normal footnotes ta= ke source blocks while ox-tufte ignores them and all other blocks as well.<= /div>
O= n Wed, Jun 2, 2021 at 11:22 AM Galaxy Being <borgauf@gmail.com> wrote:
I'm using the org tufte ox-tufte= and started tweaking the underlying tufte.css to my needs. It's really= meant for org html export, not like the more elaborate org-to-latex Tufte = formatting from org mode luminary Thomas Dye. As such, it gives you the Tuf= te look-and-feel with fonts and the famed sidenote/margin note feature -- a= ll for just making a footnote (that appears beside its link in the text rat= her than the usual at the bottom of the page). The margin note capability i= s gnarlier in that it is just a link in the main text that then appears to = the right of the main text

[[mn= :1][Here is some text that will appear as a side column block]][[mn:= 2][And putting one right after the first one makes it look like a new parag= raph]]

Obviously, this is a limiting factor= on how elaborate and expressive these side columns can be, especially=C2= =A0the margin note which has your content inside the link. However, the sid= enote as a redirected footnote isn't too bad. Still, I'd like to be= able to fully format what goes into a footnote without jumping through a l= ot of hoops. Here's an example of one footnote as sidenote that comes o= ut looking okay despite the kludginess

[fn:1] Star chart for.... \\
\\
file:./images//Celesti= al_map_Hyi.png \\
\\
Just text for a few lines of text that is just m= eant as filler, not
anything important. Just here to show how text looks= in a
sidenote. Cool, I think this is enough.\\
\\
~foldr :: (a = =E2=86=92 b =E2=86=92 b) =E2=86=92 b =E2=86=92 [a] =E2=86=92 b~ \\
~fold= r f e [ ] =3D e~\\
~foldr f e (x : xs) =3D f x (foldr f e xs)~ \\
\be= gin{align*}
v =3D \frac{x}{t}
\end{align*}
[[https://learning.edx.org/course/course-v1:EP= FLx+MatlabeOctaveBeginnersX+1T2017/home][MatLab and Octave training]]

For one, I couldn't get any sort of = normal org block formatting (e.g., #+BEGIN_example= ...) for the=C2=A0code snippet to be recognized. Is there any sort o= f "normal" content formatting for org footnotes? Obviously, the w= orst is the margin note [[mn:... situation.= That simply needs to be redone. But a margin note differs from a sidenote= =C2=A0only because the margin note is not numbered. I tried the org-footnot= e-auto-label set to confirm, but it always reverts back to plain numbering.=

Any ideas for improvement appreciated. This would= be a really good-looking org html export option if it was bit more user-fr= iendly.

=E2= =A8=BD
Lawrence Bottorff
Grand Marais, MN, USA


--
=E2=A8=BD
Lawrenc= e Bottorff
Grand Marais, MN, USA
--00000000000005f17805c3e0d92c--