From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IFrmA8QG6l+oUgAA0tVLHw (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 28 Dec 2020 16:24:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QOBdO8MG6l/MMgAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 28 Dec 2020 16:24:35 +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 3AE0294042C for <larch@yhetil.org>; Mon, 28 Dec 2020 16:24:35 +0000 (UTC) Received: from localhost ([::1]:43248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1ktvJx-0007oj-Rx for larch@yhetil.org; Mon, 28 Dec 2020 11:24:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <diego@zzamboni.org>) id 1ktvJU-0007oc-8Y for emacs-orgmode@gnu.org; Mon, 28 Dec 2020 11:24:04 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:42750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <diego@zzamboni.org>) id 1ktvJO-0007Dd-Ep for emacs-orgmode@gnu.org; Mon, 28 Dec 2020 11:24:04 -0500 Received: by mail-ed1-x534.google.com with SMTP id g24so10196677edw.9 for <emacs-orgmode@gnu.org>; Mon, 28 Dec 2020 08:23:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NdLWOHjsQbhKwNHekwnBcsL6WN5L87s0xC/+HzlgjaQ=; b=kNKKzLjj1txa9tfqCU8UCWEZXj0/E+S3hiF5VsT0kGRLPAGhCfCJzLRJSE0DnDxBg7 ZYUk1opo8/ECYfqxixnzTGjJ34X5JC7c5EmMWTBiNmYatI1B1I+mVWueFVofZFGqLpCD GgntP84Q/XT+Ixbs03xiyKqHup1oTZp4UQIUFrafZnvldAuHPUtWtvuBiCseJWDaBPGv aVF2GuQi5CufQyZnzl41dFd7SWXXHu6ocCeldAXHsT2PobUOXAz8mZa2mWj4sizfcIt+ pukC5KpYH1zVPnCb9l4jXhAW3LadTLv1KZ1xgWILMbimBo/K+knlnbotu8DsPy5b1iAH vinw== 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:cc; bh=NdLWOHjsQbhKwNHekwnBcsL6WN5L87s0xC/+HzlgjaQ=; b=Ap48vHGinUm8ubG9E2JslDp19JXUEvKHnFiDbuYjQSh72vRSpy/y6s1vea4H5Op5jd sxQD1/NNtXGpfHd06AhxJdkMHJn+a7fHpAZH0iJdSfIiDF+rU+xLqy86r91u0m1YP4DF kuOrDvszkd+TInjH/1L31GyMj/1GResXdxB8/VHA3Po7+aQYmzd75VTO4Eb3XgBYAlpR zTbGSp56ru6YkQo6WQSmya/DgYSUOc+VfXcE8Ko9m90aJk+a3bMBEwQhEeq2q+pixkFK 1t1++bew4eWDXtJi02x2e5RYswvtQvvXvpvjy5R3HC1b+vhsggX4l8c6xz8DMUjcUQ0t xfOA== X-Gm-Message-State: AOAM533zRnkREiQqQmDsS5j2LQ9j6P5kEQLcboCfLRmrXCI8YE6e3dEx MQOGIjVVdeHMXyd+pBjHwcwRoTOl/0ZOrqNHPUAyAgASyWNIGA== X-Google-Smtp-Source: ABdhPJzWrxG9d+FrxEuZJvSZs0DLP6J9yZCNr9Mq/orJb3V8muvoxZRmCMeoikBOp8w5vEYfiQghicZ75EmG07K2QPw= X-Received: by 2002:aa7:c603:: with SMTP id h3mr38616386edq.254.1609172636459; Mon, 28 Dec 2020 08:23:56 -0800 (PST) MIME-Version: 1.0 References: <87tus6oxsg.fsf@posteo.net> <874kk6ynt1.fsf@mbork.pl> In-Reply-To: <874kk6ynt1.fsf@mbork.pl> From: Diego Zamboni <diego@zzamboni.org> Date: Mon, 28 Dec 2020 17:23:45 +0100 Message-ID: <CAGY83Ef0uo9wVZKrvPkwXt33J+oTivuUtC_EWNhMZ=-TPoXcaQ@mail.gmail.com> Subject: Re: Org to ConTeXt exporter? To: Marcin Borkowski <mbork@mbork.pl> Content-Type: multipart/alternative; boundary="00000000000060f6d605b788b33f" Received-SPF: none client-ip=2a00:1450:4864:20::534; envelope-from=diego@zzamboni.org; helo=mail-ed1-x534.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= <maciaschain@posteo.net>, orgmode <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=kNKKzLjj; dmarc=none; 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: 3AE0294042C X-Spam-Score: -1.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: PGseWybTwc4r --00000000000060f6d605b788b33f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have never used ConTeXt, but from what I've seen, despite its many differences, a lot is still similar to TeX/LaTeX (e.g. math). Given this, I think it might be easier to create a new derived exporter from ox-latex, and override the parts that differ, instead of creating a new one completely from scratch. You can see an example in my own https://github.com/zzamboni/ox-leanpub/blob/master/ox-leanpub-markua.el, which uses ox-md as a backend for defining the new ox-markua exporter. There is also already some documentation at https://orgmode.org/worg/dev/org-export-reference.html --Diego On Mon, Dec 28, 2020 at 4:09 PM Marcin Borkowski <mbork@mbork.pl> wrote: > > On 2020-12-28, at 14:38, Juan Manuel Mac=C3=ADas <maciaschain@posteo.net> > wrote: > > > Hi, > > > > Just out of curiosity, I am wondering if there are plans to create an > > Org to ConTeXt exporter in the future, or if there is already some work > > in progress on this front. > > > > I have to say that among TeX formats I tend to prefer LaTeX to ConTeXt; > > but ConTeXt has very interesting features (grid typesetting, for > > example) that LaTeX lacks (for now) and has a more monolithic structure= , > > that is, it does not need to be extended through packages as in LaTeX. > > Creating an exporter from scratch is probably easier than you think. > A few years ago I planned a tutorial about this, but another job > happened, then covid happened etc. Now that I finished some big project > taking me a lot of time, I might be tempted to revisit that. Would > there be demand for a DYI Org-exporter-from-scratch tutorial? > > Best, > > -- > Marcin Borkowski > http://mbork.pl > > --00000000000060f6d605b788b33f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I have never used ConTeXt, but from what I've seen, de= spite its many differences, a lot is still similar to TeX/LaTeX (e.g. math)= . Given this, I think it might be easier to create a new derived exporter f= rom ox-latex, and override the parts that differ, instead of creating a new= one completely from scratch.<div><br></div><div>You can see an example in = my own <a href=3D"https://github.com/zzamboni/ox-leanpub/blob/master/ox-lea= npub-markua.el">https://github.com/zzamboni/ox-leanpub/blob/master/ox-leanp= ub-markua.el</a>, which uses ox-md as a backend for defining the new ox-mar= kua exporter.</div><div><br></div><div>There is also already some documenta= tion at=C2=A0<a href=3D"https://orgmode.org/worg/dev/org-export-reference.h= tml">https://orgmode.org/worg/dev/org-export-reference.html</a></div><div><= br></div><div>--Diego</div><div><br></div></div><br><div class=3D"gmail_quo= te"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 28, 2020 at 4:09 PM M= arcin Borkowski <<a href=3D"mailto:mbork@mbork.pl">mbork@mbork.pl</a>>= ; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px= 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> On 2020-12-28, at 14:38, Juan Manuel Mac=C3=ADas <<a href=3D"mailto:maci= aschain@posteo.net" target=3D"_blank">maciaschain@posteo.net</a>> wrote:= <br> <br> > Hi,<br> ><br> > Just out of curiosity, I am wondering if there are plans to create an<= br> > Org to ConTeXt exporter in the future, or if there is already some wor= k<br> > in progress on this front.<br> ><br> > I have to say that among TeX formats I tend to prefer LaTeX to ConTeXt= ;<br> > but ConTeXt has very interesting features (grid typesetting, for<br> > example) that LaTeX lacks (for now) and has a more monolithic structur= e,<br> > that is, it does not need to be extended through packages as in LaTeX.= <br> <br> Creating an exporter from scratch is probably easier than you think.<br> A few years ago I planned a tutorial about this, but another job<br> happened, then covid happened etc.=C2=A0 Now that I finished some big proje= ct<br> taking me a lot of time, I might be tempted to revisit that.=C2=A0 Would<br= > there be demand for a DYI Org-exporter-from-scratch tutorial?<br> <br> Best,<br> <br> -- <br> Marcin Borkowski<br> <a href=3D"http://mbork.pl" rel=3D"noreferrer" target=3D"_blank">http://mbo= rk.pl</a><br> <br> </blockquote></div> --00000000000060f6d605b788b33f--