Regarding the license issue, I had a closer look at the conditions.
The way we plan to build our pdf generation stack is to have a server providing pdf generation as a service to the rest of our stack (allowing for pdf rendering in order to attach it to a mail for example).
As such, the current plan is to call this pdf generation service (through RMI) and then give it everything it needs to run. In the current case, I think it means calling render(java.io.InputStreamReader isr,
java.io.OutputStream os,
java.net.URL base)
due to it, I was asked to look more into the precise features set of PD4ML.
it appears that, for our use, it would lack as well a “orphans and widows” feature.
if both the index and this orphans and widows features were available, the java library pro would be our targeted license.
would it be possible to have both the orphans and widows as well as the index features ?
About the offered solution, the tag <pd4ml:keyword>keyword</pd4ml:keyword> would perfectly fit our need. I guess a tag like <pd4ml:index/> would also be needed.