Skip to main content
1-Visitor
December 10, 2014
Solved

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

  • December 10, 2014
  • 3 replies
  • 1415 views

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.

Best answer by SuzanneNapoleon

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

3 replies

12-Amethyst
December 10, 2014

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

5-Regular Member
December 12, 2014

Hi Adam,

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

1-Visitor
December 16, 2014

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

12-Amethyst
December 16, 2014

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?