summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/manuals/reference/en/pr-allfiles.tex
blob: 5762b475e8bd5a6e0891fc9a19db5e3fe4549b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\startcomponent pr-allfiles

\product contextref
\environment contextref-env

\def\contextfile{\dodoubleempty\docontextfile}
\def\docontextfile[#1][#2]%
  {\getparameters[module][file=,title=,subtitle=,plusfiles=,#2]
   \doiftextelse{\moduleplusfiles}
     {\expanded{\NC #1 {\ttx(\moduleplusfiles)}
         \NC \moduletitle \NC \modulesubtitle \NC \NR }}
     {\expanded{\NC #1                         
         \NC \moduletitle \NC \modulesubtitle \NC \NR }}}

\chapter{Distributed \CONTEXT\ files}
\ctxlua{dofile"\currentcomponent.lua"}

\stopcomponent