Charles Berry
fed1cf1c99
org.texi: fix noweb-ref property, clarify `Exporting code blocks'
...
* org.texi: The example in the `noweb-ref' node now uses the
:header-arg: property to declare the :noweb-ref reference. The
`Exporting code blocks' node is edited to more carefully warn users
of the consequences of setting `org-export-use-babel' to `nil'.
2017-01-03 16:12:00 -08:00
Marco Wahl
3fd0f57231
org.texi: Fix compile
...
* doc/org.texi: Fix compile. (One item was misplaced.)
2016-12-21 10:10:00 +01:00
Nicolas Goaziou
91dc1b34e3
ox: Add EXPORT_FILE_NAME keyword
...
* lisp/ox.el (org-export-output-file-name): Support EXPORT_FILE_NAME
keyword.
* doc/org.texi (Export settings): Document new keyword.
* testing/lisp/test-ox.el (test-org-export/output-file-name): Add
tests.
2016-12-20 17:10:46 +01:00
Nicolas Goaziou
2ac798af6c
org.texi: Fix typo
...
* doc/org.texi (Sitemap): Fix typo.
2016-12-19 23:02:26 +01:00
Nicolas Goaziou
bd828e2d1c
ox: Add `org-export-global-macros'
...
* lisp/ox.el (org-export-global-macros): New variable.
(org-export-as): Use new variable.
* doc/org.texi (Macro replacement): Document new variable.
* testing/lisp/test-ox.el (test-org-export/expand-macro): Add tests.
2016-12-19 23:00:38 +01:00
Nicolas Goaziou
83827952db
ox-publish: Provide relative file in sitemap generation
...
* doc/org.texi (Sitemap):
* lisp/ox-publish.el (org-publish-project-alist): Document change.
(org-publish-property):
(org-publish--expand-file-name): New functions
(org-publish-get-base-files):
(org-publish-file):
(org-publish-projects):
(org-publish--sitemap-files-to-lisp):
(org-publish-sitemap):
(org-publish-find-property):
(org-publish-find-title):
(org-publish-find-date):
(org-publish-sitemap-default-entry):
(org-publish-sitemap-default): Use new functions.
* testing/lisp/test-ox-publish.el (test-org-publish/sitemap): Update
test.
2016-12-19 17:36:19 +01:00
Nicolas Goaziou
6663452588
ox-publish: Remove :sitemap-sans-extension
...
* lisp/ox-publish.el (org-publish-sitemap): Remove property.
* doc/org.texi (Sitemap):
* lisp/ox-publish.el (org-publish-project-alist): Remove documentation.
Caches uses absolute file names as keys. We cannot provide file names
without extension to `:sitemap-format-entry' as they are no longer
existing key, and cannot be used for `org-publish-find-property' or
`org-publish-find-title'.
2016-12-19 12:19:59 +01:00
Nicolas Goaziou
d5dbf761eb
ox-publish: Include directories in site-map
...
* lisp/ox-publish.el (org-publish-temp-files): Remove variable.
(org-publish-get-base-files-1):
(org-publish-compare-directory-files): Remove functions.
(org-publish-get-base-files): Remove optional argument. Rewrite
function.
(org-publish-projects):
(org-publish-sitemap):
(org-publish-index-generate-theindex): Apply signature change.
(org-publish-sitemap-sort-folders): Allow to include or ignore
directories in the site-map.
* doc/org.texi (Sitemap):
* lisp/ox-publish.el (org-publish-project-alist): Document change.
2016-12-19 12:19:59 +01:00
Nicolas Goaziou
ca0ad0a84b
ox-publish: Implement `org-publish-find-property'
...
* lisp/ox-publish.el (org-publish-find-property): New function.
(org-publish-find-title): Use new function. Remove unused optional
argument.
(org-publish-find-date): Use new function.
(org-publish-project-alist):
* doc/org.texi (Sitemap): Update documentation.
Suggested-by: Rasmus <rasmus@gmx.us>
<http://permalink.gmane.org/gmane.emacs.orgmode/107219 >
2016-12-19 12:19:58 +01:00
Nicolas Goaziou
2d3e3f562a
ox-publish: Improve control over site map
...
* lisp/ox-publish.el (org-publish-project-alist): Document
new :sitemap-format-entry property, and change to `:sitemap-function'.
(org-publish-sitemap-file-entry-format): Make variable obsolete.
(org-publish-org-sitemap): Remove function.
(org-publish--sitemap-files-to-lisp):
(org-publish-sitemap):
(org-publish-sitemap-default-entry):
(org-publish-sitemap-default): New functions.
(org-publish-projects): Use new functions.
* lisp/org-compat: Implement directory-name-p when not available.
* doc/org.texi (Sitemap): Update documentation.
:sitemap-function is more specialized so it is easier to manipulate. In
particular, it can make use of built-in `org-list-to-*' functions.
Also, :sitemap-format-entry, as a function, is less limited than
`org-publish-sitemap-file-entry-format' format string.
2016-12-19 12:19:58 +01:00
Nicolas Goaziou
05223fc6fa
Merge branch 'maint'
2016-12-12 21:25:28 +01:00
Nicolas Goaziou
b09d161873
org.texi: Fix some @xref usage
...
* doc/org.texi (Literal examples): @xref is expected to be followed by
punctuation.
2016-12-12 21:24:45 +01:00
Nicolas Goaziou
c8da8529f5
`org-insert-heading' doesn't create items anymore
...
* lisp/org.el (org-insert-heading): Specialize function for headlines,
not items.
(org-meta-return): Update according to new specifications above.
* lisp/org-list.el (org-insert-item): Add interactive spec.
* doc/org.texi (Structure editing): Update documentation.
* testing/lisp/test-org.el (test-org/insert-heading): Remove tests.
* testing/lisp/test-org-list.el (test-org-list/insert-item): Add test.
2016-12-10 00:32:15 +01:00
Carsten Dominik
d65aa337ae
Fixed link to Carsten's Tools page
2016-12-06 13:18:19 +01:00
Carsten Dominik
908a549a5c
Fixed link to the home of CDLaTeX
2016-12-06 13:00:14 +01:00
Nicolas Goaziou
1336115eb3
Merge branch 'maint'
2016-12-04 00:45:12 +01:00
Lambda Coder
b4978e271b
doc/org.texi: Editorial revisions to the manual
...
Chapters edited in this revision:
* From Working with source code chapter to end of manual
2016-12-04 00:42:29 +01:00
Kyle Meyer
bc0bebbc43
Merge branch 'maint'
2016-11-19 16:50:37 -05:00
Eli Zaretskii
d31c8ef17c
Backport commit 5b0cddd from Emacs
...
* doc/orgcard.tex: Change "GNU Emacs" to "this document" in copyright
notices. (Bug#24520)
More fixes in copyright notices in etc/refcards/
5b0cddd91535025bbf0c69d17e2d4e470dd350c5
Eli Zaretskii
Tue Nov 15 19:01:07 2016 +0200
2016-11-19 16:50:27 -05:00
Eli Zaretskii
68760e703e
Backport commit f994c20 from Emacs
...
* doc/orgcard.tex: Update the copyright blurb. (Bug#24520)
Update copyright text in refcards
f994c2046588b168c1a4a900879cdffaf9d02f01
Eli Zaretskii
Sun Nov 13 18:20:59 2016 +0200
2016-11-19 16:49:19 -05:00
Nicolas Goaziou
0a24f50136
Merge branch 'maint'
2016-11-18 09:37:53 +01:00
Nicolas Goaziou
400186d839
org.texi: Small fixes
...
* doc/org.texi (Structure of code blocks): Remove too recent
@indentedblock structure and fix some @ref, @xref, @pxref uses.
2016-11-18 09:36:47 +01:00
Nicolas Goaziou
56f1b8095f
Merge branch 'maint'
2016-11-17 23:54:57 +01:00
Lambda Coder
b9ed40c4b5
org.texi: Reword Babel chapter
...
* doc/org.texi (Template elements):
(Tables in @LaTeX{} export):
(Working with source code):
(Structure of code blocks):
(Editing source code):
(Exporting code blocks):
(Extracting source code):
(Evaluating code blocks):
(Library of Babel):
(Languages):
(Header arguments):
(Using header arguments):
(System-wide header arguments):
(Language-specific header arguments):
(Header arguments in Org mode properties):
(Language-specific header arguments in Org mode properties):
(Code block specific header arguments):
(Header arguments in function calls):
(Specific header arguments):
(var):
(results):
(file-desc):
(file):
(output-dir):
(dir):
(exports):
(comments):
(padline):
(no-expand):
(session):
(noweb):
(noweb-ref):
(noweb-sep):
(cache):
(sep):
(hlines):
(colnames):
(rownames):
(shebang):
(tangle-mode):
(eval):
(wrap):
(post):
(prologue):
(Results of evaluation):
(Noweb reference syntax):
(Key bindings and useful functions):
(Batch execution): Improve wording.
2016-11-17 23:36:08 +01:00
Nicolas Goaziou
047451c29d
org.texi: Fix typo
...
* doc/org.texi (Exporting code blocks): Fix typo.
2016-11-14 08:43:08 +01:00
Charles Berry
3b5ce449c4
Replace org-export-babel-evaluate' with
org-export-use-babel'
...
* lisp/ob-exp.el (org-babel-exp-process-buffer): Change variable
name `org-export-babel-evaluate' to `org-export-use-babel'. Also
change the name in its `defcustom' and set the `:safe' key.
* lisp/ox-icalendar.el (org-icalendar-export-current-agenda): Change
variable name.
* lisp/ox.el (org-export-as): Change variable name.
* doc/org.texi (Exporting code blocks): Change variable name. Amplify
the explanation of what the variable does. Add variable index entry.
* testing/lisp/test-ob-exp.el: Change variable name.
* testing/lisp/test-ob-lob.el: Change variable name.
* testing/lisp/test-ox.el: Change variable name.
Users were often confused that setting this variable to `nil' will
cause header arguments to be ignored in addition to preventing code
from being evaluated. It is hoped that the documentation changes and
the name `org-export-use-babel' will better convey that everything
babel does can be switched off with this variable.
2016-11-13 15:29:33 -08:00
Nicolas Goaziou
45f25aea75
Merge branch 'maint'
2016-11-13 18:10:53 +01:00
Nicolas Goaziou
928e18dff9
org.texi: Fix typo
...
* doc/org.texi (External links): Fix typo.
2016-11-13 18:10:25 +01:00
Nicolas Goaziou
8a5e54f1cc
Small fix to documentation
...
* doc/org.texi (Setting tags): Remove misleading information.
* lisp/org.el (org-tag-alist): Fix consistency with
`org-tag-persistent-alist'.
2016-11-13 18:08:15 +01:00
Nicolas Goaziou
3375671e83
Merge branch 'maint'
2016-11-12 01:45:46 +01:00
Nicolas Goaziou
ff0748beac
Small documentation fixes
...
* doc/org.texi (The very busy C-c C-c key):
* lisp/org.el (org-startup-folded): Documentation fixes.
2016-11-12 01:45:05 +01:00
Nicolas Goaziou
c535f54330
Merge branch 'maint'
2016-11-10 16:05:33 +01:00
Nicolas Goaziou
dd2a0d3361
org.texi: More pregnant DEADLINE position in entries
...
* doc/org.texi (Deadlines and scheduling): Insist on the location for
planning keywords.
(Inserting deadline/schedule): No need to specify the functions add
planning keywords at an appropriate location.
2016-11-10 16:02:46 +01:00
Nicolas Goaziou
8dc2d77678
Merge branch 'maint'
2016-11-07 01:16:29 +01:00
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