Thank you.
Up to now, I have been using the "plain ditamap" but my document is becoming 
more complex so I probably should be using a Bookmap instead.

I want to achieve

... Title field to appear in Main Body
... Title field to appear in the toc
... An alternative (e.g. navtitle) to appear in the footer

I will experiment using {{chapter-title}} and {{section1-title}} in a bookmap 
and see what difference that makes.

Sorry to keep asking for help in this way but there is a lot to learn in both 
DITA and using XMLMind.  But I am overall impressed with XMMLMind, it is an 
excellent software product.

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]
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

Reply via email to