summaryrefslogtreecommitdiff
path: root/doc/markup/code.rst
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2017-12-10 16:18:52 +0100
committerjfbu <jfbu@free.fr>2017-12-10 16:20:00 +0100
commitc220ae3ecbc0b5d2fe007fb03d88b6e6719e9dfe (patch)
tree7ae9f334afb2e02cdb4d5816c806655bf76509ca /doc/markup/code.rst
parent347f15ca2805781662eb19d82999c84ef3a11eb8 (diff)
downloadsphinx-git-c220ae3ecbc0b5d2fe007fb03d88b6e6719e9dfe.tar.gz
Update docs relative to emphasize-lines
Diffstat (limited to 'doc/markup/code.rst')
-rw-r--r--doc/markup/code.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/markup/code.rst b/doc/markup/code.rst
index 9cb57129f..12eaa9b7d 100644
--- a/doc/markup/code.rst
+++ b/doc/markup/code.rst
@@ -121,6 +121,8 @@ emphasize particular lines::
.. versionchanged:: 1.3
``lineno-start`` has been added.
+.. versionchanged:: 1.6.6
+ LaTeX supports the ``emphasize-lines`` option.
Includes
^^^^^^^^
@@ -188,8 +190,8 @@ Includes
``lines``, the first allowed line having by convention the line number ``1``.
When lines have been selected in any of the ways described above, the
- line numbers in ``emphasize-lines`` also refer to the selection, with the
- first selected line having number ``1``.
+ line numbers in ``emphasize-lines`` refer to those selected lines, counted
+ consecutively starting at ``1``.
When specifying particular parts of a file to display, it can be useful to
display the original line numbers. This can be done using the
@@ -223,8 +225,6 @@ Includes
.. versionchanged:: 1.6
With both ``start-after`` and ``lines`` in use, the first line as per
``start-after`` is considered to be with line number ``1`` for ``lines``.
- .. versionchanged:: 1.6.6
- LaTeX supports the ``emphasize-lines`` option.
Caption and name