Hi All,

When I generate pdf version of my docs,  the line numbers in python
source code listings are placed in the left margin.

Any ideas to move the line numbers and source listing to the right?
The source is below.


-------------------------------------------------------------------------------------

.. highlight:: python
   :linenothreshold: 5


Drawing a Timing Diagram Example
-----------------------------------

The script draw_diagram.py is shown below::

    if taApp.getFileName() != "new.tim":
        taApp.fileNew("TimingDiagram")

    td = taApp.getTimingDiagram()

    dclock  = td.addDigitalClock("test-clk", 20.0e6, "H")
    dsignal = td.addDigitalSignal("mem_read", "L")
    dbus    = td.addDigitalBus("mem_add[15:0]", "CC00", "Hex")

    td.addPulse(dsignal, 50.0e-9, 100e-9, "H")
    td.addPulse(dbus, 30.0e-9, 120e-9, "CC05")

    td.addEdge(dsignal, 200.0e-9, "H")
    td.addEdge(dsignal, 250.0e-9, "L")

    td.addEdge(dbus, 180.0e-9, "CCCC")
    td.addEdge(dbus, 270.0e-9, "CD00")

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to