2.2 Including or excluding content from either version
The bookml LaTeX package includes the command \iflatexml to include or exclude particular code from either the PDF or the HTML version of your notes.
-
•
Use
\iflatexmlto delimit anything (content, packages, macros, …) that should only be used in the HTML version. -
•
Use
\iflatexml\elseto delimit anything (content, packages, macros, …) that should only be used in the PDF notes.
You can check the following example in the source file for this document:
This will only show up in the HTML version.
View LaTeX snippet
This will only show up in the HTML version.