summaryrefslogtreecommitdiff
path: root/tex/context/base/java-ini.mkii
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-01-24 23:51:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-01-24 23:51:00 +0100
commit2fb045c7c88895c00bbbdc935e0651f4e1879536 (patch)
tree35ebd4366aeae122a750ac7d4021e965d7042aa0 /tex/context/base/java-ini.mkii
parent1b64f6bc515ace3fb763a3c3b8110007e44119af (diff)
downloadcontext-2fb045c7c88895c00bbbdc935e0651f4e1879536.tar.gz
beta 2011.01.24 23:51
Diffstat (limited to 'tex/context/base/java-ini.mkii')
-rw-r--r--tex/context/base/java-ini.mkii32
1 files changed, 6 insertions, 26 deletions
diff --git a/tex/context/base/java-ini.mkii b/tex/context/base/java-ini.mkii
index e929da108..68516ec4e 100644
--- a/tex/context/base/java-ini.mkii
+++ b/tex/context/base/java-ini.mkii
@@ -33,24 +33,7 @@
%D \JAVA\ support is not implemented as a generic support
%D module. The main reason for this is that passing system
%D variables to a \JAVASCRIPT\ is closely related to other core
-%D macros. First some messages:
-
-% messages moved
-
-% messages moved
-
-% messages moved
-
-% messages moved
-
-% messages moved
-
-% messages moved
-
-% messages moved
-
-% messages moved
-
+%D macros.
%D \TEX\ is not the right tool to check the \JAVA\ code; the
%D most we can do is reporting some passed variables:
@@ -125,13 +108,6 @@
%D JS_R_3="overflow";
%D JS_P_3=3;
%D \stoptyping
-% %D
-% %D Finally we have a counter that tells\JAVA\ how many
-% %D arguments were passed,
-% %D
-% %D \starttyping
-% %D JS_N
-% %D \stoptyping
%D We will also support direct function calls. In that case
%D no intermediate variables are used.
@@ -699,7 +675,11 @@
\letgvalueempty{\c!file\f!javascriptprefix#1}%
\makeshortfilename[\f!javascriptprefix#1]%
\startreadingfile
- \readsysfile\shortfilename{\showmessage\m!javascript1{#1}}\donothing
+ \readsysfile{\shortfilename.\mksuffix}
+ {\showmessage\m!javascript1{#1}}
+ {\readsysfile{\shortfilename.tex}
+ {\showmessage\m!javascript1{#1}}
+ \donothing}%
\stopreadingfile
\stopnointerference}}}