If the published output is a LaTeX or PDF report, you can insert LaTeX markup, that is only visible in this kind of output.
## # <latex> # Some output only visible in LaTeX or PDF reports. # \begin{equation} # e^x = \lim\limits_{n\rightarrow\infty}\left(1+\dfrac{x}{n}\right)^{n} # \end{equation} # </latex>