Commit Graph

16 Commits

Author SHA1 Message Date
Bastien Guerry bafd9a42f8 Move EXPERIMENTAL/* into contrib/lisp/ and change org-export.el accordingly. 2012-04-21 16:22:31 +02:00
Jambunathan K 55cdbc422b org-e-odt: Support for hierarchical numbering of fig, table etc
Introduced org-e-odt-enumerate-element &
org-e-odt-display-outline-level for hierarchical numbering.

Don't use org-export-get-ordinal (for now).

Combine org-e-odt-format-label-reference and
org-e-odt-format-label-definition in to a consolidated
org-e-odt-format-label.  Lots of related changes.
2012-04-15 01:44:19 +05:30
Jambunathan K bb291df296 org-e-odt: Handle caption/label for src blocks.
Add Listing-related entries to OrgOdtContentTemplate.xml,
OrgOdtStyles.xml.
2012-04-11 01:04:31 +05:30
Jambunathan K 8cded57cdb org-e-odt.el: Merge category strings and short caption changes 2012-04-06 14:34:58 +05:30
Jambunathan K 51e7e5dc41 org-e-odt.el: Handle conversion from odt to other formats.
Specifically take care of org-e-odt-convert and
org-e-odt-preferred-output-format.

Also other miscellaneous fixes.
2012-04-05 17:30:29 +05:30
Jambunathan K 05498b23ab org-e-odt: Fix handling of inline formula.
Also handle #+ODT_STYLES_FILE.
2012-04-05 02:23:18 +05:30
Jambunathan K 5d9c6d5853 org-e-odt: Various improvements 2012-04-04 22:30:54 +05:30
Nicolas Goaziou 3abf884c49 org-export: Apply property change to radio-target elements
* EXPERIMENTAL/org-e-html.el (org-e-html-radio-target): Apply property
  change to radio-target elements.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-radio-target): Apply
  property change to radio-target elements.
* EXPERIMENTAL/org-e-odt.el (org-e-odt-radio-target): Apply property
  change to radio-target elements.
2012-03-28 14:27:52 +02:00
Nicolas Goaziou 763991fbda org-element: Store keywords in upper cases
* EXPERIMENTAL/org-e-ascii.el (org-e-ascii-keyword): Apply keywords
  case change.
* EXPERIMENTAL/org-e-html.el (org-e-html-keyword): Apply keywords case
  change.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-keyword): Apply keywords
  case change.
* EXPERIMENTAL/org-e-odt.el (org-e-odt-keyword): Apply keywords case change.
* contrib/lisp/org-element.el (org-element-export-block-parser):
  Internally store type in upper cases.
(org-element-keyword-parser): Internally store keyword `:key' property
in upper cases.
(org-element-non-recursive-block-alist,
org-element-affiliated-keywords,
org-element-keyword-translation-alist, org-element-multiple-keywords,
org-element-parsed-keywords, org-element-dual-keywords):
Use uppercased keywords.
(org-element-current-element): Use uppercase for keywords.
(org-element-collect-affiliated-keywords): Store affiliated keywords
in upper cases.
* contrib/lisp/org-export.el (org-export-get-inbuffer-options,
  org-export-collect-tree-properties, org-export-resolve-fuzzy-link):
  Use upper cased keywords.
* testing/lisp/test-org-export.el: Update tests.
2012-03-28 14:27:15 +02:00
Jambunathan K 4512930860 org-e-odt: Use new source code handling API 2012-03-15 00:08:22 +05:30
Jambunathan K a49193da37 org-e-odt: Bring it to the same level as org-e-html 2012-03-05 01:22:20 +05:30
Jambunathan K b65725e039 org-e-html/org-e-odt: Support for code numbering 2012-03-02 13:11:49 +05:30
Jambunathan K d37b3681d6 org-e-odt: Few cleanups 2012-02-28 13:09:10 +05:30
Nicolas Goaziou 0fa24209cf org-export: Export snippets are not skipped automatically: back-ends decide
* contrib/lisp/org-export.el (org-export-snippet-backend): New
  function.
(org-export--skip-p): Remove automatic skip of export snippets.
* EXPERIMENTAL/org-e-ascii.el (org-e-ascii-export-snippet): Use new
  function.
* EXPERIMENTAL/org-e-html.el (org-e-html-export-snippet): Use new
  function.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-export-snippet): Use new
  function.
* EXPERIMENTAL/org-e-odt.el (org-e-odt-export-snippet): Use new
  function.
* testing/contrib/lisp/test-org-export.el: Add test.

The idea behind this change is that a given back-end may decide to
keep an export snippet not directly targetted at it (i.e. a beamer
back-end that would want to keep latex snippets).  Hence, filtering
snippets is on back-ends side, and a new function is added to help
them in that task.
2012-02-23 18:21:29 +01:00
Nicolas Goaziou 40e42b9dca org-export: New function `org-export-get-parent'
* contrib/lisp/org-export.el (org-export-get-parent): New function.
(org-export-data, org-export-get-previous-element,
org-export-get-next-element): Use new function.
* EXPERIMENTAL/org-e-ascii.el (org-e-ascii-item): Use new function.
  Refactor code.
(org-e-ascii-paragraph): Use new function.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-item): Use new function.
* EXPERIMENTAL/org-e-html.el (org-e-html-item): Use new function.
* EXPERIMENTAL/org-e-odt.el (org-e-odt-item): Use new function.
2012-02-22 18:23:44 +01:00
Jambunathan K c2ea76e710 org-e-odt: New ODT exporter based on org-export - A rough cut
This is based on org-e-html.  It can create simple documents.  Lots of
cleanups will follow.  With this change, org-e-html and org-e-odt can
develop independently.
2012-02-22 20:14:21 +05:30