Re: [docbook-apps] footnote - nested tables

2018-06-27 Thread Bob Stayton
It is possible but it would not be simple.  The stylesheets were not 
designed to handle a table nested in a para in a table entry. Normally 
CALS tables are nested with an entrytbl replacing entry, not a table 
element nested inside an entry element. In DocBook 5, your file will not 
validate as it would violate the Schematron rule that prevents putting 
informaltable inside entry.  It should be invalid in DocBook 4, but 
there is no way to express such an exclusion with DTD syntax.


The footnote machinery is already complicated by having to keep separate 
the table footnotes from the page footnotes.  So you would need to 
customize several templates that number and place footnote markers, as 
well as places where footnote paragraphs are rendered, to take into 
account nested table footnotes.  Those templates are in the 
footnotes.xsl and table.xsl stylesheet modules.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 6/27/2018 5:49 AM, Matteo Regazzo wrote:


Hi everybody,

I’m facing a problem: I have a “table-in-a-table” and if I put a 
footnote in the text inside the inner table, it is reported twice: 
once out of the internal table and once out of the external one.


Is it possible to make it appear only under the internal table?

I hope my request is clear; I report my example and the result, to 
make it easier to understand.


Thank you in advance!

Matteo

    

  

    

  

External

Test

Table

  

    

    

  

    Lorem ipsum dolor sit amet

    Lorem ipsum dolor sit amet

    

    

    

  

    

Internal

Test

Table

    

  

  

    

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit ametMy 
footnote


    

  

    

    

    

  

    

  

    



Matteo Regazzo

Email: matteo.rega...@cmz.it| Web: www.cmz.it
Tel: +39 0422 1566684|  CMZ Sistemi Elettronici srl
Via dell'Artigianato, 21
Vascon di Carbonera (TV)
31050 ITALY 




*SUMMER CLOSING 2018: FROM 04 TO 26 AUGUST
*

The information transmitted, including attachments, is intended only 
for the person(s) or entity to which it is addressed and may contain 
confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance 
upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error please contact 
the sender and destroy any copies of this information. 




[docbook-apps] footnote - nested tables

2018-06-27 Thread Matteo Regazzo
Hi everybody,

I’m facing a problem: I have a “table-in-a-table” and if I put a footnote in 
the text inside the inner table, it is reported twice: once out of the internal 
table and once out of the external one.
Is it possible to make it appear only under the internal table?

I hope my request is clear; I report my example and the result, to make it 
easier to understand.

Thank you in advance!

Matteo



  

  
External
Test
Table
  



  
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet




  

  Internal
  Test
  Table

  

  

  Lorem ipsum dolor sit amet
  Lorem ipsum dolor sit amet
  Lorem ipsum dolor sit 
ametMy footnote

  




  

  


[cid:image003.png@01D40E26.05700300]





Matteo Regazzo

Email: matteo.rega...@cmz.it | Web: www.cmz.it
Tel: +39 0422 1566684 | CMZ Sistemi Elettronici srl
Via dell'Artigianato, 21
Vascon di Carbonera (TV)
31050 ITALY
[cid:image6dae28.PNG@d44b1a54.458788e2]
[cid:imageecd77f.PNG@c4968203.4597dcbd]


SUMMER CLOSING 2018: FROM 04 TO 26 AUGUST


 The information transmitted, including attachments, is intended only for the 
person(s) or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error please contact the sender and destroy any copies of this information.