Commit Graph

1958 Commits

Author SHA1 Message Date
Bastien Guerry 6e2aed55bf ox-rss.el (org-rss-headline): Skip entries with no PUBDATE
* contrib/lisp/ox-rss.el (org-rss-headline): Skip entries with
no PUBDATE instead of throwing an error.

Thanks to OSiUX for suggesting this.
2014-08-22 15:38:47 +02:00
Mark Edgington d44bf92fdc contrib/lisp/ox-extra.el: Add ignore-headlines filter.
* contrib/lisp/ox-extra.el: Add ignore-headlines filter.

Thanks to Eric Schulte for the code.

Signed-off-by: Aaron Ecay <aaronecay@gmail.com>
2014-08-06 00:07:57 -04:00
Konrad Herbst b2866a504d ox-bibtex: Use bibtex files not in current directory
* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Process
  bibtexfilename so that it does not have to be in the same directory.
2014-08-02 21:25:08 +02:00
Bastien Guerry 4f3c8948e0 Fix trailing spaces in previous commit 2014-07-31 12:54:40 +02:00
Ista Zahn 7326d10dc5 ob-stata.el: new file for stata code evaluation
* contrib/lisp/ob-stata.el: New file based on ob-julia.el.
* contrib/README: Document addition of new file.

ob-stata.el provides basic support for evaluating Stata code.
2014-07-31 12:54:17 +02:00
Nicolas Goaziou c9ca0b6df8 ox-html: Use options instead of hard-coded variables
* contrib/lisp/ox-s5.el (org-s5--format-toc-headline): Apply signature
  change.

* lisp/ox-md.el (org-md-headline): Apply signature change.

* lisp/ox-html.el (org-html-format-drawer-function,
  org-html-publish-to-html): Small reformatting.

(org-html-infojs-install-script, org-html--build-meta-info,
org-html--build-mathjax-config, org-html-format-spec,
org-html--build-pre/postamble, org-html-template, org-html-toc,
org-html--format-toc-headline, org-html-list-of-listings,
org-html-list-of-tables, org-html-bold, org-html-drawer,
org-html-headline, org-html-inlinetask, org-html-italic,
org-html-checkbox, org-html-inline-image-p, org-html-link,
org-html-section, org-html-strike-through, org-html-table-cell,
org-html-table-row, org-html-underline, org-html-verbatim,
org-html-final-function, org-html-export-to-html): Do not use
hard-coded variable names.

(org-html-format-headline-function,
org-html-format-inlinetask-function): Change default value.  Require
an additional argument.

(org-html-format-footnote-reference,
org-html-format-footnotes-section,
org-html-format-footnote-definition, org-html-format-headline,
org-html-format-headline--wrap, org-html-format-section): Remove
functions.

(org-html-footnote-section, org-html-footnote-reference): Apply
function removal.  Do not use hard-coded variable names.

(org-html--anchor, org-html--todo, org-html--tags): Change signature.
Do not use hard-coded variable names.

(org-html-radio-target, org-html-target): Apply signature change.

(org-html-format-headline-default-function,
org-html-format-inlinetask-default-function): New functions.
2014-07-29 15:45:18 +02:00
Bastien Guerry c8a80c23a3 Fix trailing whitespaces from previous patch 2014-07-27 17:02:50 +02:00
tj@data-driven.de feb048de3f Taskjuggler: Add valid project attributes
* ox-taskjuggler.el (org-taskjuggler--build-project): Insert all
   valid attributes from project.

* ox-taskjuggler.el (org-taskjuggler--build-attributes): Add project
  as possible ITEM to docstring.

* ox-taskjuggler.el (org-taskjuggler-valid-project-attributes): New
  defcustom.

