0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 13:10:42 +00:00
Commit graph

11519 commits

Author SHA1 Message Date
Philipp Kroos daf7cd98ea * org-e-latex.el (org-e-latex-export-block): Fix typo.
* org-e-latex.el (org-e-latex-export-block): Fix typo.

TINYCHANGE
2012-09-12 12:41:31 +02:00
Bastien Guerry b508ff6901 org-agenda.el: Allow a new specifier %l' in org-agenda-prefix-format'
* org-agenda.el (org-agenda-prefix-format): A new specifier
`%l' allows to insert X spaces when the item is of level X.
(org-search-view, org-get-entries-from-diary)
(org-agenda-get-todos, org-agenda-get-timestamps)
(org-agenda-get-sexps, org-agenda-get-progress)
(org-agenda-get-deadlines, org-agenda-get-scheduled)
(org-agenda-get-blocks, org-agenda-change-all-lines): Add a
new text property 'level, a string with as many whitespaces as
the level of the item.
(org-agenda-format-item, org-compile-prefix-format): Handle
the new `%l' specifier.

This new specifier allows to have a visual clue about the level
of the item in agenda views.
2012-09-12 11:41:50 +02:00
Michael Brand 137bfd0aa7 org.texi: Mention Calc defmath
* org.texi (Formula syntax for Calc): Add a sentence to mention Calc
defmath.
2012-09-12 09:50:59 +02:00
Bastien Guerry d815ca4fb2 Merge branch 'maint' 2012-09-12 09:48:33 +02:00
Bastien Guerry cdc1db5fda org-agenda.el (org-agenda-bulk-action): Fix bug when bulk-shifting timestamps.
* org-agenda.el (org-agenda-bulk-action): Fix bug when
bulk-shifting timestamps.

Thanks to Rainer Stengele for reporting this.
2012-09-12 09:48:21 +02:00
Achim Gratz 2eb1456bfd Merge branch 'maint' 2012-09-11 21:44:37 +02:00
Achim Gratz c5977e7e9d Revert "org-compat.el: New compatibility function `org-random'"
This reverts commit 7719734dd7.

* lisp/org-id.el: Do not use (random t), we just want a new random
  number, not a re-seeding of the PRNG for which (random t) doesn't
  provide enough entropy anyway.  Even if (random) would always
  produce the same sequence, the other components going into the MD5
  hash ensure that the result will be unique.
2012-09-11 21:42:38 +02:00
Jambunathan K b335ce2aa5 org-e-html.el: No section numbers for listified headlines
Lisftified headline is numbered or unnumbered according to the value
of num:N spec.
2012-09-11 04:52:41 +05:30
Bastien Guerry 6bcd44e914 Revert "org-e-html/org-e-odt: Autoload (org-export-define-backend ...)"
This reverts commit 830a0781a6.
2012-09-10 22:14:31 +02:00
Luis Anaya 033abff4c0 Changed `org-babel-tcl-command' from a defvar to a defcustom.
* ob-tcl.el (org-babel-tcl-command):
Changed `org-babel-tcl-command' from a defvar to a defcustom.
2012-09-10 14:54:05 -04:00
Bastien Guerry f7f0445cc1 eldo.el: Minor tweaks 2012-09-10 09:21:14 +02:00
Eric Schulte 27101a3e0e resurrect org-create-formula-image
This commit resurrects the `org-create-formula-image' function which was
removed in commit a9d3ce.  This function is still called elsewhere, and
provides a simpler interface to the two backend-specific image creation
functions.

This also simplifies `org-format-latex', which still has some serious
problems such as optional arguments such as PROCESSING-TYPE which are
never assigned a default value, and extraneous variables.

At some point the `org-create-formula-image-with-imagemagick' and
`org-create-formula-image-with-dvipng' functions should be combined as a
great deal of code and logic is duplicated between the two functions.

