\htmlonly 和 \texonly
\htmlonly 和 \texonly 可以分别设定某些内容只在
HTML 或者只在 DVI 文件出现。比如下面这些内容只会出现在 HTML
文件里:
\htmlonly 
  \def\evalsto{\rawhtml<font 
     color=blue><b>=></b></font>\endrawhtml} 
\endhtmlonly 
 
\texonly 
  \def\evalsto{\leavevmode\hbox{$\Rightarrow$}} 
\endtexonly 
之后,
\scm{ 
(cons 1 2) |evalsto (1 . 2) 
} 
就会显示为:
(cons 1 2) => (1 . 2)
在 HTML 里显示为蓝色的 =>, 而在 DVI 文件里显示为一个向右的箭头。