Commit Graph

2816 Commits

Author SHA1 Message Date
Nicolas Goaziou 13dbea95af Fix documentation
* doc/org.texi (Installation):
(Feedback):
(Handling links):
(Setting tags):
(Matching tags and properties):
(Storing searches):
(The very busy C-c C-c key):
(org-crypt):
(Adding hyperlink types):
* lisp/org-agenda.el (org-agenda-todo-ignore-deadlines):
(org-agenda-show-inherited-tags):
(org-agenda-week-view):
(org-agenda-fortnight-view):
(org-agenda-month-view):
(org-agenda-year-view):
* lisp/org-archive.el (org-archive-to-archive-sibling):
* lisp/org-capture.el (org-capture-templates):
* lisp/org-table.el:
* lisp/org.el (org-startup-folded):
(org-tag-alist):
(org-match-sparse-tree): Provide more accurate documentation.

Reported-by: Jorge Morais Neto <jorge13515@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/110080>
2016-11-07 01:14:04 +01:00
Nicolas Goaziou 2c0d8774b4 ox-latex: Allow horizontal rules in table math mode
* lisp/ox-latex.el (org-latex--math-table): Handle horizontal rules.
* doc/org.texi (Tables in @LaTeX{} export): Update documentation.
2016-11-06 23:31:54 +01:00
Nicolas Goaziou f5645675a3 Disallow S-exp in capture templates
* lisp/org-capture.el (org-capture-expand-file): Disallow S-exp.
(org-capture-templates):
* doc/org.texi (Template elements): Update documentation.

A function is equivalent to using S-exp, without tainting code with an
yet another call to `eval'.
2016-11-04 17:41:27 +01:00
Nicolas Goaziou 1e43168ff8 org.texi: Fix typo
* doc/org.texi (Template expansion): Fix typo.
2016-10-19 20:46:15 +02:00
Nicolas Goaziou e4c38ab1d3 Improve documentation for capture templates
* doc/org.texi (Template expansion):
* lisp/org-capture.el (org-capture-templates): Clarify documentation.

Suggested-by: Stig Brautaset <stig@brautaset.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/109844>
2016-10-19 19:23:31 +02:00
Nicolas Goaziou d3e338dc0a org.texi: Add missing blank line
* doc/org.texi (Using the property API): Add missing blank line.
2016-10-11 21:00:58 +02:00
Marco Wahl 17e73cf949 Merge branch 'maint' 2016-10-02 19:08:45 +02:00
Marco Wahl 194e51e102 doc/orgcard.tex: Fix compile-command 2016-10-02 19:07:26 +02:00
Nicolas Goaziou eda8ac493f Fix inconsistencies in `org-occur' binding
* doc/org.texi (Sparse trees): Add C-c / / binding for `org-occur'.
* lisp/org.el (org-sparse-tree): Mention "r" suffix for consistency with
  other entries in the help menu.
2016-10-02 00:30:14 +02:00
Nicolas Goaziou 7075704b09 org.texi: Fix documentation about C-RET and M-RET
* doc/org.texi (Structure editing): Fix documentation, which is no
  longer in sync with the current behavior of the commands.
2016-10-02 00:19:51 +02:00
Nicolas Goaziou 12196b8472 Fix documentation
* doc/org.texi (Conventions): Remove unhelpful and wrong footnote.
(Initial visibility): Remove spurious paragraph.
(Global and local cycling):
(Motion): Fix function name.
(Plain lists): Reverse prefix argument action.
(Column width and alignment):
(Column groups):
(Tag inheritance):
(Tag hierarchy):
(The date/time prompt): Fix typo
(Link abbreviations):
(Tag searches):
(Timers): Fix wording.
(Checkboxes): Improve accuracy of footnote.  Correctly describe the
behaviour of `org-toggle-checkbox' on a headline.
(Filtering/limiting agenda items): More accurate description for `+' and
`-'.  Also remove unused `\' key.
(Agenda commands): Fix behaviour description.

* lisp/org-agenda.el (org-agenda-filter-by-tag): Fix docstring
  appearance.
(org-agenda-show-and-scroll-up): Fix wording.

* lisp/org-id.el (org-id-link-to-org-use-id): Fix function name.
(org-id-update-id-locations): Remove reference to unused argument.

* lisp/org.el (org-insert-heading): Improve docstring.
(org-insert-todo-heading): Describe behavior on a plain list item.
(org-update-statistics-cookies): Describe behavior when called with
a prefix argument.
(org-metaright): Fix typo.
(org-kill-note-or-show-branches): Fix function name.
(org-yank): Fix wording.

Reported-by: Jorge <jorge13515@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/109428>
2016-09-29 22:22:56 +02:00
Rasmus e03e837168 org-src: New syntax for source blocks faces
* doc/org.texi (Editing source code): Document changes.
* lisp/org-faces.el (org-block): Update docstring.
  (org-src-block-faces): New defcustom for source-block faces.
* lisp/org-src.el (org-src-font-lock-fontify-block): Use
  org-src-block-faces.
* etc/ORG-NEWS: Update NEWS entry.
2016-09-22 09:31:43 +02:00
Nicolas Goaziou 8f39d832df org.texi: Document smart quotes behavior
* doc/org.texi (Export settings): Explain smart quotes behavior.
2016-09-18 23:16:33 +02:00
Nicolas Goaziou a1f51c8655 org.texi: Fix typo
* doc/org.texi (Special symbols): Fix typo.
2016-09-18 16:30:03 +02:00
Nicolas Goaziou c74f4c9cf8 org.texi: Move subscripts section outside of Embedded LaTeX section
* doc/org.texi (Subscripts and superscripts): Move outside of Embedded
  LaTeX section.  Document multi-words sub- superscripts.
2016-09-18 01:16:48 +02:00
Nicolas Goaziou 53373285f7 org.texi: Improve special symbols section
* doc/org.texi (Special symbols): Add details about `org-entities-help'
  and entities as a way to escape characters in Org.  Also move the
  section outside of LaTeX markup.
2016-09-18 01:00:41 +02:00
Nicolas Goaziou e8c8386687 org.texi: Remove useless footnote
* doc/org.texi (OpenDocument Text export): Remove useless reference to
  old Org releases since the manual is tied to a specific version.
2016-09-17 23:32:59 +02:00
Jake Romer d4a073f5be ox-md.el: Export footnotes section as Markdown
* lisp/ox-md.el (org-md--headline-title): New function.
(org-md-headline): Use `org-md-headline-title' to generate section
headers.
(org-md--footnote-formatted): New function.
(org-md--footnote-section): New function.
(org-md-inner-template): Update to use `org-md-footnote-section'.
(org-md-footnotes-section): New customizable variable.
(org-md-footnote-format): New customizable variable.

Update ox-md.el to export the Footnotes section as Markdown, using HTML
only where necessary - namely, in footnote and footnote reference links.
2016-09-01 18:41:52 +02:00
Nicolas Goaziou a4cb6463d0 org.texi: Add Lua to supported languages
* doc/org.texi (Languages): Add Lua to the list of supported languages.
2016-08-29 08:57:10 +02:00
Nicolas Goaziou 71a3331aaf Move org-eww to core
* lisp/org-eww.el: Move file from contrib/lisp/ to lisp/.
* lisp/org.el (org-modules): Apply change.
* lisp/org-capture.el (org-capture-templates):
* doc/org.texi: Document changes.
2016-08-20 02:59:56 +02:00
Nicolas Goaziou 661987e121 org.texi: Reorder two sections
* doc/org.texi (Exporting): Update menu.
(Export in foreign buffers): Move this section...
(Other built-in back-ends): ... past this one.
2016-08-19 16:06:49 +02:00
Nicolas Goaziou 888c3652c5 org.texi: Remove useless section
* doc/org.texi (Exporting): Reword section.
(Export back-ends): Remove section.
2016-08-19 16:04:49 +02:00
Nicolas Goaziou fb517fabc0 org.texi: Remove outdated comments
* doc/org.texi: Remove outdated comments.
2016-07-26 20:35:35 +02:00
Jarmo Hurri 04e0bc0b00 ox-html: Provide a default CSS class for embedded SVG images
* lisp/ox-html.el (org-html--svg-image): Set CSS class of embedded SVG
images to be org-svg if no other class is set in attributes.
org-html-style-default: Provide default properties for new CSS class.

* doc/org.texi (CSS support): Documentation of default CSS class
org-svg for SVG images embedded into exported HTML.
2016-07-26 10:37:17 +02:00
Nicolas Goaziou 096f4287a6 ox-latex: Allow toggling centering of images
* lisp/ox-latex.el (latex): Introduce new
  property :latex-images-centered.
(org-latex-images-centered): New variable.
(org-latex--inline-image): Handle new attribute :center, in addition to
variable above.
* doc/org.texi (Images in @LaTeX{} export): Document new behaviour
(Publishing options): Reference :latex-images-centered.
2016-07-25 23:31:25 +02:00
Nicolas Goaziou a9fe21f218 org.texi: Merge "markup" related nodes
* doc/org.texi (Top): Update master menu.

(Structural markup elements): Splice contents of this node...
(Markup): ... here.

(Paragraphs): Add concept index entries

(Emphasis and monospace):
(Horizontal rules): Make those a section.
2016-07-23 16:35:29 +02:00
Nicolas Goaziou 98258c72cd org.texi: Remove "Special blocks" node
* doc/org.texi (Special blocks): Remove node.
(Top):
(Markup): Update menus.
2016-07-23 16:09:52 +02:00
Nicolas Goaziou b94ef2e3d7 org.texi: Move "Comment lines" and "Table of contents"
* doc/org.texi (Top): Update menu.
(Structural markup elements): Move "Table of contents" and "Comment
lines" nodes from here...
(Exporting): ... to there.
2016-07-23 16:05:12 +02:00
Nicolas Goaziou 8168c61ebc org.texi: Remove duplicates nodes
* doc/org.texi (Top):
(Document title):
(Headings and sections):
(Lists):
(Footnote markup): Remove sections.
(Export settings): Add a concept index entry.
2016-07-23 15:54:34 +02:00
Nicolas Goaziou c48c840d76 org.texi: Move "Include files" and "Macro replacement" nodes
* doc/org.texi (Top): Update menu
(Markup): Move "Include files" and "Macro replacement" nodes from here...
(Exporting): ... to there.
2016-07-23 15:44:58 +02:00
Nicolas Goaziou 9de3143931 org.texi: Move "Index entries" within publishing section
* doc/org.texi (Include entries): Move contents...
(Generating an index): ... here.
(Top):
(Markup): Update menus.
2016-07-23 15:39:18 +02:00
Nicolas Goaziou e5598c4bd4 org.texi: Fix typo
* doc/org.texi (Texinfo specific export settings): Fix typo.
2016-07-23 14:55:21 +02:00
Nicolas Goaziou 713d2908da org.texi: Improve Texinfo documentation
* doc/org.texi (Top):
(Texinfo export): Update menus.

(Texinfo file header):
(Texinfo title and copyright page):
(Texinfo @samp{Top} node): New nodes.
2016-07-23 14:53:58 +02:00
Nicolas Goaziou ec281e8d2b org.texi: Small rewording
* doc/org.texi (Exporting): Small rewording.  Write about Texinfo
  export.
2016-07-23 14:29:41 +02:00
Nicolas Goaziou 9cb6eb2731 org.texi: Improve a section name
* doc/org.texi (Top):
(Texinfo export): Update menus.
(A Texinfo example): Rename to something more specific.
2016-07-23 14:23:56 +02:00
Nicolas Goaziou bf54ff5830 org.texi: Spread Texinfo export back-end attributes
* doc/org.texi (Top): Update master menu.
(Texinfo export): Update menu.
(Images in Texinfo export):
(Special blocks in Texinfo export):
(Tables in Texinfo export):
(Quoting Texinfo code): New sections.
2016-07-23 14:18:11 +02:00
Nicolas Goaziou 0f68b43133 org.texi: Small reordering in HTML export section
* doc/org.texi (Top): Update master menu.
(HTML doctypes): Remove useless @subsubheading.  Change index entries
locations, small improvement to a variable value.
2016-07-23 14:06:31 +02:00
Nicolas Goaziou 8e92216a7c org.texi: Spread LaTeX export back-end documentation
* doc/org.texi (Top): Update master menu
(@LaTeX{} export): Update menu.

(@LaTeX{} header and sectioning):
(Quoting @LaTeX{} code):
(Images in @LaTeX{} export):
(Plain lists in @LaTeX{} export):
(Source blocks in @LaTeX{} export):
(Special blocks in @LaTeX{} export):
(Horizontal rules in @LaTeX{} export): New subsections.
2016-07-23 13:56:29 +02:00
Nicolas Goaziou 9ee185c3af org.texi: Rename `latex' export back-end section
* doc/org.texi (Top):
(Exporting):
(Beamer export):
(Beamer specific syntax):
(JavaScript support): Rename `latex' export back-end section.

The PDF output format is not specific to `latex' back-end so it doesn't
need to be part of the section name.
2016-07-23 12:09:39 +02:00
Nicolas Goaziou c4b68a13a1 org.texi: Update default export back-ends
* doc/org.texi (Export back-ends): Notify that `odt' back-end is loaded
  by default.
2016-07-23 12:04:59 +02:00
Nicolas Goaziou 8fe6f27512 Deprecate "file+application" link types
* doc/org.texi (External links): Remove "file+emacs" and "file+sys"
  syntax.
* lisp/org-compat.el (org): Support "file+emacs" and "file+sys" for the
  time being.
* lisp/org-lint.el (org-lint--checkers): Add checker for obsolete link
  types.
(org-lint-file-application): New function.
* lisp/org.el (org-link-parameters): Remove deprecated link types.
2016-07-18 23:45:52 +02:00
John Kitchin 4e42012090 Update the texinfo for link parameters documentation 2016-07-18 22:47:51 +02:00
Nicolas Goaziou f38f83b4f1 Remove deprecated syntax for Babel properties
* doc/org.texi (Header arguments in Org mode properties): Remove
  reference to deprecated syntax.
* lisp/ob-core.el (org-babel-params-from-properties): Ignore deprecated
  syntax.
* testing/examples/babel.org:
* testing/examples/normal.org:
* testing/examples/ob-header-arg-defaults.org:
* testing/examples/property-inheritance.org:
* testing/lisp/test-ob-header-arg-defaults.el
(test-ob-header-arg-defaults/global/noweb):
(test-ob-header-arg-defaults/global/call):
(test-ob-header-arg-defaults/tree/overwrite/call):
(test-ob-header-arg-defaults/tree/overwrite/noweb):
(test-ob-header-arg-defaults/tree/accumulate/call):
(test-ob-header-arg-defaults/tree/accumulate/noweb):
(test-ob-header-arg-defaults/tree/complex/call):
(test-ob-header-arg-defaults/tree/complex/noweb):
* testing/lisp/test-ob.el (test-ob/elisp-in-header-arguments):
* testing/lisp/test-property-inheritance.el
(test-org-property-accumulation-overwrite-use): Update syntax.
(test-org-property-accumulation-append-use): Use new syntax.
(test-org-property-accumulation-top-val)
(test-org-property-accumulation-overwrite-val)
(test-org-property-accumulation-append-val): Remove tests.
2016-07-04 00:41:56 +02:00
Don March 86e592cb66 Reschedule "++" repeaters on same day if in future
* lisp/org.el (org-auto-repeat-maybe): Include the time in a
  timestamp (hours and minutes) when checking if a repeat occurrence is
  in the future.
* doc/org.texi (Repeated Tasks): Document repeat occurrences with a time
  in the timestamp.
2016-07-01 10:59:20 +02:00
Nicolas Goaziou e33ca741c0 org.texi: Fix typo
* doc/org.texi (Sources and destinations): Add missing word.
2016-06-22 18:36:29 +02:00
Nicolas Goaziou 5cd793c59a ox-publish: Change signature for preparation and completion functions
* doc/org.texi (Sources and destinations): Document new signature.
* lisp/ox-publish.el (org-publish-project-alist): Update docstring.
(org-publish-projects): Call preparation and
completion functions with the project properties as the sole argument.

`project-plist' used to be dynamically scoped.  This is no longer
possible due to the switch to lexical binding.

Reported-by: Arun Isaac <arunisaac@systemreboot.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/107856>
2016-06-22 15:31:48 +02:00
Nicolas Goaziou ed8dea83a9 orgguide: Mirror changes to Org manual
* doc/orgguide.texi (Installation):
(Clean view): Remove references to old Emacsen or XEmacs.
2016-06-15 13:17:32 +02:00
Nicolas Goaziou a101aad97c org.texi: Fix left-overs from src block syntax change
* doc/org.texi (Evaluating code blocks):
(results):
* doc/orgguide.texi (HTML export):
(@LaTeX{} and PDF export): Use "#+begin_export" foo instead of
"#+begin_foo".
2016-06-15 13:15:08 +02:00
Nicolas Goaziou 1ee633ecf1 org.texi: Fix previous commit
* doc/org.texi (Plain lists): Remove reference to filladapt, which is
  not needed to fill plain lists.
2016-06-15 11:44:15 +02:00
Nicolas Goaziou 1e6a0d2268 org.texi: Remove spurious white spaces
* doc/org.texi (Clean view): Remove spurious white spaces.
2016-06-15 11:40:04 +02:00
Nicolas Goaziou c258605f7d org.texi: Remove unnecessary external package references
* doc/org.texi (Cooperation): Remove references to packages Org no
  longer cooperate with.
2016-06-15 11:34:26 +02:00
Nicolas Goaziou 27857f952f org.texi: Remove references to older Emacsen
* doc/org.texi (Activation):
(Handling links):
(Literal examples in ODT export):
(In-buffer settings):
(Clean view):
(Cooperation):
(Conflicts): Assume Emacs is at least 24.3, so remove any reference to
Emacsen earlier than this release.
2016-06-15 11:30:46 +02:00
Nicolas Goaziou 1da065ba21 org.texi: Remove XEmacs references
* doc/org.texi (Installation):
(Activation):
(Feedback):
(Sparse trees):
(Plain lists):
(Column width and alignment):
(dir): Remove XEmacs references.
2016-06-15 11:13:09 +02:00
Rasmus af463605f1 Document org-block face changes
* doc/org.texi (Editing source code): Document org-block and
  org-block-LANG faces.
* lisp/org-faces.el (org-block): Mention org-block-LANG faces.
* lisp/org.el (org-src-fontify-natively): Add reference to org-block.
* etc/ORG-NEWS: Update entry.
2016-06-10 10:11:03 +02:00
Matt Lundin c702dd0034 Remove paragraph about obsolete variables
* doc/org.texi: Remove paragraph documenting now obsolete variables
  `org-completion-use-ido' and `org-completion-use-iswitchb'.
2016-06-01 19:28:02 +02:00
Brian J. Carlson 3179d30683 org.texi: Updated doc for [+-]n in SRC/EXAMPLE export
* doc/org.texi (Timers): Added information about optional argument to
  -n/+n line-numbering
* etc/ORG-NEWS: Added infomation for "Provide offset to [+-]n in
  SRC/EXAMPLE export"  (commit af8e3d8)
2016-05-31 22:35:21 +02:00
Rasmus 888ebfdeaf ox-latex: More robust repeated footnote references
* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix typo
  in docstring.
(org-latex-footnote-defined-format): New defcustom.
(org-latex-footnote-reference): Refer to repeated footnotes using
labels.  Format using new defcustom.
* etc/ORG-NEWS: Mention change.
* doc/org.texi (Publishing options): Add new defcustom.
2016-05-25 09:14:52 +02:00
Feng Shu bf93e166be Use dvisvgm to preview latex formulas
* ox-html.el (org-html-with-latex): Add dvisvgm support.
(org-html-with-latex): Add dvisvgm support.
(org-html-format-latex): "ltxpng" -> "ltximg".
(org-html-latex-environment): Add dvisvgm support.
(org-html-latex-fragment): Add dvisvgm support.

* org.el (org-preview-latex-default-process): New variable.
(org-latex-create-formula-image-program): Rename it to `org-preview-latex-default-process'.
(org-latex-preview-ltximg-directory): Rename it to `org-preview-latex-image-directory'.
(org-preview-latex-image-directory): New variable.
(org--format-latex-make-overlay): Add optional image-type, which used to deal with svg.
(org-toggle-latex-fragment): "org-ltxpng" -> "org-ltximg".
(org-format-latex): Add dvisvgm support.
(org-create-formula-image): Big refactor, merge dvipng and imagemagick
backend's feature.  Add dvisvgm feature.
(org-preview-latex-process-alist): Add new variable, which used to set
latex preview processes.
(org-create-formula-image-with-dvipng):
(org-create-formula-image-with-imagemagick): Useless, removed.

