Forester 2.5 › New \iftex command [UM95]
A new \iftex command has been added, following a suggestion of Vikraman Choudhury; this can be used to control the behavior of macros, depending on whether they are being rendered by \LaTeX or by the browser. For example, \iftex{foo}{bar} will become foo when passed to the \LaTeX tool, but will be reated as bar when rendering for the browser.