Jambunathan K
90a20261f1
org-e-html.el: Use `org-export-dictionary'
...
Don't use `org-export-language-setup'. Lots of miscellaneous cleanups to
enable clean compilation.
2012-07-13 03:26:13 +05:30
Jambunathan K
22a6d99d5a
org-export: Re-arrange entries in `org-export-dictionary'
...
* contrib/lisp/org-export.el (org-export-dictionary):
Re-arrange entries in ascending order.
2012-07-13 03:25:41 +05:30
Jambunathan K
936ff0703b
org-export: Update org-export-dictionary
...
* contrib/lisp/org-export.el (org-export-dictionary): Add
follwing new entires - "Author", "Date", "Equation" and
"Figure".
2012-07-13 03:25:29 +05:30
Nicolas Goaziou
1216df61cc
org-export: Implement multi-backend dictionary
...
* contrib/lisp/org-export.el (org-export-translate): New function.
(org-export-dictionary): New variable.
* contrib/lisp/org-e-ascii.el (org-e-ascii--build-toc,
org-e-ascii--list-listings, org-e-ascii--list-tables,
org-e-ascii-template, org-e-ascii--translate): Use new translation
system.
(org-e-ascii-dictionary): Remove variable.
2012-07-12 13:31:06 +02:00
Nicolas Goaziou
c75120aa71
org-element: Refactoring
2012-07-11 14:17:02 +02:00
Nicolas Goaziou
d5f5c77fcd
org-export: Small refactoring
...
* contrib/lisp/org-export.el (org-export-get-previous-element,
org-export-get-next-element): Small refactoring.
* testing/lisp/test-org-export.el: Add tests.
2012-07-10 19:22:04 +02:00
Nicolas Goaziou
bb9a26389c
org-element: Rename `org-export-set-element' into `org-element-set-element'
...
* contrib/lisp/org-element.el (org-element-set-element): New function.
* contrib/lisp/org-export.el (org-export-set-element): Removed function.
* testing/lisp/test-org-element.el: Add test.
* testing/lisp/test-org-export.el: Remove test.
2012-07-10 17:29:13 +02:00
Nicolas Goaziou
d9f975cf7b
org-element: Add setters to modify parse tree
...
* contrib/lisp/org-element.el (org-element-put-property,
org-element-set-contents, org-element-adopt-element): New
functions.
* testing/lisp/test-org-element.el: Add tests.
2012-07-10 17:23:33 +02:00
Nicolas Goaziou
9028c4655f
org-export: Improve a docstring
...
* contrib/lisp/org-export.el (org-export-get-genealogy): Improve
docstring.
2012-07-10 15:30:51 +02:00
Nicolas Goaziou
0bbc9fa075
org-export: Accept nil :post-blank property
...
* contrib/lisp/org-export.el (org-export-data): Nil :post-blank
property is equivalent to a value of 0.
2012-07-09 22:48:00 +02:00
Jambunathan K
0e9ec97ed4
org-e-odt.el: Don't rely on buffer positions
...
They may not be available when element translation is in effect.
2012-07-08 23:28:16 +05:30
Jambunathan K
b7be665ef3
org-e-html.el: Introduced `org-e-html-allow-name-attribute-in-anchors'
...
Apparently helps with creating epub formats. See
http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00391.html
2012-07-08 00:50:47 +05:30
Jambunathan K
c83e251ae0
org-e-html.el: Handle headlines with ID
2012-07-07 19:24:53 +05:30
Jambunathan K
14b093275f
org-e-html/org-e-odt: Handle links to headlines created with C-c C-l
2012-07-07 15:10:42 +05:30
Nicolas Goaziou
69540aba51
org-e-beamer: Fix defgroup
2012-07-07 00:51:02 +02:00
Nicolas Goaziou
3a70c90667
org-element: Implement a function to find object at point
...
* contrib/lisp/org-element.el (org-element-context): New function.
* testing/lisp/test-org-element.el: Add tests.
2012-07-07 00:49:13 +02:00
Bastien Guerry
9731a8b681
Fix `org-export-creator-string' and add the option `org-e-html-creator-string'.
...
* org-e-html.el (org-e-html-creator-string): New option.
(org-e-html-options-alist): Use it.
* org-export.el (org-export-creator-string): Don't use HTML
tags in the generic creator string.
Thanks to Nicolas for directions on what to change wrt this.
2012-07-06 09:09:31 +02:00
Nicolas Goaziou
b5eccf94df
org-export: Fix docstrings
2012-07-05 23:42:09 +02:00
Bastien Guerry
ec5cc394b4
org-export.el (org-export-filters-alist): Fix typo in docstring.
...
* org-export.el (org-export-filters-alist): Fix typo in docstring.
2012-07-05 18:06:14 +02:00
Bastien Guerry
820803ab95
Add links to Org mode and GNU Emacs websites in creator strings.
...
* org-html.el (org-export-as-html): Add links to the Org mode
and GNU Emacs websites When :html-postamble is set to 't.
* org-export.el (org-export-creator-string): Add links to the
Org mode and GNU Emacs websites.
2012-07-05 16:02:06 +02:00
Nicolas Goaziou
73951db845
org-export: Add a subtree property for each export option
...
* contrib/lisp/org-export.el (org-export-get-subtree-options): Add
a subtree property for each export option.
* testing/lisp/test-org-export.el: Add tests.
Properties names are obtained by adding "EXPORT_" prefix to buffer
keywords.
2012-07-05 13:44:26 +02:00
Nicolas Goaziou
e2cd9c398d
org-export: Modify exclude tags and select tags keywords
...
* contrib/lisp/org-export.el (org-export-options-alist):
EXPORT_EXCLUDE_TAGS (resp. EXPORT_SELECT_TAGS) becomes
EXCLUDE_TAGS (resp. SELECT_TAGS).
EXPORT_ prefix is required for subtree properties relative to export.
Thus, this change avoids confusion.
2012-07-04 18:38:48 +02:00
Nicolas Goaziou
c96431a2ea
org-export: Small clean-up
...
* contrib/lisp/org-export.el (org-export-get-subtree-options): Small
clean-up.
2012-07-04 18:00:31 +02:00
Nicolas Goaziou
a69f4b88c1
org-export: Fix byte-compilation
...
* contrib/lisp/org-export.el (org-export-with-current-buffer-copy):
Fix byte-compilation.
2012-07-02 11:56:17 +02:00
Nicolas Goaziou
0b89d5bcc6
org-export: Silence byte-compiler
2012-07-02 11:22:22 +02:00
Nicolas Goaziou
fd52a24160
org-e-beamer: Fix customize group and a variable name
2012-07-01 21:58:24 +02:00
Nicolas Goaziou
dab2505fb5
org-e-latex: Clean-up beamer parts in template
...
* contrib/lisp/org-e-latex.el (org-e-latex-template): Clean-up beamer
parts in template.
2012-06-30 16:31:20 +02:00
Nicolas Goaziou
e698ead540
Implement a Beamer back-end for org-export
...
* contrib/lisp/org-e-beamer.el: New file.
2012-06-30 16:31:19 +02:00
Nicolas Goaziou
475fac147b
org-element: Every keyword starting with ATTR_ is an affiliated keyword
...
* contrib/lisp/org-element.el (org-element-affiliated-keywords):
Remove attributes keywords from the list since they are, de facto,
affiliated keywords.
(org-element-multiple-keywords): Remove "attr" keywords from the list
since they always belong to that list.
(org-element--affiliated-re, org-element-collect-affiliated-keywords,
org-element-interpret--affiliated-keywords): Handle special attr
keywords correctly.
2012-06-30 13:49:46 +02:00
Nicolas Goaziou
ab82a9dcfe
Update tests and comments for new snippet syntax
...
* contrib/lisp/org-export.el (org-export-snippet-translation-alist):
Fix docstring.
(org-export-as): Fix code comment.
* testing/lisp/test-org-element.el: Update tests.
* testing/lisp/test-org-export.el: Update tests.
2012-06-30 10:01:28 +02:00
Nicolas Goaziou
2e38ed36cb
org-element: New syntax for export snippets
...
* contrib/lisp/org-element.el (org-element-export-snippet-parser,
org-element-export-snippet-interpreter,
org-element-export-snippet-successor): Use "@@backend:contents@@"
syntax.
2012-06-30 09:05:24 +02:00
Nicolas Goaziou
cf8d979d8c
org-element: Fix `org-element-map' when type looked after is plain text
...
* contrib/lisp/org-element.el (org-element-map): Fix `org-element-map'
when type looked after is plain text.
2012-06-25 15:45:56 +02:00
Nicolas Goaziou
802fc6581d
org-e-latex: Fix footnotes in item tags
...
* contrib/lisp/org-e-latex.el (org-e-latex--get-footnote-counter): New
function.
(org-e-latex-footnote-reference): Use new function.
2012-06-23 10:50:24 +02:00
Nicolas Goaziou
9696250e53
org-element: Small refactoring
...
* contrib/lisp/org-element.el (org-element-map): Remove use of `every'
function.
2012-06-22 15:30:13 +02:00
Nicolas Goaziou
bafe0fb295
org-export: Fix bug with default DATE value
...
* contrib/lisp/org-export.el (org-export-get-global-options): Parse
default value from parsed keywords, too.
* testing/lisp/test-org-export.el: Change test accordingly.
2012-06-22 15:07:07 +02:00
Nicolas Goaziou
62453c5bf4
Export backends: Interpret correctly DATE keyword
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-template--document-title):
Interpret correctly DATE keyword.
* contrib/lisp/org-e-html.el (org-e-html-format-date): Interpret
correctly DATE keyword.
* contrib/lisp/org-e-latex.el (org-e-latex-template): Interpret
correctly DATE keyword.
* contrib/lisp/org-e-odt.el (org-e-odt-format-preamble,
org-e-odt-update-meta-file): Interpret correctly DATE keyword.
2012-06-20 12:33:23 +02:00
Nicolas Goaziou
500567fab3
org-element: Parse contents of DATE keyword
...
* contrib/lisp/org-element.el (org-element-parsed-keywords): Parse
contents of DATE keyword.
2012-06-20 12:32:12 +02:00
Nicolas Goaziou
fca0169147
org-e-latex: Allow previously definied footnotes in item tag
...
* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference): Allow
previously definied footnotes in item tag.
2012-06-18 18:38:08 +02:00
Nicolas Goaziou
e8aafa3337
org-e-latex: Refactor code
...
* contrib/lisp/org-e-latex.el (org-e-latex--delayed-footnotes-definitions):
New function.
(org-e-latex-footnote-reference, org-e-latex-item): Use new function.
2012-06-18 14:28:47 +02:00
Nicolas Goaziou
add8d28ba2
org-e-latex: Support for footnote references in an item tag
2012-06-18 12:39:17 +02:00
Nicolas Goaziou
b2c413ecf6
org-element: Allow footnote references in an item tag
...
* contrib/lisp/org-element.el (org-element-object-restrictions): Allow
footnote references in an item tag.
2012-06-18 12:01:40 +02:00
Nicolas Goaziou
2900138774
org-export: Fix error when calling "l" from dispatcher
...
* contrib/lisp/org-export.el (org-export-dispatch): Fix error when
calling "l" from dispatcher.
2012-06-18 11:49:12 +02:00
Nicolas Goaziou
a69e6b6225
org-e-latex: Make headlines more robust in toc
...
* contrib/lisp/org-e-latex.el (org-e-latex-headline): Allow curly
brackets and replace square brackets with parenthesis in table of
contents when tags are removed.
2012-06-18 11:42:22 +02:00
Nicolas Goaziou
769fa4f7ab
org-e-latex: Follow `not-in-toc' specification for tags
...
* contrib/lisp/org-e-latex.el (org-e-latex-headline): Follow
`not-in-toc' specification for tags.
2012-06-18 10:39:51 +02:00
Nicolas Goaziou
04ad4ab417
org-export: Follow EXPORT_TITLE property when exporting subtree
...
* contrib/lisp/org-export.el (org-export-get-subtree-options): Make
sure point is at an headline and buffer isn't narrowed before
looking for EXPORT_TITLE property.
* testing/lisp/test-org-export.el: Add test.
2012-06-18 01:34:57 +02:00
Jambunathan K
a975751527
org-e-odt.el: Use `org-export-read-attribute'
2012-06-17 14:31:04 +05:30
Nicolas Goaziou
8840cd6ddc
org-e-latex: Babel language set through LANGUAGE keyword is loaded last
...
* contrib/lisp/org-e-latex.el (org-e-latex--guess-babel-language):
Make sure Babel language set through LANGUAGE keyword is loaded
last.
2012-06-15 17:19:26 +02:00
Nicolas Goaziou
393f2f5ae8
org-e-latex: Set Babel language according to LANGUAGE keyword
...
* contrib/lisp/org-e-latex.el (org-e-latex-babel-language-alist): New
variable.
(org-e-latex--guess-babel-language): New function.
(org-e-latex-template): Set babel language according to LANGUAGE keyword.
2012-06-15 12:07:21 +02:00
Nicolas Goaziou
a2fd96a3de
org-export: Fix code comments
2012-06-12 17:31:48 +02:00
Nicolas Goaziou
f2bfa3a6b2
org-element: Fix item interpreter when item doesn't start with a paragraph
...
* contrib/lisp/org-element.el (org-element-item-interpreter): Fix item
interpreter when item doesn't start with a paragraph.
* testing/lisp/test-org-element.el: Add test.
2012-06-12 14:29:53 +02:00