* org.texi (@LaTeX{} fragments):
(Previewing @LaTeX{} fragments):
(Math formatting in HTML export):
(Working with @LaTeX{} math snippets): Add dvisvgm information.
2016-05-21 10:50:38 +02:00
Nicolas Goaziou 8eb582b951 ox-texinfo: Allow :options attribute on special blocks
* lisp/ox-texinfo.el (org-texinfo-special-block): Handle :options
  attribute.
* doc/org.texi (Texinfo specific attributes): Add special block section.
2016-05-19 19:15:55 +02:00
Rasmus 291938d0b0 org-macro.el: Allow modification-time from vc.el
* org-macro.el (org-macro--vc-modified-time): New function.
* org-macro.el (org-macro-initialize-templates): Add support for new
  function.
* doc/org.texi (Macro replacement): Document new behavior.
* etc/ORG-NEWS: Mention new behavior.
2016-05-18 21:39:37 +02:00
Nicolas Goaziou ad766435dc Merge branch 'maint' 2016-05-16 11:21:05 +02:00
Phil Hudson 5fc351ab78 org-capture: Support all capture template target-file variants in Customize
* lisp/org-capture.el (`org-capture-templates'): Adjust the
  `org-capture-templates' defcustom template to support specifying the capture
  target file using either a literal pathname, a function, a variable or a
  form, as documented.  Previously the Customize UI supported specifying only a
  literal pathname.
  (org-capture-templates): Clarify the documentation for the `function' method
  for setting up the capture target.

* doc/org.texi (Template elements): Clarify the `function' method for setting up
  the capture target.
2016-05-16 11:17:26 +02:00
Nicolas Goaziou da9fb9eacd Merge branch 'maint' 2016-04-16 11:31:01 +02:00
Nicolas Goaziou e3656b6b2e org.texi: Fix typo
* doc/org.texi (Timers): Fix typo.

Reported-by: Lee <maplainfly@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/106430>
2016-04-16 11:30:31 +02:00
Nick Dokos 16ad80fe34 Fix the paragraph on tag groups as regular expressions.
Reword the paragraph and fix the regexps to include
the requisite @ signs.
2016-04-13 10:59:09 -04:00
Ethan Ligon a6ccd4ad95 org.texi: Replace broken example script for batch execution
* doc/org.texi: Example bash script to tangle from *.org file was broken
and obsolete; fixed to now work with recent versions of Org.

There is an example bash script in section  14.12 of the Org manual which
is meant to tangle source blocks from a supplied list of Org files.

The present version is broken in several small ways (it appears to date
from a period when babel was still part of contrib), and requires a
hard-coded specification of the path ORG_HOME.

I've fixed the issue with ORG_HOME, another issue with grepping for strings
that no longer are emitted by ob-tangle, and removed some obsolete
dependencies.

I'm finding the corrected script a useful thing to call from makefiles.
2016-04-09 23:16:39 +02:00
Nicolas Goaziou ea98632e3b Merge branch 'maint' 2016-04-08 22:52:32 +02:00
Nicolas Goaziou d522fc8853 orgguide: Fix mis-uses of itemx
* doc/orgguide.texi (Agenda commands): Fix mis-uses of itemx.

Reported-by: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/106211>
2016-04-08 22:51:04 +02:00
Rasmus 18b7661a84 org.texi: Add documentation on list nesting
* org.texi (@LaTeX{} specific attributes): Document how to get
  more than four levels.

Suggested-by: 9661031 <9661031@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/105427>
2016-03-28 18:33:05 +02:00
Nicolas Goaziou 06177a4208 Merge branch 'maint' 2016-03-25 14:27:05 +01:00
Nicolas Goaziou 780445c0aa org.texi: Fix typo
* doc/org.texi (HTML doctypes): Special block names are case-sensitive.

Reported-by: Guilherme Gondim <guilherme@semente.io>
<http://permalink.gmane.org/gmane.emacs.orgmode/105896>
2016-03-25 14:26:09 +01:00
Nicolas Goaziou 0cdc2b339f Merge branch 'maint' 2016-03-24 14:02:57 +01:00
Nicolas Goaziou c736013224 org.texi: Fix typo
* doc/org.texi (@LaTeX{} specific attributes): Fix typo.

Reported-by: Eduardo Mercovich <eduardo@mercovich.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/105873>
2016-03-24 14:02:24 +01:00
Rafael Laboissiere 9fb077339b Merge branch 'maint' 2016-03-14 15:38:18 +01:00
Rafael Laboissiere 3e79c60379 Document the lack of evaluation of inline code blocks in keyword lines
* doc/org.texi (Evaluating code blocks): Add footnote explaining that
inline code blocks are not evaluated inside keyword lines.
2016-03-14 15:34:47 +01:00
Nicolas Goaziou 0ff9a9a335 org.texi: Document cross references
* doc/org.texi (Publishing links): Explain syntax for cross references.
2016-03-12 23:18:55 +01:00
Kyle Meyer 015d971f48 Merge branch 'maint' 2016-03-12 11:12:08 -05:00
Kyle Meyer 857b970b3a org.texi: Fix org-timer-pause-or-continue's key
* doc/org.texi (Timers): Fix keybinding for org-timer-pause-or-continue.

Reported-by: Tubo Shi <shitubo@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/105685>
2016-03-12 11:08:40 -05:00
Nicolas Goaziou de439a68c8 org-colview: Allow multiple summaries for a single property
* lisp/org-colview.el (org-columns--collect-values):
(org-agenda-colview-summarize): Use column format specification as the
  unique identifier for the returned alist.

* lisp/org-colview.el (org-columns--display-here): Store column format
  specification in a new overlay property.

(org-columns--set-widths):
(org-columns--display-here): Use column format specification instead of
(org-columns--displayed-value): Since the same property can have
multiple titles, use column specification instead of property as keys.

(org-columns--collect-values): Apply signature change.

(org-columns-update): Handle multiple columns for the same property.
Also apply signature change to `org-columns--displayed-value'.

(org-columns--compute-spec): New function.
(org-columns-compute):
(org-columns-compute-all): Use new function.

* testing/lisp/test-org-colview.el (test-org-colview/columns-summary):
(test-org-colview/columns-update): Add tests.

* doc/org.texi (Column attributes): Document computation with multiple
  summary types for a given property.
2016-02-23 13:18:34 +01:00
Nicolas Goaziou fedd6be97a org-colview: Introduce custom summary types
* lisp/org-colview.el (org-columns-summary-types): New variable.
(org-columns-compile-map): Rename into...
(org-columns-summary-types-default): ... this.

(org-columns-new):
(org-columns-compile-format): Use new variables.

* testing/lisp/test-org-colview.el (test-org-colview/columns-summary):
  Add test.

* doc/org.texi (Column attributes): Document new variable.  Improve
  description of time and age based summary types.
2016-02-21 00:44:17 +01:00
Nicolas Goaziou aa2db034a0 org-colview: Fix age related summary
* lisp/org-colview.el (org-columns-time): Rename to...
(org--columns-time): ... this.
(org-columns--fractional-duration-re): New variable.

(org-columns-edit-value):
(org-columns):
(org-columns-compute-all):
(org-agenda-columns): Use new variable.

(org-columns-compile-map): Remove unneeded "calc" attribute.

(org-columns-number-to-string):
(org-columns-string-to-number): Fix ages set as a duration (e.g., "1d
12h").  Compare ages as seconds, not number of days.

* doc/org.texi (Column attributes): Document syntax for "age".
2016-02-17 22:49:19 +01:00
Nicolas Goaziou 23f1119042 org-colview: Allow to force global column view
* lisp/org-colview.el (org-columns): Add new argument to force global
  column view.

* doc/org.texi (Using column view): Document change.
2016-02-17 22:49:19 +01:00
Kyle Meyer 4f499fff96 Merge branch 'maint' 2016-02-07 11:56:36 -05:00
Kyle Meyer 30bcff1129 org-capture: Document org-directory
* lisp/org-capture.el (org-capture-templates):
* doc/org.texi (Template elements): Document org-directory.
2016-02-07 11:56:04 -05:00
Nicolas Goaziou 99697abdb9 org-colview: Add :indent parameter
* lisp/org-colview.el (org-dblock-write:columnview): Handle :indent
  parameter.
* doc/org.texi (Capturing column view): Document new feature.
2016-02-04 23:06:03 +01:00
Nicolas Goaziou 00f0c70418 Special property "ITEM" contains headline without stars
* lisp/org.el (org-entry-properties): "ITEM" contains headline without
  stars.
* lisp/org-colview.el (org-columns-display-here): Apply changes.
* doc/org.texi (Special properties): Update documentation.
* testing/lisp/test-org.el (test-org/entry-properties): Update tests.
2016-02-04 23:06:03 +01:00
Kyle Meyer c53936dcfb org-agenda: Fix org-agenda-filter-by-tag-refine
* lisp/org-agenda.el (org-agenda-filter-by-tag-refine): Remove command
  because this functionality is redundant with org-agenda-filter-by-tag
  as of 6c6ae99.

Reported-by: Viktor Rosenfeld <v.rosenfeld@gmx.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/104605>
2016-02-03 23:49:48 -05:00
Kyle Meyer e44524b3b2 Merge branch 'maint' 2016-02-03 23:37:26 -05:00
Kyle Meyer 2fc29a1796 Fix "it's" typos
* lisp/ob-C.el (org-babel-expand-body:cpp):
(org-babel-expand-body:C++):
(org-babel-expand-body:D):
(org-babel-expand-body:C):
(org-babel-C-expand-C++):
(org-babel-C-expand-C):
(org-babel-C-expand-D):
* lisp/ob-exp.el (org-babel-exp-src-block):
* lisp/ob-fortran.el (org-babel-expand-body:fortran):
* testing/org-test.el (org-test-buffer):
Correct "it's" typo in docstring.

* doc/org.texi:
Correct "it's" typos.
2016-02-03 23:33:28 -05:00
Kyle Meyer 034c176995 Merge branch 'maint' 2016-01-24 16:41:20 -05:00
Alan Mackenzie 347191042a Backport commit fbce475 from Emacs
Expunge "allow" + infinitive without direct object from source and doc.
fbce4757a874cc43806eb41b8637538b101c3c69
Alan Mackenzie
Sun Jan 24 20:30:39 2016 +0000
2016-01-24 16:35:22 -05:00
Nicolas Goaziou 9db78611b4 Tweak `org-auto-repeat-maybe'
* lisp/org.el (org-auto-repeat-maybe): Only clear non-repeated SCHEDULED
  information in a repeated task.

* doc/org.texi (Repeated tasks): Document behavior.

Do not clear non-repeated DEADLINE information however, as it could be
a global deadline for all occurrences of the task.  Also, this case is
taken care of by `org-agenda-skip-scheduled-if-deadline-is-shown' with
a value set to `repeated-after-deadline'.
2016-01-11 12:11:22 +01:00
Kyle Meyer 6345de2d05 Merge branch 'maint' 2016-01-09 17:43:27 -05:00
Kyle Meyer 6bc48c5f41 Update copyright years 2016-01-09 17:12:03 -05:00
tsdye d5595ac671 Change "keybinding" to "key binding"
* doc/org.texi (Conventions):
(Clocking commands):
(Using capture):
(Key bindings and useful functions): Change "keybinding" to "key binding".
2016-01-06 22:53:56 +01:00
Nicolas Goaziou f4ffbccf64 Remove left-over :export-block keywords
* contrib/lisp/ox-freemind.el (freemind):
* contrib/lisp/ox-gfm.el (gfm):
* contrib/lisp/ox-groff.el (groff): Remove :export-block keyword.

* doc/org.texi (Adding export back-ends): Remove documentation about the
  keyword.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104057>
2016-01-06 22:50:22 +01:00
Rüdiger Sonderfeld 3e252a4dea org-capture.el: Add support for week trees
* lisp/org-capture.el (org-capture-templates): Add
  file+weektree(+prompt) options.
  (org-capture-set-target-location): Add support for week trees.
* doc/org.texi (Template elements): Document file+weektree(+prompt)
  options.
2015-12-29 21:57:58 +01:00
Jan Malakhovski 839dae713e org-notmuch: Add date support to org-notmuch-store-link
* contrib/lisp/org-notmuch.el (org-notmuch-store-link): Add date
  support.
* doc/org.texi: Fix `org-capture-templates' documentation.
2015-12-29 21:17:00 +01:00
Jan Malakhovski d1f42e7f32 Factor out date-timestamp* calculations to org-store-link-props
* lisp/org.el (org-store-link-props): Rewrite function to get
  date-timestamp* calculations.
* lisp/org-gnus.el:
* lisp/org-mhe.el:
* lisp/org-rmail.el:
* contrib/lisp/org-mew.el:
* contrib/lisp/org-vm.el:
* contrib/lisp/org-wl.el: Remove date-timestamp* copy-paste.
* doc/org.texi: Fix `org-capture-templates' documentation.
2015-12-29 21:17:00 +01:00
Nicolas Goaziou 3699558452 org.texi: Update footnotes documentation
* doc/org.texi (Footnotes): Be more accurate about footnote marker.
  Remove useless information.  Inline definitions need not start with
  a whitepace.
2015-12-22 16:55:17 +01:00
Nicolas Goaziou deafe56554 org-element: Ignore plain footnotes
* lisp/org-element.el (org-element--set-regexps):
(org-element-footnote-definition-interpreter):
(org-element-footnote-reference-parser):
(org-element-footnote-reference-interpreter): Do not consider [1]-like
constructs as footnotes anymore.

* lisp/ox.el (org-export-expand-include-keyword):
(org-export--prepare-file-contents): Apply changes to footnotes.

* doc/org.texi (Footnotes): Remove references to plain footnotes.

* testing/lisp/test-org-element.el (test-org-element/footnote-reference-parser):
(test-org-element/footnote-reference-interpreter):
* testing/lisp/test-ox.el (test-org-export/expand-include):
(test-org-export/expand-macro):
(test-org-export/get-footnote-number):
(test-org-export/collect-footnote-definitions):
(test-org-export/footnotes):
(test-org-export/fuzzy-link): Update tests.

Since it is possible to refer unambiguously to a label without the "fn:"
prefix, the latter becomes part of the syntax and no longer part of the
label.  In particular [fn:1] and [fn:label] are labelled, respectively,
"1" and "label".
2015-12-22 16:55:17 +01:00
Nicolas Goaziou 9f5a1ad51e org.texi: Update export blocks documentation
* doc/org.texi (Conventions):
(Include files):
(Special blocks):
(ASCII/Latin-1/UTF-8 export):
(Beamer specific syntax):
(Quoting HTML tags):
(Quoting @LaTeX{} code):
(Creating one-off styles):
(Quoting Texinfo code):
(Easy templates): Update export blocks documentation.
2015-12-20 21:56:27 +01:00
Nicolas Goaziou 11291ffcd0 org-list: Radio lists use Org Export library
* lisp/org-list.el (org-list-to-lisp): New function.
(org-list-parse-list): Mark function obsolete.

(org-list-send-list):
(org-list-to-generic):
(org-list-make-subtree): Use new function.

(org-list-item-trim-br): Remove function.

(org-list-to-generic): Use Org Export library.
(org-list--depth):
(org-list--trailing-newlines):
(org-list--generic-eval):
(org-list--to-generic-plain-list):
(org-list--to-generic-item): New functions.

(org-list-to-latex):
(org-list-to-html):
(org-list-to-texinfo): Apply changes.  Allow parameters.
(org-list-to-subtree): Apply changes.

* lisp/org.el (org-toggle-heading):
* lisp/ob-core.el (org-babel-insert-result): Apply changes.

* doc/org.texi (Radio lists): Update documentation.

* testing/lisp/test-org-list.el (test-org-list/to-generic): New test.
2015-12-03 09:54:49 +01:00
Aaron Ecay e47c7c3ed6 babel: update the manual wrt :cache header arg
* doc/org.texi (cache): Update manual section.
2015-11-05 14:50:23 +00:00
Marco Wahl 4552a8915b Merge branch 'maint' 2015-10-27 10:16:01 +01:00
Marco Wahl 3efb519ff5 doc/org.texi: Add index for Archive mode 2015-10-27 10:14:10 +01:00
Nicolas Goaziou 59761024b1 ox: Add an option to ignore broken links
* lisp/ox.el (org-export-with-broken-links): New variable.
(org-export-options-alist): Add new OPTIONS item.
(org-link-broken): New error type.
(org-export-resolve-coderef):
(org-export-resolve-fuzzy-link):
(org-export-resolve-id-link): Raise appropriate error symbol when a link
cannot be resolved.
(org-export-data): Handle new error type.

* doc/org.texi (Export settings): Document new feature.

* testing/lisp/test-ox.el (test-org-export/resolve-id-link):
(test-org-export/resolve-fuzzy-link):
(test-org-export/resolve-coderef): Update tests.
2015-10-17 14:42:07 +02:00
Nicolas Goaziou 249b7b4742 Merge branch 'maint' 2015-10-16 22:17:09 +02:00
Michael O'Connor 843be85c1d org.texi, orgguide.texi: Fix spelling of Sean Astin's name
* doc/org.texi: Fix a typo of Sean Astin's name as Sean Austin.

* doc/orgguide.texi: Fix a typo of Sean Astin's name as Sean Austin.

TINYCHANGE
2015-10-16 22:16:37 +02:00
Nick Dokos 75f91f0bb7 Allow early-warning anniversaries in agenda.
* lisp/org-bbdb.el (org-bbdb-anniversaries-future, org-bbdb-date-list): New functions.

* doc/org.texi: Document the usage of `org-bbdb-anniversaries-future'.

* etc/ORG-NEWS: Feature description.

Feature requested by Julien Cubizolles:

http://thread.gmane.org/gmane.emacs.orgmode/99344
2015-10-13 09:00:16 -04:00
Nicolas Goaziou d074ff703f Clarify documentation for `org-src-preserve-indentation'
* doc/org.texi (Editing source code): Clarify documentation.
2015-10-11 23:27:03 +02:00
Kyle Meyer 984b1ff0ab Merge branch 'maint' 2015-10-04 02:46:23 -04:00
Kyle Meyer 00dacdcc50 Clean up spacing to pass Emacs's pre-commit check
This is in preparation for syncing with the Emacs repo.
2015-10-04 02:31:29 -04:00
Rasmus 1e4b7e4bec ox-latex: Support changable TeX compilers
* org.el (org-latex-default-packages-alist): Only use inputenc
and fontenc in pdftex.
* ox-latex.el (latex): Add :latex-compiler.
(org-latex-compiler): New defcustom.
(org-latex-compilers): New defconst.
(org-latex--remove-packages): New function.
(org-latex-template): Use new function and variables.
(org-latex-pdf-process): Update to use %latex shorthand.
(org-latex-compile): Check and use intended compiler.
* org.texi (@LaTeX{} and PDF export): Document changes.
* ORG-NEWS: Add entry.

Adds #+latex_compiler: keyword.

Note, rubber is dropped from `org-latex-pdf-process' since it does not
allow arbitrary latex commands.

Suggested-by: Suvayu Ali <fatkasuvayu+linux@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/98921>
2015-09-27 23:49:32 +02:00
Rasmus d015606e5b Merge branch 'maint' 2015-09-13 20:23:09 +02:00
Joe Riel 823cadafa6 doc/org.texi: Elide duplicate phrase
* doc/org.texi (The export dispatcher): The phrase "from which it is
  possible to select an export format and to toggle export options."
  appeared both before and after the footnote.  Remove the redundancy.

TINYCHANGE.
2015-09-13 20:22:25 +02:00
Joe Riel 862bb9d9e3 doc/org.texi: Add link to relevant chapter
* doc/org.texi (Exporting code blocks): Add link to Exporting. Coming
  into this section without having read the chapter 12 is pretty
  confusing.  The link is helpful.

TINYCHANGE.
2015-09-13 20:22:03 +02:00
Joe Riel 6a12aa73cc doc/org.texi: Rewrite paragraph
doc/org.texi (Evaluating code blocks): Rewrite paragraph to state where
 to find information on enabling other languages.  Without this, it
 isn't clear where to look.

TINYCHANGE.
2015-09-13 20:20:34 +02:00
Nicolas Goaziou f91968bc38 Merge branch 'maint' 2015-09-10 14:29:19 +02:00
Marco Wahl a4375e81c0 org-agenda,org.texi: Fix doc about category filter
* lisp/org-agenda.el (org-agenda-filter-by-category): Documentation of
  the effect of the prefix argument.

* doc/org.texi (Filtering/limiting agenda items): Documentation about
  the effect of the prefix argument when filtering by category.
2015-09-10 13:41:21 +02:00
Nicolas Goaziou 8bd08a2c18 Merge branch 'maint' 2015-08-27 20:55:54 +02:00
Jorge A. Alfaro Murillo fc40d16bda org.texi: Fix typo
* doc/org.texi (Extracting source code): Fix typo.
2015-08-27 20:55:33 +02:00
Kyle Meyer 8b8476e995 Merge branch 'maint' 2015-08-22 16:52:07 -04:00
Kyle Meyer 6629a9b5ba org.texi: Fix typo
* doc/org.texi (Clocking commands): Fix typo.
2015-08-22 16:51:42 -04:00
Nicolas Goaziou 5269279bf4 Merge branch 'maint' 2015-08-19 16:51:29 +02:00
Nicolas Goaziou aa7dfd54de Revert "ox-latex.el: Resurrect `org-latex-with-hyperref'"
This reverts commit 6f41105bd9.
2015-08-19 16:45:01 +02:00
Bastien c9872990ed Merge branch 'maint' 2015-08-18 19:24:27 +02:00
Bastien 6f41105bd9 ox-latex.el: Resurrect `org-latex-with-hyperref'
* ox-latex.el (latex): Resurrect :latex-hyperref-p.
(org-latex-with-hyperref): Resurrect.
(org-latex-template): Use :latex-hyperref-p.

* org.texi (Beamer specific export settings)
(@LaTeX{} specific export settings): Mention both
`org-latex-hyperref-template' and `org-latex-with-hyperref'.

Thanks to Scott Randby for raising this issue.
2015-08-18 19:23:34 +02:00
Bastien 88cc2a422d Merge branch 'maint' 2015-08-18 18:02:57 +02:00
Grant Rettke ffbf9119cd org.texi: Fix case of `results' header-arg node
* org.texi (Top, Specific header arguments, var)
(Results of evaluation): Lowercase "results".
2015-08-18 18:02:30 +02:00
Bastien 86170ff501 Merge branch 'maint' 2015-08-16 16:02:20 +02:00
Bastien 55544780e2 ox-html.el (org-html-use-unicode-chars): Delete.
* ox-html.el (org-html-use-unicode-chars): Delete.
(html, org-html-final-function): Update.

* org.texi (Publishing options): Don't mention
`org-html-use-unicode-chars'.

Thanks to Vladimir Alexiev for raising this.
2015-08-16 16:01:57 +02:00
Nicolas Goaziou eb3b31c80b Implement Org linting
* lisp/org-lint.el: New file.

* doc/org.texi (Org syntax):
* etc/ORG-NEWS:  Document new feature.
2015-08-14 18:16:31 +02:00
Nicolas Goaziou c8e3bc2bbc org.texi: Fix compilation error
* doc/org.texi (Macro replacement): Fix typo.
2015-08-12 15:00:48 +02:00
tsdye 06026a16f9 org.texi: Edit date and time macros
* doc/org.texi (Macro replacement): Edit date and time macros.
2015-08-12 00:58:15 +02:00
Bastien 74e35a9154 doc/orgguide.texi: uncomment the license 2015-08-05 01:44:41 +02:00
Bastien 0d0d0ad56e Merge branch 'backport-master'
Conflicts:
	lisp/org-table.el
2015-08-05 01:01:46 +02:00
Bastien 49ef9d02a2 org.texi (Library of Babel): Tiny fix
* org.texi (Library of Babel): Tiny fix.

Thanks to Charles Millar for reporting this.
2015-08-05 00:58:24 +02:00
tsdye ee945acf98 org.texi: ob-languages and multiple sessions support 2015-07-27 10:18:32 +02:00
Kyle Meyer 6f9184a294 Merge branch 'maint' into backport-master 2015-07-26 23:56:50 -04:00
Paul Eggert 9347da11bf Backport commit 08782a2 from Emacs master branch
Prefer plain characters to Texinfo circumlocutions
08782a2ea95dec5662954a1de353a7da699ac339
Paul Eggert
Fri May 1 12:58:53 2015 -0700
2015-07-26 23:29:31 -04:00
Paul Eggert d3df9d203b Backport commit c33d89c from Emacs master branch
* doc/docstyle.texi: New file, which specifies treatment for
grave accent and apostrophe, as well as the document encoding.
* doc/org.texi: Use it instead of '@documentencoding UTF-8', to lessen the need for
global changes like this in the future.

Fix single-quoting style in PDF manuals
c33d89cc644f995510b13b951e4201879de2b6f8
Paul Eggert
Fri May 1 12:06:38 2015 -0700
2015-07-26 23:29:31 -04:00
Paul Eggert 961cf22823 Backport commit 279558f from Emacs master branch
Minor quoting etc. fixes to misc manuals
279558f472246dd19864f4175cb1d6061bc1ed92
Paul Eggert
2015-07-26 23:29:31 -04:00
Paul Eggert 0ee18fcf48 Backport commit 41278b7 from Emacs master branch
Spacing and punctuation fixes
41278b775bd3ebc213ff8b9eda2f2c04a5354bba
Paul Eggert
Tue Mar 17 16:56:21 2015 -0700
2015-07-26 23:29:30 -04:00
Paul Eggert 3935f05990 Backport commit 52a4e87 from Emacs master branch
Fix copyright years by hand
52a4e87c630ea397408efe4f8486be55e1199905
Paul Eggert
2015-07-26 23:29:30 -04:00
Paul Eggert bb77dd2e88 Backport commit 7e09ef0 from Emacs master branch
Update copyright year to 2015
7e09ef09a479731d01b1ca46e94ddadd73ac98e3
Paul Eggert
Thu Jan 1 14:26:41 2015 -0800
2015-07-26 23:29:30 -04:00
Glenn Morris fcce57324d Backport commit 2999341 from Emacs master branch
Add .info extension to @setfilename commands in doc
29993416fb4d19c1c3bb146367fc4bed74845486
Glenn Morris
Mon Jun 9 22:20:31 2014 -0400
2015-07-26 23:29:30 -04:00
Paul Eggert bf75f1bff8 Backport commit 02073b2 from Emacs master branch
* doc/misc/org.texi (The date/time prompt, Matching tags and properties):
Use leading zero with 24-hour times less than 10:00.

Fix some 24-hour time stamps in documentation.
02073b2e84022ff9c9b76d58061e9aa810056229
Paul Eggert
Thu Nov 13 19:16:15 2014 -0800
2015-07-26 23:28:24 -04:00
Paul Eggert 217ad4aafb Backport commit 123ddec from Emacs master branch
* doc/org.texi (Dynamic blocks):
* lisp/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling):
* lisp/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
(org-clock-special-range):
* lisp/org-timer.el (org-timer-seconds):
* lisp/org.el (org-read-date-analyze, org-get-cursor-date):
* lisp/ox-html.el (org-html-format-spec):
* lisp/ox-icalendar.el (org-icalendar--vtodo):
Omit unnecessary call to current-time.
* lisp/org.el (org-get-cursor-date):
Don't call current-time twice to get the current time stamp,
as this can lead to inconsistent results.
* lisp/org-compat.el (org-float-time):
Simplify to an alias because time-to-seconds now behaves like float-time
with respect to nil arg.
* lisp/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
conversion from floating point to Emacs time and back.
(org-resolve-clocks): Prefer two-argument floor.

