Book attribute in running header/footer variable of generated TOC

Jo H usenet.joh at gmail.com
Sat Sep 15 12:06:34 PDT 2012


Thanks for your reply, Roger. I have left FM in the office and will
try your suggestion on Monday.

Regarding your doubts whether book attribute can be referenced in
chapter: Yes, it does already work in book chapters, but it fails in
the generated TOC.

Kind regards
JoH


2012/9/14 Roger Shuttleworth <shuttie27 at gmail.com>:
> Hello JoH
>
> I suspect you should be using <$attribute[product.book]>, not product:book.
>
> But I'm still not sure you can transfer the value to your chapter files. I'd
> be interested to know if you get it working.
>
> Regards,
>
> Roger
>
>
> On 14/09/2012 9:48 AM, Jo H wrote:
>>
>> Hello,
>>
>> I'm new to this list. Sorry if you receive this message twice.
>>
>> But here's my question:
>>
>> I'm working on a structured book that includes a TOC generated by FM.
>> The book structure looks like this:
>>
>> [book]
>>        product = "asdfghj"
>>        version = "1.5"
>> --[contents]  ... manualTOC.fm
>> --[doc]       ... chapter1.fm
>> --[doc]       ... chapter2.fm
>>
>> The running footer in all documents contains a variable with the
>> following definition:
>> <$attribute[product:book]> version <$attribute[version:book]>
>>
>> The resulting footer in chapter1.fm and chapter2.fm is "asdfghj version
>> 1.5".
>> The resulting footer in <contents> is just " version ", which probably
>> means that FM cannot retrieve the attributes on book level.
>>
>> What could be wrong? Is it possible at all to refer to book attributes
>> from within a generated TOC?
>>
>> I'm using FM 8.0p276 on Windows XP.
>>
>> Thanks in advance for your replies.
>> JoH
>> _______________________________________________
>>
>>
>> You are currently subscribed to framers as shuttie27 at gmail.com.
>>
>> Send list messages to framers at lists.frameusers.com.
>>
>> To unsubscribe send a blank email to
>> framers-unsubscribe at lists.frameusers.com
>> or visit
>> http://lists.frameusers.com/mailman/options/framers/shuttie27%40gmail.com
>>
>> Send administrative questions to listadmin at frameusers.com. Visit
>> http://www.frameusers.com/ for more resources and info.
>
>



More information about the framers mailing list