File: comment.hva

package info (click to toggle)
hevea 2.38-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,824 kB
  • sloc: ml: 19,525; sh: 505; makefile: 311; ansic: 132
file content (24 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\@primitives{comment}
\def\CommentCutFile{comment.cut}
\newcommand{\includecomment}[1]
{\begin{toimage}\includecomment{#1}\end{toimage}%
\typeout{Include comment '#1'}%
\@stopimage%
\def\csname #1\endcsname{\@end{#1}}%
\def\csname end#1\endcsname{\@begin{#1}}%
\@restartimage}
\newcommand{\excludecomment}[1]
{\begin{toimage}\excludecomment{#1}\end{toimage}%
\typeout{Exclude comment '#1'}%
\@stopimage%
\let{\csname #1\endcsname}\@excludecomment%
\let{\csname end#1\endcsname}\end@excludecomment%
\@restartimage}
\excludecomment{comment}
\newcommand{\specialcomment}[3]
{\begin{toimage}\specialcomment{#1}{#2}{#3}\end{toimage}%
\typeout{Special comment '#1'}%
\@stopimage%
\def\csname #1\endcsname{\@end{#1}#2}%
\def\csname end#1\endcsname{#3\@begin{#1}}%
\@restartimage}