Simplify use of current-time and friends.
123ddec7f807f4bd7400bbbe08219afb02269c00
Paul Eggert
Tue Oct 28 18:42:51 2014 -0700
2015-07-26 23:25:11 -04:00
Nicolas Goaziou c76fef6b9d org-clock: Add `untilnow' time block
* lisp/org-clock.el (org-clock-special-range): Handle `untilnow'
  range.
(org-clock--oldest-date): New variable.
(org-clock-display-default-range): Add `untilnow' as valid range.  Use
new variable.
(org-clock-display): Offer `untilnow' as a possible range.

* doc/org.texi (The clock table): Document `untilnow'

* testing/lisp/test-org-clock.el (test-org-clock-clocktable-contents-at-point): Fix test
when called interactively.
(test-org-clock/clocktable):
(test-org-clock/clocktable1): Update tests.
(test-org-clock/clocktable-until-now): New test.

* etc/ORG-NEWS (title): Document new feature.

Suggested-by: Sébastien Vauban
2015-07-04 14:31:34 +02:00
Rasmus c4a913770d Update minted documentation.
* ox-latex.el (org-latex-listings):
* org.texi (Literal examples): Update minted documentation.
2015-07-03 13:42:21 +01:00
Nicolas Goaziou 2c66e40c67 org.texi: Fix un-exportable table
* doc/org.texi (Column groups): Prevent "[4]" from being interpreted
  as a footnote reference so as to make table exportable.

Reported-by: Nicolas Richard <youngfrog@members.fsf.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/98816>
2015-07-02 09:20:42 +02:00
Alan Schmitt d828f789a9 org.texi: Fix the :post example
* doc/org.texi (post): Add a missing colon in the example.
2015-06-23 23:36:46 +02:00
Nicolas Goaziou 0a45e4fcbc org.texi: Remove reference to unexistent filter
* doc/org.texi (Advanced configuration): Remove reference to
  quote-section filter.
2015-06-23 08:50:45 +02:00
Nicolas Goaziou 8ff31bd0cf ox-latex: Introduce :environment attribute for example blocks
* lisp/ox-latex.el (org-latex-example-block): Implement :environment
  attribute, which allows to override "verbatim" environment.
* doc/org.texi (@LaTeX{} specific attributes): Document change.
2015-06-23 08:43:07 +02:00
myq larson dd7f8af9f5 org.texi: Fix typo
* doc/org.texi (Timestamps): Fix typo.

TINYCHANGE
2015-06-21 00:00:04 +02:00
Bjarte Johansen f6c75f2e41 Org Babel now supports sed scripts
* doc/org.texi: Signal new babel language.

* lisp/ob-sed.el:
* testing/examples/ob-sed-test.org:
* testing/lisp/test-ob-sed.el: New files.
2015-05-30 14:59:01 +02:00
Nicolas Goaziou c77656f620 org.texi: Fix typo
* doc/org.texi (Texinfo specific attributes): Fix typo.
2015-05-26 01:14:51 +02:00
Nicolas Goaziou bc3cf21659 ox-texinfo: Handle @image
* lisp/ox-texinfo.el (org-texinfo-inline-image-rules): New variable.
(org-texinfo--inline-image): New function.
(org-texinfo-link): Use new function.

* doc/org.texi (Texinfo specific attributes):
* etc/ORG-NEWS:  Document new feature.
2015-05-26 01:14:24 +02:00
Nicolas Goaziou 09fface1a9 org.texi: Remove unnecessary @quotation
* doc/org.texi (The export dispatcher):
(Languages): Remove @quotation.
2015-05-15 15:29:06 +02:00
Nicolas Goaziou 1c49bdfe26 org.texi: Fix typo
* doc/org.texi (Macro replacement): Fix typo.
2015-05-15 15:28:47 +02:00
Nicolas Goaziou 0793fa9f1a org.texi: Add header separator in Babel languages table
* doc/org.texi (Languages): Add separator.
2015-05-15 15:28:15 +02:00
Nicolas Goaziou 2eb9913980 org.texi: Fix typo
* doc/org.texi (Languages): Fix typo.
2015-05-14 16:16:35 +02:00
Nicolas Goaziou 1b09dfbf4a org.texi: Reorder languages
* doc/org.texi (Languages): Reorder languages.
2015-05-14 16:14:49 +02:00
Nicolas Goaziou 849f0da717 org.texi: Add Fortran to supported languages
* doc/org.texi (Languages): Add Fortran.

Reported-by: Alain Cochard <Alain.Cochard@unistra.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/97534>
2015-05-14 16:10:35 +02:00
Nicolas Goaziou 56d9834acc org.texi: Fix typo
* doc/org.texi (Macro replacement): Fix typo introduced in
  fa5f8c8f90.
2015-05-10 11:58:34 +02:00
Nicolas Goaziou fa5f8c8f90 Allow optional argument to {{{property}}} for remote entries
* lisp/org-macro.el (org-macro-initialize-templates): "property"
  template accepts an optional argument, as a search option to grab
  properties from other headlines.

* doc/org.texi (Macro replacement): Document new feature.  Improve
  documentation.
(An example): Update documentation.

* testing/lisp/test-org-macro.el (test-org/macro-replace-all): Add
  tests.
2015-05-10 11:48:13 +02:00
Titus von der Malsburg 6779f8f424 Fix detection of latex fragments
* org-element.el (org-element-latex-fragment-parser):
* org.el (org-latex-regexps): Fix the detection of latex
  fragments.  Uses syntax tables to detect whitespaces and punctuation
  marks following the final $ sign.

In order to qualify as a math delimiter, the final $ sign of a LaTeX
fragment has to be followed by a whitespace or punctuation mark but the
regexp used in the previous code matched only a small number of
punctuation marks and therefore missed some latex fragments.
2015-05-09 09:36:53 +02:00
Bastien 86dcd90771 Merge branch 'maint' 2015-04-29 07:57:07 +02:00
Bastien 8cc7b72160 Backport commit 25166a91 from Emacs master branch. 2015-04-29 07:56:37 +02:00
Rasmus 7b8dacc348 org.texi: Document C-c ' key for footnotes
* org.texi (Footnotes): Add documentation on C-c '.
2015-04-28 00:05:37 +02:00
Jarmo Hurri 0d21d8d0ea ob-processing.el: Support for Processing language
* lisp/ob-processing.el: New file.

* doc/org.texi (Languages): Signal new language.

This library implements necessary functions for implementing editing
of Processing code blocks, viewing the resulting sketches in an
external viewer, and HTML export of the sketches.

Editing Processing blocks requires processing2-emacs mode. Viewing
Processing blocks embedded in Org buffer in an external viewer also
requires processing2-emacs. This viewing is bound to C-c C-v C-k and
produces no results in Org buffer. HTML export of the results of a
Processing block is also supported, assuming that the processing.js
module is available: the sketch is then drawn by the browser when the
HTML page is viewed. This drawing is implemented by embedding the
Processing code in a script using the processing.js module. The user
is responsible for making sure that processing.js is available in the
correct location.

Console output from a Processing block produced e.g. by println() is
shown in the Processing compilation window when the code is executed
in Org buffer, and in text area (console) of the browser when the code
is embedded in HTML.
2015-04-25 10:01:21 +02:00
Nicolas Goaziou ea4e8e3b2c org.texi: Remove `org-latex-custom-id-as-label'
* doc/org.texi (Publishing options): Remove
  `org-latex-custom-id-as-label'.

This variable was replaced with `org-latex-prefer-user-labels' in
4bbc054bd2.
2015-04-19 15:47:50 +02:00
Nicolas Goaziou 1841892321 org.texi: Introduce `org-latex-prefer-user-labels'
* doc/org.texi (Publishing options): Introduce
  `org-latex-prefer-user-labels'.
2015-04-19 15:46:24 +02:00
Nicolas Goaziou 0865cbb674 Merge branch 'maint' 2015-04-11 13:47:40 +02:00
François Allisson c000e87888 Fix documentation for org-capture template expansion
* doc/org.texi (Template expansion): Fix typo.

TINYCHANGE
2015-04-11 13:46:16 +02:00
Rasmus a780080fcf ox: Add #+SUBTITLE property in some backends
* ox-texinfo.el (texinfo, org-texinfo-template): Parse subtitle.
* ox-s5.el (org-s5-title-slide-template):
* ox-deck.el (org-deck-title-slide-template):
* ox-odt.el (odt, org-odt-template):
* ox-latex.el (latex, org-latex-template):
* ox-html.el (html, org-html-format-spec, org-html-template):
* ox-ascii.el (ascii, org-ascii-template--document-title):
* ox-beamer.el (beamer, org-beamer-template): Support #+SUBTITLE.
* ox-html.el (org-html-postamble-format)
(org-html-preamble-format):
* ox-latex.el (org-latex-title-command)
(org-latex-hyperref-template): Update docstring.
* ox-html.el (org-html-style-default): New .subtitle css property.
* ox-beamer.el (org-beamer-subtitle-format):
* ox-latex.el (org-latex-subtitle-format)
(org-latex-subtitle-separate): New variable.
* org.texi (ASCII/Latin-1/UTF-8 export)
(Beamer specific export settings)
(HTML Specific export settings)
(@LaTeX{} specific export settings, CSS support)
(ODT specific export settings)
(Texinfo specific export settings, Document preamble)
(Publishing options, Publishing options): Document #+SUBTITLE.

The patch adds a #+SUBTITLE keyword to ox-ascii, ox-latex, ox-html and
ox-odt.
2015-04-08 23:23:13 +02:00
Rasmus a7becba686 ox-html: Use viewport
* ox-html.el (org-html--build-meta-info): Insert viewport.
  (org-html-viewport): New custom variable.
* ORG-NEWS: Mention viewport.
* org.texi: Mention org-html-viewport.

Viewport makes org-generated html work well with small screens.
2015-04-08 12:06:09 +02:00
Nicolas Goaziou 8d22f8ec65 org.texi: Fix copyright year 2015-04-02 11:36:13 +02:00
Rasmus 5574e005d6 org.texi: Small fix
* org.texi (ODT export commands): Remove unnecessary heading.
2015-04-01 23:10:05 +02:00
Rasmus b1b8a86de5 org.texi: Changes to In-buffer settings
* org.texi (In-buffer settings): Remove keywords not defined in ox.el
2015-04-01 23:10:04 +02:00
Rasmus c0c3b0ce5a org.texi: New export keywords sections
* org.texi (Beamer specific export settings)
  (HTML Specific export settings)
  (@LaTeX{} specific export settings)
  (ODT specific export settings)
  (Texinfo specific export settings): New sections.
  (Beamer specific syntax): Removed some text.
2015-04-01 23:10:04 +02:00
Rasmus ccb7307535 Manuals: Remove DESCRIPTION and KEYWORDS
* org.texi (Export settings)
  orgguide.texi (Export options): Remove DESCRIPTION and KEYWORDS.
2015-04-01 23:10:04 +02:00
Rasmus 7ddb3af04a org.texi: Change beamer example to @example
* org.texi (A Beamer Example): Change to @example.
2015-04-01 23:10:04 +02:00
Rasmus a20dd23656 org.texi: Subsections in Beamer export
* org.texi (Beamer export): Add menu and change subheading to
subsection.
2015-04-01 23:10:04 +02:00
Nicolas Goaziou b9df29cdfc org.texi: Fix #+CATEGORY description
* doc/org.texi (In-buffer settings): Remove deprecated behaviour.
2015-03-31 22:01:28 +02:00
Rasmus 79c0aa21ca ox: Remove #+KEYWORD and #+DESCRIPTION
* ox.el: Remove #+KEYWORD: and #+DESCRIPTION:.
* ox-deck.el, ox-rss.el, ox-html, ox-latex, ox-odt, ox-org: Add
  #+KEYWORD and #+DESCRIPTION.
* org.texi (Export settings): Explicit state which backends
  support #+DESCRIPTION and #+KEYWORDS.
2015-03-29 14:08:13 +02:00
Nicolas Goaziou 188efec47c org.texi: Fix typo
* doc/org.texi (Comment lines): Fix typo.
2015-03-28 16:04:21 +01:00
Nicolas Goaziou 0ac26737f0 ox: Remove filter associated to comments
* lisp/ox.el (org-export-filters-alist): Remove reference to comment
  filters.
(org-export-filter-comment-functions,
org-export-filter-comment-block-functions): Remove variables.

* doc/org.texi (Advanced configuration): Remove reference to comment
  filters.

* etc/ORG-NEWS: Signal removal.

Comments are removed before parsing the buffer.  As a consequence,
filters are never called.
2015-03-28 10:45:36 +01:00
Nicolas Goaziou 47bad1ee9b org.texi: Suggest :noexport: as an alternative for COMMENT
* doc/org.texi (Comment lines): Suggest :noexport: as an alternative
  for COMMENT.
2015-03-28 10:10:53 +01:00
Gregor Zattler 830cf3e193 Document how to scroll calendar by one year at date prompt
* doc/org.texi (The date/time prompt): Add respective keys to the Key
  index.  Also justify the lines in this block to look prettier in
  info.

TINYCHANGE
2015-03-23 00:51:19 +01:00
Thierry Banel 921c7ad662 D is supported by Babel
* doc/org.texi: added D in the list of Babel supported languages
2015-03-17 16:11:27 +01:00
Nicolas Goaziou 16cea3d7b7 ox: Remove `comment' special value for `org-export-with-creator'
* lisp/ox.el (org-export-with-creator): Change default value.

* lisp/ox-ascii.el (org-ascii-template):
* lisp/ox-beamer.el (org-beamer-template):
* lisp/ox-latex.el (org-latex-template):
* lisp/ox-odt.el (org-odt-template):
* lisp/ox-org.el (org-org-template):
* lisp/ox-texinfo.el (org-texinfo-template): Treat
  `org-export-with-creator' as a boolean.

* testing/lisp/test-ox.el (test-org-export/parse-option-keyword):
  Update test.

* doc/org.texi (Export settings): Update allowed values in
  `org-export-with-creator'.

* etc/ORG-NEWS: Signal change.

