File: comment.hva

package info (click to toggle)
hevea 2.18-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,588 kB
  • ctags: 2,364
  • sloc: ml: 18,965; sh: 370; makefile: 131
file content (17 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\@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}