Closed AndeeZee closed 2 years ago
We are trying to use @outputclass as described in DITA specification.
Names a role that the element is playing. The role must be consistent with the basic semantic and expectations for the element. In particular, the @outputclass attribute can be used for styling during output processing; HTML output will typically preserve @outputclass for CSS processing.
Here is the summary of current implementation.
At this moment, we have no plan to extend @outputclass in PDF5-ML plug-in because there are many existing users and adding new @outputclass sometimes forces their customization to be modified when they want to use the newest plug-in as the base.
I'm not sure what your "best practice" actually means. But until now I have seen many abuse of @outputclass in the PDF5-ML customization that forces the stylesheet code more complex and hard to maintain. So I do understand that there should be some regulations to avoid above situation.
If you have any further request, please let me know.
Thank you for the explanation and information. Fine for me.
Hello!
Is there a best practice, in how to handle the @outputclass attribute on multiple elements? I couldn't find any hook for this to inject my additional processings.
Any guideline would be appreciated.
For the moment, I created a template rule for the specific element/class with a high priority and added my properties, etc. there. Although this creates an additional nesting of fo:block/fo:block-container.
Are you maye considering some standard implementation for a future release?
Thank you very much and kind regards, Andy