Special `comment' value isn't meaningful for all back-ends and is not
implemented in every back-end where it makes sense anyway.

It is possible to add a comment including creator at the end of the
document using a body filter instead.
2015-03-17 15:51:22 +01:00
Gustav Wikström ecfd00cda8 org.texi: Complement info for group tags
group tags are more general and a name-change (or addition) is made in
the manual: tag groups are now called tag hierarchy.

Adding information about the added tag hierarchy functionality and
use-cases.
2015-03-16 22:27:41 +01:00
Rasmus 5fe3a68a79 org.texi: Fix typos
* org.texi (@LaTeX{} and PDF export): Correct typo.  Remove warning
  about ox-latex documents are incompatible with xetex and luatex.

Reported by: Reuben Thomas <rrt@sc3d.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/96065>
2015-03-14 16:05:50 +01:00
Rasmus ac358cd351 org.texi: Small fix
* org.texi (In-buffer settings): Include ODT_STYLES_FILE and fix typo.
2015-03-14 13:57:42 +01:00
Nicolas Goaziou 69e6f4acaf org.texi: Remove references to deprecated syntax
* doc/org.texi (Moving subtrees):
(Weekly/daily agenda):
(Categories): Remove references to deprecated syntax.
2015-03-11 17:33:22 +01:00
Nicolas Goaziou 1de825df31 Fix CATEGORY property
* doc/org.texi (Special properties): Remove "CATEGORY"

* lisp/org.el (org-special-properties): Remove "CATEGORY".
(org-property-get-allowed-values): Ignore "CATEGORY".
(org-entry-get): Make sure to get CATEGORY value using
`org-entry-properties'.

* testing/lisp/test-org.el (test-org/entry-put): Add test.

