Sphinx: line numbers should be relative to start of file

Bug #605506 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
New
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

Tags: sphinx website
Eike (eike-welk)
Changed in freeode:
importance: Undecided → Low
tags: added: website
Eike (eike-welk)
tags: added: sphinx
Eike (eike-welk)
description: updated
Eike (eike-welk)
Changed in freeode:
importance: Low → Wishlist
milestone: none → 0.4.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.