As reported by Nick Garber, project attributes like 'timingresolution'
could not be changed via Org-mode properties. This patch makes the
exporter treat project-attributes just like it treats task-, resource-
and report-attributes.
2014-07-27 17:02:28 +02:00
Konubinix 807369b69b org-git-link.el: Add support for line in org-git-ling
* org-git-link.el (org-git-open): Jump to the line if provided in the link.
(org-git-split-string): Parse a third element of the list and change the error
message accordingly.
(org-git-create-git-link): Accept the third optional line argument.
(org-git-store-link): call `org-git-create-git-link' with the current line
number.
2014-07-27 16:16:37 +02:00
Suvayu Ali bd93c61084 contrib/lisp/org-notmuch.el: new notmuch open function
* contrib/lisp/org-notmuch.el: org-notmuch-tree-follow-link: New function,
  can be used to follow notmuch or notmuch-search links.
2014-07-27 15:27:51 +02:00
Suvayu Ali e6f2e8fe88 contrib/lisp/org-notmuch.el: customisable notmuch open functions
* contrib/lisp/org-notmuch.el: org-notmuch-open-function,
  org-notmuch-open-search-function: New defcustoms, can be used to set
  custom notmuch-open functions.
2014-07-27 15:27:47 +02:00
Nicolas Goaziou fbc7097ffa Merge export and special blocks within back-ends
* lisp/ox-ascii.el (org-ascii-export-block): Remove function.
(org-ascii-special-block): Handle raw special blocks.

* lisp/ox-beamer.el (org-beamer-export-block): Remove function.

* lisp/ox-html.el (org-html-export-block): Remove function.
(org-html-special-block): Handle raw special blocks.

* lisp/ox-latex.el (org-latex-export-block): Remove function.
(org-latex-special-block): Handle raw special blocks.

* lisp/ox-man.el (org-man-export-block): Remove function.
(org-man-special-block): Handle raw special blocks.

* lisp/ox-md.el (org-md-export-block): Remove function.

* lisp/ox-odt.el (org-odt-export-block): Remove function.
(org-odt-special-block): Handle raw special blocks.

* lisp/ox-texinfo.el (org-texinfo-export-block): Remove function.
(org-texinfo-special-block): Handle raw special blocks.

* contrib/lisp/ox-groff.el (org-groff-export-block): Remove function.
(org-groff-special-block): Handle raw special blocks.

* contrib/lisp/ox-koma-letter.el (org-koma-letter-export-block):
  Remove function.
2014-07-27 14:29:24 +02:00
Matt Lundin 092213b507 Fix ID generation in org-rss-publish-to-rss
* contrib/lisp/ox-rss.el (org-rss-publish-to-rss): Fix a bug that
  causes ID properties to be generated in org buffer emacs is
  currently visiting rather than the file containing the feed.
2014-07-26 20:07:16 +02:00
Grégoire Jadi 08e7795859 contrib/lisp/org-contacts.el: Allow the user to customize interactively the vcard export
* contrib/lisp/org-contacts.el (org-contacts-export-as-vcard): Wrap
  `org-contacts-export-as-vcard-internal' to prompt for the parameters
  when called interactively.
(org-contacts-export-as-vcard-internal): The old function
  `org-contacts-export-as-vcard'.

Thanks to Esben Stien for the suggestion.
2014-07-26 13:36:46 +09:00
Grégoire Jadi 9cf3c4e971 contrib/lisp/org-contacts.el: Fix a bug when contacts don't have an email address
* contrib/lisp/org-contacts.el (org-contacts-complete-tags-props,
org-contacts-complete-group): Fix a bug when contacts don't have an
email address.
2014-07-13 19:34:27 +09:00
Grégoire Jadi a11ce0b456 contrib/lisp/org-contacts.el: Complete contacts using tags and properties
* contrib/lisp/org-contacts.el (org-contacts-complete-tags-props): New
function that allows the user to retrieve contacts based on tags and
properties.

(org-contacts-complete-functions): Add
org-contacts-complete-tags-props to the completion functions.

(org-contacts-tags-props-prefix): Prefix used to detect the
completion method wished.

Based on the idea and implementation of John Kitchin
2014-07-13 19:28:49 +09:00
Eric Schulte 5ab53d101d rm dependency of ox-bibtex on org-bibtex-extras
* contrib/lisp/org-bibtex-extras.el: Remove functions to find
  citations, moved into ox-bibtex.

* contrib/lisp/ox-bibtex.el: Add functionality to follow cite links.
2014-06-25 12:43:33 -04:00
Eric Schulte 076726fbb6 drop cite options for non-latex backends
These options break citation handling for these other backends, so we
should just drop them.

* contrib/lisp/ox-bibtex.el (org-bibtex-merge-contiguous-citations):
  Drop citation options for HTML and ASCII export.
2014-06-25 07:14:45 -04:00
Aaron Ecay f05216987d contrib/lisp/ox-extra.el: fix typos/thinkos 2014-06-21 21:54:32 -04:00
Aaron Ecay c4ceeb34f1 contrib/lisp/ox-extra.el: new file 2014-06-21 21:41:10 -04:00
Aaron Ecay 94939bd473 org-mtags: remove
* contrib/lisp/org-mtags.el: Delete file.
* lisp/org.el (org-structure-template-alist): Remove <foo>-style tags.
(org-complete-expand-structure-template): Don't handle <foo>-style tags.
2014-06-21 20:48:46 -04:00
Nicolas Goaziou c6cc27c5ec ox-koma-letter: Small fix
* contrib/lisp/ox-koma-letter.el (koma-letter): Do not set a default
  value for "from address".

That address is computed later (see special headlines).
2014-06-19 22:31:01 +02:00
Bastien Guerry a77118b3ca Merge branch 'maint'
Conflicts:
	contrib/lisp/ox-koma-letter.el
2014-06-19 00:49:20 +02:00
IOhannes m zmoelnig 08a9587e01 ox-koma-letter.el (koma-letter): Use `org-koma-letter-from-address'
* ox-koma-letter.el (koma-letter): Use
`org-koma-letter-from-address'.

TINYCHANGE
2014-06-19 00:47:42 +02:00
Grégoire Jadi 9303717691 contrib/lisp/org-contacts.el: Factorize the construction of the database
* contrib/lisp/org-contacts.el (org-contacts-at-point): New function
  used to return the contact at point.
(org-contacts-db): Factorize the construction of the database using
`org-contacts-at-point' and fix a small typo.
2014-06-17 16:42:08 +09:00
Grégoire Jadi e57c4c6e32 contrib/lisp/org-contacts.el: Add a hook to allow users to plug completion functions
* contrib/lisp/org-contacts.el (org-contacts-complete-functions): A
  hook that contains the list of functions used to complete contacts.
