manual: Clarify that table ranges are inclusive

* doc/org-manual.org (Range references): Note that field ranges
include the ends.

Suggested-by: Sebastian Miele <sebastian.miele@gmail.com>
<878skdrepp.fsf@gmail.com>
This commit is contained in:
Kyle Meyer 2020-03-06 23:08:14 -05:00
parent 70c1eec559
commit d92d7ff697
1 changed files with 6 additions and 5 deletions

View File

@ -1890,11 +1890,12 @@ Here are a few examples:
#+cindex: range references #+cindex: range references
#+cindex: references, to ranges #+cindex: references, to ranges
You may reference a rectangular range of fields by specifying two You may reference a rectangular range of fields by specifying two
field references connected by two dots =..=. If both fields are in field references connected by two dots =..=. The ends are included in
the current row, you may simply use =$2..$7=, but if at least one the range. If both fields are in the current row, you may simply use
field is in a different row, you need to use the general =@ROW$COLUMN= =$2..$7=, but if at least one field is in a different row, you need to
format at least for the first field, i.e., the reference must start use the general =@ROW$COLUMN= format at least for the first field,
with =@= in order to be interpreted correctly. Examples: i.e., the reference must start with =@= in order to be interpreted
correctly. Examples:
#+attr_texinfo: :columns 0.2 0.8 #+attr_texinfo: :columns 0.2 0.8
| =$1..$3= | first three fields in the current row | | =$1..$3= | first three fields in the current row |