Question
I am using twiki to document support proceedures. The actions that need to be followed numbered using the standard <space> <space> <space> 1. format however I would like to include example results within the instructions.
Each time I use verbatim it results in the numbering being restarted.
For Example
1. Log onto the server
1. Run command ==#/go/here/runthis==
<verbatim>
# /go/here/runthis
hello world
</verbatim>
1. Next command ==# /go/here/runthisnext==
looks like this
- Log on to the server
- Run command
#/go/here/runthis
# /go/here/runthis
hello world
- Next command
# /go/here/runthisnext
Can anybody help.
Thanks
Environment
--
AndyBush - 26 Jul 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Verbatim text in a bullet is not well supported at this time. You can solve it / work around in two ways:
1. Indent the verbatim text
- Log onto the server
- Run command
#/go/here/runthis
# /go/here/runthis
hello world
- Next command
# /go/here/runthisnext
2. Use =preformatted text= and
%BR% line breaks:
- Log onto the server
- Run command
#/go/here/runthis
# /go/here/runthis
hello world
- Next command
# /go/here/runthisnext
(view raw text to see how)
--
PeterThoeny - 27 Jul 2005

The first solution doesn't work properly on Develop (the list numbering isn't continued correctly). But it should, shouldn't it?
--
FranzJosefSilli - 27 Jul 2005
Franz - are you refering to
Bugs:Item145
?
- Now yes.
- FJ
--
SvenDowideit - 28 Jul 2005
Use a combination of:
- outline format as you see to left,
- transparent shim of 1x20 pixel width, and
- tactical use of the BR tag.
The resulting output is:
- The bullets are numbered
and the lines can be indented

an arbitrary depth
- And the bullet numbering is consistent despite multiple displayed gaps because the BR symbols keep the source text abutted as required by the bullet-handling code.
meanwhile the lines


still indent as expected to the depth you desire.
It does make it a bit harder to read the source text. This would be eased if a BR-like global symbol were defined for this transparent shim. But in the meantime you have a completely workable solution.
By the way, I used it to
good effect
on my TWiki.
--
RichardFreytag - 28 Jul 2005
You can very easily define your own BR-like global symbol by defining one in your
TWikiPreferences.
--
FranzJosefSilli - 29 Jul 2005