"CATEGORY" is not a special property as it can also be set using
a properties drawer.
2015-03-11 17:12:49 +01:00
Matthew Gidden 3d01a0bd19 ox-beamer.el: Update BEAMER_HEADER placement
* lisp/ox-beamer.el (`beamer-header'): Move BEAMER_HEADER injection to
  final part of preamble (after themes, title, etc.).  Allows for
  custom short titles, etc., with #+BEAMER_HEADER:
  \title[Short]{Long}.

* doc/org.texi: Updated BEAMER_HEADER entry with a relevant footnote.

Previously, TITLE, etc., was being injected after BEAMER_HEADER, so
short titles (and related) could not be added.  BEAMER_HEADER now
serves as a final preamble injection point.

TINYCHANGE
2015-03-10 21:20:29 +01:00
Robert Pluim d4c19a1c85 org.texi: Correct reference to `org-agenda-persistent-marks'
* org.texi (Agenda commands): Correct reference to
  `org-agenda-persistent-marks'.
2015-03-06 11:52:51 +01:00
Rasmus 8c54b254b1 ox-html: Use upstream MathJax CDN
* ox-html.el (org-html-mathjax-options): Add multlinewidth,
  autonumber, tagindent, font, linebreaks and tagside.  Remove MathML.
  Change default indent to correspond to upstream default.  Change
  default MathJax path to point to upstream CDN.
  (org-html--build-mathjax-config): Remove MathML-related parts.
  (org-html-mathjax-template): Simplifiy template.
* org.texi (@LaTeX{} fragments), (Math formatting in HTML export):
  Reflect change in default CDN.
* ORG-NEWS: Document changes.
2015-02-27 13:57:58 +01:00
Rasmus f82dad1237 org.el: More general TeX to MathML convert support
* org.el (org-latex-to-mathml-convert-command): Work with
  other converters than mathtoweb.
  (org-latex-to-mathml-convert-command): Add possibility of
  passing latex-fragment.
* org.texi (Working with @LaTeX{} math snippets): Show LaTeXML config.
2015-02-26 15:49:34 +01:00
Nicolas Goaziou 4eb4f47141 Simplify `org-show-context' configuration
* lisp/org.el (org-show-context-detail): New variable.
(org-context-choice, org-show-following-heading, org-show-siblings,
org-show-entry-below, org-show-hierarchy-above): Remove variables.
(org-show-set-visibility): New function.
(org-convert-to-oddeven-levels, org-get-location, org-show-context,
org-reveal): Use new function.
(org-link-search): Update docstring.

* lisp/org-agenda.el (org-agenda-cycle-show): Use new function.
(org-agenda-show): Replace missing variable.

* testing/lisp/test-org.el (test-org/show-set-visibility): New test.

* doc/org.texi (Sparse trees):
* doc/orgguide.texi (Sparse trees): Document changes.

* etc/ORG-NEWS: Signal changes.

Configuration of `org-show-context' is done with a single variable
offering six different views, instead of four variables for a total
of 16 configurations.
2015-02-22 14:57:09 +01:00
Arni Magnusson f79bc6d6c6 Add documentation regarding reserved keywords in @node Headlines 2015-02-21 18:30:35 +01:00
Nicolas Goaziou 73fef543ea org.texi: Add missing `org-export-with-date'
* doc/org.texi (Export settings): Add `org-export-with-date'.
(Publishing options): Add `org-export-with-date' and
`org-export-with-title'.
2015-02-13 00:28:04 +01:00
Rasmus 4f905107c9 org.texi: Fix typo
* org.texi (Export settings): Fix typo in vindex.
2015-02-12 11:56:21 +01:00
Rasmus b39dd5a099 org.texi: Fix bug
* org.texi: Fix bug introduced in e6fcc853c.
2015-02-12 10:42:19 +01:00
Rasmus e6fcc853c5 ox: Optional export of title
* ox.el (org-export-with-title): New variable.
* ox (org-export-options-alist),
  ox-ascii.el (org-ascii-template--document-title),
  ox-beamer.el (org-beamer-template), ox-html.el (org-html-template),
  ox-latex.el (org-latex-template), ox-man.el (org-man-template),
  ox-odt.el (org-odt-template), ox-org.el (org-org-template),
  ox-publish.el (org-publish-project-alist),
  ox-texinfo.el (org-texinfo-template),
  ox-groff.el (org-groff--mt-head): Use new variable.
* ox-koma-letter.el (org-koma-letter-use-title): Mark obsolete.
* test-ox.el (test-org-export/parse-option-keyword): Add :with-title.
* ORG-NEWS, org.texi: Mention org-export-with-title.

This is useful in e.g. ox-html where title can be set via
`org-html-preamble-template' or when using the {{{title}}}-macro.
2015-02-12 01:45:39 +01:00
rasmus ae83b37e3e org.texi: New example on babel :post header
* org.texi (post): Clarification and new example.
2015-02-10 12:04:41 +01:00
Rasmus 8f38f037b4 ox.el: {{{date}}} formatting argument
* ox.el (org-export-as): Allow {{{date}}} to take formatting-argument.
* org.texi (Macro replacement): Document {{{date}}} formatting.
* test-ox.el (test-org-export/expand-macro): Test {{{data(format)}}}
* org-NEWS: Mention optional {{{data}}} argument.

Optional argument to {{{date}}} like {{{date(FMT)}}} are treated
similar to {{{time(FMT)}}} if \#+DATE is a timestamp.
2015-02-09 01:47:21 +01:00
Rasmus 1aad2fd6de org.texi: Consistent formatting of non-nil
* org.texi: All occurances of non-nil changed to non-@code{nil}.
2015-02-08 22:48:57 +01:00
Rasmus 41cd87ab76 org.texi: Document all predefined macros
* org.texi (Macro replacement): Document all predefined macros.
2015-02-08 22:43:25 +01:00
Alan Schmitt 6d691e2aa8 Function `org-link-search' does exact headline search
* lisp/org.el (org-link-search): Change headline search such that it
always does an exact search, ignoring spaces.

* testing/lisp/test-org.el (test-org/fuzzy-links): Test exact headline
match with spaces and cookies.

* doc/org.texi (External links): Cleanup footnote about the
`org-link-search-must-match-exact-headline' option for text searches
and add a footnote about the effect of the same option for heading
searches.

* doc/ORG-NEWS: Document changes.
2015-02-07 22:42:40 +01:00
Nicolas Goaziou e76a541865 org-texi: Fix typo
* doc/org.texi (Timers): Fix typo.

This fixes e3bd15a8dd.
2015-02-05 17:44:48 +01:00
Nicolas Goaziou e3bd15a8dd org.texi: Fix typo
* doc/org.texi (Timers): Fix typo.

Reported-by: J. David Boyd <dboyd2@mmm.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/94674>
2015-02-05 17:42:20 +01:00
Nicolas Goaziou 21c73e38e4 org.texi: Fix typo
* doc/org.texi (Filtering/limiting agenda items): Fix typo.
2015-02-03 21:46:22 +01:00
Nicolas Goaziou b719c10e9a org.texi: Fix typo
* doc/org.texi (Summary): Fix typo

Suggested-by: Thierry Pellé <abonnements@thierry-pelle.eu>
2015-02-03 12:19:02 +01:00
Nicolas Goaziou 31e7634779 Fix special properties list
* lisp/org.el (org-special-properties): Add missing "CATEGORY".

* doc/org.texi (Special properties): Remove "NOBLOCKING" as a special
  property, since it can only be set through a properties drawer.
  This is a reserved property.

Reported-by: Samuel Loury <konubinix@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/94483>
2015-01-30 09:55:31 +01:00
Nicolas Goaziou 2ca9222252 org.texi: Minor fixes
* doc/org.texi (Export settings): Add UNNUMBERED property to concept
  index.  Fix number of spaces at the end of a sentence.  Use @code
  instead of @samp for reserved properties.
2015-01-21 23:50:19 +01:00
rasmus 6d0acc46a2 org.texi: Documentation for 464cd96
* org.texi (Export settings): Document the UNNUMBERED property.
2015-01-21 18:04:14 +01:00
Aaron Ecay d18ea6e30a manual: Further rewrite :session doc.
* doc/org.texi (session): Spruce up.
2015-01-16 22:37:48 -05:00
Thierry Pellé b919d06ad7 manual: Rewrite :session doc.
* doc/org.texi (session): Spruce up.
2015-01-16 22:37:39 -05:00
rasmus d36bd8dc53 org.texi: Replace parenthesis comment style
* org.texi (Table of contents): Replace parenthesis comment style with
  @r{} comment style in examples.
2015-01-13 17:22:52 +01:00
Nicolas Goaziou 5675c97073 org.texi: Fix typo
* doc/org.texi (Table of contents): Fix typo.
2015-01-13 15:20:47 +01:00
rasmus 032d9aeb94 org.texi: Footonote on titletoc-hyperref issue
* org.texi (Table of contents): Add footnote on hyperref and
titletoc conflict with LaTeX export.
2015-01-13 12:53:31 +01:00
Nicolas Goaziou b07e2f6ff1 ox: Implement local table of contents
* lisp/ox.el (org-export-collect-headlines): Allow to collect
  headlines locally.
* testing/lisp/test-ox.el (test-org-export/collect-headlines): Add
  tests.

* lisp/ox-ascii.el (org-ascii--build-toc):
(org-ascii-keyword):
* lisp/ox-html.el (org-html-toc):
(org-html-keyword):
* lisp/ox-odt.el (org-odt-toc): Allow local table of contents.
(org-odt--format-toc): New function.
(org-odt-begin-toc, org-odt-end-toc): Remove functions.

* lisp/ox-latex.el (org-latex-logfiles-extensions): Optionally remove
  "ptc" files.
(org-latex-headline, org-latex-keyword): Implement partial table of
contents assuming "titletoc" package is loaded.

* etc/ORG-NEWS:
* doc/org.texi (Table of contents): Document new parameter.
2015-01-11 22:47:02 +01:00
Rasmus 12fc68f3cd org.texi: Fix typo
* org.texi (Customizing tables in ODT export): Fix typo.

Reported by: Thomas <thomas@friendlyvillagers.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/93914>
2015-01-11 00:33:44 +01:00
Nick Dokos 1853fb546d org.texi: Fix typo
* doc/org.texi (Headlines): Typo in footnote.

Reported-by: Daniel E. Doherty <ded-law@ddoherty.net>
2014-12-29 12:15:46 -05:00
Jon Snader 71b098702c org.el: Implement user-defined table sorting
* lisp/org.el (org-do-sort): Implement the ?f and ?F sorting options
  to allow user-defined table sorting.  Update the DOC string.

* lisp/org-table (org-table-sort-lines): Add the GETKEY-FUNC and
  COMPARE-FUNC optional parameters and pass them to the call to
  `org-do-sort'.  Update the DOC string.

* doc/org.texi (org-table-sort-lines): Update documentation to reflect
  the addition of the ?f and ?F options.

This patch implements user-defined extraction and comparison functions
for table sorting.  Thanks to Nicolas Goaziou for helpful suggestions.

This patch was discussed on the Org Mode mailing list:
http://article.gmane.org/gmane.emacs.orgmode/93334
2014-12-20 20:36:57 +01:00
Toby S. Cubitt 54dfb86719 org-archive.el: Add command to archive entries with timestamps before today
* lisp/org-archive.el (org-archive-all-old): archive all entries with
  timestamps prior to today.
  (org-archive-subtree): double prefix argument invokes
  org-archive-all-old.
  (org-archive-all-matches, org-archive-all-done): factor out common
  code into org-archive-all-matches.
2014-12-17 00:08:39 +01:00
Nicolas Goaziou c1558d34d7 Fix low-high estimates
* doc/org.texi (Column attributes): Emphasize estimates format.
  Document degenerate case of plain numbers.
* lisp/org-colview.el (org-columns-compute): Properly sum estimates.
(org-columns-string-to-number): Recognize estimates containing an
unit.
(org-estimate-mean-and-var, org-estimate-print): Allow numbers as
a degenerate case of estimates.

Reported-by: yary <not.com@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/93505>
2014-12-16 23:53:15 +01:00
Nicolas Goaziou 1527b70010 Merge branch 'maint' 2014-12-09 22:42:56 +01:00
Nicolas Goaziou 7fe4574899 org.texi: Fix typos
* doc/org.texi (Document preamble):
(Headings and sectioning structure): Fix typo.
2014-12-09 22:42:17 +01:00
Kyle Meyer 173b0cb6d6 org-timer.el: Merge API for the two timers
* lisp/org-timer.el (org-timer-stop): Support countdown timers in addition
to relative timers.

* lisp/org-timer.el (org-timer-cancel-timer): Remove function.

* lisp/org-timer.el (org-timer-pause-or-continue): Support countdown
timers in addition to relative timers.

* testing/lisp/test-org-timer.el: New file.

* doc/org.texi: Merge relative and countdown timer nodes.

Several previous issues are fixed with these changes.

- org-timer-set-timer and org-timer-cancel-timer did not reset
  org-timer-start-time after countdown completed.

- Because org-timer-start did not return org-timer-pause-time to nil,
  the modeline remained stuck at the paused time.

- When org-timer-start was called with a countdown timer, the modeline
  was updated for the new relative timer, but the countdown timer
  remained scheduled.

- When org-timer-pause-or-continue was called with a countdown timer
  running, the modeline was put in a paused state, but the countdown
  timer remained scheduled.

- When org-timer-stop was called with a countdown timer running, the
  timer was removed from the modeline, but the countdown timer remained
  scheduled.

- When org-timer-set-timer was called with a paused relative timer, the
  relative timer was not reset properly (org-timer-pause-time was still
  non-nil) and the modeline remained in the paused state of the relative
  timer, even though the countdown timer was scheduled with
  run-with-timer.

- Running org-timer-set-timer at the beginning of an empty buffer
  resulted in an args-out-of-range error (due to the org-get-at-eol
  call).
2014-12-09 10:13:29 +01:00
Nicolas Goaziou 65cef8dce4 Merge branch 'maint' 2014-12-09 10:09:20 +01:00
Nicolas Goaziou 56c958cf9d org.texi: Remove reference to `org-effort-property'
* doc/org.texi (Effort estimates): Remove `org-effort-property' from
  variables index since it is a defconst, not a defcustom anymore.

See also 20dcd061a5.
2014-12-09 10:07:46 +01:00
Nicolas Goaziou 16ebbe49e4 Merge branch 'maint' 2014-12-07 23:53:23 +01:00
Nicolas Goaziou 1ec4164615 org.texi: Fix typo
* doc/org.texi (Export settings): Add missing OPTIONS item.

Reported-by: Amitai Hoze <amitai.hoze@gmail.com>
2014-12-07 23:52:24 +01:00
Nicolas Goaziou e2e6a39003 org.texi: Small fix
* doc/org.texi (Matching tags and properties): Remove inaccurate
  sentence and footnote.
2014-12-06 21:51:08 +01:00
Nicolas Goaziou 4c172fe5cc org.texi: Small fixes
* doc/org.texi (Matching tags and properties): Fix typo.  Remove
  inaccurate paragraph.
2014-12-06 21:30:59 +01:00
Alan Schmitt 40a5b7af99 org.texi: Document `org-html-link-org-files-as-html'
* doc/org.texi: Document `org-html-link-org-files-as-html' in the
"Links in HTML export" section.
2014-12-04 08:09:03 +01:00
Nicolas Goaziou f4900843ba org.texi: Fix typo
* doc/org.texi (Adding export back-ends): Fix typo.
2014-12-03 22:01:27 +01:00
Nicolas Goaziou fe99861781 org.texi: Remove NOBLOCKING from special properties list
* doc/org.texi (Special properties): Remove NOBLOCKING.

Special properties are properties that can get their value from
somewhere else than a properties drawer.  This is not the case of
NOBLOCKING, which is always set through such a drawer.  Technically,
it is more a reserved property than a special one, per manual
definition.
2014-12-03 21:44:03 +01:00
Bastien Guerry 9aa58fa852 org.texi: Document `org-table-blank-field'
* doc/org.texi: Document `org-table-blank-field'.

Thanks to Vicente Vera for suggesting this.
2014-12-01 17:04:36 +01:00
Bastien Guerry e435b0eac3 org.texi (TODO dependencies): Document the NOBLOCKING property
* org.texi (TODO dependencies): Document the NOBLOCKING
property.

Thanks to James Harkins for reporting this.
2014-12-01 15:52:30 +01:00
Kim 96e1971f0f org-info: Try info index if info node is not found
* lisp/org-info.el (org-info-follow-link): Attempt index lookup if node
  lookup fails.

* doc/org.texi (External links): Update info links.

Info index is almost always finer grain than info nodes.  For example
with this change, [[info:libc#close]] brings up not only
"(libc)Opening and Closing Files" info node, but also place the cursor
on the line that documents "close" function within the node.  This is
done by looking up "close"in the index upon failing to find a node
named "close".  Hence one can now link function, variable and other
names that are in the index rather than being limited to info node
names.  Typically there are far more index items than there are node
names.  For example libc manual has about 700 nodes, but over 4000
concept, type, function, and variables index items.  More examples of
new ways to create links are shown using org.info as example

- [[info:org#org-clock-idle-time]] uses "Variable Index"
- [[info:org#org-capture]] uses "Command and Function Index".
- [[info:org#timestamp]] uses "Main Index"
- [[info:org#C-c C-c]] uses "Key Index"

TINYCHANGE
2014-11-16 00:14:29 +01:00
Nicolas Goaziou 9309fd5d20 Add "ITEM" to special properties
* lisp/org.el (org-special-properties): Add "ITEM".  Tiny fix to
  docstring.
(org-entry-properties): Compute "ITEM" property's value.
(org-buffer-property-keys): Remove hack since "ITEM" now officially
belongs to the special properties list.

* doc/org.texi (Special properties): Document "ITEM" change.

* testing/lisp/test-org.el (test-org/entry-properties): Add test.
2014-11-10 16:45:36 +01:00
Nicolas Goaziou d2e78d2505 org.texi: Remove "ID" as a special property
* doc/org.texi (Special properties): Remove "ID" as a special
  property.  Sort list.

Special properties cannot be set only using properties located in
a properties drawer.  "ID" is always set through a properties drawer.
It is more a reserved property than a special one.
2014-11-10 11:07:22 +01:00
Nicolas Goaziou 76034be4cd Merge branch 'maint' 2014-11-02 23:43:17 +01:00
Nicolas Goaziou 20dcd061a5 org.texi: Remove outdated footnote
* doc/org.texi (Effort estimates): EFFORT property is a defconst.  It
  is not desirable to change it.
2014-11-02 23:42:33 +01:00
Kyle Meyer aa1fd698ec org.texi: Remove reference to deleted command
* doc/org.texi (Inserting deadlines or schedules): Remove entry for
`org-mark-entry-for-agenda-action', which was deleted in commit f95e5ff.
2014-10-30 16:44:57 +01:00
Nicolas Goaziou fcd4adf9cd org.texi: Update LaTeX environment syntax
* doc/org.texi (@LaTeX{} fragments): Update environments syntax.
2014-10-29 18:14:08 +01:00
Nicolas Goaziou 86ec0ac998 Fix ccde27d
* doc/org.texi (Special symbols): Fix
  ccde27ddc0.
2014-10-29 17:49:21 +01:00
rasmus ccde27ddc0 org.texi: Minor correction.
* org.texi (Special symbols): Correct output of fragment export.
2014-10-29 14:12:43 +01:00
Nicolas Goaziou 4af0f94665 Document new properties drawers syntax
* doc/org.texi (Per-file keywords): Remove wrong limitation.
(Tracking your habits): Make sure state changes appear after the
properties drawer.
(Property syntax): Specify new syntax.
(Using the property API): Fix a function definition.
2014-10-28 14:23:52 +01:00
Rafael Laboissiere 63afc9b20d org.texi: Remove extraneous backslash in key sequence
* doc/org.texi (ASCII bar plots): Remove the backslash character in
the key binding sequence for orgtbl-ascii-plot command.

I think that this backslash is not needed, since previously in the
same section, at subheading "Graphical plots using Gnuplot", there is
a similar key sequence without backslash @kbd{C-c " g}.

TINYCHANGE
2014-10-20 11:25:31 +02:00
Nicolas Goaziou 3bb75bc14c ox-latex: Add `org-latex-caption-above'
* lisp/ox-latex.el (org-latex-caption-above): New variable.
(org-latex-table-caption-above): Remove variable.  Make it an obsolete
alias of the previous one.
(org-latex--caption-above-p): New function.
(org-latex--inline-image, org-latex-src-block,
org-latex-special-block, org-latex table): Handle new variable.

* doc/org.texi (Publishing options):
* etc/ORG-NEWS: Document new option.
2014-10-17 21:42:17 +02:00
Thierry Banel ad0d51ff1c Document ASCII-art plot
* doc/org.texi: Extend Gnuplot chapter to ASCII-art plotting.
* etc/ORG-NEWS: Document ASCII-art plot.
2014-10-14 23:06:09 +02:00
Nicolas Goaziou bc342011e9 org.texi: Tiny fix
* doc/org.texi (An example): Tiny fix.
2014-10-14 12:14:55 +02:00
David Arroyo Menéndez 2900f18a2b orgguide.texi: break lines after @noindent
* doc/orgguide.texi: to avoid troubles with po4a, I've added break lines after @noindent
2014-10-08 15:06:42 +02:00
Bastien Guerry e54cf318ee Merge branch 'maint' 2014-10-06 14:29:01 +02:00
Bastien Guerry df3b24fe8a Backport typo fixes from Emacs 24 branch 2014-10-06 11:52:30 +02:00
Rasmus 986037a538 ox: Allow file-links with #+INCLUDE-keyword
* org.el (org-edit-special): Handle file-links for INCLUDE.
* ox.el (org-export--prepare-file-contents): Handle links and
add option no-heading.
* ox.el (org-export-expand-include-keyword): Resolve headline
links and add option :only-contents.
* orgguide.texi (Include files)
org.texi (Include files): Updated.
* testing/examples/include.org: New examples.
* test-ox.el (test-org-export/expand-include): New tests.
2014-10-02 18:51:37 +02:00
Nicolas Goaziou aaa7aa983d ox-ascii: Implement plain-lists own extra margin
* lisp/ox-ascii.el (org-ascii-list-margin): New variable.
(ascii): New property.
(org-ascii--current-text-width, org-ascii-plain-list): Take into
account list margin.

* doc/org.texi (Publishing options):
* etc/ORG-NEWS (argument): Document new variable.
2014-09-20 15:06:22 +02:00
Nicolas Goaziou 1465229957 Merge branch 'maint'
Conflicts:
	doc/org.texi
2014-09-20 00:35:09 +02:00
Nicolas Goaziou 2d02479c34 org.texi: Be more explicit about output file name
* doc/org.texi (Export settings): Be more explicit about how output
  file name is built.
2014-09-20 00:33:54 +02:00
Nicolas Goaziou b82f1cb2c2 Fix 788780296c 2014-09-19 22:45:22 +02:00
Nicolas Goaziou 788780296c org.texi: Document case-sensitivity of special blocks
* doc/org.texi (Special blocks, HTML doctypes, @LaTeX{} specific
  attributes): Take into account case-sensitivity of special blocks.
2014-09-19 22:42:35 +02:00
Nicolas Goaziou 9209aa3c9d org-table: Use "ox.el" internally for radio tables
* lisp/org-table.el (org-table-clean-before-export, orgtbl-get-fmt,
  orgtbl-apply-fmt, orgtbl-eval-str, orgtbl-format-line,
  orgtbl-format-section): Remove functions.
(org-table-clean-did-remove-column, *orgtbl-table*, *orgtbl-rtn*,
  *orgtbl-hline*, *orgtbl-sep*, *orgtbl-default-fmt*, *orgtbl-fmt*,
  *orgtbl-efmt*, *orgtbl-lfmt*, *orgtbl-llfmt*, *orgtbl-lstart*,
  *orgtbl-llstart*, *orgtbl-lend*, *orgtbl-llend*): Remove variables.

(org-table-export, orgtbl-send-table): Apply function removal.  Do not
set `org-table-last-alignment' and `org-table-last-column-widths'
anymore.
(org-table-to-lisp, orgtbl-send-replace-tbl): Small refactoring.

(org-table--to-generic-table, org-table--to-generic-row,
org-table--to-generic-cell): New functions.
(orgtbl-to-generic): Rewrite function.  Handle :skip and :skipcols
parameters.
(orgtbl-to-latex, orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl,
orgtbl-to-unicode): Use new `orgtbl-to-generic' features.

* testing/lisp/test-org-table.el (test-org-table/to-generic,
  test-org-table/to-latex, test-org-table/to-texinfo,
  test-org-table/to-html, test-org-table/to-unicode,
  test-org-table/send-region): New tests.

* doc/org.texi (Radio tables, A @LaTeX{} example, Translator
  functions): Update documentation.

* etc/ORG-NEWS (argument): Document new features.
2014-09-13 15:10:26 +02:00
Nicolas Goaziou c235bd83d2 ox: Implement body filter
* lisp/ox.el (org-export-filters-alist): Add body filter.
(org-export-filter-body-functions): New variable.
(org-export-as): Call body filter.

* doc/org.texi (Advanced configuration):
* etc/ORG-NEWS (argument): Document new filter.
2014-09-06 10:28:38 +02:00
Nicolas Goaziou 4b9146cd68 org.texi: Tiny fix 2014-09-04 22:14:23 +02:00
Nicolas Goaziou 9798a5d524 Merge branch 'maint' 2014-09-03 19:56:47 +02:00
Nicolas Goaziou dc16617f46 orgguide.texi: Small fixes
* doc/orgguide.texi (Export options): Small fixes.

Thanks to Alexis Roda for reporting them.
2014-09-03 19:55:20 +02:00
Nicolas Goaziou d4e4b1ea68 Merge branch 'maint' 2014-09-02 14:56:16 +02:00
Nicolas Goaziou 51f2730d7f org.texi: Fix Texinfo export documentation 2014-09-02 14:54:22 +02:00
Nicolas Goaziou 4dd9f392c1 Merge branch 'maint' 2014-08-24 21:56:57 +02:00
Nicolas Goaziou 896fa6d1f7 orgguide: Fix keybinding
* doc/orgguide.texi (Clocking work time): Fix keybinding.
2014-08-24 21:56:12 +02:00
Nicolas Goaziou 86283db227 org.texi: Add missing publishing properties
* doc/org.texi (Publishing options): Add missing properties.
2014-08-21 10:51:19 +02:00
Nicolas Goaziou 6400c9a8e5 Merge branch 'maint'
Conflicts:
	doc/org.texi
	lisp/ox-texinfo.el
2014-08-11 15:00:57 +02:00
Nicolas Goaziou 595cfd57dc org.texi: Document menus in Texinfo export
* doc/org.texi (Headings and sectioning structure): Document menus.
2014-08-11 14:56:01 +02:00
Nicolas Goaziou eb234d2b45 Merge branch 'maint' 2014-08-08 23:57:45 +02:00
Nicolas Goaziou 85bfda77ed org.texi: Fix typo 2014-08-08 23:57:16 +02:00
Nicolas Goaziou af62e8525c Merge branch 'maint' 2014-08-08 23:51:50 +02:00
Nicolas Goaziou 7bc6038ea2 org.texi: Fix e5aceea 2014-08-08 23:51:09 +02:00
Nicolas Goaziou d7c4f9e4e6 org.texi: Tiny fixes
* doc/org.texi (Evaluating code blocks): Use @code instead of @var for
  defcustoms, use @pxref instead of @ref within parenthesis, add
  missing double space at the end of a sentence
2014-08-08 23:43:42 +02:00
Nicolas Goaziou 4c9d3753cb Merge branch 'maint' 2014-08-08 23:41:20 +02:00
Nicolas Goaziou e5aceea83c org.texi: Fixes to Texinfo documentation 2014-08-08 23:39:21 +02:00
Nicolas Goaziou 1212769ed5 org.texi: Fix compilation errors 2014-08-08 23:05:37 +02:00
Nicolas Goaziou b1406dcddb Merge branch 'maint'
Conflicts:
	doc/org.texi
	lisp/ox-texinfo.el
2014-08-08 22:07:45 +02:00
Nicolas Goaziou 0d6c95699b org.texi: Document Texinfo export back-end 2014-08-08 17:56:29 +02:00
Nicolas Goaziou 604b93892c ox: Title fallbacks to nil instead of file name
* lisp/ox.el (org-export--get-inbuffer-options):
(org-export-as): Remove title default value handling.
(org-export--get-buffer-attributes): Remove unnecessary property.

* doc/org.texi (Document title):
(Export settings):
* doc/orgguide.texi (Export options): Update documentation.

* testing/lisp/test-ox.el (test-org-export/set-title): Update tests
  according to new specifications.
2014-08-02 21:14:22 +02:00
Nicolas Goaziou 82b64d1c9b org.texi: Fix a4fc82c
* doc/org.texi (Macro replacement): Ignore quote blocks since they
  ultimately contain paragraphs or equivalent.  Fix typo.
2014-07-31 16:32:26 +02:00
Nicolas Goaziou a4fc82ca1c org.texi: Fix documentation about macros
* doc/org.texi (Macro replacement): Fix allowed contexts for macros.
  Be more accurate about the time of macro expansion.
2014-07-31 14:57:43 +02:00
Nicolas Goaziou b81d4d0f6c org.texi: Fix documentation
* doc/org.texi (Publishing options): Fix documentation according to
  282d8c86e7.
2014-07-30 21:30:01 +02:00
Nicolas Goaziou fd448cb1e2 Remove some options associated to variables
* lisp/ox-html.el: Remove options.

* lisp/ox-icalendar.el: Remove options.

* lisp/ox-latex.el (org-latex-guess-inputenc, org-latex-compile,
  org-latex--collect-warnings): Use full variable name instead of an
  option.

* lisp/ox-man.el: Remove options.

* lisp/ox-odt.el: Remove options.

* lisp/ox-texinfo.el: Remove options.

* doc/org.texi (Publishing options): Update documentation accordingly.

These variables are meant to be used outside (or on the fringe) of the
export process, where information channel is not available.

remove
2014-07-29 15:45:18 +02:00
Bastien Guerry 050e332e0b Merge branch 'maint' 2014-07-27 20:19:46 +02:00
Bastien Guerry 3fd24ed2a0 org.texi (Key bindings and useful functions): Fix typos
* org.texi (Key bindings and useful functions): Fix typo.  Use
the correct function's name.

Thanks to Marco Wahl for the suggested fix.
2014-07-27 20:19:18 +02:00
Bastien Guerry ddb536e833 Merge branch 'maint' 2014-06-23 09:45:48 +02:00
Bastien Guerry be9a1638af Fix typos: backport revision r117377 from emacs trunk 2014-06-23 09:40:19 +02:00
Nicolas Goaziou 7a8de7d1e3 ox-beamer: Remove `org-beamer-insert-options-template'
* lisp/ox-beamer.el (beamer): Re-order keywords.
(org-beamer-insert-options-template): Remove function.

* doc/org.texi (Beamer export): Remove reference to the previous
  function.

Use the generic insertion mechanism provided in "ox.el"
instead (`org-export-insert-default-template') in order to avoid code
duplication.
2014-06-15 10:26:40 +02:00
Bastien Guerry 9c57eec531 Backport change in r117298 from Emacs trunk 2014-06-10 10:32:03 +02:00
Achim Gratz 4ed554196b ox: implement additional #+INCLUDE markup
* lisp/ox.el (org-export-expand-include-keyword): Change parsing so
  that arbitrary blocks around the included content can be used.
  Content is not code-escaped unless it is a literal block, this
  applies to "src" and "example".
* doc/org.texi (Include files): Document the additional markup.
* testing/lisp/test-ox.el (test-org-export/expand-include): Add test
  for an #+INCLUDE with "html" and "center" markup.
* testing/examples/include.html: New file, used for testing
  "#+INCLUDE html".
2014-06-07 18:02:52 +02:00
Michael Brand 1d7c75f856 Merge branch 'maint' 2014-06-01 15:27:33 +02:00
Michael Brand 9e09b2d5f6 org.texi: Add f-1 to TBLFM example about nan
* doc/org.texi (Formula syntax for Calc): Add `f-1' to TBLFM example
about `nan'.
2014-06-01 15:27:07 +02:00
Nicolas Goaziou c00379dc77 Merge branch 'maint'
Conflicts:
	doc/org.texi
2014-06-01 08:54:44 +02:00
Nicolas Goaziou c34121c60f Documentation fix
* doc/org.texi (Include files):
* doc/orgguide.texi (Include files): Remove reference to non-existent
  "quote" markup.
2014-06-01 08:52:16 +02:00
Bastien Guerry 0ce93879d7 org.texi (Filtering/limiting agenda items): Update documentation
* org.texi (Filtering/limiting agenda items): Update document
for effort filtering.
(Agenda commands): Document the `N' and `P' keybindings.
2014-05-30 15:12:51 +02:00
Bastien Guerry 017e32c4ab org.texi (Structure editing): Clarify explanations about `org-insert-heading'
* doc/org.texi (Structure editing): Clarify explanations about
`org-insert-heading'.
2014-05-29 19:53:15 +02:00
Achim Gratz 643b4d31bd Merge branch 'maint' 2014-05-28 16:26:17 +02:00
Nicolas Goaziou 20ec9efb3e org.texi: Small documentation fix
* doc/org.texi (Publishing options): Remove reference to inexistent
  variable.  The associated property is misplaced, too.
2014-05-28 15:35:17 +02:00
Nicolas Goaziou b8eb1e40f6 org.texi: De-uglify some tables
* doc/org.texi (Publishing options): De-uglify tables with a proper
  column width definiton.
2014-05-28 15:31:19 +02:00
Nicolas Goaziou 92197690ed ox-latex: Fix again 7a956c3880
* lisp/ox-latex.el (latex): Update property name.
* doc/org.texi (Publishing options): Update documentation.
2014-05-28 15:12:42 +02:00
Nicolas Goaziou ba2a5ba9f6 ox-latex: Fix 7a956c3880
* lisp/ox-latex.el (latex): Change property name.  It fixes
  7a956c3880.
(org-latex-template): Use new property.

* doc/org.texi (Publishing options): Update documentation.  Also fix
  typo.
2014-05-28 15:06:31 +02:00
Nicolas Goaziou 7a956c3880 Associate all defcustoms to options in back-end definitions
* lisp/ox-ascii.el:
* lisp/ox-beamer.el:
* lisp/ox-html.el:
* lisp/ox-latex.el:
* lisp/ox-man.el:
* lisp/ox-md.el:
* lisp/ox-odt.el:
* lisp/ox-org.el:
* lisp/ox-texinfo.el: All defcustoms are defined as options in the
  back-end.
* lisp/ox-icalendar.el (icalendar): Ditto.  Also rename :with-vtodo
  property to :icalendar-include-todo.

* doc/org.texi (Publishing options): Update back-end specific
  properties.  Remove @vindex entries so as not to clobber variables
  index.

This change allows to change default value for any defcustom on the
fly when publishing.  It also normalizes how to choose and name what
variables to define as back-end options.
2014-05-28 14:53:29 +02:00
Bastien Guerry 60c8ef5673 htmlxref.cnf: New file to let texi2html point at the correct Calc HTML manual 2014-05-24 12:19:13 +02:00
Bastien Guerry 5421814156 org.texi (Global and local cycling): Fix ref
* org.texi (Global and local cycling): Use only @pxref{}, as
Texinfo will take care of referring to the correct Emacs
manual HTML location.
2014-05-24 12:19:01 +02:00
Nicolas Goaziou a7b7c3de2b ox-ascii: Implement "justifyright" and "justifyleft" blocks
* lisp/ox-ascii.el
(org-ascii--justify-lines): New function.  Renamed from
`org-ascii--justify-string'.
(org-ascii--justify-element, org-ascii--current-justification): New
functions.
(org-ascii-verse-block, org-ascii-table-cell, org-ascii-table
  org-ascii-src-block, org-ascii-property-drawer, org-ascii-planning,
  org-ascii-paragraph, org-ascii-paragraph,
  org-ascii-latex-environment, org-ascii-keyword,
  org-ascii-horizontal-rule, org-ascii-fixed-width,
  org-ascii-export-block, org-ascii-example-block, org-ascii-clock,
  org-ascii-template--document-title,
  org-ascii-template--document-title): Use new functions.
(org-ascii-center-block): Do not process contents anymore since they
are already justified.

* doc/org.texi (ASCII/Latin-1/UTF-8 export): Document new feature.
  Also document `org-ascii-text-width' since this is closely related.

This patches also fixes centering of tables.
2014-05-22 13:50:01 +02:00
Aaron Ecay 08e2596718 ob-core.el: allow the auto-generation of output file names for src blocks.
* lisp/ob-core.el (org-babel-generate-file-param): New function.
(org-babel-get-src-block-info): Use it.
(org-babel-merge-params): Handle :file-ext.
(org-babel-graphical-output-file): error if no :file or :file-ext.
* testing/lisp/test-ob.el (test-org-babel/file-ext-and-output-dir):
New test.
* doc/org.texi (Specific header arguments): Add doc for :file-ext and
:output-dir header args.
* lisp/ob-R.el (org-babel-expand-body:R): Don’t calculate
graphics-file.
(org-babel-execute:R): Only look for a graphics-file if needed.
2014-05-11 16:33:22 -04:00
Richard Kim c80509a5df org.texi: Fix whitespaces
TINYCHANGE
2014-05-06 11:57:02 +02:00
Bastien Guerry 51893a4e3d Merge branch 'maint' 2014-04-29 13:46:49 +02:00
Bastien Guerry b0f862dfa9 doc/texinfo.tex: Update to stable version 5.2 2014-04-29 13:46:21 +02:00
Nicolas Goaziou 4c0a29edec Merge branch 'maint'
Conflicts:
	lisp/ox.el
2014-04-21 09:50:10 +02:00
Nicolas Goaziou b983048b73 Small documentation improvements
* doc/org.texi (The Export Dispatcher): Reformulation.
* lisp/ox.el (org-export-copy-to-kill-ring): Comply to docstrings
  standards.
2014-04-21 09:48:17 +02:00
Nicolas Goaziou 3e401117fd org.texi: Update documentation
* doc/org.texi (The export dispatcher): Update documentation since
  `org-export-copy-to-kill-ring' has a different default value.

The change happened in 53aab23e70.
2014-04-21 09:44:54 +02:00
Bastien Guerry ff706b2e9c org.texi (Property syntax, noweb-ref): Minor fixes
* org.texi (Property syntax, noweb-ref): Minor fixes.
2014-04-18 13:21:37 +02:00
Bastien Guerry 28131ee94a org.texi (Feedback): Add a link to the mailman subscription page
* org.texi (Feedback): Add a link to the mailman subscription
page.
2014-04-17 18:04:33 +02:00
Bastien Guerry a2b69cc4d7 Merge branch 'maint' 2014-04-17 13:38:41 +02:00
Bastien Guerry 4315658419 org.texi (Installation): Fix documentation bug
* org.texi (Installation): Be more clear on why installing Org
through ELPA should be done without loading any Org file.

This is a very common pitfall that needs to be considered a
documentation bug.
2014-04-17 13:38:29 +02:00
Bastien Guerry ca80c8c277 org.texi (Beamer export): Update example to let it display a table of contents
* org.texi (Beamer export): Update example to let it display a
table of contents.
2014-04-17 12:09:53 +02:00
Bastien Guerry 132da2db35 Let sort-by-time handle [H]H:MM strings and add a :sort parameter for clocktables
* org-clock.el (org-clocktable-write-default): New parameter
":sort" to sort a column by a sorting type.  E.g., a value of
:sort (1 . ?a) will sort the first column alphabetically.  The
sorting line is the third one, table-wise, which is usually
the first line that contains user data.

* org.texi (The clock table): Document the new :sort
parameter.

* org.el (org-do-sort): Recognize [H]H:MM strings as time
values and allow sort-by-time to process them.

* org-table.el (org-table-sort-lines): Mention that sorting by
time also recognize [H]H:MM time values.
2014-04-16 18:23:47 +02:00
Rainer M. Krug 7cf4d591eb Add clarification to `:no-expand' header argument
* doc/org.texi (no-expand): Added statement to clarify that this
  header argument has no impact on the execution of a code block.

TINYCHANGE
2014-04-16 17:41:57 +02:00
Bastien Guerry f86b6d8aa3 org.texi (Agenda dispatcher): Small rewrite
* org.texi (Agenda dispatcher): Small rewrite.  Add a concept
to the concept index.
2014-04-16 16:44:11 +02:00
Nicolas Goaziou b8781c4c85 ox: Make footnotes file specific when including Org files
* lisp/ox.el (org-export-expand-include-keyword,
  org-export--prepare-file-contents): Make footnotes file specific
  when including Org files.

* doc/org.texi (Include files): Add documentation.

* testing/lisp/test-ox.el (test-org-export/expand-include): Add tests.

http://permalink.gmane.org/gmane.emacs.orgmode/83606
2014-04-12 15:07:42 +02:00
Nicolas Goaziou e84c1d8442 org.texi: Update COMMENT keyword documentation
* doc/org.texi (Comment lines):
* doc/orgguide.texi (Comment lines): Update COMMENT keyword
  documentation.  Small tense changes.
2014-04-12 10:59:01 +02:00
Greg Tucker-Kellogg c99fa2ab8a ox-latex.el: support sideways :float options for tables and figures
* lisp/ox-latex.el (org-latex--inline-image): support a 'sideways
option for the float, and add case to handle it with a \sideaysfigure
in the export.
(org-latex--org-table): support "sideways" instead of deprecated
"sidewaystable".  The latter is still handled for backward
compatibility.

* doc/org.texi (Tables in LaTeX export): Document use of :float
  sideways.
(Images in LaTeX export): Document use of :float sideways.

This patch provides consistent :float sideways support for LaTeX
export of both figures and tables.

http://permalink.gmane.org/gmane.emacs.orgmode/84618

TINYCHANGE
2014-04-06 14:19:55 +02:00
Nicolas Goaziou 74c0241146 org.texi: Remove reference to `org-drawers' and #+DRAWERS
* doc/org.texi (In-buffer settings): Remove reference to `org-drawers'
  and #+DRAWERS as they no longer exist.
2014-03-29 09:40:10 +01:00
Nicolas Goaziou ea097c25dd ox-latex: Allow :options in LaTeX attributes
* lisp/ox-latex.el (org-latex-src-block): Allow to add options to
  listings or minted block-wise.
(org-latex-listings-options, org-latex-minted-options): Update
docstring.

* doc/org.texi (@LaTeX{} specific attributes): Document feature.
2014-03-25 19:08:56 +01:00
Nicolas Richard b3a10b66fe Keep documentation on "Previewing LaTeX" in its own section
* doc/org.texi (@LaTeX{} fragments)
(Previewing @LaTeX{} fragments): Keep documentation on
"Previewing LaTeX" in its own section.
2014-03-22 17:40:52 +01:00
Bastien Guerry 343a6dd082 org.texi (Macro replacement): Small rewrite
* org.texi (Macro replacement): Small rewrite.

Thanks to Nicolas for his suggestions.
2014-03-21 10:03:50 +01:00
Bastien Guerry 7527e3a80c org.texi (Macro replacement): Minor enhancement
* org.texi (Macro replacement): Minor enhancement.
2014-03-19 17:06:45 +01:00
Bastien Guerry 33f8b1b02f org.texi (Tables in HTML export): Enhance.
* org.texi (Tables in HTML export): Mention the grouping of
columns, add documentation for variables.
2014-03-19 11:31:47 +01:00
Thomas Holst 599ccd1cc8 docu change for table-line-pos new feature
* org.texi (Template elements): Document new features of
`:table-line-pos' in capture templates.

TINYCHANGE
2014-03-19 09:35:02 +01:00
Nicolas Goaziou c444e4ed38 org.texi: Fix typos 2014-03-16 14:45:29 +01:00
Eric Schulte e01672c2fb fixed broken @index commands in documentation 2014-03-15 20:45:51 -06:00
Eric Schulte 64d9ba15b6 clarification of commented code block export 2014-03-15 20:44:38 -06:00
Bastien Guerry 6aba2424c9 org.texi: Document -i in source code blocks
* org.texi (Literal examples): Add index entry.
(Editing source code): Document the -i flag.
2014-03-15 07:41:56 +01:00
John Henderson e0c723573b org.texi: Clarification: `:exports' is only applicable to blocks, not to inline code
* doc/org.texi (Exporting code blocks, exports): Clarify.

The documentation change resulted from the expectation that `:exports'
could be used with inline code blocks, which is not the case.
Clarification was added to avoid future confusion on this header
argument, which is applicable only to blocks.

TINYCHANGE
2014-03-14 17:15:48 +01:00
Bastien Guerry 1e402cee8b Merge branch 'maint' 2014-03-12 10:47:01 +01:00
Bastien Guerry 3e560f053c Backport r116740 from Emacs trunk 2014-03-12 10:46:50 +01:00
Nicolas Goaziou 081abcd652 Merge branch 'maint' 2014-03-12 08:58:55 +01:00
John Henderson ffc60fd494 Modified documentation for `org-src-preserve-indentation'
TINYCHANGE
2014-03-12 08:58:13 +01:00
tsdye 162dc4d5fd Documented org-babel-inline-result-wrap 2014-03-11 19:43:42 -06:00
Bastien Guerry 080f1dd5af Merge branch 'maint' 2014-03-05 15:47:55 +01:00
Bastien Guerry adbb2f7c9f Fix doc and code inconsistency: now use =verbatim= and ~code~.
* org.el (org-emphasis-alist): Use `org-verbatim' for =text=
and `org-code' for ~text~.

* org.texi (Emphasis and monospace): Document the use of
=verbatim= and ~code~ to be consistent with
`org-element-text-markup-successor'.

Thanks to Yasushi for reporting this.
2014-03-04 10:49:49 +01:00
Michael Brand 076b8e1dbf Merge branch 'maint' 2014-02-11 21:02:35 +01:00
Michael Brand 9061fe5fbe org.texi: Fix typo 2014-02-11 21:01:24 +01:00
Michael Brand b6025f42d3 Merge branch 'maint' 2014-02-11 19:31:21 +01:00
Michael Brand 9de9c0d1b5 org.texi: Column attributes format specifier
* doc/org.texi (Column attributes): Add a sentence to point out the
dependency on the format specifier.
2014-02-11 19:30:52 +01:00
Bastien Guerry f05d148e61 Merge branch 'maint'
Conflicts:
	doc/org.texi
2014-02-06 11:36:50 +01:00
Bastien Guerry 49b25fff59 org.texi (In-buffer settings, Radio tables): Tiny fixes
* org.texi (In-buffer settings, Radio tables): Tiny fixes.
2014-02-06 11:31:32 +01:00
Bastien Guerry 986ca8883c org.texi (Initial visibility): Fix typo
* org.texi (Initial visibility): Fix typo.
2014-02-06 11:25:03 +01:00
Bastien Guerry e96cda127a doc/org.texi: Fix trailing whitespace 2014-02-05 11:14:12 +01:00
Florian Beck 01e8103f8f Font-lock: allow hiding of brackets surrounding macros
* lisp/org.el (org-hide-macro-markers): new option
  (org-fontify-macros): new function
  (org-set-font-lock-defaults): call `org-fontify-macros'

* doc/org.texi: Document user option `org-hide-macro-markers'

TINYCHANGE
2014-02-05 11:13:39 +01:00
Bastien Guerry e45d13d94e Merge branch 'maint' 2014-01-28 11:20:42 +01:00
Bastien Guerry b298a47eb1 org.texi (Literal examples): Fix typo
* org.texi (Literal examples): Fix typo.
2014-01-28 11:20:29 +01:00
Nicolas Goaziou e0d14e6aa7 Merge branch 'maint' 2014-01-25 14:57:46 +01:00
Nicolas Goaziou b2dce80601 ox-latex: Fix :options discrepancy between blocks and lists
* lisp/ox-latex.el (org-latex-plain-list): Do not automatically
  enclose value for :options attribute within square brackets.
  Instead, append them verbatim next to the block name, as special
  blocks do.
* doc/org.texi (@LaTeX{} specific attributes): Update manual.
2014-01-25 14:56:49 +01:00
Bastien Guerry dd412491b3 Merge branch 'maint' 2014-01-13 23:26:33 +01:00
Bastien Guerry 3f7822d31b Backport typo fix from Emacs revno r116017 2014-01-13 23:26:17 +01:00
Michael Brand bc1d54b84b TBLFM remote ref: Add indirection of name or ID
* doc/org.texi (References): Add description for indirection of
NAME-OR-ID.

* lisp/org-table.el (org-table-eval-formula): Make use of
`org-table-remote-reference-indirection'.
(org-table-remote-reference-indirection): New function.

* testing/lisp/test-org-table.el
(test-org-table/remote-reference-indirect): Change to use remote
reference indirection.
2014-01-12 10:53:06 +01:00
Nicolas Goaziou d19fe8cb72 Merge branch 'maint' 2014-01-10 23:04:25 +01:00
Nicolas Goaziou de8884f38e org.texi: Fix typo
* doc/org.texi (Top, Exporting): Fix typo.
2014-01-10 22:27:58 +01:00
Nicolas Goaziou fcdf05b141 org.texi: Fix sectioning
* doc/org.texi (Global and local cycling): Remove "Initial visibility"
  and "Catching invisible edits" subsections since they already are
  located in "Visibility cycling" menu.
2014-01-10 11:07:17 +01:00
Nicolas Goaziou 99fdd76bb8 Merge branch 'maint' 2014-01-09 22:41:30 +01:00
Nicolas Goaziou 432decf725 org.texi: Fix some sections subtitiles
* doc/org.texi (Top, Exporting): Org has its own documentation and
  should therefore be removed from "Other build-in back-ends".
2014-01-09 22:37:57 +01:00
Achim Gratz f18b153d7c Merge branch 'maint' 2014-01-07 21:24:35 +01:00
Achim Gratz 6dc83e651d doc/Makefile: avoid spurious whitespace in environment variables
* doc/Makefile (%.pdf): Ensure that LANG and LC_ALL are set to "C",
  not "C   " (with trailing whitespace).

Make evaluation order produces spurious whitespace in variables when a
variable definition is followed by whitespace plus a comment.
2014-01-07 21:23:45 +01:00
Bastien Guerry f8e1745440 Merge branch 'maint'
Conflicts:
	contrib/lisp/org-favtable.el
2014-01-07 14:19:03 +01:00
Bastien Guerry 7d9a883b50 Update copyright years again.
Hint: copyright years are all updated in Emacs.
2014-01-07 14:18:17 +01:00
Bastien Guerry a0d4c8d85d Merge branch 'maint' 2014-01-07 13:09:55 +01:00
Rasmus 5b7d53e713 Bug in org.texi
* org.texi (Global and local cycling): Fix missing '@'.
2014-01-07 13:09:45 +01:00
Bastien Guerry 115680e50d Merge branch 'maint' 2014-01-07 10:15:27 +01:00
Bastien Guerry beeebfb9a6 org.texi (Global and local cycling): Mention C-u C-u TAB
* org.texi (Global and local cycling): Mention C-u C-u TAB.

Thanks to François Pinard for suggesting this.
2014-01-07 10:15:13 +01:00
Bastien Guerry 721cc10b5a Merge branch 'maint' 2014-01-06 11:00:37 +01:00
Bastien Guerry 9590067793 Backport change from Emacs r115884 2014-01-06 11:00:28 +01:00
Bastien Guerry c41f5075ac Merge branch 'maint'
Conflicts:
	contrib/lisp/org-favtable.el
2014-01-05 06:36:11 +01:00
Bastien Guerry 3737676632 Update copyright year for files changed since 2013 2014-01-05 06:35:21 +01:00
Bastien Guerry 0beda99171 Revert "Update copyright years."
This reverts commit 21105594fc.
2014-01-05 06:28:07 +01:00
Bastien Guerry 19b895b464 Backport changes from Emacs r115870
* org.texi (Include files, The Export Dispatcher)
(Advanced configuration)
(Header arguments in Org mode properties): Spelling fixes.
2014-01-05 06:24:20 +01:00
Bastien Guerry 096ff7e078 Merge branch 'maint'
Conflicts:
	contrib/lisp/org-favtable.el
2014-01-04 18:58:12 +01:00
Bastien Guerry 21105594fc Update copyright years. 2014-01-04 18:56:11 +01:00
Bastien Guerry 6e51188ead Merge branch 'maint' 2014-01-02 16:11:08 +01:00
Bastien Guerry 03ce57e7db Backport r115828 from Emacs trunk 2014-01-02 16:10:44 +01:00
Bastien Guerry 3c4a99c731 Merge branch 'maint' 2014-01-02 16:08:36 +01:00
Bastien Guerry a66028dfc5 Revert "Backport change from r115807 in Emacs trunk"
This reverts commit c2ed678f20.
2014-01-02 16:08:26 +01:00
Bastien Guerry c8bb89faca Merge branch 'maint' 2013-12-30 10:32:24 +01:00
Bastien Guerry c2ed678f20 Backport change from r115807 in Emacs trunk 2013-12-30 10:10:56 +01:00
Bastien Guerry 66f55af525 Merge branch 'maint' 2013-12-22 23:37:27 +01:00
Bastien Guerry 6999c5cc84 doc/org.texi: Add #+BEGIN_ABSTRACT as example
* org.texi (Special blocks): Add #+BEGIN_ABSTRACT as another
example.
(@LaTeX{} specific attributes): New index entries.  Use
#+BEGIN_ABSTRACT in the example.
2013-12-22 23:36:38 +01:00
Nicolas Goaziou 4e02e48fa3 Merge branch 'maint'
Conflicts:
	doc/org.texi
2013-12-15 14:59:33 +01:00
Nicolas Goaziou 18d3057e62 org.texi: Document `org' back-end
* doc/org.texi (Org export): New section.
* lisp/ox-org.el: Remove initial code comments since this is now in
  manual.
2013-12-15 14:52:46 +01:00
Nicolas Goaziou b617d407ed Merge branch 'maint' 2013-12-15 11:55:44 +01:00
Nicolas Goaziou 7a80881d65 org.texi: Fix some whitespace errors
* doc/org.texi (HTML doctypes): Fix whitespace error.
2013-12-15 11:54:59 +01:00
Nicolas Goaziou c356b114d7 Merge branch 'maint' 2013-12-15 11:40:55 +01:00
Nicolas Goaziou 64d9159ad0 org.texi: Add html related publishing options
* doc/org.texi (HTML doctypes): Fix display.
(Publishing options): Add missing html publishing options.
2013-12-15 11:38:37 +01:00
Nicolas Goaziou 0cff09f94b Merge branch 'maint' 2013-12-01 13:41:09 +01:00
Nicolas Goaziou c92606b326 Documentation for :export: tag usage
* doc/org.texi (Export settings): documentation describing how text
above the first heading is ignored when an :export: tag is in a file.

Commit 7cf4406088 introduced a feature of
the exporter that ignores text above the first headline when an :export:
tag is used anywhere in a file. This commit documents that behaviour
introduced in 7cf44060, in doc/org.texi.

TINYCHANGE
2013-12-01 13:32:26 +01:00
Nicolas Goaziou 92f30ae53c Merge branch 'maint' 2013-11-20 22:02:20 +01:00
Nicolas Goaziou 2dcd6dace9 org.texi: Fix export snippet syntax in ODT backend
* doc/org.texi (Creating one-off styles): Use new export snippet
  syntax.
2013-11-20 22:01:10 +01:00
Bastien Guerry 9214000c21 Merge branch 'maint'
Conflicts:
	doc/org.texi
2013-11-17 09:17:39 +01:00
Bastien Guerry a6210cc9c2 Backport Paul's fixes from Emacs trunk (1/2)
See http://article.gmane.org/gmane.emacs.diffs/123123
2013-11-17 09:12:41 +01:00
Michael Brand 396b2172e4 Improve manual and ERT for table formulas
* doc/org.texi (Field coordinates in formulas): Rephrase and add an
example with a Lisp formula to copy from remote table.
* testing/lisp/test-org-table.el (Comments): Adapt comment.
(test-org-table/copy-field): Add reference to
`test-org-table/remote-reference-access'.
(test-org-table/remote-reference-access): Add reference to
`test-org-table/copy-field'.  Differentiate between Lisp formula to
copy and Calc (or Lisp) formula to calculate.
2013-11-13 20:10:56 +01:00
Bastien Guerry 6255cbb3fe org.texi (Repeated tasks): Document marking repeating tasks as done
* org.texi (Repeated tasks): Document marking repeating tasks
as done.
2013-11-13 14:00:09 +01:00
Bastien Guerry 637d010ce6 Merge branch 'maint' 2013-11-04 12:45:44 +01:00
Bastien Guerry 2a95f5e409 org.texi (Catching invisible edits): Fix typo
* org.texi (Catching invisible edits): Fix typo.

Thanks to Cyprien Gay for reporting this.
2013-11-04 12:45:22 +01:00
Nicolas Goaziou e0011113b3 org.texi: Remove references to DRAWERS keyword
* doc/org.texi (Drawers, RSS feeds, In-buffer settings): Remove
  references to DRAWERS keyword, which is unused now.
2013-10-31 21:27:18 +01:00
Nicolas Goaziou 5a78f12866 Merge branch 'maint' 2013-10-24 11:18:19 +02:00
Nicolas Goaziou 6541e1632f org.texi: Remove reference to quoted underscores
* doc/org.texi (Subscripts and superscripts): Remove reference to
  quoted underscores until this mechanism is implemented again.
2013-10-24 11:16:19 +02:00
Nicolas Goaziou d20c5fbc81 org.texi: Improve Beamer export documentation
* doc/org.texi (Beamer export): Be more accurate about BEAMER_OPT
  property.
2013-10-24 11:14:55 +02:00
Bastien Guerry 66676f7dc7 Merge branch 'maint' 2013-10-14 09:51:42 +02:00
Bastien Guerry 838cf55bcd org.texi (Plain lists, Plain lists): Fix typos
* org.texi (Plain lists, Plain lists): Fix typos.

Thanks to Elifsu Sabuncu for reporting this.
2013-10-14 09:51:06 +02:00
Carsten Dominik 5128864d2c Manual: Grammar fixes
Thanks to TonyMc for pointing these out.
2013-10-14 08:40:31 +02:00
Carsten Dominik e0dd999a7b Manual: Improvements to summary by Thomas Dye 2013-10-01 05:28:27 +02:00
Carsten Dominik 3868f45c16 Fix typos 2013-09-30 11:01:29 +02:00
Carsten Dominik d0c797aa5a Fix typos 2013-09-30 10:56:33 +02:00
Carsten Dominik 8e5932acc8 Manual and guide: more small changes 2013-09-30 09:16:18 +02:00
Carsten Dominik a68f44f08e Manual: small fixes 2013-09-30 08:03:38 +02:00
Carsten Dominik 95784bef22 Manual: Improve activation section 2013-09-30 07:01:33 +02:00
Carsten Dominik fbd604d7f5 Merge branch 'master' of orgmode.org:org-mode 2013-09-29 22:21:07 +02:00
Carsten Dominik afeff01f77 Manual: Shorten Introduction
* doc/org.texi: Remove one useless piece from the introduction.  Modify
a paragraph about key bidings.
2013-09-29 22:20:46 +02:00
Carsten Dominik 817cbca767 Allow regexp separator when converting the region to a table
* lisp/org-table.el (org-table-convert-region): Interpret string SEPARATOR
as regular expression.  Triple `C-u' prefix arg will read a regexp
from the user.
* doc/org.texi: Document that `C-c |' can take a regexp as a separator.

Patch modified from a proposal by Francois.
2013-09-29 12:27:09 +02:00
Carsten Dominik cd5cccd6e9 Manual: Say something about the roots of or in the Introduction 2013-09-28 23:13:12 +02:00
Carsten Dominik 8ead22e095 Merge branch 'guide-maintenance' 2013-09-28 19:55:27 +02:00
Carsten Dominik 95ca17550e Manual: Add short contents 2013-09-28 19:54:44 +02:00
Carsten Dominik 85cf5a7a82 More changes to the introduction 2013-09-28 19:46:32 +02:00
Carsten Dominik c920019bc0 Manual: Some trivial reformatting
* doc/org.texi: Trivial reformatting
2013-09-28 18:30:06 +02:00
Carsten Dominik 10c80f94fa Manual: Add babel header arguments to the concept index 2013-09-28 18:30:06 +02:00
Carsten Dominik d8f1643c51 Remove some subsection of ODT documentation from the table of contents
The documentation stays, but not all subsubheadings make it into the
table of contents.
2013-09-28 18:30:06 +02:00
Carsten Dominik 0c6f044c37 Manual: Modernize introduction
doc/org.texi (Introduction): Modernize.
2013-09-28 18:30:06 +02:00
Carsten Dominik 936ef91869 Remove unnecessary node comments 2013-09-28 18:30:06 +02:00
Carsten Dominik 3ddb2a1312 Manual: Standardize capitalisation of node names 2013-09-28 18:30:06 +02:00
Carsten Dominik 1dc68b9723 Manual: Rely on automatic node structure
This patch removes the manual setting of next, previous, and top links
and instead relies on info making this connection from the sectioning
structure.  This makes it easier to change node names.
2013-09-28 18:30:05 +02:00
Carsten Dominik 3ffab650e0 Fix order of contributors to manual
* doc/org.texi: Fix order of contributors to manual.
2013-09-28 18:30:05 +02:00
Nicolas Goaziou fe0e5cf309 org.texi: Update Drawers section 2013-09-26 17:25:31 +02:00
Nicolas Goaziou e09ffe2a67 ox: Add a defcustom to export properties drawers
* lisp/ox.el (org-export-with-drawers): Improve docstring.
(org-export-with-properties): New variable
(org-export--skip-p): Handle new variable.
(org-export-options-alist): Install new variable.
* lisp/ox-ascii.el (org-ascii-node-property,
  org-ascii-property-drawer): New functions.
* lisp/ox-html.el (org-html-node-property): New function.
(org-html-property-drawer): Export property drawers as "pre" blocks.
* lisp/ox-latex.el (org-latex-property-drawer,
  org-latex-node-property): New functions.
* lisp/ox-man.el (org-man-node-property, org-man-property-drawer): New
  functions.
* lisp/ox-md.el (org-md-node-property, org-md-property-drawer): New
  functions.
* lisp/ox-odt.el (org-odt-node-property): New function.
(org-odt-property-drawer): Export property drawers as fixed width
blocks.
* lisp/ox-texinfo.el (org-texinfo-node-property): New function.
(org-texinfo-property-drawer): Export property drawers as verbatim
blocks.
* doc/org.texi: Update manual.
* testing/lisp/test-ox.el: Add tests.
2013-09-26 13:46:31 +02:00
Carsten Dominik 289b5578ab Update the guide and make it more compact 2013-09-24 14:10:55 +02:00
Carsten Dominik b6cc24ae14 Simplify example documentation of local filters
* doc/org.texi (Advanced configuration): Simplify example of local
filters, using #+BIND.
2013-09-23 16:28:39 +02:00
Carsten Dominik e5f16b80c8 Document the use of file-local export filters
* doc/org.texi (Advanced configuration): Document how to set local export
filters for individual files.
2013-09-22 08:47:21 +02:00
Carsten Dominik a761d9128a Improve documentation of sparse trees 2013-09-17 21:49:14 +02:00
Carsten Dominik cf966c4312 Improve a sentence in the manual
* doc/org.texi (CSS support): Clarify this section.
2013-09-17 07:17:07 +02:00
Carsten Dominik 508ac0f57a Clean up list of default LaTeX packages
* doc/org.texi (@LaTeX{} specific attributes): Document that tabu
and tabularx packages are not in the default set of packages.
* lisp/org.el (org-latex-default-packages-alist): Add the `rotating'
package to the list of default packages.  Improve docstring.
2013-09-17 07:02:14 +02:00
Carsten Dominik a7448b0c12 Add fortnight view to agenda
* doc/org.texi (Agenda commands): Document fortnight view.
* lisp/org-agenda.el (org-agenda-custom-commands-local-options):
(org-agenda-span): Add support for fortnight view.
(org-agenda-menu): Add fortnight view command.
(org-agenda-list):
(org-agenda-ndays-to-span): Add support for fortnight view.
(org-agenda-span-to-ndays): Add support for fortnight view.
(org-agenda-later): Add support for fortnight view.
(org-agenda-fortnight-view): New command.
(org-agenda-change-time-span): Add support for fortnight view.
(org-agenda-compute-starting-span): Add support for fortnight view.

This is a patch by Michael Gauland.
2013-09-13 07:54:42 +02:00
Nicolas Goaziou f902ab8d59 orgguide: Fix documentation
* doc/orgguide.texi (Comment lines): A whitespace is mandatory after
  the "#" sign.
(Export options): Along with plain text, DATE expects an Org
timestamp, not a format string.  Also fix OPTIONS items and remove
back-end specific keywords.
(The export dispatcher): An active region is not sufficient to trigger
subtree export.
(DocBook export): Remove section.
(ASCII/Latin-1/UTF-8 export, HTML export, @LaTeX{} and PDF export,
Publishing): Update keybindings.
(iCalendar export): Update keybindings and fix variable name.
2013-09-06 10:59:12 +02:00
Nicolas Goaziou 458e6cfb56 Merge branch 'maint' 2013-09-05 18:48:42 +02:00
Nicolas Goaziou 48d32a3c26 org.texi: Fix misleading documentation
* doc/org.texi (Document title): Subtree export is no longer triggered
  by marking one as the region.
(Horizontal rules): LaTeX export doesn't use "\hrule" anymore, and
giving examples isn't very useful: "horizontal rule" is, at least, as
explicit as <hr/>.
2013-09-05 18:46:07 +02:00
Carsten Dominik 09bcbc4228 Merge branch 'master' of orgmode.org:org-mode 2013-09-02 10:25:35 +02:00
Carsten Dominik 0f02804f36 Document conflict with ecomplete.el
* doc/org.texi: Document conflict with ecomplete.el

Thanks to Gregor Zattler for pointing out this problem.
2013-09-02 10:25:10 +02:00
Carsten Dominik cdb8d78b00 Acknowledgements for Jason Dunsmore and Rakcspace
* doc/org.texi (History and Acknowledgments): Acknowledgements for
Jason Dunsmore and Rakcspace.
2013-09-01 19:34:51 +02:00
Carsten Dominik 718306e2a1 Rename org-crypt.el node to org-crypt.
* doc/org.texi: Rename org-crypt.el node to org-crypt.

This had to be done because a dot is not allowed as a node name
2013-08-31 15:51:12 +02:00
Carsten Dominik daf36fc918 Fix some issue with orgtbl-mode
* lisp/org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces between
keywords in RECEIVE ORGTBL lines.
* doc/org.texi (A @LaTeX{} example): Fix typo in variable name.
2013-08-30 17:53:28 +02:00
Bastien Guerry 555c0520ca Merge branch 'maint' 2013-07-23 18:47:19 +02:00
Bastien Guerry c85aabdcf1 org.texi (Advanced configuration): Fix typo
* org.texi (Advanced configuration): Fix typo.

Thanks to Bart Bunting for reporting this.
2013-07-23 18:47:08 +02:00
Feng Shu 2a94fca6ca Fix generating LaTeX formula images
* lisp/ox-odt.el (org-odt--translate-latex-fragments): Fix imagemagick support.
* lisp/ox-html.el (org-html-latex-environment)
(org-html-latex-fragment): Fix imagemagick support.
* org.el (org-create-formula-image-with-imagemagick): Generate correct
size formula image.
(org-format-latex-header): Change pagestyle command position.
* doc/org.texi (@LaTeX{} fragments)
(Previewing @LaTeX{} fragments)
(Math formatting in HTML export)
(Working with @LaTeX{} math snippets): Add document about creating
formula image with imagemagick.
2013-07-15 15:31:38 +02:00
Kodi Arfer 03040dd44d ox-html: Allow "Figure %d:", etc. to be styled
* lisp/ox-html.el (org-html-paragraph): Wrap "Figure %d:" in
  <span class="figure-number">.
  (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
   <span class="table-number">.
  (org-html-list-of-listings): Wrap "Listing %d:" in
  <span class="listing-number">.
* doc/org.text (CSS support): Mention .figure-number,
  .listing-number, and .table-number.

I didn't change org-html-style-default, so these labels won't
appear special by default.

TINYCHANGE
2013-07-09 22:28:53 +02:00
Bastien Guerry fdaa996e90 org.el (org-refile): Allow to only copy the subtree without moving it
* org.el (org-refile): With a numeric prefix argument of `3',
emulate (setq org-refile-keep t) and copy the subtree to the
target location, don't delete it.

* org.texi (Refile and copy): Document `C-3 C-c C-w' and add
an index entry for `org-refile-keep'.
2013-07-08 10:19:03 +02:00
Eric Schulte 7f99950749 subsection headers for prologue and epilogue 2013-07-07 20:01:01 -06:00
Eric Schulte d422bfff8d fix documentation of :noweb strip-export header arg
Thanks to Christophe Pouzat for catching and reporting this.

* doc/org.texi (noweb): Removed erroneous negative.
2013-07-04 08:51:19 -06:00
Bastien Guerry 62f20c2015 Merge branch 'maint' 2013-07-04 01:43:05 +02:00
Gustav Wikström 8e56168945 org.texi (Matching tags and properties): Clarification
* org.texi (Matching tags and properties): Clarification.

TINYCHANGE
2013-07-04 01:36:08 +02:00
Bastien Guerry 0b51434a01 Merge branch 'maint' 2013-07-03 15:39:44 +02:00
Bastien Guerry 9deb5027e2 org.texi (Tag groups): Fix misleading typo
* org.texi (Tag groups): Fix misleading typo.
2013-07-03 15:39:28 +02:00
Bastien Guerry f80e262967 org-list.el (org-sort-list): Implement sorting by "checked" status for check lists
* org-list.el (org-sort-list): Implement sorting by "checked"
status for check lists.

* org.texi (Plain lists): Add index entry for sorting plain
list.  Document sorting by checked status for check lists.
2013-07-03 14:57:19 +02:00
Feng Shu 7767f8eae1 Add `:caption' attribute to #+ATTR_LATEX property
* lisp/ox-latex.el (org-latex--caption/label-string): Add ability,
which can build a caption string from `:caption' attribute of #+ATTR_LATEX.
(org-latex--inline-image,org-latex--org-table): Tiny change.
* doc/org.texi (@LaTeX{} specific attributes): Document `:caption'
attribute of #+ATTR_LATEX.

This feature is very useful when you export org to latex with custom
caption command, for example:

\#+ATTR_LATEX: :caption \BiTableCaption{caption 1}{caption 2}
|---+---|
| x | y |
|---+---|
| 1 | 2 |
|---+---|
2013-07-02 19:01:15 +02:00
Bastien Guerry 25f4e5f7f7 Merge branch 'maint' 2013-07-02 09:32:09 +02:00
Nicolas Goaziou 3e584f4c54 org.texi: Fix macro name
* doc/org.texi (Macro replacement): Fix macro name.
2013-07-01 23:15:11 +02:00
Bastien Guerry 5a36318511 Merge branch 'maint' 2013-06-28 09:13:41 +02:00
Bastien Guerry 39d1323eec org.texi (Publishing options): Fix old variable names
* org.texi (Publishing options): Fix old variable names.
2013-06-28 09:13:06 +02:00
Bastien Guerry 640339845e org.texi (Orgstruct mode): Fix suggested setting of `orgstruct-heading-prefix-regexp'
* org.texi (Orgstruct mode): Fix suggested setting of
`orgstruct-heading-prefix-regexp'.

Thanks to Nathaniel Cunningham for reporting this.
http://mid.gmane.org/CAAGwS84TrrmPdO9eQLc1acCvwTiPy=N5TnC1p2S-dz5jazDgjg%40mail.gmail.com
2013-06-27 16:24:48 +02:00
Achim Gratz 8cbbbe16a5 org.texi: document header-args[:lang] properties
* doc/org.texi: Document header-args[:lang] properties and remove
  deprecated old-style properties from documentation.
2013-06-23 19:35:13 +02:00
Eric Schulte 56ac8f8b69 prolog and epilog header arguments
* lisp/ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
  arguments.
* lisp/ob-core.el (org-babel-common-header-args-w-values): Mention new
  header arguments.
  (org-babel-expand-body:generic): Use new header arguments.
* doc/org.texi (Specific header arguments): Document new header
  arguments.
2013-06-22 14:09:24 -06:00
Nicolas Goaziou 70b9b93feb ox-html: Use OPTIONS items instead of keywords for booleans
* lisp/ox-html.el (html): Replace "HTML_HTML5_FANCY",
  "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with, respectively,
  ":html5-fancy", "html-style" and "html-scripts" options.
(org-html-html5-fancy): Reformat docstring.
* doc/org.texi (HTML doctypes): Reflect keyword removal.
(CSS support): Reflect keyword removal.

The reasoning behind this change is that keywords can only store
strings as value.  Therefore, they are not suited for toggles ("nil"
vs nil problem).
2013-06-21 19:17:47 +02:00
Christopher Schmidt 3fe512d7ca doc/org.texi (Orgstruct mode): Fix wrong regexp.
* doc/org.texi (Orgstruct mode): Fix wrong regexp.
2013-06-20 22:09:11 +02:00
Eric Schulte 374a08b950 updating tangle-mode documentation for new reading 2013-06-08 15:15:28 -06:00
Eric Schulte bbc435595e fix errors building the documentation 2013-06-08 12:33:20 -06:00
Eric Schulte 2a73e06a6d adding a new global tangle-mode header argument
* doc/org.texi (Top): Documentation for new tangle-mode header argument.
  (Specific header arguments): Documentation for new tangle-mode header
  argument.
  (rownames): Documentation for new tangle-mode header argument.
  (tangle-mode): Documentation for new tangle-mode header argument.

* lisp/ob-core.el (org-babel-common-header-args-w-values): Adding the
  new :tangle-mode header argument.
  (org-babel-read): Read values starting with a "#" character as emacs
  lisp.

* lisp/ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
  argument.

* lisp/org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
  new :tangle-mode header argument.
2013-06-08 12:29:02 -06:00
Eric Schulte d578556557 sub -> subsub heading 2013-06-06 11:07:52 -06:00
Eric Schulte 510debcf56 documentation of jump-from-src-to-org functionality 2013-06-06 09:03:09 -06:00
Nicolas Goaziou 45565503dc ox-latex: Extend :float attribute to source blocks and normalize its values
* lisp/ox-latex.el (org-latex-src-block): Handle :float attribute. Its
  value can be set to "t", "multicolumn" or "nil".  Also
  remove :long-listing attribute, which is now replaced with :float
  nil.
(org-latex--org-table): Replace :float table with :float t.
(org-latex--inline-image): Replace :float figure with :float t.
(org-latex-long-listings): Remove variable.
* doc/org.texi (@LaTeX{} specific attributes): Document new :float values.
2013-06-01 15:15:02 +02:00
Nicolas Goaziou a2b81c7152 Merge branch 'maint' 2013-05-18 19:55:43 +02:00
Nicolas Goaziou f3c86bc488 org.texi: Fix joke 2013-05-18 19:54:34 +02:00
Eric Abrahamsen 7cc982a767 org.texi: Correct syntax for exporting HTML fragments 2013-05-18 19:48:46 +02:00
Carsten Dominik 8bbfdbe357 Mention Sean Escriva in the Manual
* doc/org.texi (MobileOrg): Mention the new iPhone developer.
2013-05-12 06:35:58 +02:00
Carsten Dominik 7350e29eae Small fix in manual
* doc/org.texi: Fix description of behavior at end of folded headline
2013-05-10 08:50:44 +02:00
Bastien Guerry 39becc6381 Merge branch 'maint' 2013-05-07 12:44:51 +02:00
Bastien Guerry a8d6ef3676 org.texi (Conventions): Fix typo
* org.texi (Conventions): Fix typo.
2013-05-07 12:44:39 +02:00
Eric Abrahamsen 9bc55c7d00 Export to various flavors of (X)HTML
* lisp/ox-html.el: (org-html-doctype-alist): New variable holding an
alist of (X)HTML doctypes
(org-html-xhtml-p): New function
(org-html-html5-p): New function
(org-html-close-tag): New function
(org-html-html5-fancy): New export option, determining whether or not to
use HTML5-specific elements.
(org-html-html5-elements): New variable, new HTML5 elements.
(org-html-special-block): Export special blocks to new HTML5 elements.
(org-html-format-inline-image): Use <figure> and <figcaption> for
standalone images.
(org-html-format-inline-image,org-html--build-meta-info)
(org-html--build-head,org-html--build-pre/postable,org-html-template)
(org-html-horizontal-rule,org-html-format-list-item)
(org-html-line-break,org-html-table,`org-html-verse-block): Changes to
allow flavored export.

* doc/org.texi: Document export to (X)HTML flavors.
2013-05-06 09:47:05 +02:00
Carsten Dominik 73ce77f991 Improve documentation of TOC placement.
* doc/org.texi: (Table of contents) Improve documentation of TOC placement.
2013-05-02 05:20:51 +02:00
Grégoire Jadi 00badf1b70 doc/org.texi (Handling links): Fix a typo in `org-startup-with-inline-images' documentation
* doc/org.texi (Handling links): Fix a typo in
`org-startup-with-inline-images' documentation.
2013-05-01 09:52:57 +02:00
Bastien Guerry af51c11ba9 Rephrase previous change 2013-04-29 19:10:55 +02:00
Bastien Guerry 7f84b5fe5e org.texi (Export settings): Document `org-export-allow-bind-keywords'
* org.texi (Export settings): Document
`org-export-allow-bind-keywords'.

Thanks to Thomas S. Dye for spotting this.
2013-04-29 19:09:29 +02:00
Carsten Dominik e6ab7869f7 Use @var{} only for metasyntactical meanings in the manual.
Thanks to Suvayu Ali for the patch
2013-04-26 16:43:36 +02:00
Bastien Guerry bb0492d717 doc/orgcard.tex: Update version number
Also update etc/ORG-NEWS.
2013-04-22 08:27:40 +02:00
Bastien Guerry 8a5ac12268 org.el: New maintainer
* doc/orgguide.texi:
* doc/org.texi:
* org.el: New maintainer.
2013-04-21 16:58:01 +02:00
Bastien Guerry 7248fb19f1 doc/orgguide.texi: Fix menus 2013-04-18 18:21:13 +02:00
Bastien Guerry cf4947775d doc/orgguide.texi: Fix wrong node ref 2013-04-18 18:17:52 +02:00
Bastien Guerry 01d71f50ef Merge 8.0 2013-04-18 18:00:30 +02:00
Bastien Guerry 9c513c2a03 org.texi (History and Acknowledgments): Small rephrasing
* org.texi (History and Acknowledgments): Small rephrasing.
2013-04-18 13:04:29 +02:00
Bastien Guerry e61c7eab40 org.texi (Template elements): Add a footnote about tags accepted in a year datetree
* org.texi (Template elements): Add a footnote about tags
accepted in a year datetree.
2013-04-18 12:45:07 +02:00
Bastien Guerry b432d2eb93 org.texi: Enhance style.
* org.texi (Beamer export, @LaTeX{} and PDF export)
(Header and sectioning, @LaTeX{} specific attributes): Enhance
style.

Thanks to Thomas Dye for these suggestions.
2013-04-18 12:04:48 +02:00
Aaron Ecay 25869e5670 Add 'inline-only option to org-export-babel-evaluate
* lisp/ob-exp.el (org-export-babel-evaluate): Add a 'inline-only option.
  (org-babel-exp-results): Implement 'inline-only for
  `org-export-babel-evaluate'.
* doc/org.texi (Exporting code blocks): Document the 'inline-only setting
  for `org-export-babel-evaluate'.

This is useful because there is no way for inline results to be stored.
The imagined usecase is that all non-inline source blocks will be
evaluated manually by the user.  Inline blocks, however, must be
evaluated during export, or they will be simply deleted by the exporter.
2013-04-18 10:41:47 +02:00
Nicolas Goaziou bdde7db20c org.texi: Improve documentation for export settings
* doc/org.texi (Export settings): Improve documentation.
2013-04-17 22:12:50 +02:00
Nicolas Goaziou 718e7e8b80 org.texi: Small fixes to HTML documentation
* doc/org.texi (Math formatting in HTML export): Fix OPTIONS item's name.
(Text areas in HTML export): Update text areas.
(HTML Export commands): Update export commands.
2013-04-17 22:12:50 +02:00
Bastien Guerry 79ecb6570b org.texi (Agenda commands): Add a footnote
* org.texi (Agenda commands): Add a footnote about dragging
agenda lines: it does not persist and it does not change the
.org files.
2013-04-17 20:34:28 +02:00
Bastien Guerry 937b4484c6 org-agenda.el: New commands for dragging a line forward/backward
* org-agenda.el (org-agenda-drag-line-forward)
(org-agenda-drag-line-backward): New commands.
(org-agenda-mode-map): Bind the new commands to M-<down> and
M-<up> respectively.

* org.texi (Agenda commands): Add a table heading for dragging
agenda lines forward/backward.
2013-04-17 20:25:02 +02:00
Bastien Guerry c66dfa2318 org.texi (Agenda commands): Add documentation for bulk marking commands
* org.texi (Agenda commands): Add documentation for
`org-agenda-bulk-toggle' and `org-agenda-bulk-toggle-all'.
2013-04-17 07:00:35 +02:00
Bastien Guerry f1ff37ebbd org.texi (Publishing options): Update the list of options
* org.texi (Publishing options): Update the list of options.
(Simple example, Complex example): Fix the examples.
2013-04-16 18:55:10 +02:00
Bastien Guerry be63eeca01 org.texi (Formula syntax for Calc): Don't use a bold font the warning
* org.texi (Formula syntax for Calc): Don't use a bold font
the warning.
2013-04-16 16:40:35 +02:00
Bastien Guerry 2335b10bf2 org.texi (Other built-in back-ends): New section
* org.texi (Other built-in back-ends): New section.
2013-04-16 11:17:05 +02:00
Bastien Guerry 7790a97cdd org-src.el (org-edit-src-turn-on-auto-save): New option
* org-src.el (org-edit-src-turn-on-auto-save): New option.
(org-edit-src-code): Use it.
(org-edit-src-auto-save-idle-delay): Enhance docstring.

* doc/org.texi (Editing source code): Document
`org-edit-src-auto-save-idle-delay' and
`org-edit-src-turn-on-auto-save'.

Thanks to Charles C. Berry for bringing this up again.
2013-04-16 10:38:01 +02:00
Bastien Guerry f20de09dcb org.texi (External links): Document contributed link types separately
* org.texi (External links): Document contributed link types
separately.
2013-04-16 10:06:41 +02:00
Bastien Guerry 9b5f92a2d6 org.texi (Closing items): Document `org-closed-keep-when-no-todo'
* org.texi (Closing items): Document
`org-closed-keep-when-no-todo'.
2013-04-16 09:59:21 +02:00
Bastien Guerry 92eaf7bbd8 Merge branch 'master' of orgmode.org:org-mode 2013-04-15 23:38:47 +02:00
Bastien Guerry 540b859a3d org.texi (Advanced configuration): Use @lisp and @smalllisp
* org.texi (Advanced configuration): Use @lisp and @smalllisp.
2013-04-15 23:38:00 +02:00
Nicolas Goaziou 5e0c969381 Better document LATEX_HEADER_EXTRA keywords
* doc/org.texi (Header and sectioning): Add a footnote about the
  different between LATEX_HEADER_EXTRA and LATEX_HEADER.
* lisp/ox-latex.el (org-latex-classes): Be more explicit about
  LATEX_HEADER_EXTRA.
2013-04-15 23:24:53 +02:00
Nicolas Goaziou a39f9c35cc org.texi: Small update 2013-04-15 23:12:56 +02:00
Bastien Guerry 9ed3c55ce6 org.texi: Fix typos. 2013-04-15 22:26:45 +02:00
Bastien Guerry e36b814f23 org.texi: Tiny rephrasing 2013-04-15 22:25:02 +02:00
Bastien Guerry bd00b097b0 org.texi: More rewriting
* org.texi (Export back-ends): Rename from "Export formats".
(The Export Dispatcher, Export settings): Minor rewrites.
(ASCII/Latin-1/UTF-8 export): Update variable's name.
(In-buffer settings): Add #+HTML_HEAD_EXTRA.

Thanks to Thomas Dye for these suggestions.
2013-04-15 22:25:02 +02:00
Bastien Guerry 5ec66d165c org.texi (Export in foreign buffers): New section
* org.texi (Export in foreign buffers): New section.
(Exporting): Remove documentation about converting the
selected region.
2013-04-15 22:25:02 +02:00
Bastien Guerry fd8de3b6f1 org.texi (Advanced configuration): Put the filter valid types in a table
* org.texi (Advanced configuration): Put the filter valid
types in a table.
2013-04-15 02:07:46 +02:00
Bastien Guerry 372824a311 org.texi: Use @code{nil} instead of nil
* org.texi: Use @code{nil} instead of nil.
2013-04-15 01:54:46 +02:00
Bastien Guerry 41e313118d org.texi (Exporting): Better introductory sentence
* org.texi (Exporting): Better introductory sentence.

Thanks to Thomas Dye for this suggestion.
2013-04-15 01:02:29 +02:00
Bastien Guerry 7ed97e767d org.texi: Use @var{...} instead of @code{...} for variables
* org.texi: Use @var{...} instead of @code{...} for variables.
2013-04-15 00:51:20 +02:00
Nicolas Goaziou 209e071246 org.texi: Add advanced configuration for export 2013-04-14 17:01:26 +02:00
Michael Brand 45afcf137c Improve doc of empty fields
* doc/org.texi (Formula syntax for Calc): Improve the documentation of
empty fields in formulas for spreadsheet.
* testing/lisp/test-org-table.el: Rename wrongly named functions.
* testing/lisp/test-org-table.el: Use the more obvious "==" instead of
"=" for Calc conditions.
* testing/lisp/test-org-table.el (test-org-table/empty-field): Improve
the examples for vmean with empty fields.
2013-04-14 12:07:48 +02:00
Michael Brand d9cd50bd35 org.texi: Reformat some description lists
* doc/org.texi (Formula syntax for Calc, Emacs Lisp forms as
formulas): Reformat spreadsheet formula mode strings and some examples
from @example block with xy @r{yz} to @table.
2013-04-14 12:07:43 +02:00
Bastien Guerry 94aedb97c9 org.texi (Exporting, Export settings): Rephrasing
* org.texi (Exporting, Export settings): Rephrasing.

Thanks to Thomas Dye for his detailed suggestions for this.
2013-04-14 11:46:44 +02:00
Nicolas Goaziou 65b9aa089c org.texi: Small fixes 2013-04-14 11:43:30 +02:00
Suvayu Ali d5da1d9428 Fix org info manual compilation 2013-04-14 09:37:49 +02:00
Nicolas Goaziou a6afda1a2e org.texi: Document `org-export-in-background'
* doc/org.texi (The Export Dispatcher): Document
  `org-export-in-background'.
2013-04-13 16:02:30 +02:00
Nicolas Goaziou 6e92b32e45 org.texi: Update Beamer documentation 2013-04-13 15:59:44 +02:00
Bastien Guerry d579301165 doc/org.texi: Delete trailing whitespaces 2013-04-13 15:55:11 +02:00
Bastien Guerry 906f07554f org.texi (The Export Dispatcher): Remove reference to `org-export-run-in-background'
* org.texi (The Export Dispatcher): Remove reference to
`org-export-run-in-background'.
2013-04-13 15:52:20 +02:00
Bastien Guerry d1d6740339 org.texi (Publishing action): Enhance explanations for `org-org-publish-to-org'
* org.texi (Publishing action): Enhance explanations for
`org-org-publish-to-org'.
2013-04-13 15:52:20 +02:00
Bastien Guerry 5840e4cc64 org.texi (Exporting): Add a note about conversion commands
* org.texi (Exporting): Add a note about conversion commands.
(Feedback, Orgstruct mode, Built-in table editor)
(Built-in table editor, Orgtbl mode, Updating the table)
(Property syntax, Capturing column view, Capture)
(Agenda files, Agenda commands, CDLaTeX mode, CDLaTeX mode)
(Exporting, Extending ODT export)
(Working with @LaTeX{} math snippets, dir, Customization)
(Radio tables, A @LaTeX{} example, Pulling from MobileOrg):
Uniformly use @kbd{M-x command RET}.
2013-04-13 15:52:20 +02:00
Bastien Guerry 7c212b273c org.texi: Minor rephrasing 2013-04-13 15:52:20 +02:00
Bastien Guerry c306035bc4 org.texi (Publishing action): Enhance explanations for `org-org-publish-to-org'
* org.texi (Publishing action): Enhance explanations for
`org-org-publish-to-org'.
2013-04-13 15:52:20 +02:00
Nicolas Goaziou ed3f36112d org.texi: Document Markdown export 2013-04-13 11:52:37 +02:00
Achim Gratz 300932055c org.texi: remove footnote from subheading
* doc/org.texi (Agenda commands): Remove footnote from
  @tsubheading (as a macro argument it would need to be kept on a
  single line) and add a sentence with the reference instead.
2013-04-13 08:06:54 +02:00
Bastien Guerry 9662b7db1c Merge branch 'master' of orgmode.org:org-mode 2013-04-13 02:11:42 +02:00
Sacha Chua e82fb4402c Change relative weekday specifications (ex: fri or -tue) to exclude today
* lisp/org.el (org-read-date-get-relative): Handle positive and
negative weekday specifications so that they don't return today.
If today is Friday, "fri" should mean next Friday. This changes
the previous behavior, which required you to specify "+2fri" in
order to mean next Friday if today was Friday. If you want to
schedule something for today, you can use ".".

* doc/org.texi (The date/time prompt): Update the documentation
to reflect the new way `org-read-date-get-relative' handles
weekdays.

TINYCHANGE
2013-04-13 02:09:45 +02:00
Nicolas Goaziou 87e84ca48f org.texi: Update ascii back-end documentation 2013-04-12 21:03:53 +02:00
Nicolas Goaziou 658bcec323 org.texi: Document special blocks and drawers export 2013-04-12 20:24:07 +02:00
Bastien Guerry f594214ac2 org.texi (Tag groups): Mention limitations
* org.texi (Tag groups): Mention limitations.
2013-04-12 19:21:57 +02:00
Bastien Guerry 64770d356d org.texi (Tag groups): Make it explicit that whitespaces are mandatory
* org.texi (Tag groups): Make it explicit that whitespaces are
mandatory.

Thanks to Christian Moe for testing this feature and reporting
uncertainty in the syntax.
2013-04-12 18:03:08 +02:00
Nicolas Goaziou 8b53ae62a5 org.texi: Small fixes to documentation 2013-04-12 17:25:56 +02:00
Nicolas Goaziou c7bb15aaff org.texi: Improve documentation for LaTeX export 2013-04-12 17:12:00 +02:00
Bastien Guerry 57fa03b2da doc/org.texi (Filtering/limiting agenda items): New subsection
* doc/org.texi (Filtering/limiting agenda items): New subsection.
Document the use of `org-agenda-max-*' options and
`org-agenda-limit-interactively' from the agenda.
(Agenda commands): Move details about filtering commands to
the new section, only include a summary here.
(Customizing tables in ODT export)
(System-wide header arguments, Conflicts, Dynamic blocks): Use
spaces for indentation.
2013-04-12 12:18:45 +02:00
Bastien Guerry 3e0ed43df2 org.texi (Emphasis and monospace): Mention `org-emphasis-alist'
* org.texi (Emphasis and monospace): Mention `org-emphasis-alist'.
2013-04-12 08:09:12 +02:00
Nicolas Goaziou f86f664325 org.texi: Small fix to c6f0378d48 2013-04-12 00:10:06 +02:00
Nicolas Goaziou c6f0378d48 org.texi: Update latex export back-end documentation 2013-04-12 00:02:15 +02:00
Nicolas Goaziou 7b71f6f49b org-texi: Small fixes 2013-04-11 21:53:35 +02:00
Nicolas Goaziou da249d36b8 org.texi: Remove inaccurate information
* doc/org.texi (Footnotes): Export back-ends do not use
  `org-footnote-normalize' anymore.
2013-04-11 21:18:17 +02:00
Nicolas Goaziou 35b767a54a org.texi: Small fixes to documentation 2013-04-11 21:00:46 +02:00
Nicolas Goaziou 3fb27fd8ce org.texi: Fix attr_latex properties in 90dfd3a749 2013-04-11 19:38:57 +02:00
Bastien Guerry 90dfd3a749 doc/org.texi: Fix syntax within #+ATTR_* and document `org-html-table-row-tags'
* doc/org.texi (Links in HTML export, Images in HTML export)
(post): Fix syntax within #+ATTR_*.
(Tables in HTML export): Document `org-html-table-row-tags'
and use `org-html-table-default-attributes' instead of
`org-html-table-tag'.
2013-04-11 17:28:48 +02:00
Nicolas Goaziou bc269f01f3 ox-html: attributes lines are more comprehensive
* lisp/ox-html.el (html): Rename :html-table-tag property
  into :org-table-attributes.
(org-html-table-default-attributes): New variable.
(org-html-table-tag): Removed variable.
(org-html--make-attribute-string): New function.
(org-html-link--inline-image, org-html-table): Use new function.
* doc/org.texi: Document variable changes.

It is now possible to write properties and values in attributes lines
without falling back on `:options':

  #+attr_html: :border 1
  | a |
2013-04-10 21:29:13 +02:00
Bastien Guerry cfe28111ee org.texi (Publishing action, Publishing options, Publishing links): Major rewrite
* org.texi (Publishing action, Publishing options)
(Publishing links): Major rewrite.
2013-04-10 17:22:45 +02:00
Nicolas Goaziou 49e69a862e org.texi: Document missing OPTIONS item
* doc/org.texi (Export settings): Doument p: item in OPTIONS keyword.
2013-04-10 14:57:16 +02:00
Bastien Guerry da549f90b1 doc/org.texi: Fix many typos
* doc/org.texi: Fix many small typos.  Use #+NAME instead of
#+TBLNAME.  Use @smalllisp instead of @example.
(Special symbols): Add index?
(HTML preamble and postamble): Don't mention obsolete use of
opt-plist.
(JavaScript support): Don't mention the org-jsinfo.el file as
it has been merged with ox-html.el.
2013-04-09 22:06:14 +02:00
Bastien Guerry 3fef0415fb doc/org.texi: Formatting tweaks
* doc/org.texi (Installation, Feedback, Setting Options)
(Code evaluation security, org-crypt.el): Use @lisp instead of
@example.
(Agenda commands): Use @table instead of @example.
2013-04-09 17:13:41 +02:00
Bastien Guerry 330a3762b5 org.texi (Adding hyperlink types): New appendix
* org.texi (Adding hyperlink types): New appendix.
2013-04-09 16:37:49 +02:00
Bastien Guerry 7c64274752 doc/org.texi: Fix options names for ODT export
* doc/org.texi (ODT export commands, Extending ODT export)
(Applying custom styles, Images in ODT export)
(Labels and captions in ODT export)
(Literal examples in ODT export)
(Configuring a document converter)
(Working with OpenDocument style files)
(Customizing tables in ODT export)
(Validating OpenDocument XML): Fix options names.
2013-04-09 15:24:58 +02:00
Bastien Guerry 6fc748539f org.texi (History and Acknowledgments): Update acknowledgments to Nicolas
* org.texi (History and Acknowledgments): Update
acknowledgments to Nicolas.
2013-04-09 15:24:58 +02:00
Bastien Guerry 0f3a2bc451 org.texi: Add Nicolas Goaziou to the list of contributors
* org.texi: Add Nicolas Goaziou to the list of contributors.
2013-04-09 15:24:58 +02:00
Nicolas Goaziou 1d6693c087 doc/org.texi: Massive rewrite of the first sections
* doc/org.texi (Exporting): Massive rewrite of the first sections.
(Selective export): Delete.
(The Export Dispatcher): Rewrite.
(Export options): Rewrite as "Export settings".
2013-04-09 15:24:58 +02:00
Bastien Guerry 4c426b003d org.texi (Deadlines and scheduling): Minor enhancement
* org.texi (Deadlines and scheduling): Tiny enhancement.
2013-04-09 13:44:25 +02:00
Bastien Guerry a5435fa883 org.texi (In-buffer settings): Fix typo
* org.texi (In-buffer settings): Fix typo.
2013-04-08 21:39:55 +02:00
Rick Frankel bf1f08cd41 Break out description of results parameter into four section instead
of three, matching the actual code.

* doc/org.texi (results): Add Format section (broken out of Type
  section to match code.
(hlines): Remove (incorrect) Emacs Lisp exception.
(colnames): Remove (incorrect) Emacs Lisp exception. Note that the
actual default handling (at least for python and emacs-lisp) does not
seem to match the description.
2013-04-07 13:45:18 -04:00
Nicolas Goaziou 4c804d2720 Small changes to documentation for embedded LaTeX
* doc/org.texi: Small changes to documentation for embedded LaTeX.
* doc/orgguide.texi: Small changes to documentation for embedded
  LaTeX.
2013-04-07 10:46:21 +02:00
Nicolas Goaziou 86815fc4e5 orgguide.texi: Update documentation wrt captions 2013-04-07 10:08:09 +02:00
Nicolas Goaziou e1a9b5fb32 org.texi: Fix typo in commit d419f00f5a 2013-04-07 10:00:16 +02:00
Nicolas Goaziou d419f00f5a org.texi: Update documentation wrt to captions 2013-04-07 09:56:40 +02:00
Nicolas Goaziou 40f390574c org.texi: Update internal links documentation
* doc/org.texi (Internal links): Document #+NAME keyword and
  cross-referencing during export.
* doc/orgguide.texi (Internal links): Add a note about
  cross-referencing.
2013-04-07 01:21:43 +02:00
Nicolas Goaziou 0ed17115a1 org.texi: Update documentation about included files
* doc/org.texi (Include files): Remove reference to :prefix1
  and :prefix.  Give more details for :minlevel.
2013-04-07 00:14:55 +02:00
Bastien Guerry 5fc6764c1f org.texi (System-wide header arguments): Don't use "customizing" for setting a variable
* org.texi (System-wide header arguments): Don't use
"customizing" for setting a variable.  Also remove comments.

Thanks to Andreas Röhler for reporting this.
2013-04-05 20:08:16 +02:00
Vladimir Lomov 29a75d0473 org.texi: Fix typo introduced in cf5e96
TINYCHANGE
2013-04-05 11:31:36 +02:00
Ippei FURUHASHI bd8ff1aade doc/org.texi: Document applying current TBLFM to table
* org.texi (Editing and debugging formulas): Add an example
when a table has multiple #+TBLFM lines.
2013-04-05 08:37:51 +02:00
Eric Schulte cf5e96c8e1 documentation of the new :post header argument
* doc/org.texi (post): Documentation and an example of usage.
2013-04-04 06:41:56 -06:00
Bastien Guerry 0066737092 org-agenda.el: Minor typo fix and docstring enhancement
* org-agenda.el (org-agenda-start-on-weekday): Fix typo.
(org-agenda-start-day): Enhance docstring.

* org.texi (Weekly/daily agenda): Add `org-agenda-start-day'
and `org-agenda-start-on-weekday' to the variable index and
document them.
2013-04-03 18:28:30 +02:00
Eric Schulte 81d354b6c3 simplify the discussion of :var causing execution 2013-04-03 09:17:34 -06:00
Aaron Ecay 09e52738e9 Document how :var introduces code block dependencies.
* doc/org.texi: Document how :var introduces code block dependencies.
2013-04-03 09:17:26 -06:00
Eric Schulte 2f39a704cf removing alternate code block variable syntax
* doc/org.texi (var): Remove the "Alternate argument syntax" section
  from the documentation.
* lisp/ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
  used to match code block names.
  (org-babel-get-src-block-info): Remove the code used to parse this
  alternate variable specification syntax.
2013-04-03 09:17:00 -06:00
Nicolas Goaziou 60170dfe3b org.texi: Small fixes 2013-03-27 22:55:45 +01:00
Nicolas Goaziou 32b89c0b09 org.texi: Fix typo
* doc/org.texi (Table of contents): Fix typo.
2013-03-27 17:38:18 +01:00
Bastien Guerry 44b218d2d7 doc/org.texi: Fix typo in 225289 2013-03-25 12:13:19 +01:00
Bastien Guerry 78959943e2 Merge branch 'master-group-tags2' 2013-03-25 06:59:23 +01:00
Bastien Guerry 225289c2db doc/org.texi: Reflect changes from the new export engine
* org.texi (Sparse trees, Agenda commands)
(@LaTeX{} fragments, Selective export, Export options)
(Export options, Export options, The export dispatcher)
(ASCII/Latin-1/UTF-8 export, ASCII/Latin-1/UTF-8 export)
(HTML Export commands, HTML Export commands)
(@LaTeX{}/PDF export commands, @LaTeX{}/PDF export commands)
(ODT export commands, ODT export commands, iCalendar export)
(Publishing options, Publishing options)
(Triggering publication, In-buffer settings): Update to
reflect changes from the new export engine.
2013-03-25 05:41:59 +01:00
Bastien Guerry 7f2f845700 orgguide.texi (Tag searches): New section
* orgguide.texi (Tag searches): New section.
2013-03-25 05:41:59 +01:00
Bastien Guerry 2c9d486740 org.texi (Matching tags and properties): Explain group tags expansion as regular expressions
* org.texi (Matching tags and properties): More examples.
Explain group tags expansion as regular expressions.
2013-03-25 05:41:59 +01:00