summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-07-14 11:08:58 -0700
committerEric Schulte <schulte.eric@gmail.com>2010-07-14 11:08:58 -0700
commite3af061f90bf471a782f6ba7e1efc33447a6c0ac (patch)
tree9df7b7939f2f892e354053b9baf34e3e1830d7eb
parent32b7a76d41052bbd33e4b1ae2710a667065cc98d (diff)
downloadorg-mode-e3af061f90bf471a782f6ba7e1efc33447a6c0ac.tar.gz
doc: two tiny tweaks to the babel indexing documentation
-rw-r--r--doc/org.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/org.texi b/doc/org.texi
index c7287d3..a9dd90e 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -11537,7 +11537,7 @@ following the source name.
@subsubheading Indexable variable values
It is possible to reference portions of variable values by ``indexing'' into
the variables. Indexes are 0 based with negative values counting back from
-the end. If an index is separated by ``,''s then each subsequent section
+the end. If an index is separated by @code{,}s then each subsequent section
will index into the next deepest nesting or dimension of the value. The
following example assigns the last cell of the first row the table
@code{example-table} to the variable @code{data}:
@@ -11559,7 +11559,7 @@ following example assigns the last cell of the first row the table
Ranges of variable values can be referenced using two integer separated by a
@code{:}, in which case the entire inclusive range is referenced. For
-example the following assigns the entire first column of @code{example-table}
+example the following assigns the middle three rows of @code{example-table}
to @code{data}.
@example
@@ -11568,14 +11568,16 @@ to @code{data}.
| 2 | b |
| 3 | c |
| 4 | d |
+| 5 | 3 |
-#+begin_src emacs-lisp :var data=example-table[1:2]
+#+begin_src emacs-lisp :var data=example-table[1:3]
data
#+end_src
#+results:
| 2 | b |
| 3 | c |
+| 4 | d |
@end example
Additionally an empty index, or the single character @code{*} are both