30.2.6 Eliminating unwanted
paragraphs
To prevent text from appearing in HTML output, you
can do the following:
- Use a special @outputclass for all instances
of the text in your document.
- In the configuration file, assign
property Delete to the resulting
paragraph format:
[HtmlStyles]
; Delete removes the style and all of its content
ParaFmt = Delete
The Delete format property works
whether or not the paragraph actually has content. It omits paragraph
content from HTML output, and omits the format from any consideration
in mapping to DITA parent elements.
Any paragraph content is still available, and can
be used in DITA2Go macros; see §37.3.5
Creating macro variables from paragraph content.
Previous Topic: 30.2.5 Providing
content for empty paragraphs
Next Topic: 30.3 Mapping character
formats
Parent Topic: 30.2 Mapping
paragraph formats
Sibling Topics:
30.2.1 Assigning
HTML tags and attributes to paragraph formats
30.2.2 Designating
script paragraph formats
30.2.3 Overriding
paragraph properties
30.2.4 Stripping
paragraph properties
30.2.5 Providing
content for empty paragraphs