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Ă­as <maciaschain@posteo.net> wrote:
Hello, Diego,

Diego Zamboni <diego@zzamboni.org> 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