-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhtml.ado
58 lines (39 loc) · 1.35 KB
/
html.ado
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*** DO NOT EDIT THIS LINE -----------------------------------------------------
Version: 1.0.0
Title: html
Description: writes the given text on the {help Weaver} log
----------------------------------------------------- DO NOT EDIT THIS LINE ***/
/***
Author
======
__E. F. Haghish__
Center for Medical Biometry and Medical Informatics
University of Freiburg, Germany
_and_
Department of Mathematics and Computer Science
University of Southern Denmark
haghish@imbi.uni-freiburg.de
[Weaver Homepage](www.haghish.com/weaver)
Package Updates on [Twitter](http://www.twitter.com/Haghish)
- - -
_This help file was dynamically produced by[MarkDoc Literate Programming package](http://www.haghish.com/markdoc/)_
***/
program define html
version 11
//if "$weaver" != "" confirm file `"$weaver"'
tempname canvas
cap file open `canvas' using `"$weaverFullPath"', write text append
cap file write `canvas' `"`macval(0)'"' _n
// Make sure the weaver html log is open
/*
if "$weaver" == "" {
di as txt _n(2) "{hline}"
di as error "{bf:Warning}"
di as txt "{help weaver} log file is off!"
di as txt "{hline}{smcl}" _n
}
*/
end
// DYNAMIC HELP FILE
// ===================================
*markdoc html.ado, export(sthlp) replace