Grégoire Jadi
aff4b0b2de
Do not complete when it's not necessary
...
* contrib/lisp/org-contacts.el (org-contacts-message-complete-function):
Remove `completion-in-region--postch' from `post-command-hook'
because it doesn't (seem?) do anything really useful.
2013-02-14 21:23:10 +01:00
Grégoire Jadi
5800920c99
Add caching mecanism
...
* contrib/lisp/org-contacts.el: Add a caching mecanism around
`org-contacts-filter'.
2013-02-14 21:21:44 +01:00
Bastien Guerry
127bffa9e9
contrib/lisp/org-contacts.el: Delete trailing whitespaces
2013-02-13 18:28:26 +01:00
Grégoire Jadi
ec623af862
Improve `completion-at-point' for `org-contacts.el' in mail
...
* org-contacts.el: Improve the completion part:
- When a group is found, it now replaces the name of the group by the
addresses of the member of the group rather than appending the
addresses.
- One can now complete on all part of an address and not only on the
beginning of the name.
2013-02-13 18:27:49 +01:00
Bastien Guerry
03e4339475
Mv org2rem.el and org-export-generic.el to contrib/oldexp/
2013-02-09 11:49:23 +01:00
Achim Gratz
3756fb9ce3
Move old exporter files to contrib/oldexp/ so that they don't mess up org-plus-contrib ELPA
2013-02-09 11:32:50 +01:00
Nicolas Goaziou
c0c6046b7b
ox-koma-letter: Fix menu and small typos
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter-export-snippet,
org-koma-letter-keyword): Fix typo.
2013-02-08 23:07:36 +01:00
Nicolas Goaziou
c5ce9f15f5
ox-koma-letter: Fix variable and function names wrt to merge
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template,
org-koma-letter-export-to-pdf): Fix variables and functions names
wrt to merge.
2013-02-08 22:59:47 +01:00
Alan Schmitt
6c96c9475f
Koma Export: rename org-export-latex to org-latex for package lists
...
* ox-koma-letter.el (org-koma-letter-template): rename
org-export-latex to org-latex for package lists.
These variable names were changed with the merge of the new exporter.
2013-02-08 17:09:45 +01:00
Bastien Guerry
b6eceef02a
org-html.el (org-export-html-special-string-regexps): Reintroduce
...
* org-html.el (org-export-html-special-string-regexps):
Reintroduce.
Thanks to Samuel Wales for reporting this.
2013-02-07 09:48:52 +01:00
Nicolas Goaziou
73ddb3c49c
Remove references to `org-protected' `org-example' and `original-indentation'
...
* lisp/org-macs.el (org-if-unprotected, org-if-unprotected-1,
org-if-unprotected-at): Removed macros.
(org-re-search-forward-unprotected): Removed function.
* lisp/org.el (org-format-latex): Remove reference to `org-protected'.
* lisp/org-list.el (org-list-struct): Remove reference to
`org-example' and `org-protected'.
* lisp/org-footnote.el (org-footnote-at-reference-p): Remove reference
to `org-protected'.
* lisp/org-capture.el (org-capture-fill-template): Remove reference to
`org-protected'.
* contrib/lisp/org-wikinodes.el (org-wikinodes-process-links-for-export):
Remove reference to `org-protected' value.
These text properties were used by the old export framework. They are
not needed anymore.
2013-02-06 23:06:31 +01:00
Nicolas Goaziou
0a01e52aa1
Install new exporter into Org innards
...
* contrib/lisp/org-mime.el (org-mime-htmlize, org-mime-compose): Use
new exporter.
* lisp/ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
exporter.
* lisp/ob-latex.el (org-babel-execute:latex): Use new exporter.
* lisp/ob-org.el (org-babel-execute:org): Use new exporter.
* lisp/org-agenda.el (org-agenda-menu, org-agenda-write): Use new
iCalendar export back-end.
* lisp/org-table.el (org-table-export, orgtbl-export): Remove
dependency on `org-exp' library.
(org-table-clean-before-export): New function.
(org-table-colgroup-info): New variable.
(orgtbl-to-html): Use to new HTML export back-end.
* lisp/org.el (org-modules): Remove modules relative to obsolete
export framework and add those relative to the new one.
(org-create-formula-image-with-dvipng, org-format-latex
org-create-formula-image-with-imagemagick): Use new exporter.
(org-indent-line): INCLUDE keywords are indented like regular
keywords.
(org-mode-map): Bind C-c C-e to new export dispatcher.
(org-menu): Install new exporter in menu.
2013-02-06 23:06:30 +01:00
Nicolas Goaziou
03a9191dd3
Move previous export framework into contrib
...
* contrib/lisp/org-ascii.el: New file.
* contrib/lisp/org-beamer.el: New file.
* contrib/lisp/org-docbook.el: New file.
* contrib/lisp/org-exp-blocks.el: New file.
* contrib/lisp/org-exp.el: New file.
* contrib/lisp/org-freemind.el: New file.
* contrib/lisp/org-html.el: New file.
* contrib/lisp/org-icalendar.el: New file.
* contrib/lisp/org-jsinfo.el: New file.
* contrib/lisp/org-latex.el: New file.
* contrib/lisp/org-lparse.el: New file.
* contrib/lisp/org-odt.el: New file.
* contrib/lisp/org-publish.el: New file.
* contrib/lisp/org-special-blocks.el: New file.
* contrib/lisp/org-taskjuggler.el: New file.
* contrib/lisp/org-xoxo.el: New file.
* lisp/org-ascii.el: Removed file.
* lisp/org-beamer.el: Removed file.
* lisp/org-docbook.el: Removed file.
* lisp/org-exp-blocks.el: Removed file.
* lisp/org-exp.el: Removed file.
* lisp/org-freemind.el: Removed file.
* lisp/org-html.el: Removed file.
* lisp/org-icalendar.el: Removed file.
* lisp/org-jsinfo.el: Removed file.
* lisp/org-latex.el: Removed file.
* lisp/org-lparse.el: Removed file.
* lisp/org-odt.el: Removed file.
* lisp/org-publish.el: Removed file.
* lisp/org-special-blocks.el: Removed file.
* lisp/org-taskjuggler.el: Removed file.
* lisp/org-xoxo.el: Removed file.
* testing/lisp/test-org-exp.el: Removed file.
* testing/lisp/test-org-html.el: Removed file.
2013-02-06 23:06:30 +01:00
Nicolas Goaziou
8dd2bfc291
Move new export framework files into core
...
* contrib/README: Remove references to new export framework.
* contrib/lisp/org-e-ascii.el: Removed file.
* contrib/lisp/org-e-beamer.el: Removed file.
* contrib/lisp/org-e-confluence.el: Removed file.
* contrib/lisp/org-e-groff.el: Removed file.
* contrib/lisp/org-e-html.el: Removed file.
* contrib/lisp/org-e-icalendar.el: Removed file.
* contrib/lisp/org-e-latex.el: Removed file.
* contrib/lisp/org-e-man.el: Removed file.
* contrib/lisp/org-e-odt.el: Removed file.
* contrib/lisp/org-e-publish.el: Removed file.
* contrib/lisp/org-e-texinfo.el: Removed file.
* contrib/lisp/org-export.el: Removed file.
* contrib/lisp/org-koma-letter.el: Removed file.
* contrib/lisp/org-md.el: Removed file.
* contrib/lisp/ox-confluence.el: New file.
* contrib/lisp/ox-groff.el: New file.
* contrib/lisp/ox-koma-letter.el: New file.
* lisp/ox-ascii.el: New file.
* lisp/ox-beamer.el: New file.
* lisp/ox-html.el: New file.
* lisp/ox-icalendar.el: New file.
* lisp/ox-jsinfo.el: New file.
* lisp/ox-latex.el: New file.
* lisp/ox-man.el: New file.
* lisp/ox-md.el: New file.
* lisp/ox-odt.el: New file.
* lisp/ox-publish.el: New file.
* lisp/ox-texinfo.el: New file.
* lisp/ox.el: New file.
* mk/org-fixup.el (org-make-org-loaddefs): Install new export
framework and back-end files.
* testing/lisp/test-org-export.el: Removed file.
* testing/lisp/test-ox.el: New file.
2013-02-06 23:06:30 +01:00
Nicolas Goaziou
9ca48c15e1
org-export: Fix smart quote bug with footnote definitions in ascii back-end
...
* contrib/lisp/org-export.el (org-export-activate-smart-quotes): Fix
error when exporting a footnote definition.
2013-02-03 19:44:51 +01:00
Nicolas Goaziou
cb1386ba39
org-e-ascii: Fix justification for lines looking like a fill-prefix
...
* contrib/lisp/org-e-ascii.el (org-e-ascii--justify-string): Fill
justification for lines looking-like a fill-prefix.
2013-02-01 23:47:00 +01:00
Bastien Guerry
ad45f6cd7f
org-e-html.el (org-e-html-link): Don't add attributes to the link when they are already part of the link description
...
* org-e-html.el (org-e-html-link): Don't add attributes to the
link when they are already part of the link description.
2013-01-31 10:44:15 +01:00
Nicolas Goaziou
b9c506b41e
org-e-latex: Allow to provide a format string for date keyword
...
* contrib/lisp/org-e-latex.el (org-e-latex-date-timestamp-format): New
variable.
(org-e-latex-date-format): Removed variable.
(org-e-latex-template): Allow to provide a format string iff date
consists in a single timestamp.
2013-01-30 22:41:38 +01:00
Nicolas Goaziou
423756dd11
org-export: Generalize fallback footnote definition to all exporters
...
* contrib/lisp/org-export.el (org-export-get-footnote-definition):
Provide a fallback definition when none can be found.
* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference): Revert
change made in 30ef385ee0
since it is
now handled at the export framework level.
* testing/lisp/test-org-export.el: Add test.
2013-01-30 14:22:35 +01:00
Nicolas Goaziou
cef4e582c2
org-e-odt: Fix code typo
...
* contrib/lisp/org-e-odt.el (org-e-odt--export-wrap): Fix parenthesis
mismatch.
2013-01-30 14:16:00 +01:00
Bastien Guerry
2d18609f4a
Merge branch 'maint'
...
Conflicts:
contrib/lisp/org-e-odt.el
2013-01-30 12:11:10 +01:00
Bastien Guerry
35f944aaf0
org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'
...
* org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'.
2013-01-30 10:46:43 +01:00
Nicolas Goaziou
30ef385ee0
org-e-latex: Fix error in documents with empty footnote definitions
...
* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference):
Provide a fallback definition when none is available.
2013-01-29 23:19:58 +01:00
Nicolas Goaziou
005917702a
org-md: Also translate fixed-width areas
2013-01-28 18:47:43 +01:00
Nicolas Goaziou
db6602ef24
org-export: Fix code typo
...
* contrib/lisp/org-export.el (org-export-unravel-code): Fix code typo.
2013-01-28 13:53:37 +01:00
Nicolas Goaziou
8d431b7313
org-export: Add a filter for export options
...
* contrib/lisp/org-export.el (org-export-filters-alist): Install a new
filter to modify export options.
(org-export-filter-options-functions): New variable.
(org-export-as): Call new filter.
2013-01-27 21:46:48 +01:00
Nicolas Goaziou
bb40d29b45
org-export: Fix subtree export when parent section is empty
...
* contrib/lisp/org-export.el (org-export--get-subtree-options): When
point is at an headline and subtree export is called, make sure
export properties are extracted from parent headline.
* testing/lisp/test-org-export.el: Add test.
2013-01-26 18:05:56 +01:00
Bastien Guerry
255c596f37
org-man.el (org-man-export): New function to export links of type "man"
...
* org-man.el (org-man-export): New function to export links of
type "man".
2013-01-24 16:09:12 +01:00
Nicolas Goaziou
cf968c510c
org-export: Fix compilation for Emacsen <= 23
...
* contrib/lisp/org-export.el (org-export-async-start): Fix compilation
for Emacsen <= 23.
2013-01-16 19:27:38 +01:00
Nicolas Goaziou
be0d87ddb7
org-e-odt: Silence byte-compiler
...
* contrib/lisp/org-e-odt.el (org-e-odt--export-wrap):
`org-conditon-case-unless-debug' has been removed since
e8f5b0ad72
.
2013-01-14 20:52:27 +01:00
Jambunathan K
35204a83dd
org-export: Change dispatcher keys and improve UI
...
* contrib/lisp/org-export.el (org-export-dispatch-ui,
org-export-dispatch-action): Set export options via control keys. UI
changes.
2013-01-13 21:42:36 +01:00
Nicolas Goaziou
9d26797448
Move functions operating on timestamp objects into org.el
...
* contrib/lisp/org-export.el (org-export-timestamp-has-time-p,
org-export-format-timestamp, org-export-split-timestamp-range,
org-export-translate-timestamp): Removed functions.
* lisp/org.el (org-timestamp-has-time-p, org-timestamp-format,
org-timestamp-split-range, org-timestamp-translate): New functions.
* contrib/lisp/org-e-ascii.el (org-e-ascii-timestamp): Apply move.
* contrib/lisp/org-e-groff.el (org-e-groff-timestamp): Apply move.
* contrib/lisp/org-e-html.el (org-e-html-timestamp): Apply move.
* contrib/lisp/org-e-latex.el (org-e-latex-timestamp): Apply move.
* contrib/lisp/org-e-odt.el (org-e-odt--format-timestamp,
org-e-odt-timestamp): Apply move.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-timestamp): Apply move.
* testing/lisp/test-org-export.el: Remove tests.
* testing/lisp/test-org.el: Add tests.
2013-01-13 10:01:05 +01:00
Bastien Guerry
6b7d2688d9
Merge branch 'maint'
2013-01-12 15:08:05 +01:00
Bastien Guerry
5e60f27a30
org-depend.el (org-depend-trigger-todo): Fix bug
...
* org-depend.el (org-depend-trigger-todo): Fix bug: use
`org-refresh-properties'. Also fix some compiler warnings.
Thanks to Karl Voit for reporting this.
2013-01-12 15:07:40 +01:00
Bastien Guerry
06c98ceb60
Merge branch 'master' of orgmode.org:org-mode
2013-01-12 14:59:38 +01:00
Bastien Guerry
fb37d1538d
htmlize.el (htmlize-create-auto-links): Fix link regexp
...
* htmlize.el (htmlize-create-auto-links): Fix link regexp.
Thanks to Daniel Dehennin for reporting this.
2013-01-12 14:56:56 +01:00
Nicolas Goaziou
0c9579bb74
org-e-beamer: Toggle hypersetup inclusion in template too
...
* contrib/lisp/org-e-beamer.el (org-e-beamer-template): Toggle
hypersetup inclusion in template too.
2013-01-12 12:04:11 +01:00
Thomas Dye
c1ecc51835
New LaTeX exporter: Add an option to toggle insertion of \hypersetup{...} in preamble
...
* contrib/lisp/org-e-latex.el: Added an option, :texht, and a
defcustom, org-e-latex-with-hyperref, to hold its default value.
It is possible to configure the exporter to omit the hyperref package,
which defines the \hypersetup{} command.
2013-01-12 11:56:23 +01:00
Nicolas Richard
f82004840a
* org-id.el (org-id-locations-file):
...
* org-clock.el (org-clock-persist-file): Fix hardcoded
reference to "~/.emacs.d".
* contrib/lisp/org-track.el (org-track-directory): Fix hardcoded
reference to "~/.emacs.d".
2013-01-09 17:59:17 +01:00
Thomas Dye
7696081fdb
org-e-latex: Added an attribute to inline images
...
* contrib/lisp/org-e-latex.el (org-e-latex--inline-image): Added an
attribute, :comment-include, to toggle commenting the \includegraphics
call.
Journals sometimes ask for a list of figure captions.
2013-01-09 16:07:21 +01:00
Nicolas Goaziou
c7d18ea892
org-e-icalendar: Apply 195173eef0
...
* contrib/lisp/org-e-icalendar.el (org-e-icalendar-convert-timestamp):
Apply 195173eef0
.
2013-01-08 10:37:56 +01:00
Bastien Guerry
b54d6f5965
Merge branch 'maint'
...
Conflicts:
lisp/org-agenda.el
lisp/org.el
testing/lisp/test-org-element.el
2013-01-07 16:19:37 +01:00
Bastien Guerry
8f749c9834
org-depend.el (org-depend-trigger-todo): Refresh effort text properties
...
* org-depend.el (org-depend-trigger-todo): Refresh effort text
properties. Do not use `org-get-effort' for getting the
effort property value.
2013-01-07 12:33:57 +01:00
Achim Gratz
19460418a0
Merge branch 'maint'
2013-01-06 18:33:16 +01:00
Achim Gratz
4e2f6d7d8f
Compatibility: Use org-no-warnings
...
* contrib/lisp/org-e-odt.el (org-e-odt-htmlfontify-string): Use
compatibility alias `org-no-warnings´.
2013-01-06 18:28:06 +01:00
Bastien Guerry
576f43b743
Merge branch 'maint'
2013-01-04 17:23:27 +01:00
Samuel Loury
3479cebca6
Fix an error introduced in 502e538020
, org-make-link was replaced by contact instead of concat as the comment suggested
...
* org-git-link.el (org-git-create-git-link): Replace contact call by concat
* org-bookmark.el (org-bookmark-store-link): Replace contact call by concat
TINYCHANGE
2013-01-04 16:39:35 +01:00
Daniel Clemente
d8ad57d4f7
org-contacts.el (org-contacts-format-name): New function
...
* org-contacts.el (org-contacts-format-name): New function.
(org-contacts-format-email): Use the new function.
TINYCHANGE
2013-01-02 10:22:25 +01:00
Bastien Guerry
60b23bdeac
Merge branch 'maint'
...
Conflicts:
contrib/lisp/htmlize.el
etc/schema/od-manifest-schema-v1.2-os.rnc
etc/schema/od-schema-v1.2-os.rnc
lisp/org-exp-blocks.el
2013-01-01 16:06:17 +01:00
Bastien Guerry
98cd4687a2
Update copyright years.
...
Happy new year!
2013-01-01 16:04:24 +01:00
Bastien Guerry
37e562460d
org-e-odt.el (org-compat): Require
...
* org-e-odt.el (org-compat): Require.
2012-12-30 11:05:57 +01:00
Bastien Guerry
9f1f0535be
Merge branch 'maint'
2012-12-23 17:20:51 +01:00
Jambunathan K
dcd5c81dc4
org-e-odt.el: Handle links to target, list items
2012-12-23 12:44:44 +01:00
Jambunathan K
d06f326f20
org-e-odt.el: Handle links to headline, table etc that have a description
2012-12-23 12:44:43 +01:00
Jambunathan K
5aceba1da3
org-e-odt.el: Handle clickable images
2012-12-23 12:44:43 +01:00
Jambunathan K
135dc9e049
org-e-odt.el: Use `org-export-data-with-translations'
2012-12-23 12:44:43 +01:00
Jambunathan K
29ac6d77e3
org-e-odt.el: Support for short captions
2012-12-23 12:44:43 +01:00
Jambunathan K
847e92377e
org-e-odt.el: Port fix for Bug#13197
2012-12-23 12:44:43 +01:00
Jambunathan K
4876e94fee
org-e-odt.el: Fix typesetting of Math formulae
2012-12-23 12:44:43 +01:00
Jambunathan K
2b761ceb39
org-e-odt.el: Add frame title and description to latex equations
2012-12-23 12:44:43 +01:00
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
Bastien Guerry
91056e2a8d
org-export-generic.el: Small code clean-up
...
* org-export-generic.el (org-export-generic-preprocess): Use
`delete-backward-char' instead of `backward-delete-char'.
(org-generic-alist, def-org-export-generic-keyword)
(org-export-generic-remember-section, org-export-generic)
(org-export-generic-format, org-export-generic-header)
(org-generic-level-start): Remove dangling parentheses,
fix indentation.
2012-12-23 12:23:02 +01:00
Thomas Dye
e873446a63
Texinfo: Mention #+TEXINFO_POST_HEADER in comments
...
* contrib/lisp/org-e-texinfo.el: There are now nine keywords.
TINYCHANGE
2012-12-23 00:36:38 +01:00
Bastien Guerry
be4bacb32b
contrib/lisp/org-contacts.el: Fix indentation of the file
2012-12-22 19:07:10 +01:00
Bastien Guerry
0966773c5b
contrib/lisp/org-contacts.el: Docstring fixes and small code clean up
...
* org-contacts.el (org-contacts)
(org-contacts-birthday-format, org-contacts-complete-name)
(org-contacts-wl-get-name-email)
(org-contacts-template-wl-name)
(org-contacts-view-send-email, org-contacts-vcard-escape)
(org-contacts-vcard-format, org-contacts-export-as-vcard)
(org-contacts-show-map): Docstring fixes and small code clean
up.
2012-12-22 19:05:28 +01:00
Jonas Bernoulli
894e93d759
Orgpan: quiet byte-compiler
...
* contrib/lisp/org-panel.el: don't setq undefined and otherwise unused
variable orgpan-this-panel-window
* contrib/lisp/org-panel.el (orgpan-check-panel-mode): fix format
string of (error)
* contrib/lisp/org-panel.el: declare variables
viper-emacs-state-mode-list and viper-new-major-mode-buffer-list
which are defined in viper.el
TINYCHANGE
2012-12-22 16:10:36 +01:00
Jonas Bernoulli
650748ae43
Orgpan: resize the correct window
...
* contrib/lisp/org-panel.el (orgpan-panel): Make sure the panel buffer
is resized to four lines not the document buffer.
TINYCHANGE
2012-12-22 16:10:33 +01:00
Bastien Guerry
5de94e46e4
Merge branch 'maint'
2012-12-20 13:16:47 +01:00
Dmitry Antipov
bfb9f9d10f
Use (point-marker) instead of (move-marker (make-marker) (point))
...
* org-agenda.el (org-agenda-get-restriction-and-command): Use `point-marker'.
* org-capture.el (org-capture-place-template): Likewise.
* org-colview-xemacs.el (org-dblock-write:columnview): Likewise.
* org-colview.el (org-dblock-write:columnview): Likewise.
* org-mobile.el (org-mobile-locate-entry): Likewise.
* org-table.el (org-table-convert-region): Likewise.
* org.el (org-update-statistics-cookies): Likewise.
* contrib/lisp/org-invoice.el (org-dblock-write:invoice): Likewise.
2012-12-20 13:16:41 +01:00
Alan Schmitt
5267cfc6fb
* contrib/lisp/org-e-beamer.el: added publishing functions
...
org-e-beamer-publish-to-latex and org-e-beamer-publish-to-pdf
2012-12-20 09:58:16 +01:00
Nicolas Goaziou
f506348bcf
org-export: Allow to force viewing of a stack source in Emacs
...
* contrib/lisp/org-export.el (org-export--stack-view): Add optional
prefix argument to view a file in Emacs.
Patch from Jambunathan K.
2012-12-19 22:27:58 +01:00
Nicolas Goaziou
27f06c104e
org-export: Implement function to locally override translation table
...
* contrib/lisp/org-export.el (org-export-data-with-translations,
org-export-data-with-backend): New functions.
* testing/lisp/test-org-export.el: Add tests.
2012-12-19 17:48:51 +01:00
Nicolas Goaziou
27d7d0ea17
org-export: Remove NOEXPAND optional argument from `org-export-as'
...
* contrib/lisp/org-export.el (org-export-options-alist): Fix
docstring.
(org-export-as): Remove NOEXPAND argument.
(org-export-to-buffer, org-export-to-file): Apply argument removal.
This argument is not needed since a function removing macros, babel
code and include keywords can be added to
`org-export-before-processing-hook'.
2012-12-18 22:42:00 +01:00
Bastien Guerry
0db5f28dd4
org-html.el and org-e-html.el: Add CSS classes to list tags.
...
* org-html.el (org-html-export-list-line): Add CSS classes to
these list HTML tags: <ul> <dl> and <ol>.
* contrib/lisp/org-e-html.el (org-e-html-begin-plain-list): Add
CSS classes to these list HTML tags: <ul> <dl> and <ol>.
2012-12-18 18:38:20 +01:00
Jonathan Leech-Pepin
676180a5fb
org-e-texinfo.el: Fix link export to account for alternate TOC names
...
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-link): Texinfo uses the
menu/TOC names for finding cross-references. Use the menu-title as
the link destination. Also ensures link descriptions are used as
link titles.
2012-12-17 10:58:25 -05:00
Nicolas Goaziou
83b567925a
org-export: Fix docstring
...
* contrib/lisp/org-export.el (org-export-define-backend): Fix
docstring to include asynchronous export and additional sub-menus.
2012-12-16 08:22:41 +01:00
Nicolas Goaziou
457c27d05b
org-e-confluence: Add asynchronous export support
...
* contrib/lisp/org-e-confluence.el (org-e-confluence-export-as-confluence):
Add asynchronous export support.
2012-12-15 20:22:46 +01:00
Bastien Guerry
e77f26e121
contrib/lisp/org-e-confluence.el: New file by Sébastien Delafond
2012-12-15 07:36:05 +01:00
Bastien Guerry
20940bb18f
contrib/lisp/org-bullets.el: New file by Evgeni Sabof
...
Implements a minor mode to show org-mode bullets as UTF-8 characters.
2012-12-15 07:22:49 +01:00
Nicolas Goaziou
e556812db5
org-export: Fix docstring
...
* contrib/lisp/org-export.el (org-export-stack-mode): Fix docstring.
2012-12-14 19:02:34 +01:00
Nicolas Goaziou
68d4de2f2c
org-koma-letter: Add asynchronous export support
...
* contrib/lisp/org-koma-letter.el (org-koma-letter-export-as-latex,
org-koma-letter-export-to-latex, org-koma-letter-export-to-pdf): Add
asynchronous export support.
2012-12-14 16:55:17 +01:00
Jonathan Leech-Pepin
a223d1a011
* contrib/lisp/org-e-texinfo.el: Remove messages used for debugging
...
(org-e-texinfo--generate-menu-items): Remove messages used for debugging.
2012-12-14 09:21:22 -05:00
Nicolas Goaziou
286fd7f250
org-e-beamer/html: Asynchronous export ignores `org-export-show-temporary-export-buffer'
...
* contrib/lisp/org-e-beamer.el (org-e-beamer-export-as-latex): Ignore
`org-export-show-temporary-export-buffer' when export is
asynchronous.
* contrib/lisp/org-e-html.el (org-e-html-export-as-html): Ignore
`org-export-show-temporary-export-buffer' when export is
asynchronous.
Export output always goes in the Export Stack.
2012-12-13 23:13:35 +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
5319cec24e
org-e-publish: Activate asynchronous publishing
...
* contrib/lisp/org-e-publish.el (org-e-publish, org-e-publish-all,
org-e-publish-current-file, org-e-publish-current-project): Activate
asynchronous publishing.
(org-e-publish-initial-buffer): Remove unused variable.
* contrib/lisp/org-export.el (org-export-dispatch): Send asynchronous
flag to publishing functions, when needed.
2012-12-13 15:36:51 +01:00
Nicolas Goaziou
ffb630b85d
org-export: Add asynchronous process wrapper for export
...
* contrib/lisp/org-export.el (org-export-async-stack,
org-export-async-debug, org-export-in-background,
org-export-async-init-file, org-export-stack-mode-map): New
variables.
(org-export-async-start): New macro.
(org-export--stack-source-at-point, org-export--stack-refresh,
org-export-add-to-stack, org-export--stack-remove,
org-export--stack-view, org-export--stack-clear,
org-export-stack, org-export-copy-buffer,
org-export--generate-copy-script): New functions.
(org-export-dispatch, org-export-dispatch-ui): Allow to toggle
asynchronous export.
(org-export-with-buffer-copy): Renamed from
`org-export-with-current-buffer-copy'.
(org-export-execute-babel-code): Use new function to copy a buffer.
(org-export-as): Remove all text properties from output so it still
can be sent to the original process.
2012-12-13 15:36:51 +01:00
Jonathan Leech-Pepin
5c1eab535b
* contrib/lisp/org-e-texinfo.el: Provided export of info: links
...
(org-e-texinfo-link): Parse info: links to allow linking to
appropriate info nodes.
2012-12-13 08:38:31 -05:00
Nicolas Goaziou
627d5733be
org-e-html: Small refactoring
...
* contrib/lisp/org-e-html.el (org-e-html-fontify-code): Activating
major mode before inserting contents avoid problem of initial
visibility for an Org buffer.
2012-12-12 23:16:51 +01:00
Nicolas Goaziou
2c39a4ae85
export back-ends: Apply line break changes
...
* contrib/lisp/org-e-html.el (org-e-html-line-break): Apply line break
changes.
* contrib/lisp/org-e-latex.el (org-e-latex-line-break): Apply line
break changes.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-line-break): Apply line
break changes.
* contrib/lisp/org-md.el (org-md-line-break): Apply line break
changes.
2012-12-12 22:48:06 +01:00
Eric Schulte
8dd3fa301a
Use the org-mime-default-header customized variable
...
* contrib/lisp/org-mime.el (org-mime-htmlize): Use the
org-mime-default-header customized variable.
2012-12-12 10:48:57 -07:00
Nicolas Goaziou
b1f36921d7
org-export: Allow to retrieve all previous/next exportable objects
...
* contrib/lisp/org-export.el (org-export-get-previous-element,
org-export-get-next-element): Allow to retrieve all previous/next
exportable objects by specifying a non-nil, non positive integer
argument.
* testing/lisp/test-org-export.el: Add tests.
2012-12-10 08:54:52 +01:00
Nicolas Goaziou
66c6642e68
org-e-html: Fix error when exporting an Org src block
...
* contrib/lisp/org-e-html.el (org-e-html-fontify-code): Expand
everything in the buffer before calling htmlize. Remove an assert.
Add docstring.
2012-12-09 12:30:26 +01:00