From: Marcin Borkowski <mbork@mbork.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Where to get started in creating my own org-mode exporter?
Date: Tue, 08 Sep 2015 10:22:37 +0200 [thread overview]
Message-ID: <87pp1tl3qq.fsf@mbork.pl> (raw)
In-Reply-To: <CAJVBcRMuESQdAe5Pne_h9VXRqrCxwytugZ7CJhY_6XLQmN8rrQ@mail.gmail.com>
On 2015-09-08, at 07:54, edward sillador <e19293001@gmail.com> wrote:
> Hello,
>
> I want to create my own org-mode exporter to support back end for latex
> pgfgantt package. Could someone please point me on a
> tutorial/reference on how to get started?
IIUC, you want to modify the LaTeX exporter. Hence, you want a /derived
backend/. See docstring for org-export-define-derived-backend, for
starters. (If not, see the docstring for org-export-define-backend.)
Then you /might/ want to see the notes for my EmacsConf2015 talk on
making Org-mode exporters (from scratch, not derived ones, but most of
that stuff is really applicable to both) -- see
https://github.com/mbork/ox-oddmuse -- and especially the references
therein. Then, you /might/ want to skim the sources in ox-latex. (It's
not extremely long: 2071 SLOC excluding blank lines, comments and
docstrings. I read most of that, and it took me a bit more than 7
hours. Also, running some of those functions through Edebug may be
instructive. And most probably you don't need to read all that code
anyway.)
And then, you may ask here.
> Thank you.
Hth,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
next prev parent reply other threads:[~2015-09-08 8:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 5:54 Where to get started in creating my own org-mode exporter? edward sillador
2015-09-08 8:22 ` Marcin Borkowski [this message]
2015-09-08 15:48 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pp1tl3qq.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.