emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: Bastien <bzg@altern.org>,
	"Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Subject: Re: Re: [Patch] HTML export -- Allow to change the name of the global DIV
Date: Mon, 14 Mar 2011 20:52:29 +0530	[thread overview]
Message-ID: <81oc5d3ex6.fsf@gmail.com> (raw)
In-Reply-To: <87y64hludx.fsf@fastmail.fm> (Matt Lundin's message of "Mon, 14 Mar 2011 09:11:06 -0400")

(On a related note)

As part of my odt exporter, I have factored out a generic exporter to
 which org-html.el and org-odt.el plugs in.

The generic exporter is callback driven. I have included the typical
callback that the odt exporter registers down below. 

The generic infrastructure is in place and very usable.  Adding new
callbacks or increasing the granularity of the 'entity' should only be a
matter of time.

I have probably jumped the queue here. Anyways, my formal patch for
integration in to core is only few hours or atmost 1 day away and I am
not kidding ...

For more info checkout out my `staging' branch.

Jambunathan K.

(defvar org-odt-entity-control-callbacks-alist
     . (org-odt-begin-export org-odt-end-export))
     . (org-odt-begin-document-content org-odt-end-document-content))
     . (org-odt-begin-document-body org-odt-end-document-body))
     . (org-odt-begin-environment org-odt-end-environment))
     . (org-html-begin-level org-html-end-level))
     . (org-odt-begin-footnote-definition org-odt-end-footnote-definition))
     . (org-odt-begin-table org-odt-end-table))
     . (org-odt-begin-table-rowgroup org-odt-end-table-rowgroup))
     . (org-odt-begin-list org-odt-end-list))
     . (org-odt-begin-list-item org-odt-end-list-item))
     . (org-odt-begin-section org-odt-end-section))
     . (org-odt-begin-paragraph org-odt-end-paragraph)))

(defvar org-odt-entity-format-callbacks-alist
  `((EXTRA-TARGETS . org-html-format-extra-targets)
    (ORG-TAGS . org-html-format-org-tags)
    (SECTION-NUMBER . org-html-format-section-number)
    (HEADLINE . org-html-format-headline)
    (TOC-ENTRY . org-html-format-toc-entry)
    (TOC-ITEM . org-html-format-toc-item)
    (TAGS . org-odt-format-tags)
    (SPACES . org-odt-format-spaces)
    (TABS . org-odt-format-tabs)
    (LINE-BREAK . org-odt-format-line-break)
    (FONTIFY . org-odt-format-fontify)
    (TODO . org-html-format-todo)
    (LINK . org-odt-format-link)
    (INLINE-IMAGE . org-odt-format-inline-image)
    (ORG-LINK . org-odt-format-org-link)
    (HEADING . org-odt-format-heading)
    (ANCHOR . org-odt-format-anchor)
    (TABLE-ROW . org-odt-format-table-row)
    (TABLE-CELL . org-odt-format-table-cell)
    (FOOTNOTES-SECTION . ignore)
    (FOOTNOTE-REFERENCE . org-odt-format-footnote-reference)
    (HORIZONTAL-LINE . org-odt-format-horizontal-line)
    (COMMENT . org-html-format-comment)
    (PLAIN . org-odt-format-plain))

Jambunthan K.

  reply	other threads:[~2011-03-14 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10 13:07 [Patch] HTML export -- Allow to change the name of the global DIV Sébastien Vauban
2011-03-11  8:37 ` Bastien
2011-03-11  9:09   ` Sébastien Vauban
2011-03-14 13:11   ` Matt Lundin
2011-03-14 15:22     ` Jambunathan K [this message]
2011-03-14 15:25       ` Jambunathan K

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81oc5d3ex6.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --cc=wxhgmqzgwmuf@spammotel.com \


* 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 public inbox


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).