14 Oct
2013
14 Oct
'13
11:45 a.m.
On Mon, Oct 14, 2013 at 09:47:49AM +0200, Hans Hagen wrote:
Well, upon reading the document you suggested, I just realised that I could work around my issue by creating A.tex and B.tex as follows:
A.tex: \startluacode -- define A's variables \stopluacode \input generic
And a similar b.tex. This is more flexible in terms of my implementation constraints as well.
if you make a file "whatever.cld" like:
local name = "ward.tex"
context.starttext() context.title(name) context.blank() context.input(name) context.stoptext()
you can directly runt it with the "context" command.
Thanks Hans. This is a cleaner solution; I'll adopt it in the next document I am writing today. Kumar -- Kumar Appaiah