(org-contacts-message-complete-function): Use the new hook.

Suggested by John Kitchin.
2014-06-17 16:41:49 +09:00
Bastien Guerry 23496c5e4e contrib/lisp/org-mac-link.el: Fix formatting 2014-06-14 14:47:37 +02:00
Mike McLean c57ecf260d Add DEVONthink Pro to Org Mac Link
* org-mac-link.el (org-mac-grab-Addressbook-app-p): New option.
(org-mac-grab-link): New interactive option.
(org-devonthink-item-open)
(org-as-get-selected-devonthink-item)
(org-mac-devonthink-get-links)
(org-mac-devonthink-item-insert-selected): New functions.
2014-06-14 14:38:41 +02:00
Bastien Guerry 3c5f938ae3 Merge branch 'maint' 2014-06-13 12:05:55 +02:00
Eric Schulte 3a1e6a3c3a fix semi-backend bug in org-mime
* contrib/lisp/org-mime.el (org-mime-multipart): Fix bug in use of the
  semi org-mime-library when converting emails to HTML.
2014-06-13 12:05:44 +02:00
Alan Schmitt 73bada5d84 org-mac-link.el: Tweak AppleScript to grab Mail.app messages
* contrib/lisp/org-mac-link.el (org-as-get-selected-mail): Make sure
no extra new line is present in the string returned from the
AppleScript.

* contrib/lisp/org-mac-link.el (org-mac-message-get-links): Get rid of
the enclosing quotes before splitting the string.
2014-06-07 09:34:35 +02:00
Eric Schulte c261928cb5 add options to LaTeX bibtex cite: links
* contrib/lisp/ox-bibtex.el (org-bibtex-merge-contiguous-citations):
  Add the ability to specify options so that for example the following
  link "[[cite:(Chapter 2)foo]]" will be converted to the following
  LaTeX "\cite[Chapter 2](foo)".
2014-06-06 08:35:52 -04:00
Jorge A. Alfaro Murillo 024a05b451 contrib/lisp/org-passwords.el: New file
* contrib/lisp/org-passwords.el: New file.

The file gives a mode for consulting a passwords database with entries
in org format.  The database opens in Read-Only mode and a timer is
set to close the database.  The file provides functions for making
usernames and passwords available to the facility for pasting text of
the window system (clipboard on X and MS-Windows, pasteboard on
Nextstep/Mac OS, etc.) without inserting them in the kill-ring.  It
also provides functions for generating passwords as a random string of
characters or as a number of random words from a dictionary.
2014-06-02 09:39:18 +02:00
Grégoire Jadi 7c8559e339 contrib/lisp/org-annotate-file.el: Create a customization group and convert `defvar' customization variables to `defcustom'
* contrib/lisp/org-annotate-file.el (org-annotate-file): New customization
group.

