Conditional text: Difference between revisions
From HandWiki
John Stpola (talk | contribs) change |
Dennis Ross (talk | contribs) simplify |
||
| Line 3: | Line 3: | ||
For example, a writer can produce [[Engineering:Macintosh|Macintosh]] and [[Software:Windows|Windows]] versions of the same software manual by marking Macintosh-specific content as "Macintosh only" and Windows-specific content as "Windows only." Everything that is not marked for one platform or the other, appears in the manuals for both platforms. | For example, a writer can produce [[Engineering:Macintosh|Macintosh]] and [[Software:Windows|Windows]] versions of the same software manual by marking Macintosh-specific content as "Macintosh only" and Windows-specific content as "Windows only." Everything that is not marked for one platform or the other, appears in the manuals for both platforms. | ||
In Structured authoring standards such as DITA, conditional text is implemented through profiling attributes such as audience, platform and product, which allow content to be filtered or flagged at publishing time.<ref>{{Cite web |title=Conditional processing (profiling) |url=https://docs.oasis-open.org/dita/v1.2/os/spec/archSpec/condproc.html |access-date=2026-03-13 |website=docs.oasis-open.org |language=en-us}}</ref> | |||
== References == | |||
<references /> | |||
==See also== | ==See also== | ||
Latest revision as of 17:30, 14 April 2026
Short description: Text for inclusion in some versions of a document
Conditional text is content within a document that is meant to appear in some renditions of the document, but not other renditions.
For example, a writer can produce Macintosh and Windows versions of the same software manual by marking Macintosh-specific content as "Macintosh only" and Windows-specific content as "Windows only." Everything that is not marked for one platform or the other, appears in the manuals for both platforms.
In Structured authoring standards such as DITA, conditional text is implemented through profiling attributes such as audience, platform and product, which allow content to be filtered or flagged at publishing time.[1]
References
See also
- Single-sourcing
- Comparison of word processors
