Skip to main content
1-Visitor
May 30, 2016
Solved

How to hide auto-generated content in FOSI

  • May 30, 2016
  • 2 replies
  • 1988 views

Hello everyone,

We are trying to print a pdf file with FOSI stylesheets and we need to avoid printing its last section which is auto-generated.

In fact, this content(some technical data) already exists in different places inside the document but it is unified and shown again in the last page.

We tried editing the corresponding .ent files which contain the element involved using the "suppress" command, but it didn't work(content gone but titles didn't).

Is there another command or way to achieve this? Maybe a specific file to check?

Thank you in advance!

Best answer by SuzanneNapoleon

When FOSI's Suppress category is coded in an e-i-c for an element, the content of that element and the content of any child elements is suppressed from the output stream. Processing of code in child e-i-cs is also suppressed, but processing of code in the e-i-c with the Suppress category does take place, including adding any generated text to the output stream.

It sounds like Suppress is not what is needed. Instead, the Usetext category that outputs the generated last section should be removed. Check the e-i-cs of nearby elements. Also, in the tagged FOSI editor, you can enter show ids at the command line and check the names of the string variables and link to whatever seems likely.

Good luck!

Suzanne Napoleon

www.FOSIexpert.com

"WYSIWYG is last-century technology!"

2 replies

12-Amethyst
May 31, 2016

When FOSI's Suppress category is coded in an e-i-c for an element, the content of that element and the content of any child elements is suppressed from the output stream. Processing of code in child e-i-cs is also suppressed, but processing of code in the e-i-c with the Suppress category does take place, including adding any generated text to the output stream.

It sounds like Suppress is not what is needed. Instead, the Usetext category that outputs the generated last section should be removed. Check the e-i-cs of nearby elements. Also, in the tagged FOSI editor, you can enter show ids at the command line and check the names of the string variables and link to whatever seems likely.

Good luck!

Suzanne Napoleon

www.FOSIexpert.com

"WYSIWYG is last-century technology!"

nlg_admin1-VisitorAuthor
1-Visitor
June 1, 2016

Hi Suzanne,

Thank you for your anwser!

In the end, it won't be needed, but we will check it with your way whenever there is time.

Thank you anyway!

12-Amethyst
June 1, 2016

Did you try wrapping your generated text in a _ufe and styling the content of that _ufe to be hidden?

nlg_admin1-VisitorAuthor
1-Visitor
June 1, 2016

Hello Tim,

As I wrote above, we won't need to do this after all, but we will check your solution whenever there is time.

Thank you anyway!