emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Where to get started in creating my own org-mode exporter?
@ 2015-09-08  5:54 edward sillador
  2015-09-08  8:22 ` Marcin Borkowski
  2015-09-08 15:48 ` Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: edward sillador @ 2015-09-08  5:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

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?

Thank you.

[-- Attachment #2: Type: text/html, Size: 234 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where to get started in creating my own org-mode exporter?
  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
  2015-09-08 15:48 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Marcin Borkowski @ 2015-09-08  8:22 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where to get started in creating my own org-mode exporter?
  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
@ 2015-09-08 15:48 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2015-09-08 15:48 UTC (permalink / raw)
  To: edward sillador; +Cc: emacs-orgmode

Hello,

edward sillador <e19293001@gmail.com> writes:

> 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?

For a reference, see
<http://orgmode.org/worg/dev/org-export-reference.html>.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-08 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2015-09-08 15:48 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).