On 10/14/2013 4:48 AM, Kumar Appaiah wrote:
On Sun, Oct 13, 2013 at 09:31:11PM -0400, Kumar Appaiah wrote:
On Mon, Oct 14, 2013 at 03:17:28AM +0200, luigi scarso wrote:
Have you seen
[2]http://www.pragma-ade.com/general/manuals/cld-mkiv.pdf
No, I haven't seen it. I'll have a close look at it. Thanks for the
pointer.
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.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________