cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Help! I want to keep my title tag but I don't want it to populate in the ToC.

SOLVED
Newbie

Help! I want to keep my title tag but I don't want it to populate in the ToC.

Does anyone know of a way to keep your title tag for a subpara but not have what is entered into the title tag appear in the ToC. Please help!

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Help! I want to keep my title tag but I don't want it to populate in the ToC.

If you are using FOSI, here are two possibilities.

1. In the e-i-c for subpara title, code a specval to test for the ID attribute on the relevant subpara. For example:

specval attloc="subpara" attname="id" attval="#NE#\A123\"

charsubset

savetext textid="toc.app ..."

2. In the e-i-c for subpara title, code a savetext to save the title content, and code a usetext to call a pseudo-element to test the title content. For example:

savetext textid="exception-case-title.txt" conrule="#CONTENT"

usetext source="<exception-case-title.psu>,</exception-case-title.psu>"

In the e-i-c for exception-case-title.psu, code a specval to test for the content of the subpara title. For example:

specval attloc="#FOSI" attname="exception-case-title.txt" attval="#NE#\Exception Case Title\"

charsubset

savetext textid="toc.app ..."

Hope this helps!

Suzanne

4 REPLIES 4

Re: Help! I want to keep my title tag but I don't want it to populate in the ToC.

If you are using FOSI, here are two possibilities.

1. In the e-i-c for subpara title, code a specval to test for the ID attribute on the relevant subpara. For example:

specval attloc="subpara" attname="id" attval="#NE#\A123\"

charsubset

savetext textid="toc.app ..."

2. In the e-i-c for subpara title, code a savetext to save the title content, and code a usetext to call a pseudo-element to test the title content. For example:

savetext textid="exception-case-title.txt" conrule="#CONTENT"

usetext source="<exception-case-title.psu>,</exception-case-title.psu>"

In the e-i-c for exception-case-title.psu, code a specval to test for the content of the subpara title. For example:

specval attloc="#FOSI" attname="exception-case-title.txt" attval="#NE#\Exception Case Title\"

charsubset

savetext textid="toc.app ..."

Hope this helps!

Suzanne

Re: Help! I want to keep my title tag but I don't want it to populate in the ToC.

Hi Adam,

Was Suzanne's answer enough to get you what you wanted? If you still experiencing problems, let us know. Thanks!

Re: Help! I want to keep my title tag but I don't want it to populate in the ToC.

I think you can set a attribute for the title element, and set the condition in contents.

Re: Help! I want to keep my title tag but I don't want it to populate in the ToC.

I think Lorin's has a good suggestion if you are using Styler.

There is a "Customize" button on the TOC tab for the selected TOC.

In there one can select or deselect usage.

If you have resolved the issue, then could you mark which answer assisted you, or add a note describing your solution, so that the community knows what worked for you?