summaryrefslogtreecommitdiff
path: root/doc/markup/code.rst
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2017-12-11 22:53:02 +0100
committerjfbu <jfbu@free.fr>2017-12-11 22:54:34 +0100
commitad4481eb15ad48448ef4062db8fad430e09ed93e (patch)
treee15ffa1c37ce7f90c40df8bbcbd7c0fc0611b00d /doc/markup/code.rst
parent8f2883761646fb1135349d72401dcec1c3f45a18 (diff)
parentf95464baf3b761b7fb437d7c5719ae62e6aba59a (diff)
downloadsphinx-git-ad4481eb15ad48448ef4062db8fad430e09ed93e.tar.gz
Merge branch 'stable'
Diffstat (limited to 'doc/markup/code.rst')
-rw-r--r--doc/markup/code.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/markup/code.rst b/doc/markup/code.rst
index 759008739..3b14bd6e2 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