Am 04.12.2011 um 01:20 schrieb Aditya Mahajan:
Hi,
How does one save and read third-party data in tuc file at the lua end?
I am trying to write a module t-ifchanged that defines a \doiffilechanged
macro that provides the functionality of mtxrun --ifchanged without calling
an external
On 4-12-2011 01:20, Aditya Mahajan wrote:
Hi,
How does one save and read third-party data in tuc file at the lua end?
I am trying to write a module t-ifchanged that defines a
\doiffilechanged macro that provides the functionality of mtxrun
--ifchanged without calling an external program (This
On Sun, 4 Dec 2011, Hans Hagen wrote:
On 4-12-2011 01:20, Aditya Mahajan wrote:
Hi,
How does one save and read third-party data in tuc file at the lua end?
I am trying to write a module t-ifchanged that defines a
\doiffilechanged macro that provides the functionality of mtxrun
--ifchanged
On Sun, 4 Dec 2011, Aditya Mahajan wrote:
\def\executeCommand
{\doifmode{*first}
{\ctxlua{job.files.run(\!!bs\externalfiter::input_file\!!es,
\!!bs\externalfiltercommand\!!es)}}}
The solution is to remove the test for the first mode. Needs a bit of
Hi,
How does one save and read third-party data in tuc file at the lua end?
I am trying to write a module t-ifchanged that defines a \doiffilechanged
macro that provides the functionality of mtxrun --ifchanged without
calling an external program (This is meant to be a support module for
On Sun, Dec 4, 2011 at 1:20 AM, Aditya Mahajan adit...@umich.edu wrote:
Hi,
How does one save and read third-party data in tuc file at the lua end?
You can read the data with loadfile or dofile:
utilitydata=dofile('test.tuc')
and then you have the table stored into utilitydata
See for the
On Sun, 4 Dec 2011, luigi scarso wrote:
On Sun, Dec 4, 2011 at 1:20 AM, Aditya Mahajan adit...@umich.edu wrote:
Hi,
How does one save and read third-party data in tuc file at the lua end?
You can read the data with loadfile or dofile:
utilitydata=dofile('test.tuc')
But doesn't ConTeXt