2011/3/27 Aditya Mahajan <adityam@umich.edu>
I defined some things I will use often. At the moment I do something like:
   \input /home/cecil/Documenten/context/include/standard-init.inc

But I would prefer to do something like:
   \input standard-init.inc

Is shorter and when the path changes there is nothing to update.
How should I implement this?

Make a module out of the code and put it in texmf-local.


Or modify TEXINPUTS and LUAINPUTS variables.

Both where not defined in my environment. I now have defined:
    export TEXINPUTS=.:${TEXROOT}:${HOME}/ConTeXt-inc

This takes care of my defined stuff.
There is only one problem. I do:
    \usemodule[fancybreak]
    \definefancybreak[myblank][indentnext=no]

This worked before, but now I get:
resolvers       > modules > not found: 'fancybreak'
! Undefined control sequence.

system          > tex > error on line 27 in file /home/cecil/ConTeXt-inc/layout-init.inc: Undefined control sequence ...

17     \setuphead[subsection][before={\myblank[big,small] \testpage[10]},style={\bf}]
18    
19     \setuppagenumbering[state=stop]
20    
21     \definelayout[pagenumbers][
22       footer=10mm,
23     ]
24    
25     \usemodule[fancybreak]
26    
27 >>  \definefancybreak[myblank][indentnext=no]

What else do I have to do?

--
Cecil Westerhof