1
2
3
4
5
6
7
8
9
10
11
12
13
14\def\StartFAQ[#1]
15 {\getrawparameters[FAQ][name=,label=,language=,hyphenation=,url=,#1]
16 \let\NameOfFAQ \FAQname
17 \let\TagOfFAQ \FAQlabel
18 \let\LanguageOfFAQ \FAQlanguage
19 \let\HyphenationOfFAQ \FAQhyphenation
20 \let\ListOfFAQ \FAQurl
21 \doifmodeelse{screen}
22 {\usemodule[faq01]}
23 {\usemodule[faq02]}
24 \starttext
25 \TitlePage
26 \StartReadingFAQ}
27
28\def\StopFAQ
29 {\StopReadingFAQ
30 \IndexPage
31 \AllFAQs
32 \stoptext}
33
34\def\ProcessFAQ[#1]
35 {\StartFAQ[#1]
36 \input \FileNameOfFAQ \relax
37 \StopFAQ}
38
39
40
41\def\PDFscreenFAQ \name #1 \tag #2 \language #3 \hyphenation #4 \list #5
42 {\def\NameOfFAQ {#1}
43 \def\TagOfFAQ {#2}
44 \def\LanguageOfFAQ {#3}
45 \def\HyphenationOfFAQ {#4}
46 \def\ListOfFAQ {#5}
47 \usemodule[faq01]
48 \starttext
49 \TitlePage
50 \FileWithFAQs
51 \IndexPage
52 \AllFAQs
53 \stoptext}
54
55\def\PDFpaperFAQ \name #1 \tag #2 \language #3 \hyphenation #4 \list #5
56 {\def\NameOfFAQ {#1}
57 \def\TagOfFAQ {#2}
58 \def\LanguageOfFAQ {#3}
59 \def\HyphenationOfFAQ {#4}
60 \def\ListOfFAQ {#5}
61 \usemodule[faq02]
62 \starttext
63 \TitlePage
64 \FileWithFAQs
65 \IndexPage
66 \stoptext}
67
68\let\DVIpaperFAQ\PDFscreenFAQ
69
70\endinput
71 |