From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GGZRNTwx6l9cdQAA0tVLHw (envelope-from ) for ; Mon, 28 Dec 2020 19:25:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OI8HMTwx6l+vRgAAbx9fmQ (envelope-from ) for ; Mon, 28 Dec 2020 19:25:48 +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 E56C494036A for ; Mon, 28 Dec 2020 19:25:47 +0000 (UTC) Received: from localhost ([::1]:45272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kty9K-0005Ys-FN for larch@yhetil.org; Mon, 28 Dec 2020 14:25:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kty7r-0005Ye-At for emacs-orgmode@gnu.org; Mon, 28 Dec 2020 14:24:16 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:34984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kty7o-000400-Ke for emacs-orgmode@gnu.org; Mon, 28 Dec 2020 14:24:15 -0500 Received: by mail-ej1-x62e.google.com with SMTP id q22so15498770eja.2 for ; Mon, 28 Dec 2020 11:24:11 -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=AshBrDgg0ve5ODAaYYpMaWzGoKdqeF6lZ55HatQf9Ms=; b=ICjtdDtKP6dY0EQNhssZtcDLM2fv6nIacBr0JEHyW0sUPWx7ycA20fYxAATTPYSCa6 SpK1V5GuO4OG1Q+kMUQYqgXhopAr3zhRHMGm36Ife3/jRrHpmgH9Gmg9RaqS+SJse4gc Bqqgy1rcYAPloCxYzJSVSkKY528Ls/oxtUwe6ys6Y7e2etEsYDgbjHGS7xpD2QvVp+K7 I4jRu0kHKy28OPv8k0ScyuvxtdfhG7z2rcgIHuEtO9q+T1QUV4dE8G3A2w/OwIsxn4gT wb3Otr7ItqWfH2YtBFAPQc/ONTEsfrnmYJzgfMqLNs49AKBnPHLfMGwGXf3wSgbcX9hT na6Q== 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=AshBrDgg0ve5ODAaYYpMaWzGoKdqeF6lZ55HatQf9Ms=; b=oCnfO1XpZD+YLaG8z3YfStEgU/sV1SBThfMGfPXBnYWpdH9oZfzsgTR7OSl5g0FQkT wBmkadyZ8Q+c86iv1mNHWa1qNeSoG29cv1iRb3SkUAKqTV9Az3PzsU1nq5w6QQ9TFJdO t+WluEOvJq8IBl/llzVIiPhpnB92jfTZpyCemRCqY+mJ3rfNkJ/vvTCnSTsnrlAaomcD qC6T3Uci8QaV7CJIEQfmemBYBsg/BJdEUtndeW18Zafr6W6xptqFKJ4jGi1OSkTWrG6H jMEskCKcVg1f60wut2mAroT1f/VAgrYS5WiKkGUxHvchGqYsID6lRNw38vDSuFHLY57n 1KvQ== X-Gm-Message-State: AOAM531W0smXImvYph2FWeoAhd3iIDjzVkMnj/V1Fa4QqjXco2h+BEsi BFWcw+vt7P4JNmzEOPT/gnbtLCFAzuF6a8EFO9fxjA== X-Google-Smtp-Source: ABdhPJx2VYxX0thUM+CD3NuY4oDYbhx6uvUGEGNp2xgTJUuzod2L7XQ0g6Y/EPR9+aEPkoqi+6PIuKckgiEaLx5cBb8= X-Received: by 2002:a17:906:3949:: with SMTP id g9mr41583710eje.493.1609183450693; Mon, 28 Dec 2020 11:24:10 -0800 (PST) MIME-Version: 1.0 References: <87tus6oxsg.fsf@posteo.net> <874kk6ynt1.fsf@mbork.pl> <87o8idoljk.fsf@posteo.net> In-Reply-To: <87o8idoljk.fsf@posteo.net> From: Diego Zamboni Date: Mon, 28 Dec 2020 20:23:59 +0100 Message-ID: Subject: Re: Org to ConTeXt exporter? To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= Content-Type: multipart/alternative; boundary="000000000000f5140d05b78b3729" Received-SPF: none client-ip=2a00:1450:4864:20::62e; envelope-from=diego@zzamboni.org; helo=mail-ej1-x62e.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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=ICjtdDtK; 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: E56C494036A X-Spam-Score: -1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6wP8z14Hl+a4 --000000000000f5140d05b78b3729 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable By the way, I just realized that the ox-pandoc exporter ( https://github.com/kawabata/ox-pandoc) has a number of "context" options, since Pandoc itself supports ConTeXt output. I have no idea how well it works, but it could be an option for ConTeXt users for the time being. --Diego On Mon, Dec 28, 2020 at 7:03 PM Juan Manuel Mac=C3=ADas wrote: > Hello, Diego, > > Diego Zamboni writes: > > > 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 are right, maybe it is better to start with ox-latex, since LaTeX > and ConTeXt are related. > > > 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. > > Thank you very much for the link. As soon as I have some time I will > study your code > > Regards, > > Juan Manuel > --000000000000f5140d05b78b3729 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
By the way, I just realized that the ox-pandoc exporter (<= a href=3D"https://github.com/kawabata/ox-pandoc">https://github.com/kawabat= a/ox-pandoc) has a number of "context" options, since Pandoc = itself supports ConTeXt output. I have no idea how well it works, but it co= uld be an option for ConTeXt users for the time being.

-= -Diego


On Mon, Dec 28, 2020 at 7:03 PM Juan Manuel Mac= =C3=ADas <maciaschain@posteo.n= et> wrote:
d= iego@zzamboni.org> writes:

> I have never used ConTeXt, but from what I've seen, despite its ma= ny
> 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 are right, maybe it is better to start with ox-latex, since LaTeX
and ConTeXt are related.

> You can see an example in my own
> https://github.com/zzamb= oni/ox-leanpub/blob/master/ox-leanpub-markua.el,
> which uses ox-md as a backend for defining the new ox-markua exporter.=

Thank you very much for the link. As soon as I have some time I will
study your code

Regards,

Juan Manuel
--000000000000f5140d05b78b3729--