emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org to ConTeXt exporter?


From: Diego Zamboni
Subject: Re: Org to ConTeXt exporter?
Date: Mon, 28 Dec 2020 17:23:45 +0100

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ías <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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]