Hi Hussein, Thanks for rapid response. The problematic map I had, contained a slight bug that I didn't notice earlier, @class for map's topicmeta was empty instead of being '- map/topicmeta ' . Fixing that made both maps behave correctly.
You say that map/topicmeta does not propagate across nested topicrefs, I have tested now with versions 2.5.1 and 2.5.6 (haven't yet downloaded the latest), both propagate now the map metadata correctly to topics. Did I misunderstood something in your response ..;) We have pretty complicated metadata model to control various things in the application. One little issue has been to detect reliably whether we make pdf from map or from single topic in Ditac. Could we use this metadata reconcile ( 2 vs 1 prolog/metadata nodes in .ditac ) to differentiate between map pdf vs topic pdf. Or something from lists file? BR, Martti -----Alkuperäinen viesti----- Lähettäjä: Hussein Shafie [mailto:[email protected]] Lähetetty: 9. kesäkuuta 2016 18:28 Vastaanottaja: Martti Poutanen <[email protected]> Kopio: [email protected] Aihe: Re: [ditac] ditamap prolog node and ditac intermediate files On 06/09/2016 11:24 AM, Martti Poutanen wrote: > > Does .ditac intermediate files contain the topicmeta-node of the main > ditamap file as cascaded to topics of the map? Yes, ditac is supposed to implement: 2.1.2.3.6 Reconciling topic and map metadata http://docs.oasis-open.org/dita/v1.2/os/spec/archSpec/reconciling-topic-and- map-metadata.html > > I have two ditamap files, from same app, where in one them the .ditac > has two sets of metadata nodes in topic (one from map and one from > topic). The other (same app) does not, and I cannot figure out why. > You have found a bug which will be fixed in next release (planned in about 2-3 weeks). Currently the metadata found in a topicmeta is copied to the prolog of the topic but only when the corresponding topicref is a direct child of the map. I mean it does not work for topicrefs nested into other topicrefs. Sorry for this very stupid bug. -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

