Re: [NTG-context] Modules how?
Boris Pedrofiets wrote: > This works when I put the module file in the same directory as my textfile. > When the file is in the same dir as s-mag-01.tex, context can't find it. How Please run texhash or mktexlsr, whichever exists on your system. You need to do that every time you update your TeX installation. Oh, and please don't place your local stuff in that directory. That's just asking for trouble, since the directory may be overwritten by updates and the like. Better put it into your local texmf tree under .../tex/context/user/. On my system, I get the part to write instead of the ... above by calling kpsewhich --expand-var='$TEXMFLOCAL' > can I achieve this? And where do I place the picture file (logo) needed in > my module? It should go to the same directory, I think. But I never tried. regards, Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Modules how?
Hi, From: Taco Hoekwater p-boris.tex Now you can start your documents with \usemodule[boris] This works when I put the module file in the same directory as my textfile. When the file is in the same dir as s-mag-01.tex, context can't find it. How can I achieve this? And where do I place the picture file (logo) needed in my module? Tanks again! Boris _ Zie en hoor je vrienden met MSN Messenger 7.5 http://www1.imagine-msn.com/Messenger/Video.aspx ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Modules how?
Boris Pedrofiets wrote: Looking at the files s-mag-01.tex and mag-.tex from the context distribution I created a file with layout and defs myself. My question: how can I use my-module? Rename the file you made, so the name starts with "p-" and ends with the extension ".tex", like: p-boris.tex Now you can start your documents with \usemodule[boris] Modules normally start with a single letter, followed by a dash. Context first looks for m-boris (a core system module), then p-boris (a user private module), then s-boris (a style module), then x-boris (dunno?), then t-boris (a third-party module), and finally (if nothing else works), in a new context distribution it will try boris.tex. Even if it works, using module names without a prefix is a bad idea, because it is very likely to create clashes with other input file names. Use "p-boris.tex" for your own files, and "t-boris.tex" for files you want to share with other people. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Modules how?
Looking at the files s-mag-01.tex and mag-.tex from the context distribution I created a file with layout and defs myself. My question: how can I use my-module? Boris _ Vind alles terug op je PC: MSN Search Toolbar http://toolbar.msn.nl/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context