Currently i use xsl-fo to convert xml to pdf. The pdf contains head, body, Signatory. The problem is sometimes body part is too long will make Signatory part in different page, means head and body part in one page, the Signatory in one new page. It feel weird because one new pdf page only has Signatory.
Is there any way to force make body one part and Signatory in one page? Any advice will be appreciated.
Use keep-with-previous.within-page="always"
on the FO generated for Signatory. See https://www.w3.org/TR/xsl11/#keep-with-previous
Also, do not use a keep-together
property on whatever FO you generate for the entire body.
I can't suggest much more without seeing your actual FO markup.