Page 1 of 1

Flagging on topic level

Posted: Thu Nov 09, 2017 3:12 pm
by Fredrik_Lönn
Hi,

My understanding from searching for information about flagging is that there is or has been an issue when wanting to flag an entire topic.

I am trying to get content profiled with otherprops="Internal" to be output with blue text. It works well on a sub-topic level. When I set this attribute either on the topicref in the ditamap or on the concept (I mostly use the concept topic type) element in the topic, the content is filtered properly, but text does not become blue (to my disappointment). I use my own customized pdf plugin, but the issue is there with regular DITA PDF2 plugin as well.

I see a few possible ways forward and need to understand if these are all viable. Are there other options? My options in order of short-term effort are:
  • Profile all subelements of the root element.
  • Update to latest version of Dita, in case the issue is solved there. Is it? (I use DITA-OT 2.4)
  • Implement flagging on topic level in my plugin. There seems to be some solutions (like https://github.com/dita-ot/dita-ot/issues/2459).

Re: Flagging on topic level

Posted: Thu Nov 09, 2017 4:01 pm
by Radu
Hi Frederik,

The issue I added related to flagging on the DITA OT issues list (and to which you linked) seems to have been resolved in DITA OT 2.5.
I'm testing with Oxygen 19.1 which comes bundled with DITA OT 2.5.2.
Setting the flagging profiling attribute on the <concept> root element works for me. Indeed setting it on the topicref still does not work. But that's another bug which is not yet fixed:

https://github.com/dita-ot/dita-ot/issues/2809

Regards,
Radu

Re: Flagging on topic level

Posted: Tue Nov 14, 2017 11:12 am
by Fredrik_Lönn
Hi Radu,
You are right. It works when I download the 2.5 release. Is that what the green bar with "Milestone 2.5" above it indicates? Does it mean that the fix was included in that release?

Thank's for helping!
/Fredrik

Re: Flagging on topic level

Posted: Tue Nov 14, 2017 11:17 am
by Radu
Hi Fredrik,

Yes, precisely, on a closed issue the milestone info shows you in which DITA OT version the issue was fixed.

Regards,
Radu