(org-annotate-file-storage-file org-annotate-file-add-search
org-annotate-file-always-open): Convert `defvar' symbols to `defcustom' using the new group.
2014-05-09 22:22:10 +09:00
Bastien Guerry 87419d87df Merge branch 'maint' 2014-05-09 14:40:58 +02:00
Eric Abrahamsen aaae4a55ca Update org-mime to current export functions
* /contrib/lisp/org-mime.el (org-mime-send-buffer):

This function was using `org-export-grab-title-from-buffer', which no
longer exists.
2014-05-09 14:40:48 +02:00
David Arroyo Menendez 582ed1b569 org-effectiveness.el (org-effectiveness-plot-html, org-effectiveness-html-bar): creation
* org-effectiveness.el (org-effectiveness-plot-html, org-effectiveness-html-bar): creation
2014-05-04 16:29:34 +02:00
Marc-Oliver Ihm 233c11df42 Fix for assistant to create index; fix for occur-command 2014-04-26 22:48:09 +02:00
David Arroyo Menendez cacef8fefb org-license.el (org-license-cc-by, org-license-cc-by-nd): Fix some urls.
* (org-license-cc-by, org-license-cc-by-nd): fix some urls.
2014-04-26 19:07:15 +02:00
David Arroyo Menendez a61417f541 org-effectiveness.el (org-effectiveness-plot): fix change of year
* org-effectiveness.el (org-effectiveness-plot): fix change of year
2014-04-22 03:56:56 +02:00
David Arroyo Menendez 60e1331ab7 org-license-el (org-license-gfdl): Fix year.
* (org-license-gfdl): replace 2013 by (format-time-string "%Y")
2014-04-22 03:27:51 +02:00
David Arroyo Menendez 77d7138322 org-license.el: lacks url in cc-by 2014-04-21 15:16:28 +02:00
Nicolas Goaziou 56483ad173 Small fix
* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files,
org-bibtex-process-bib-files): Use correct encoding.

* lisp/ox.el (org-export-dictionary): Update "Reference" entry.
2014-04-17 17:41:09 +02:00
Bastien Guerry 860912c6d0 ox.el (org-export-dictionary): Add "References"
* ox.el (org-export-dictionary): Add "References".

* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files):
Translate "References" according to the export language.

Thanks to Julian Gehring for suggesting this.
2014-04-17 17:25:03 +02:00
Nicolas Goaziou fffd055ac5 Merge branch 'maint'
Conflicts:
	lisp/org-element.el
	lisp/ox-html.el
2014-04-17 11:34:54 +02:00
Nicolas Goaziou 9dac00129d Update export back-ends wrt "file" link changes
* lisp/ox-latex.el (org-latex-link):
* lisp/ox-html.el (org-html-link):  Do not expand absolute file names
  and do not try to fix hierarchy part, as it is already taken care of
  at the parser level.

* lisp/ox-md.el (org-md-link): Ditto.  Also fix absolute file names.

* lisp/ox-odt.el (org-odt-link):
* lisp/ox-man.el (org-man-link):
* lisp/ox-texinfo.el (org-texinfo-link):
* contrib/lisp/ox-groff.el (org-groff-link): Ditto.  Do not prepend
  scheme part to relative file names either.

* contrib/lisp/ox-deck.el (org-deck-link): Small refactoring.
2014-04-17 11:30:15 +02:00
Nicolas Goaziou 73c141e43e Revert "Fix link export"
This reverts commit fc1f7d752f.
2014-04-17 11:30:14 +02:00
Nicolas Goaziou 7b3c11f797 Revert "Fix mailto links"
This reverts commit f61cd6b7a1.
2014-04-17 11:30:14 +02:00
Alan Schmitt de71f03d2a Org-expiry: make code and doc consistent
* contrib/lisp/org-expiry.el (org-expiry-expired-p): make code and doc
string consistent.
2014-04-14 14:03:45 +02:00
Nicolas Goaziou ee3cf87d40 Merge branch 'maint'
Conflicts:
	lisp/ox-html.el
2014-04-14 13:56:05 +02:00