* lisp/org.el (org-format-latex): Simplified and now makes use of the
  new `org-create-formula-image' function.
  (org-create-formula-image): Provides a simpler interface to the two
  backend-specific functions.
2012-09-09 13:30:32 -06:00
Nicolas Goaziou faa2be8d57 org-export: Don't overwrite menus or add redundant entries
* contrib/lisp/org-export.el (org-export-define-backend,
  org-export-define-derived-backend): Don't overwrite menus or add
  redundant entries.
2012-09-09 15:39:28 +02:00
Nicolas Goaziou fe02e60789 org-e-beamer: Small refactoring
* contrib/lisp/org-e-beamer.el (org-e-beamer-property-changed): Small
  refactoring.
2012-09-09 14:58:10 +02:00
Nicolas Goaziou 8e44533339 Merge branch 'maint' 2012-09-09 14:14:54 +02:00
Nicolas Goaziou f29131c3d2 org-element: Handle nil titles in headlines
* lisp/org-element.el (org-element-headline-parser): Handle nil
  titles.
(org-element-inlinetask-parser): Add :raw-value property.  Also handle
nil titles.
2012-09-09 14:13:24 +02:00
Nicolas Goaziou 9d334897e3 Don't consider tags as a replacement for a missing title in an headline
* lisp/org.el (org-set-regexps-and-options): Don't consider tags as
  a replacement for a missing title in an headline.
2012-09-09 14:03:36 +02:00
Jambunathan K 830a0781a6 org-e-html/org-e-odt: Autoload (org-export-define-backend ...)
Auto-create menu entries in the dispatcher UI.
2012-09-09 17:20:57 +05:30
Nicolas Goaziou 6b8276ce76 Export back-ends: add entry in `org-export-dispatch' when loaded
* contrib/lisp/org-e-ascii.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-beamer.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-groff.el (e-groff): Use
  `org-export-define-backend'.  Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-html.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-latex.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-man.el: Use `org-export-define-backend'.  Add an
  entry for `org-export-dispatch'.
* contrib/lisp/org-e-odt.el: Add an entry for `org-export-dispatch'.
* contrib/lisp/org-e-texinfo.el: Use `org-export-define-backend'.  Add an
  entry for `org-export-dispatch'.
* contrib/lisp/org-md.el: Add an entry for `org-export-dispatch'.
2012-09-09 13:15:23 +02:00
Nicolas Goaziou 113ca8767a org-export: Define new interface for `org-export-dispatch'
* contrib/lisp/org-export.el (org-export-define-backend):
  Add :menu-entry keyword.
(org-export-define-derived-backend): Add :menu-entry
and :sub-menu-entry keywords.
(org-export-dispatch-menu-entries): New variable.
(org-export-dispatch): Define a new interface.
(org-export-dispatch-ui): Rewrite function.
(org-export-dispatch-action): New function.

Every back-end defined through `org-export-define-backend' or
`org-export-define-derived-backend' can specify a menu entry for
`org-export-dispatch'. Navigating the menu is now a two levels
process.
2012-09-09 13:13:57 +02:00
Luis Anaya 659be37758 Added long cell support for man exports.
* org-e-man.el (org-e-man-table--org-table): Added long cell support
to man tables.
2012-09-08 12:29:16 -04:00
Luis Anaya 4088609fa5 First release into babel/contrib.
* src/org-mode/contrib/babel/langs/ob-eukleides.el: First release
into babel/contrib.
2012-09-08 11:22:48 -04:00
Luis Anaya e51e27f66b Initial release ob-tcl.el
* ob-tcl.el: First release into contrib/babel.
2012-09-08 11:18:05 -04:00
Luis Anaya 7041360ef7 Initial release: ob-mathomatic.el.
* ob-mathomatic.el: Initial release into contrib/babel.
2012-09-08 11:16:30 -04:00
Luis Anaya 9fc33dab8a Removed extra new line in the table creation command.
* org-e-groff.el
(org-e-groff-table--org-table): Removed extra new line in the
table termination command.
2012-09-08 11:08:29 -04:00
Achim Gratz d5fddbc053 Merge branch 'maint' 2012-09-06 20:14:52 +02:00
Achim Gratz 2de5d35243 add a missing require for gnus-util
* lisp/org-gnus.el: Add a missing require for gnus-util.

* contrib/lisp/org-contacts.el: Add a missing require for gnus-util.
2012-09-06 19:54:28 +02:00
Bastien Guerry cf98ded2d4 Merge branch 'maint' 2012-09-06 19:41:51 +02:00
Bastien Guerry 12f46c9d00 org.el (org-version): New constant
* org.el (org-version): New constant.
2012-09-06 19:41:26 +02:00
Eric Schulte 0a6165a555 widen buffer restrictions when inserting results 2012-09-05 12:02:48 -06:00
Jambunathan K c276eeebee org-export.el: Revert an erroneous commit, sigh 2012-09-05 03:33:16 +05:30
Jambunathan K 272c5fb74f org-e-freemind.el: Reverted accidental commit 2012-09-05 03:25:50 +05:30
Jambunathan K f7de184e43 org-e-odt.el: Typeset list-tables within a grid 2012-09-05 03:21:06 +05:30
Jambunathan K 602ef336a7 org-e-odt.el: Don't use `org-e-odt--translate-description-lists' 2012-09-05 01:08:30 +05:30
Jambunathan K 14442acde2 Merge remote branch 'origin/maint' 2012-09-05 01:04:55 +05:30
Jambunathan K 7de1b14465 org-odt.el: Replace copy-seq' with copy-sequence' 2012-09-04 23:56:02 +05:30
Nicolas Goaziou eeb5b92342 Merge branch 'maint' 2012-09-04 16:14:45 +02:00
Nicolas Goaziou dd28223042 Remove duplicate code
* lisp/org.el (org-setup-filling): Remove duplicate code.
2012-09-04 16:14:08 +02:00
Nicolas Goaziou 9d0d1bdc01 org-e-beamer: Small refactoring
* contrib/lisp/org-e-beamer.el (org-e-beamer--get-label): New
  function.
