s-faq-03.tex /size: 1697 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=s-faq-03,
3
%D version=1997.21.08,
4
%D title=\CONTEXT\ Style File,
5
%D subtitle=FAQ General Framework,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
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
[
faq
-
0
1
]
}
23
{
\usemodule
[
faq
-
0
2
]
}
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
% for old times sake:
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
[
faq
-
0
1
]
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
[
faq
-
0
2
]
62
\starttext
63
\TitlePage
64
\FileWithFAQs
65
\IndexPage
66
\stoptext
}
67 68
\let
\DVIpaperFAQ
\PDFscreenFAQ
69 70
\endinput
71