[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 7/7] docs/parse-support-md: Correctly handle footnotes for non-leaf sections



On 17/04/18 16:47, Ian Jackson wrote:
> Non-leaf sections with footnotes must have a row of their own, for
> just that section, because footnotes only appear if there is status
> information.
> 
> In that case, the footnote applies to only the rows for that section
> in the markdown document, ie that RealSect.
> 
> And of course for a leaf section that is true too.
> 
> So for footnoes we always want to use a rowspan of the number of
> Status elements in the section.  So (i) calculate this in
> count_rows_sectlist and (ii) use it, instead of the total number of
> rows including all the subsections', when writing out the footnote
> ref.
> 
> This bug has been present in this script since the beginning.
> 
> Also, while we're here, suppress the rowspan if it would be 1.
> 
> Reported-by: Lars Kurth <lars.kurth@xxxxxxxxxx>
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Release-acked-by: Juergen Gross <jgross@xxxxxxxx>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.