-
Notifications
You must be signed in to change notification settings - Fork 31
/
mini.ado
77 lines (54 loc) · 1.65 KB
/
mini.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// documentation is written for markdoc package (github.com/haghish/markdoc)
// . markdoc mini.ado, mini export(sthlp) replace
/***
_version 4.8_
mini
=====
__mini__ is a simplified command to call the _mini_ engine from the __markdoc__
package
Syntax
------
> __mini__ _filename_ [, _options_ ]
where _options_ are identical to the [markdoc](help markdoc) options
Description
-----------
__mini__ is a simplified command to call the light-weight _mini_ engine forom
the __markdoc__ command. it can be called to convert a Markdown file to any
file format supported by the mini engine (html, docx, pdf, sthlp, slide). the
command also can execute a do-file to produce a dynamic document.
Examples
--------
convert a Markdown file to a word, pdf, html, sthlp, and slides files
. mini "filename.md" , export(docx)
. mini "filename.md" , export(pdf)
. mini "filename.md" , export(html)
. mini "filename.md" , export(sthlp)
. mini "filename.md" , export(slide)
execute a do-file and produce a word, pdf, and html files...
. mini "filename.do" , export(docx)
. mini "filename.do" , export(pdf)
. mini "filename.do" , export(html)
Author
------
E. F. Haghish
University of Göttingen
_haghish@med.uni-goesttingen.de_
[https://github.com/haghish](https://github.com/haghish)
License
-------
MIT License
- - -
This help file was dynamically produced by
[MarkDoc Literate Programming package](http://www.haghish.com/markdoc/)
***/
*cap prog drop mini
prog mini
version 15
tokenize `"`macval(0)'"', parse(",")
if "`2'" == "," {
markdoc `0' mini
}
else {
markdoc `0', mini
}
end