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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to