DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Adjustment for <p> formatting when nested in other elements

  • dduffy

    Adjustment for <p> formatting when nested in other elements

    Participants 1
    Replies 2
    Last Activity 12 years, 7 months ago

    We had modified the fo/attrs/custom.xsl file to add space after the

    as follows:


    0em
    6pt
    6pt
    3pt
    0pt
    0pt

    This works great in PDF for when the

    stands alone but when it is nested within other elements, such as an

  • tag, the space after is too large and we would like to reset it to 0em. I have tried several workarounds trying to adjus the ul.li__body statements without avail.

    Does anyone have advice on adding an

    Reply

severin.foreman

Reply to: Adjustment for <p> formatting when nested in other elements

I think something like the following would override the attribute set value for space-after.optimum.


       
           
                0em
           
           
       

   

In human terms, if the parent topic is not a body element, or some specialization of it, set the space after to zero.

Hth,
Severin

Reply

dduffy

Reply to: Adjustment for <p> formatting when nested in other elements

Thanks Severin. That did it!

Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support