Commit 03f3cf35 authored by John Wiegley's avatar John Wiegley
Browse files

Installed org-mode 5.13d

parent 7e780ff1
2007-10-22 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-read-date-get-relative): New function.
(org-agenda-file-regexp): New variable.
(org-agenda-files): Allow directories in the variable.
(org-agenda-get-restriction-and-command): New function.
(org-agenda): Use `org-agenda-get-restriction-and-command'.
(org-todo-blocker-hook, org-todo-trigger-hook): New hook.
(org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state):
New functions.
(org-entry-add-to-multivalued-property)
(org-entry-remove-from-multivalued-property)
(org-entry-member-in-multivalued-property): New functions.
(org-remember-apply-template): Catch C-g and make sure window
configuration is restored.
(org-agenda-open-link): Make is work with several links in the
line.
(org-drawers, org-set-regexps-and-options)
(org-get-current-options): Added support for a DRAWERS in-buffer
option.
(org-agenda-window-frame-fractions): New option.
(org-fit-agenda-window): Use `org-agenda-window-frame-fractions'.
(org-columns-cleanup-item, org-find-entry-with-id)
(org-insert-columns-dblock, org-listtable-to-string)
(org-dblock-write:columnview, org-columns-capture-view)
(org-edit-headline): New functions.
(org-agenda-to-appt): Require calendar.
(org-entry-get-with-inheritance): Widen for search.
(org-columns-display-here): Don't mark buffer as modified when
adding space characters to accomodate column overlays.
(org-export-as-html): Better formatting of tags in the toc.
(org-columns-display-here): Make the ITEM column as compact as
possible.
(org-remember-templates): Customization interface improved.
(org-export-with-property-drawer): Variable removed.
(org-export-with-drawers): New option.
(org-complex-heading-regexp): New variable.
(org-sort-entries): Rewrite using `sort-subr'.
(org-set-property): More appropriate completion during interactive
use.
(org-sort-entries): Allow sorting by property.
(org-additional-option-like-keywords): Added more values.
(org-sort-entries-or-items): Renamed from `org-sort-entries'.
2007-10-22 Carsten Dominik <dominik@science.uva.nl>
* org.texi: Small fixes.
2007-10-22 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-get-date-from-calendar): New function.
(org-at-timestamp-p, org-timestamp-change)
(org-remember-templates): First element of each entry is now a
name for the template.
(org-store-log-note): Check for `org-note-abort'.
(org-kill-note-or-show-branches): New command.
(org-fontify-priorities): New option.
(org-fontify-priorities): New function.
(org-cut-subtree, org-copy-subtree): New argument N to
act on N sequential subtrees.
(org-paste-subtree): Fix the level at which a tree is pasted.
(org-fit-agenda-window): Limitations on window size removed.
(org-agenda-find-same-or-today-or-agenda): Renamed from
`org-agenda-find-today-or-agenda'.
(org-scheduled-past-days): New option.
(org-agenda-scheduled-leaders)
(org-agenda-deadline-leaders): New options.
(org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'.
(org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'.
(org-export-with-tags, org-export-plist-vars)
(org-infile-export-plist): New "tags" option.
(org-use-property-inheritance): New option.
(org-cached-entry-get): Use `org-use-property-inheritance'.
(org-remember-apply-template): Fixed typo.
2007-10-22 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-find-shell)
......
;;; org-export-latex.el --- LaTeX exporter for org-mode
;;
;; Copyright (C) 2007 Free Software Foundation, Inc.
;; copyright (c) 2007 free software foundation, inc.
;;
;; Emacs Lisp Archive Entry
;; Filename: org-export-latex.el
;; Version: 5.11
;; Version: 5.12
;; Author: Bastien Guerry <bzg AT altern DOT org>
;; Maintainer: Bastien Guerry <bzg AT altern DOT org>
;; Keywords: org, wp, tex
......@@ -58,7 +58,7 @@
(defvar org-latex-add-level 0)
(defvar org-latex-sectioning-depth 0)
(defvar org-export-latex-list-beginning-re
"^\\([ \t]*\\)\\([-+]\\|[0-9]+\\(?:\\.\\|)\\)\\) *?")
"^\\([ \t]*\\)\\([-+*]\\|[0-9]+[.)]\\) +?")
(defvar org-latex-special-string-regexps
'(org-ts-regexp
......@@ -579,6 +579,8 @@ Argument OPT-PLIST is the options plist for current buffer."
;; insert the title
(format
"\\title{%s}\n"
;; convert the title
(org-export-latex-content
(or (plist-get opt-plist :title)
(and (not
(plist-get opt-plist :skip-before-1st-heading))
......@@ -586,7 +588,7 @@ Argument OPT-PLIST is the options plist for current buffer."
(and buffer-file-name
(file-name-sans-extension
(file-name-nondirectory buffer-file-name)))
"UNTITLED"))
"UNTITLED")))
;; insert author info
(if (plist-get opt-plist :author-info)
......@@ -626,7 +628,9 @@ COMMENTS is either nil to replace them with the empty string or a
formatting string like %%%%s if we want to comment them out."
(save-excursion
(goto-char (point-min))
(let* ((end (if (re-search-forward "^\\*" nil t)
(let* ((pt (point))
(end (if (and (re-search-forward "^\\*" nil t)
(not (eq pt (match-beginning 0))))
(goto-char (match-beginning 0))
(goto-char (point-max)))))
(org-export-latex-content
......@@ -954,7 +958,7 @@ Valid parameters are
(let* ((beg (org-table-begin))
(end (org-table-end))
(raw-table (buffer-substring-no-properties beg end))
fnum line lines olines gr colgropen line-fmt alignment)
fnum fields line lines olines gr colgropen line-fmt align)
(if org-export-latex-tables-verbatim
(let* ((tbl (concat "\\begin{verbatim}\n" raw-table
"\\end{verbatim}\n")))
......@@ -1133,7 +1137,7 @@ Valid parameters are
(when (and (re-search-forward (regexp-quote foot-prefix) nil t))
(replace-match "")
(let ((end (save-excursion
(if (re-search-forward "^$\\|\\[[0-9]+\\]" nil t)
(if (re-search-forward "^$\\|^#.*$\\|\\[[0-9]+\\]" nil t)
(match-beginning 0) (point-max)))))
(setq footnote
(concat
......
......@@ -4,7 +4,7 @@
;; Author: David O'Toole <dto@gnu.org>
;; Keywords: hypermedia, outlines
;; Version: 1.80
;; Version: 1.80a
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......@@ -426,7 +426,7 @@ nil if not found."
(defun org-publish-get-plist-from-filename (filename)
"Return publishing configuration plist for file FILENAME."
(let ((found nil))
(mapc
(mapcar
(lambda (plist)
(let ((files (org-publish-get-base-files plist)))
(if (member (expand-file-name filename) files)
......@@ -438,20 +438,6 @@ nil if not found."
;;;; Pluggable publishing back-end functions
(defun org-publish-org-to-html (plist filename)
"Publish an org file to HTML.
PLIST is the property list for the given project.
FILENAME is the filename of the org file to be published."
(eval-and-compile (require 'org))
(let* ((arg (plist-get plist :headline-levels)))
(progn
(find-file filename)
(org-export-as-html arg nil plist)
;; get rid of HTML buffer
(kill-buffer (current-buffer)))))
(defun org-publish-org-to-latex (plist filename)
"Publish an org file to LaTeX."
(org-publish-org-to "latex" plist filename))
......@@ -464,7 +450,7 @@ FILENAME is the filename of the org file to be published."
"Publish an org file to FORMAT.
PLIST is the property list for the given project.
FILENAME is the filename of the org file to be published."
(eval-and-compile (require 'org))
(require 'org)
(let* ((arg (plist-get plist :headline-levels)))
(progn
(find-file filename)
......@@ -478,10 +464,9 @@ FILENAME is the filename of the org file to be published."
PLIST is the property list for the given project.
FILENAME is the filename of the file to be published."
;; make sure eshell/cp code is loaded
(eval-and-compile
(require 'eshell)
(require 'esh-maint)
(require 'em-unix))
(require 'em-unix)
(let ((destination (file-name-as-directory (plist-get plist :publishing-directory))))
(eshell/cp filename destination)))
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment