summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/s-faq-00.tex
blob: 11859936c8d6f0543f02d1906733e1be13f75c3e (plain)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
%D \module
%D   [      file=s-faq-00,
%D        version=1997.21.08,
%D          title=\CONTEXT\ Style File,
%D       subtitle=FAQ Common Macros,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 
%C details. 

\usemodule[abr-01]

\defineblock[question]
\defineblock[answer]

\def\ScreenFAQ     {fs-\TagOfFAQ-\LanguageOfFAQ}
\def\PaperFAQ      {fp-\TagOfFAQ-\LanguageOfFAQ}
\def\FileNameOfFAQ {fa-\TagOfFAQ-\LanguageOfFAQ}

\language
  [\HyphenationOfFAQ]

\setupwhitespace
  [big]

\setupbodyfont
  [ams]

\setuptolerance
  [tolerant]

\setupregister
  [index]
  [indicator=no]

\setupframedtexts
  [width=\hsize]

\setupblock
  [question]
  [before=\startframedtext,
   after=\stopframedtext] 

\setupblock
  [answer]
  [after=\EndAnswer]

\def\EndAnswer   {}

\def\AuthorOfFAQ {}
\def\IndexOfFAQ  {}

\def\FrequentlyAskedQuestion#1#2%
  {\page
   \doglobal\increment\CurrentNOfFAQ
   \pagereference[faq:\CurrentNOfFAQ]
   \gdef\IndexOfFAQ{#1}
   \gdef\AuthorOfFAQ{#2}}

\newcounter\CurrentNOfFAQ

\setuplabeltext [nl] [FAQ=Vaak gestelde vragen]
\setuplabeltext [du] [FAQ=Oft gestellte Fragen]
\setuplabeltext [en] [FAQ=Frequently Asked Questions]

\setuplabeltext [nl] [about=over]
\setuplabeltext [du] [about=zu]
\setuplabeltext [en] [about=about]

\setuplabeltext [nl] [version=Versie]
\setuplabeltext [du] [version=Version]
\setuplabeltext [en] [version=Version]

\setuplabeltext [nl] [goback=terug]
\setuplabeltext [du] [goback=zur\"uck]
\setuplabeltext [en] [goback=go back]

\setuplabeltext [nl] [paper=papier]
\setuplabeltext [du] [paper=Papier]
\setuplabeltext [en] [paper=paper]

\setuplabeltext [nl] [faqs=FAQ's]
\setuplabeltext [du] [faqs=FAQs]
\setuplabeltext [en] [faqs=FAQ's]

\setuplabeltext [nl] [index=index]
\setuplabeltext [du] [index=Index]
\setuplabeltext [en] [index=index]

\endinput