[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Callouts in
Hi,
An areaspec is used to place callouts by coordinates. Try using the
information from this reference:
http://www.sagehill.net/docbookxsl/AnnotateListing.html#CalloutAreaSpec
but replace programlistingco with screenco. I think it should work with
CDATA text as well as imported text.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: Zbyszek Cybulski
To: Docbook-Apps
Sent: Wednesday, February 08, 2006 6:56 AM
Subject: [docbook-apps] Callouts in
Hi all,
How to use callouts on a screen output that is included as character data?
Assume I have an <example> like the following:
<example id="testing_connectivity">
<title>Sample title</title>
<screen><![CDATA[Testing device: 10.20.19.22
: 9091
ping -n 4 10.20.19.22]] <![CDATA[
Pinging 10.20.19.22 with 32 bytes of data:
Reply from 10.20.19.22: bytes=32 time<10ms TTL=56
Reply from 10.20.19.22: bytes=32 time=15ms TTL=56
Reply from 10.20.19.22: bytes=32 time<10ms TTL=56
Reply from 10.20.19.22: bytes=32 time=15ms TTL=56 (1)
Ping statistics for 10.20.19.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
(2)
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 15ms, Average = 7ms]]></screen>
</example>
How do I use callouts in this case? (1) and (2) are places where I want to
insert callouts.
Likely I have to use the screen output as CDATA since it contains "<" signs.
Moreover, I never know if the output will contain "<" ">" or not.
Thanks,
-Zbyszek
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]