(org-e-beamer--format-frame, org-e-beamer-headline): Use new function.
2012-09-04 15:04:31 +02:00
Nicolas Goaziou 8f96986c45 org-e-latex: Add xelatex as a possible processor
* contrib/lisp/org-e-latex.el (org-e-latex-pdf-process): Add xelatex
  as a possible processor.
2012-09-04 14:19:30 +02:00
Nicolas Goaziou 153ff40a2a org-e-odt: Internalize filter
* contrib/lisp/org-e-odt.el (org-e-odt--translate-description-lists):
  This is a developer filter, which should be handled by
  `org-export-define-backend'.  Also, such filters do not require
  a back-end check.

`org-export-*-functions' are user-oriented variables.
2012-09-04 11:15:51 +02:00
Nicolas Goaziou e49668ab5d org-e-beamer: Add an "againframe" environment
* contrib/lisp/org-e-beamer.el (org-e-beamer-environments-special):
  Make "againframe" an hard-coded environment.
(org-e-beamer-headline): Handle "againframe" environment.
(org-e-beamer-select-environment): Provide support for "againframe"
environments.
2012-09-04 11:10:54 +02:00
Jambunathan K 7435489f1d org-e-odt.el: Continue earlier commit 2012-09-04 14:28:05 +05:30
Jambunathan K d7e75f3035 org-e-odt.el: Support for list-tables.
A list marked with non-nil `:list-table' attribute will be deemed as a
list-table.  A typical list-table will look like this:

,----
| #+attr_odt :list-table t
| - Row 1
|   - 1.1
|   - 1.2
|   - 1.3
| - Row 2
|   - 2.1
|   - 2.2
|   - 2.3
`----

Also fix regression in indented table caused by recent `section'
changes.
2012-09-04 14:15:14 +05:30
Nicolas Goaziou 97c1b93e04 org-e-beamer: Allow to define frame labels
* contrib/lisp/org-e-beamer.el (org-e-beamer--format-frame):
  User-provided frame labels overwrite default label.
2012-09-04 08:25:46 +02:00
Bastien Guerry cc1e2cf6f6 Merge branch 'maint' 2012-09-04 00:07:00 +02:00
Bastien Guerry fa0236ce03 Merge branch 'maint' of orgmode.org:org-mode into maint 2012-09-04 00:06:39 +02:00
Bastien Guerry 320a1201cd org.texi (History and Acknowledgments): Fix typo
* org.texi (History and Acknowledgments): Fix typo.
2012-09-04 00:00:33 +02:00
Luis Anaya d46887f206 Code to process export of PNG and JPG images.
* org-e-groff.el
(org-e-groff-inline-image-rules): Added PNG and JPG as valid
inline suffixes.
(org-e-groff-raster-to-ps): Variable that contains the command
to execute raster to eps conversion.
(org-e-groff--letter-head): Updated logic to handle empty
FROM/TO in letter classes.
(org-e-groff-link--inline-image): Added logic to process
raster images.
2012-09-03 17:24:58 -04:00
Jambunathan K d0ad93075e Merge remote branch 'origin/maint' 2012-09-03 20:25:26 +05:30