Some content is only relevant when read online. How do I omit it from the printed PDF version?
Authors sometimes wish to omit paragraphs of text from the printed form of a page. There are several possible uses for online-only content:
Wikipublisher includes special Web-only line markup to do this, using the =< and => markup.
=<This text is omitted from the `PDF, but renders in `HTML as a flush left paragraph. %left%This is a flush left paragraph. =>This text is omitted from the `PDF, and renders in `HTML flush right. %right%This is a flush right paragraph.
This text is omitted from the PDF, but renders in HTML as a flush left paragraph.
This is a flush left paragraph.
This text is omitted from the PDF, and renders in HTML flush right.
This is a flush right paragraph.
Any text in a GroupHeader or GroupFooter will also be excluded from the PDF version of the page. On the other hand, any text in a GroupPrintHeader or GroupPrintFooter will only appear in the print version.
A complementary technique is “typesetting a hidden trail”. An author can wrap a list of trail pages in a >>comment<< block and use a (:typeset:) directive to create a print version of the trail content. Tip of the Week 00012 also covers this.
For more options, see Hide Text in PDF or HTML.