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
Nicolas Goaziou
2cdddb96c4
org-e-html: Remove unused variable
...
* contrib/lisp/org-e-html.el (org-e-html-cvt-link-fn): Remove
variable.
2012-12-09 12:17:16 +01:00
Nicolas Goaziou
b95793d200
org-e-html: Small refactoring
...
* contrib/lisp/org-e-html.el (org-e-html--textarea-block): New
function.
(org-e-html--make-string): Renamed from `org-e-html-make-string'.
(org-e-html-format-toc-headline): Use previous function.
(org-e-html-do-format-code, org-e-html-format-code): Remove argument
relative to textareas. Add docstring.
(org-e-html-example-block, org-e-html-src-block): Refactoring relative
to textareas.
2012-12-09 12:16:37 +01:00
Nicolas Goaziou
2aac1818d5
org-md: Fix export error with inline images
...
* contrib/lisp/org-md.el (org-md-link): Fix error with inline images.
2012-12-08 19:30:27 +01:00
Nicolas Goaziou
cbb96d69d3
org-export: Add an optional argument to previous an next elements getters
...
* contrib/lisp/org-export.el (org-export-get-previous-element,
org-export-get-next-element): Change signature.
* testing/lisp/test-org-export.el: Add tests.
2012-12-08 18:57:10 +01:00
Bastien Guerry
dcdec74b00
Merge branch 'maint'
2012-12-04 15:24:43 +01:00
Bastien Guerry
6dfe2fef04
org-export-generic.el: Warn about not using this for new exporters.
2012-12-04 15:24:37 +01:00
Steve Purcell
ba7a3ef869
org-mac-iCal.el (org-mac-iCal): Support version 10.8.
...
* contrib/lisp/org-mac-iCal.el (org-mac-iCal): Support version 10.8.
TINYCHANGE
2012-12-04 15:21:02 +01:00
Thomas S. Dye
6340615cc6
org-e-texinfo.el: Introduce #+TEXINFO_POST_HEADER and use it.
...
* org-e-texinfo.el (e-texinfo)
(org-e-texinfo--generate-menu-list, org-e-texinfo-template):
Introduce #+TEXINFO_POST_HEADER and use it.
TINYCHANGE
2012-12-04 15:19:43 +01:00
Steve Purcell
795e951270
org-mac-iCal.el (org-mac-iCal): Support version 10.8.
...
* contrib/lisp/org-mac-iCal.el (org-mac-iCal): Support version 10.8.
TINYCHANGE
2012-12-04 15:13: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
Nicolas Goaziou
07f4d867e5
org-export: Dispatcher repeats last export action when called with C-u
...
* contrib/lisp/org-export.el (org-export-dispatch-last-action): New
variable.
(org-export-dispatch): Repeat last export action when called with C-u.
2012-11-28 20:39:55 +01:00
Nicolas Goaziou
8ea5c9992a
org-e-beamer: Allow to use arbitrary environment for lists
...
* contrib/lisp/org-e-beamer.el (org-e-beamer-plain-list): Allow to use
arbitrary environment for lists.
2012-11-28 15:06:56 +01:00
Nicolas Goaziou
dbdbf53cd6
org-export: Fix *:nil export option
...
* contrib/lisp/org-export.el (org-export--interpret-p): Fix *:nil
export option.
(org-export-with-emphasize): Update docstring.
2012-11-28 13:36:31 +01:00
Alan Schmitt
d344fda27a
Add koma-letter back-end
...
* contrib/lisp/org-koma-letter.el: New file.
2012-11-26 08:58:59 +01:00
Nicolas Goaziou
6c8bd67cae
org-e-latex: Take into account default mode when building a cluster
...
* contrib/lisp/org-e-latex.el (org-e-latex--math-table): Take into
account default mode when building a cluster.
2012-11-25 16:41:43 +01:00
Nicolas Goaziou
755af23577
org-e-latex: Implement math table clusters
...
* contrib/lisp/org-e-latex.el (org-e-latex--math-table): Contiguous
tables sharing the same math mode are wrapped within the same
environment.
This patch will allow to write:
#+label: I_2
#+attr_latex: :mode math :environment bmatrix
| a | b |
|---+---|
| c | d |
#+attr_latex: :mode math :environment bmatrix :math-prefix "\\times"
| 1 | 0 |
|---+---|
| 0 | 1 |
#+attr_latex: :mode math :environment bmatrix :math-prefix "="
| 1 | 0 |
|---+---|
| 0 | 1 |
#+attr_latex: :mode math :environment bmatrix :math-prefix "\\times"
| a | b |
|---+---|
| c | d |
#+attr_latex: :mode math :environment bmatrix :math-prefix "="
| a | b |
|---+---|
| c | d |
and get:
\begin{equation}
\label{I_2}
\begin{bmatrix}
a & b \\
c & d \\
\end{bmatrix}
\times\begin{bmatrix}
1 & 0 \\
0 & 1 \\
\end{bmatrix}
=\begin{bmatrix}
1 & 0 \\
0 & 1 \\
\end{bmatrix}
\times\begin{bmatrix}
a & b \\
c & d \\
\end{bmatrix}
=\begin{bmatrix}
a & b \\
c & d \\
\end{bmatrix}
\end{equation}
2012-11-25 16:16:29 +01:00
Nicolas Goaziou
fe3f1a0026
org-e-latex: Implement :font attribute for regular tables
...
* contrib/lisp/org-e-latex.el (org-e-latex--org-table):
Implement :font attribute for regular tables.
2012-11-25 15:10:37 +01:00
Nicolas Goaziou
0226b01c3c
org-e-icalendar: Create vevents for timestamps within headline's title
...
* contrib/lisp/org-e-icalendar.el (org-e-icalendar-entry): Create
vevent for timestamps within headline's title.
2012-11-25 01:16:44 +01:00
Nicolas Goaziou
b7053b5f9c
org-export: Fix Babel unresolved references error
...
* contrib/lisp/org-export.el (org-export-execute-babel-code): New
function.
(org-export-as): Use new function.
2012-11-25 00:24:25 +01:00
Nicolas Goaziou
f71df7dc50
export back-ends: Use new tools for timestamps
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-timestamp): Use new tool.
* contrib/lisp/org-e-groff.el (org-e-groff-timestamp): Use new tool.
* contrib/lisp/org-e-html.el (org-e-html-timestamp): Use new tool.
* contrib/lisp/org-e-latex.el (org-e-latex-timestamp): Use new tool.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-timestamp): Use new
tool.
2012-11-23 18:43:05 +01:00
Nicolas Goaziou
0a142efdde
org-export: Add tools for timestamps objects
...
* contrib/lisp/org-export.el (org-export-split-timestamp-range,
org-export-translate-timestamp): New functions.
* testing/lisp/test-org-export.el: Add tests.
2012-11-23 18:41:58 +01:00