Thank you Hussein, I have been following your advice and experimenting with DITA BookMaps and the title variables but have not been able to achieve what I want.
I have set the value of the navtitle element in each of my topics to contain the value of my ID field which I want to appear as my running footer. I want to get: * Main Body Title - title element (i.e. the default topic title.) * Toc title - the title element (which suggests loctitle should be set to no) * Running footer - the navtitle I can get the navtitle to appear in the running footer using [[section1-title}} if I set loctitle to yes but this also changes how the title appears in the toc. Is there any way to get what I am trying to get? Vic Steadman Executive Consultant Mobile: +44 (0) 7940 507304 -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: 25 September 2013 20:17 To: Vic Steadman Cc: [email protected]<mailto:[email protected]> Subject: Re: [ditac] Output to pdf - Removing header separator On 09/25/2013 06:54 PM, Vic Steadman wrote: > Thank you once again for your past help but may I ask one more question. > > Is it possible to include the value of the ID attribute in the footer? No. You are limited to the {{XXX}} variables. See http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__header_footer_spec > > I tried changing my data to use the ID field as the topic title with the > "real title" as <navtitle> and then placing {{topic-title}} in the footer. I > thought that setting loctitle = true would force the use of the navtitle in > the body of the document, and so give the result I want, but this does not > work. > A locked navtitle is currently used: * in the automatically generated TOC of the document. * as a ``running header'' (which is what you want). I've retested this and it works fine. The variables which are used to specify ``running headers'' (or footers) are {{chapter-title}} and {{section1-title}}, not {{topic-title}}. {{topic-title}} is substituted with the actual title of the topic and not by its navtitle. Therefore if you use a bookmap, specify {{chapter-title}} and {{section1-title}} in your header/footer XSLT parameters. And if you use a plain map, specify {{section1-title}} in your header/footer XSLT parameters. Note that with a plain map, the ``running header'' captures the text of only the topmost topics of the map (that is, ``section1'' topics).
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

