From 69d2352af4b60929b37fc49f3bdb263977016244 Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 19 Oct 2012 01:20:13 +0300 Subject: stable 2012.05.30 11:26 --- tex/context/base/type-ini.mkvi | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'tex/context/base/type-ini.mkvi') diff --git a/tex/context/base/type-ini.mkvi b/tex/context/base/type-ini.mkvi index 8345a97f9..8ca42854f 100644 --- a/tex/context/base/type-ini.mkvi +++ b/tex/context/base/type-ini.mkvi @@ -27,8 +27,6 @@ \unprotect -\definesystemvariable {ts} % TypeScript / for the moment we keep this one - \newcount \c_font_typescripts_n_of_preloaded \newconditional\c_font_typescripts_quit \newtoks \c_font_typescripts_document @@ -136,21 +134,15 @@ % The next will change .. we can load a file inside a typescript but as the state is % 1 then, it doesn't get stored without doing that explicitly +% \unexpanded\def\loadtypescriptfile[#1]% +% {\ctxcommand{loadtypescriptfile("#1")}} + \unexpanded\def\loadtypescriptfile[#1]% {\pushmacro\typescriptstate \let\typescriptstate\plustwo % assumes 2 at the outer level \ctxcommand{loadtypescriptfile("#1")}% \popmacro\typescriptstate} -\unexpanded\def\loadfoundtypescriptfile#1% - {\startreadingfile - \pushendofline - \unprotect - \input{#1}% - \protect - \popendofline - \stopreadingfile} - \unexpanded\def\quittypescriptscanning {\settrue\c_font_typescripts_quit} % public -- cgit v1.2.3