From: James <bjl...@lo...> - 2010-06-21 04:08:24
|
I have the following but the numbering starts over (eg. the '4' becomes a '1'). How do I keep the number after a literal block? ---- 3. Run radclient (See A-5 above for NOTES on this): :: # time /usr/local/bin/radclient -q -s -f radius.test \ <yourhostname> auth <secret> 4. Take note of the output from the above 'time' command, and divide the number of auths (10,000 in this case) with the number of seconds it took to complete. See A6 above for more info. |
From: Marc 'B. R. <ma...@ri...> - 2010-06-21 09:13:05
|
On Monday 21 June 2010, James wrote: > I have the following but the numbering starts over (eg. the '4' > becomes a '1'). > How do I keep the number after a literal block? > > ---- > 3. Run radclient (See A-5 above for NOTES on this): > > :: > > # time /usr/local/bin/radclient -q -s -f radius.test \ > <yourhostname> auth <secret> > > 4. Take note of the output from the above 'time' command, and divide > the number of auths (10,000 in this case) with the number of seconds > it took to complete. See A6 above for more info. The ``::`` at the same level as the ``3.`` stops the enumeration. As the literal block should be part of the third point here, it must be indented. Ciao, Marc 'BlackJack' Rintsch -- “Gods don't like people not doing much work. People who aren't busy all the time might start to *think*.” -- Terry Pratchett, Small Gods |
From: Guenter M. <mi...@us...> - 2010-06-21 11:53:00
|
On 2010-06-21, Marc 'BlackJack Rintsch wrote: > On Monday 21 June 2010, James wrote: >> I have the following but the numbering starts over (eg. the '4' >> becomes a '1'). How do I keep the number after a literal block? >> ---- >> 3. Run radclient (See A-5 above for NOTES on this): >> :: >> # time /usr/local/bin/radclient -q -s -f radius.test \ >> <yourhostname> auth <secret> >> 4. Take note of the output from the above 'time' command, and divide >> the number of auths (10,000 in this case) with the number of seconds >> it took to complete. See A6 above for more info. How do I keep the number after a literal block? a) Nesting: > The ``::`` at the same level as the ``3.`` stops the enumeration. As=20 > the literal block should be part of the third point here, it must be=20 > indented. b) If nestign is not an option, but you want to continue an enumeration, give the number explicitely:: #. Run radclient #. Run radclient #. Run radclient :: # time /usr/local/bin/radclient -q -s -f radius.test \ <yourhostname> auth <secret> 4. Take note of the output from the above 'time' command, and divide the number of auths (10,000 in this case) with the number of seconds it took to complete. See A6 above for more info. #. Run radclient Günter |
From: James <bjl...@lo...> - 2010-06-21 22:36:12
|
On 06/21/10 07:52, Guenter Milde wrote: > #. Run radclient > #. Run radclient > #. Run radclient > > :: > > # time /usr/local/bin/radclient -q -s -f radius.test \ > <yourhostname> auth<secret> > > 4. Take note of the output from the above 'time' command, and divide > the number of auths (10,000 in this case) with the number of > seconds it took to complete. See A6 above for more info. > #. Run radclient I'm doing it wrong. My RST source is: #. a #. b #. c :: # d #. e The output HTML is: 1. a 2. b 3. c # d 1. e I am using the Enthought reStructured text editor. |
From: David G. <go...@py...> - 2010-06-22 03:01:24
|
On Mon, Jun 21, 2010 at 18:36, James <bjl...@lo...> wrote: > I'm doing it wrong. Do you know what you're doing wrong? > My RST source is: > > #. a > #. b > #. c > > :: > > # d Indent the "::" and its contents by 3 spaces (the width of "#. "). The "::" should align with the "c". A list item's contents must be indented to align with the first line. Look at the example labeled "A." here: http://docutils.sourceforge.net/docs/user/rst/quickstart.html#lists > #. e > > > The output HTML is: > > 1. a > 2. b > 3. c > # d > 1. e The literal block ends the first list (a b c), so a second list starts with (e). -- David Goodger <http://python.net/~goodger> |
From: James <bjl...@lo...> - 2010-06-22 11:56:40
|
On 06/21/10 23:01, David Goodger wrote: > On Mon, Jun 21, 2010 at 18:36, James<bjl...@lo...> wrote: >> I'm doing it wrong. > Do you know what you're doing wrong? > >> My RST source is: >> >> #. a >> #. b >> #. c >> >> :: >> >> # d > Indent the "::" and its contents by 3 spaces (the width of "#. "). The > "::" should align with the "c". > > A list item's contents must be indented to align with the first line. > Look at the example labeled "A." here: > http://docutils.sourceforge.net/docs/user/rst/quickstart.html#lists Thanks, I only had 2 spaces. |