Re: [xep-support] Hmmm, <xref/> in figure titles

From: David Nedrow <listbox@nedron.net>
Date: Mon Mar 14 2005 - 09:49:53 PST

Cool, thanks.

BTW, I find your "DocBook XSL" book very useful, and as soon as my
wallet recovers from purchasing XEP I'm planning on purchasing the PDF
version.

-David

On Mar 14, 2005, at 11:41, Bob Stayton wrote:

> This is a DocBook problem, not an XEP problem. See this thread:
>
> http://lists.oasis-open.org/archives/docbook-apps/200502/msg00249.html
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "David Nedrow" <listbox@nedron.net>
> To: <xep-support@renderx.com>
> Sent: Monday, March 14, 2005 7:16 AM
> Subject: [xep-support] Hmmm, <xref/> in figure titles
>
>
>> If I us an <xref/> in the title for a figure, my list of figures shows
>> not only the title of the referenced figure, but the contents of same.
>>
>> Eg., in the example below, I have figure "orderedsm2lgquery" with the
>> title "ORDERED FROM by smallest to largest # of rows". My second
>> figure
>> relates to the previous, so I've used an <xref/> in the second figures
>> title pointing to orderedsm2lgquery as the linkend.
>>
>> Unfortunately, in the output the title for the second figure as shown
>> in the list of figures at the beginning of the document includes the
>> entire contents of the linkend block, not just the title. If I define
>> an xreflabel attribute in the first figure, the list of figures table
>> is correct (though using the xreflabel rather than the title of
>> course).
>>
>> Is this a bug in XEP 4.2, or expected behavior (to include the entire
>> block referenced rather than just the title) for lists of figures?
>>
>> -David
>>
>> <figure id="orderedsm2lgquery">
>> <title>ORDERED FROM by smallest to largest # of rows</title>
>> <programlisting><![CDATA[
>> SELECT /*+ ORDERED */
>> su.CompanyName, CategoryName, ProductName, c.CompanyName,
>> c.country,
>> FirstName, LastName, Quantity, d.UnitPrice, sh.CompanyName
>> FROM Shippers sh, Categories t, Employees e, Suppliers su,
>> Products p, Customers c, orders o, OrderDetails d
>> WHERE t.CategoryID=p.CategoryID AND c.CustomerID=o.CustomerID AND
>> e.EmployeeID=o.EmployeeID AND o.OrderID=d.OrderID AND
>> p.ProductID=d.ProductID AND sh.ShipperID=o.ShipVia AND
>> su.SupplierID=p.SupplierID AND
>> LOWER(ProductName) Like '%lager%' AND
>> LOWER(c.city) IN ('vancouver',
>> 'london','charleroi','cunewalde') AND
>> d.Quantity BETWEEN 5 and 100 AND
>> (RequiredDate-ShippedDate>10) ORDER BY c.CompanyName;
>> ]]>
>> </programlisting>
>> </figure>
>> <figure id="orderedsm2lgplan">
>> <title>Plan for <xref linkend="orderedsm2lgquery"/> dfg</title>
>> <programlisting><![CDATA[
>> Predicate Information (identified by operation id):
>> 20 - filter("D"."QUANTITY">=5 AND "D"."QUANTITY"<=100)
>>
>> Note: cpu costing is off
>> ]]>
>> </programlisting>
>> </figure>
>>
>> -------------------
>> (*) To unsubscribe, send a message with words 'unsubscribe
>> xep-support'
>> in the body of the message to majordomo@renderx.com from the address
>> you are subscribed from.
>> (*) By using the Service, you expressly agree to these Terms of
>> Service
> http://www.renderx.com/tos.html
>>
>>
>
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of
> Service http://www.renderx.com/tos.html
>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Mon Mar 14 10:51:08 2005

This archive was generated by hypermail 2.1.8 : Mon Mar 14 2005 - 10:51:09 PST