[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: R: [docbook-apps] R: [docbook-apps] footnote - nested tables
Great Bob, thank you very much, it works!
J While making some tests I’ve found 2 minor problems: -
if I have to include more than one table in more than one <entrytbl> and I have a different footnote in each table, each footnote takes the
same reference (e.g. letter “a”) so at the end of the main table I’ll found all notes with the same reference letter; -
by including the <tgroup> I need to specify the number of the columns in the <entrytbl> tag (like <entrytbl cols=”3”>). If I don’t it reports
me the error “CALS tables must specify the number of columns”. Is there a way to make it able to learn the column number by itself? Thank you again, Matteo R. Da: Bob Stayton [mailto:bobs@sagehill.net]
There is one other approach that might work if you are using xsltproc and the inserted informaltable is a CALS table. The entrytbl element has the same content model as tgroup (except entrytbl
does not accept tfoot). Since xsltproc's XInclude implementation supports some xpath syntax, you could try something like this, with the appropriate xpath: <row> This will include the content of the informaltable's tgroup into the entrytbl element. If this works, you will get the footnote at the bottom of the main table, not the nested table, but at least it won't be duplicated. If this doesn't suit you, then you'll need to create an XSL customization layer to customize some XSL templates to handle the footnote in the nested table. Bob Stayton Sagehill Enterprises bobs@sagehill.net On 6/27/2018 11:49 PM, Matteo Regazzo wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]