1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-22 07:09:47 +00:00
Commit Graph

1590 Commits

Author SHA1 Message Date
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