toggle quoted messageShow quoted text
We had a similar issue in our DITA-OT 2.3.3 PDF customization plugin. It related to the template for minitoc on chapter pages not having a correct parent in some circumstances.
I’d perform a global search for “fo:inline” or “fo:block-container” in your plugin to make sure they’re all correct. You might not see a syntax error if you’re applying the inline block in a different template than the block container. You probably just need a block element in between them.
On Jan 1, 2021, at 7:12 AM, Radu Coravu <radu_coravu@...> wrote:
I see that the XSL-FO file contains an fo:inline element inside
an fo:block-container element:
border-right-width="0pt">Tasks and what they can
It's hard to tell what the problem is without seeing your custom
plugin but maybe one of your XSLT customizations which overrides
the book title generation outputs that inline element instead of
wrapping it in an fo:block element.
Oxygen XML Editor
Infact when I tried generating pdf for bookmap using the default
pdf plugin (org.dita.pdf2) the PDF is generated. But only in the
case of the customized plugin this issue occurs.
- I have created a plugin by referring to the book (Dita for
Print v1.8). I had installed Dita v2.0 Full and Easy Install
- I did not face any issues in customizing the plugin and
generating PDF for normal maps.
- However, when I try generating output for bookmap, I get an
error "AntTask: Error Rendering Fo File,
fo:inline is not a valid child of fo:block container."
All my attempts to find the cause of the error have been
Could anyone please help me understand my mistake. Please help me.
I am unable to proceed further with my learning because of this. I
have attached two files:
If any further information is required, please let me know.
- Error message screenshot
- Topic.fo file