Sphinx: line numbers should be relative to start of file

Bug #605506 reported by Eike on 2010-07-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
Wishlist
Unassigned

Bug Description

Enhance Sphinx and send patch, or put wish-list into their bugzilla:

This snippet of markup inserts a piece of a file into a document, when Sphinx
compiles it.

.. literalinclude:: models/biological/exponential_growth.siml
    :lines: 5-10
    :language: siml
    :linenos:

However in the generated (html) document the line numbers start with one;
but they should IMHO start with 5.

https://sourceforge.net/apps/trac/freeode/ticket/24

Eike (eike-welk) on 2010-07-14
Changed in freeode:
importance: Undecided → Low
tags: added: website
Eike (eike-welk) on 2010-07-16
tags: added: sphinx
Eike (eike-welk) on 2011-06-10
description: updated
Eike (eike-welk) on 2012-02-29
Changed in freeode:
importance: Low → Wishlist
milestone: none → 0.4.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers