diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-28 15:11:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-28 15:11:56 +0000 |
commit | cc17ad601696f5cf966c8a0b9d79144cd42828a6 (patch) | |
tree | f6007b9b2f886d942f9b30b4797e8718001f65bd /Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi | |
parent | e298746bb92cdf7e87bc3b5b9bd973b6c429a47f (diff) |
context for tl19
git-svn-id: svn://tug.org/texlive/trunk@50165 c570f23f-e606-0410-a88d-b1316a301751
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 | 19 |
1 files changed, 14 insertions, 5 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 e1ea405c068..a46e519c061 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi +++ b/Master/texmf-dist/tex/context/base/mkiv/file-job.mkvi @@ -312,6 +312,12 @@ {\documentvariable\c!after \stoptext} +\unexpanded\def\doifelsedocumentvariable#name{\doifelsesomething{\documentvariable{#name}}} +\unexpanded\def\doifdocumentvariable #name{\doifsomething {\documentvariable{#name}}} +\unexpanded\def\doifnotdocumentvariable #name{\doifnot {\documentvariable{#name}}} + +\let\doifdocumentvariableelse\doifelsedocumentvariable + \def\documentvariable#name% {\getvariable\s!document{#name}} @@ -347,12 +353,15 @@ % Bonus: -\installcorenamespace{samplefile} +% \installcorenamespace{samplefile} +% +% \unexpanded\def\samplefile#1% +% {\ifcsname\??samplefile#1\endcsname \else +% \setxvalue{\??samplefile#1}{\cldloadfile{#1}}% +% \fi +% \lastnamedcs} \unexpanded\def\samplefile#1% - {\ifcsname\??samplefile#1\endcsname \else - \setxvalue{\??samplefile#1}{\cldloadfile{#1}}% - \fi - \lastnamedcs} + {\clf_samplefile{#1}} \protect \endinput |