ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Include path
@ 2011-03-27 17:41 Cecil Westerhof
  2011-03-27 17:47 ` Wolfgang Schuster
  2011-03-27 20:42 ` Cecil Westerhof
  0 siblings, 2 replies; 7+ messages in thread
From: Cecil Westerhof @ 2011-03-27 17:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 587 bytes --]

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?

Also is it possible to \input a file relative to the current document?

For example in my standard-init.inc I have:
    \ctxloadluafile{/home/cecil/Documenten/context/include/lua/getdate}
but I would prefer something like:
    \ctxloadluafile{lua/getdate}

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 661 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-27 20:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-27 17:41 Include path Cecil Westerhof
2011-03-27 17:47 ` Wolfgang Schuster
2011-03-27 17:58   ` Aditya Mahajan
2011-03-27 18:39     ` Cecil Westerhof
2011-03-27 18:42     ` Peter Münster
2011-03-27 18:53       ` Cecil Westerhof
2011-03-27 20:42 ` Cecil Westerhof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).