Community Tip - You can change your system assigned username to something more personal in your community settings. X
I'm using the atidmd:DocumentMetaData tag to produce automatic bookmarks however I cannot get it to nest correctly. I have a chapter level title that I'm capturing then a subpara title within the chapter.
My string declaration is as follows:
Chapter Level: <stringdecl textid="chapbmtitle.txt" hotlink="1">
Subpara Level: <stringdecl textid="para0bmtitle.txt" hotlink="1">
My savetext for the chapter and subpara tagsare as follows:
Chapter Level: <savetext textid="chapbmtitle.txt" conrule="!<atidmd:Bookmark state="closed"><atidmd:Title>!,\CHAPTER \,chapnbrtxt,\. \,chptitle,!</atidmd:Title>!,para0bmtitle.txt,!</atidmd:Bookmark>!" placemnt="after" append="1">
Subpara Level: <savetext textid="para0bmtitle.txt" conrule="!<atidmd:Bookmark"><atidmd:title>!,para0bmNum.txt,\ \,p0title,!</atidmd:title></atidmd:bookmark>!" placemnt="before" append="1">
My usetext on the root tag is as follows:
<usetext<br/>source='!<atidmd:documentmetadata>
<atidmd:outline>
!,chapbmtitle.txt,!
</atidmd:outline>
</atidmd:documentmetadata>!' placemnt="after"></usetext>
My result is the Subpara Titles under Chapter 1 is showing up under Chapter 2. If I change the status of my string declaration for the para0bmtitle.txt to 1 then I get all the subpara titlesfrom each chapter listed under each chapter bookmark.
I'm using Arbortext 6.0 M020 - Direct to PDF. Any help would be greatly appreciated.