Jambunathan K
fddc312c29
org-odt.el: Improve TOC entries
2012-12-23 12:44:43 +01:00
Jambunathan K
6e3e0176e3
org-e-odt.el: Emit priority in headlines, right justify tags
2012-12-23 12:44:43 +01:00
Jambunathan K
ef29557e6a
org-e-odt.el: Not all keywords are supported
2012-12-23 12:44:43 +01:00
Jambunathan K
ac19d91ab8
org-e-odt.el: Use new version of org-export-get-previous/next-element
2012-12-23 12:44:43 +01:00
Jambunathan K
5cf798dc24
org-e-odt.el: New experimental option `org-e-odt-use-date-fields'
2012-12-23 12:44:43 +01:00
Jambunathan K
4680247236
Fix Table of Contents, Clock block and various styles
2012-12-23 12:44:43 +01:00
Jambunathan K
8cf8c1d8c0
org-e-odt.el: Fix export issues on Windows XP
...
Fixes http://lists.gnu.org/archive/html/emacs-orgmode/2012-11/msg00747.html
2012-12-23 12:44:42 +01:00
Jambunathan K
26d0c053b4
org-e-odt.el: Honor `org-export-with-date'
...
* etc/styles/OrgOdtStyles.xml (OrgDate): New date style.
* contrib/lisp/org-e-odt.el (org-e-odt--date): Misc. change.
(org-e-odt-template): Honor `org-export-with-date'.
2012-12-23 12:44:42 +01:00
Jambunathan K
293a14d13f
Update OpenDocument schema files to v1.2 OASIS standard
...
* etc/schema/od-schema-v1.2-os.rnc: OASIS standard
* etc/schema/od-manifest-schema-v1.2-os.rnc: OASIS standard
* etc/schema/schemas.xml: Fix uri to rnc files.
* lisp/org-odt.el (org-export-odt-schema-dir): Modified to
accommodate change in rnc file names.
* contrib/lisp/org-e-odt.el (org-e-odt-schema-dir): Modified
to accommodate change in rnc file names.
2012-12-23 12:44:42 +01:00
Nicolas Goaziou
06872a4570
export back-ends: Activate asynchronous export
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-export-as-ascii,
org-e-ascii-export-to-ascii): Activate asynchronous export.
* contrib/lisp/org-e-beamer.el (org-e-beamer-export-as-latex,
org-e-beamer-export-to-latex): Activate asynchronous export.
* contrib/lisp/org-e-groff.el (org-e-groff-export-to-groff,
org-e-groff-export-to-pdf): Activate asynchronous export.
* contrib/lisp/org-e-html.el (org-e-html-export-as-html,
org-e-html-export-to-html): Activate asynchronous export.
* contrib/lisp/org-e-icalendar.el (org-e-icalendar-export-to-ics):
Activate asynchronous export.
* contrib/lisp/org-e-latex.el (org-e-latex-export-as-latex,
org-e-latex-export-to-latex, org-e-latex-export-to-pdf): Activate
asynchronous export.
* contrib/lisp/org-e-man.el (org-e-man-export-to-man,
org-e-man-export-to-pdf): Activate asynchronous export.
* contrib/lisp/org-e-odt.el (org-e-odt-export-to-odt): Activate
asynchronous export. Remove body-only argument.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-export-to-texinfo,
org-e-texinfo-export-to-info): Activate asynchronous export.
* contrib/lisp/org-md.el (org-md-export-as-markdown,
org-md-export-to-markdown): Activate asynchronous export.
2012-12-13 15:36:51 +01:00
Nicolas Goaziou
496ed832d8
export back-ends: Remove useless pub-dir argument from export commands
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-export-to-ascii): Remove
pub-dir argument.
* contrib/lisp/org-e-beamer.el (org-e-beamer-export-to-latex,
org-e-beamer-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-groff.el (org-e-groff-export-to-groff,
org-e-groff-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-html.el (org-e-html-export-to-html): Remove
pub-dir argument.
* contrib/lisp/org-e-latex.el (org-e-latex-export-to-latex,
org-e-latex-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-man.el (org-e-man-export-to-man,
org-e-man-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-odt.el (org-e-odt-export-to-odt): Remove pub-dir
argument.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-export-to-texinfo,
org-e-texinfo-export-to-info): Remove pub-dir argument.
* contrib/lisp/org-koma-letter.el (org-koma-letter-export-to-latex,
org-koma-letter-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-md.el (org-md-export-to-markdown): Remove pub-dir
argument.
Publishing mechansim does not call any export command. It only relies
on `org-export-file-name' and `org-export-to-file'. Only the former
has to support a pub-dir argument.
2012-11-29 21:52:43 +01:00
Jambunathan K
7cdfa64677
org-e-odt.el: Fix broken export
...
Followup to commit 9751dc45
. See also,
http://comments.gmane.org/gmane.emacs.orgmode/61784
2012-11-03 19:28:02 +01:00
Nicolas Goaziou
c60ef1d9d9
Export back-ends: Fix planning and clock export
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-clock,
org-e-ascii-planning): Fix export due to recent timestamps changes.
* contrib/lisp/org-e-groff.el (org-e-groff-clock,
org-e-groff-planning): Fix export due to recent timestamps changes.
* contrib/lisp/org-e-html.el (org-e-html-clock, org-e-html-planning):
Fix export due to recent timestamps changes.
* contrib/lisp/org-e-latex.el (org-e-latex-clock,
org-e-latex-planning): Fix export due to recent timestamps changes.
* contrib/lisp/org-e-odt.el (org-e-odt-clock, org-e-odt-planning): Fix
export due to recent timestamps changes.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-clock,
org-e-texinfo-planning): Fix export due to recent timestamps
changes.
2012-10-30 21:59:50 +01:00
Nicolas Goaziou
f6e936c2b9
Export back-ends: Update timestamp export
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-timestamp): Update
timestamp export.
* contrib/lisp/org-e-groff.el (org-e-groff-timestamp): Update
timestamp export.
* contrib/lisp/org-e-html.el (org-e-html-timestamp): Update timestamp
export.
* contrib/lisp/org-e-latex.el (org-e-latex-timestamp): Update
timestamp export.
* contrib/lisp/org-e-odt.el (org-e-odt-timestamp): Update timestamp
export.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-timestamp): Update
timestamp export.
2012-10-28 16:36:45 +01:00
Nicolas Goaziou
f04a5bcea1
Export back-ends: Install smart quotes module
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-plain-text): Install smart
quotes module.
* contrib/lisp/org-e-html.el (org-e-html-plain-text): Install smart
quotes module. Fix :preseve-breaks option.
(org-e-html--quotation-marks): Remove function.
(org-e-html-quotes): Remove variable.
* contrib/lisp/org-e-latex.el (org-e-latex-plain-text): Install smart
quotes module.
(org-e-latex--quotation-marks): Remove function.
(org-e-latex-quotes): Remove variable.
* contrib/lisp/org-e-odt.el (org-e-odt-plain-text): Install smart
quotes module.
(org-e-odt--quotation-marks): Remove function.
(org-e-odt-quotes): Remove variable.
* contrib/lisp/org-md.el (org-md-plain-text): Install smart quotes
module. Fix characters escaping.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-center-block,
org-e-texinfo-special-block): new functions.
(org-e-texinfo-quotes): Remove variable.
(org-e-texinfo--quotations-marks): Remove function.
(org-e-texinfo-plain-text): Install smart quotes module.
* contrib/lisp/org-e-groff.el (org-e-groff-plain-text): Install smart
quotes module. Fix line break preservation.
(org-e-groff--quotation-marks): Remove function.
(org-e-groff-quotes): Remove variable.
(org-e-groff-entity): Fix property name.
* contrib/lisp/org-e-man.el (org-e-man-entity): Fix property name.
(org-e-man-plain-text): Install smart quotes module. Fix line break
preservation.
(org-e-man-quotes): Remove variable.
(org-e-man--quotation-marks): Remove function.
2012-10-27 11:42:31 +02:00
Nicolas Goaziou
faa9eaa273
org-e-odt: Do not use function from org-exp.el
...
* contrib/lisp/org-e-odt.el (org-e-odt-link): Do not use function from
org-exp.el.
2012-10-08 08:19:59 +02:00
Achim Gratz
12e59b66d1
Merge branch 'maint'
2012-10-07 18:13:06 +02:00
Achim Gratz
4b9db1cce0
declare function org-solidify-link-text
...
* contrib/lisp/org-e-odt.el: Declare function org-solidify-link-text
from org-exp.
2012-10-07 18:11:36 +02:00
Achim Gratz
b47a7d5125
refer to libraries only by name
...
* contrib/lisp/org-e-odt.el: Replace arc-mode.el -> arc-mode.
* lisp/org-odt.el: Replace arc-mode.el -> arc-mode.
* lisp/org.el: Replace org-macs.el -> org-macs.
2012-10-07 18:11:25 +02:00
Bastien Guerry
2e94271bd1
Merge branch 'maint'
2012-10-03 12:15:35 +02:00
Bastien Guerry
21478e1733
Revert "org-odt.el (and org-e-odt.el): Simplify the way style/schema files are found"
...
This reverts commit d042e3add1
.
2012-10-03 12:13:47 +02:00
Bastien Guerry
1a029166a7
Revert "Fix compiler warnings introduced in commit d042e3a."
...
This reverts commit 79e907fd8c
.
2012-10-03 12:13:26 +02:00
Bastien Guerry
eba20536e9
Revert "org-e-odt.el: Bugfix: default to the correct directory for styles."
...
This reverts commit 27c6737813
.
2012-10-03 12:13:17 +02:00
Bastien Guerry
1700ea7722
Merge branch 'maint'
2012-10-03 10:30:54 +02:00
Bastien Guerry
27c6737813
org-e-odt.el: Bugfix: default to the correct directory for styles.
...
* org-e-odt.el (org-e-odt-styles-dir): Try more directories.
Don't throw an error, just send a message.
(org-e-odt): Fix a bug about deactivating an advice that was
activated by org-odt.el, not org-e-odt.el.
Thanks to Nick Dokos for reporting this.
2012-10-03 10:28:43 +02:00
Bastien Guerry
36b95d4491
Merge branch 'maint'
2012-10-02 17:58:00 +02:00
Bastien Guerry
79e907fd8c
Fix compiler warnings introduced in commit d042e3a
.
2012-10-02 17:57:51 +02:00
Bastien Guerry
410c5cb9e4
Merge branch 'maint'
2012-10-02 14:48:13 +02:00
Bastien Guerry
d042e3add1
org-odt.el (and org-e-odt.el): Simplify the way style/schema files are found
...
* org-odt.el (org-odt-lib-dir, org-odt-data-dir)
(org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
(org-export-odt-schema-dir, org-odt-styles-dir): Infer the
correct directories without requiring other variables.
* org-fixup.el (org-make-org-version, org-make-autoloads):
Don't define `org-odt-data-dir' in org-version.el.
* contrib/lisp/org-e-odt.el (org-e-odt-lib-dir, org-e-odt-data-dir)
(org-e-odt-schema-dir-list, org-e-odt-styles-dir-list): Delete.
(org-e-odt-schema-dir, org-e-odt-styles-dir): Infer the
correct directories without requiring other variables.
2012-10-02 14:47:04 +02:00
Bastien Guerry
fe7f964b49
Merge branch 'maint'
2012-09-28 17:47:53 +02:00
Bastien Guerry
222eae4033
Fix error messages: don't use a dot at the end
2012-09-28 17:47:48 +02:00
Jambunathan K
dd44a62c7e
org-e-odt.el: Fix earlier commit
...
Handle the case when latex fragment/environment fails to yield an
image or formula file.
2012-09-14 02:42:17 +05:30
Jambunathan K
3501be303e
org-e-odt.el: Pre-process LaTeX fragments
...
Handle enumeration more robustly. Numbered OpenDocument formula no
longer uses a table for typesetting of formula and it's number.
Also some renaming and moving around.
2012-09-14 02:11:03 +05:30
Nicolas Goaziou
a0e3e84edc
org-e-html/org-e-odt: Changes to caption handling
...
* contrib/lisp/org-e-html.el (org-e-html--caption/label-string,
org-e-html--wrap-label, org-e-html--find-verb-separator): Remove
functions.
(org-e-html-center-block, org-e-html-drawer, org-e-html-dynamic-block,
org-e-html-fixed-width, org-e-html-inline-src-block,
org-e-html-inlinetask, org-e-html-latex-environment,
org-e-html-plain-list, org-e-html-quote-block,
org-e-html-special-block, org-e-html-verse-block): Apply functions
removal.
(org-e-html-example-block, org-e-html-src-block): Allow textarea. Use
new caption scheme.
(org-e-html-horizontal-rule): Cleanup.
(org-e-html-link--inline-image, org-e-html-table): Use new caption
scheme.
* contrib/lisp/org-e-odt.el (org-e-odt--wrap-label,
org-e-odt--caption/label-string): Remove functions.
(org-e-odt-format-label): Use new caption scheme.
(org-e-odt-center-block, org-e-odt-drawer, org-e-odt-dynamic-block,
org-e-odt-example-block, org-e-odt-fixed-width,
org-e-odt-horizontal-rule, org-e-odt-inlinetask,
org-e-odt-latex-environment, org-e-odt-plain-list,
org-e-odt-quote-block, org-e-odt-special-block,
org-e-odt-verse-block): Apply functions removal.
In e-html export, textareas are now possible with the following
attribute:
#+ATTR_HTML: :textarea t :width 80 :height 10
:width and :height keywords are optional.
2012-09-13 17:33:46 +02:00
Bastien Guerry
6bcd44e914
Revert "org-e-html/org-e-odt: Autoload (org-export-define-backend ...)"
...
This reverts commit 830a0781a6
.
2012-09-10 22:14:31 +02:00
Jambunathan K
830a0781a6
org-e-html/org-e-odt: Autoload (org-export-define-backend ...)
...
Auto-create menu entries in the dispatcher UI.
2012-09-09 17:20:57 +05:30
Nicolas Goaziou
6b8276ce76
Export back-ends: add entry in `org-export-dispatch' when loaded
...
* contrib/lisp/org-e-ascii.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-beamer.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-groff.el (e-groff): Use
`org-export-define-backend'. Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-html.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-latex.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-man.el: Use `org-export-define-backend'. Add an
entry for `org-export-dispatch'.
* contrib/lisp/org-e-odt.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-texinfo.el: Use `org-export-define-backend'. Add an
entry for `org-export-dispatch'.
* contrib/lisp/org-md.el: Add an entry for `org-export-dispatch'.
2012-09-09 13:15:23 +02:00
Jambunathan K
f7de184e43
org-e-odt.el: Typeset list-tables within a grid
2012-09-05 03:21:06 +05:30
Jambunathan K
602ef336a7
org-e-odt.el: Don't use `org-e-odt--translate-description-lists'
2012-09-05 01:08:30 +05:30
Nicolas Goaziou
153ff40a2a
org-e-odt: Internalize filter
...
* contrib/lisp/org-e-odt.el (org-e-odt--translate-description-lists):
This is a developer filter, which should be handled by
`org-export-define-backend'. Also, such filters do not require
a back-end check.
`org-export-*-functions' are user-oriented variables.
2012-09-04 11:15:51 +02:00
Jambunathan K
7435489f1d
org-e-odt.el: Continue earlier commit
2012-09-04 14:28:05 +05:30
Jambunathan K
d7e75f3035
org-e-odt.el: Support for list-tables.
...
A list marked with non-nil `:list-table' attribute will be deemed as a
list-table. A typical list-table will look like this:
,----
| #+attr_odt :list-table t
| - Row 1
| - 1.1
| - 1.2
| - 1.3
| - Row 2
| - 2.1
| - 2.2
| - 2.3
`----
Also fix regression in indented table caused by recent `section'
changes.
2012-09-04 14:15:14 +05:30
Jambunathan K
0ea0a60c59
org-e-odt.el: Continue previous commit
2012-09-03 20:04:34 +05:30
Jambunathan K
3ad0618169
org-e-odt.el: Don't meddle with `org-file-apps'
2012-09-03 19:19:28 +05:30
Jambunathan K
845daf6648
org-e-odt-preferred-output-format: Make string values safe
2012-09-02 03:01:56 +05:30
Nicolas Goaziou
ea77b2ccb2
org-export: Use new API for macro expansion
...
* contrib/lisp/org-export.el (org-export-define-backend): Update
docstring.
(org-export-special-keywords): Remove "MACRO".
(org-export--get-inbuffer-options, org-export--get-buffer-attributes):
Remove internal macro handling.
(org-export-as): Use external tool instead.
(org-export-expand-macro): Remove function.
* contrib/lisp/org-e-ascii.el (org-e-ascii-macro): Remove function.
* contrib/lisp/org-e-groff.el (org-e-groff-macro): Remove function.
* contrib/lisp/org-e-html.el (org-e-html-macro): Remove function.
* contrib/lisp/org-e-latex.el (org-e-latex-macro): Remove function.
* contrib/lisp/org-e-man.el (org-e-man-macro): Remove function.
* contrib/lisp/org-e-odt.el (org-e-odt-macro): Remove function.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-macro): Remove
function.
* testing/lisp/test-org-export.el: Remove tests.
Since macros are now expanded before parsing (and produce Org syntax),
back-ends will never see them (unless NO-EXPAND argument from
`org-export-as' is non-nil, which isn't the case for any back-end so
far).
2012-09-01 10:56:00 +02:00
Jambunathan K
9c1d338834
org-e-odt.el: Support for indented tables.
...
1. Use element translation for description lists.
2. Handle low-level headlines.
3. Handle tables within listified headlines.
Some crude changes for creating references to a list item.
Also other misc changes.
2012-08-26 02:06:20 +05:30
Nicolas Goaziou
d86f09a854
org-element: Extract search option and application in "file"-type links
...
* lisp/org-element.el (org-element-link-type-is-file): New variable.
(org-element-link-parser): Extract search option and application in
"file"-type links.
* contrib/lisp/org-e-html.el (org-e-html-link): Remove components
extraction since this in now done in `org-element-link-parser'.
* contrib/lisp/org-e-odt.el: Remove components extraction since this
in now done in `org-element-link-parser'.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-link): Remove
components extraction since this in now done in
`org-element-link-parser'.
* contrib/lisp/org-e-latex.el (org-e-latex-link): Remove components
extraction since this in now done in `org-element-link-parser'.
* contrib/lisp/org-e-man.el (org-e-man-link): Remove components
extraction since this in now done in `org-element-link-parser'.
* contrib/lisp/org-e-groff.el (org-e-groff-link): Remove components
extraction since this in now done in `org-element-link-parser'.
* contrib/lisp/org-md.el (org-md-link): Remove components extraction
since this in now done in `org-element-link-parser'.
* testing/lisp/test-org-element.el: Add tests.
2012-08-25 10:38:25 +02:00
Bastien Guerry
a4bef9a73d
contrib: Do not tell files are part of Emacs if they are not (yet)
2012-08-16 00:01:59 +02:00
Nicolas Goaziou
5057ae0fc2
org-export: Require info argument in some topology functions
...
* contrib/lisp/org-export.el (org-export-first-sibling-p,
org-export-last-sibling-p, org-export-get-previous-element,
org-export-get-next-element): Add INFO argument. This is necessary
to ignore non-exportable elements or objects.
(org-export--skip-p): Apply signature change.
* testing/lisp/test-org-export.el: Add tests.
* contrib/lisp/org-e-odt.el (org-e-odt-footnote-reference): Apply
signature change.
* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference,
org-e-latex-headline, org-e-latex-table-cell): Apply signature
change.
* contrib/lisp/org-e-html.el (org-e-html-footnote-reference,
org-e-html-headline): Apply signature change.
* contrib/lisp/org-e-beamer.el (org-e-beamer-export-snippet,
org-e-beamer--format-block): Apply signature change.
2012-07-27 16:16:04 +02:00