diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi b/Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi index 0958d84331b..75362d5a95f 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi +++ b/Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi @@ -315,6 +315,9 @@ \def\documentvariable#name% {\getvariable\s!document{#name}} +\unexpanded\def\unexpandeddocumentvariable#name% + {\getvariable\s!document{#name}} + \unexpanded\def\setupdocument[#settings]% {\setvariables[\s!document][#settings]% \the\everysetupdocument\relax} @@ -322,6 +325,17 @@ \unexpanded\def\presetdocument[#settings]% {\checkvariables[\s!document][#settings]} +% We silently ignore missing documents. Beware: there are no begin/end setups +% invoked as we expect the loaded document to be wrapped in \startdocument ... +% \stopdocument. This is just a convenient variant of input. +% +% \unexpanded\def\document +% {\dosingleempty\syst_document} +% +% \def\syst_document[#1]#2% +% \startdocument[#1] +% \readfile{#2}{}{}} + % metadata:author metadata:title metadata:subject \setvariables |