Re: [NTG-context] modules not found

2021-09-08 Thread Hans Hagen via ntg-context

On 9/8/2021 12:53 PM, Hans van der Meer via ntg-context wrote:
Further investigation seems to indicate that the module files are not 
found when initiating the context run from another directory. Though 
previously this was no problem.
I have moved the whole ConTeXt machinery from $HOME to another volume. 
Could that cause the problem? Allthough I set their location in the .bashrc.

# The current version of the ConTeXt luametatex in use:
CONTEXTLMTX=/Volumes/REALM/TeX/context
export CONTEXTLMTX
PATH=$CONTEXTLMTX/tex/texmf-osx-64/bin:$PATH ; export PATH


did you run

mtxrun --generate

after the move



dr. Hans van der Meer


On 8 Sep 2021, at 12:46, Hans van der Meer via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:


Here is something I do not understand about \usemodule.

My modules are in two places because I wanted development and 
production separated:

(1) Volume/TeX/texmf/modules/
(2) Volume/TeX/texmf/modules-new/

Unexpected and suddenly loading files from the first directory does 
not occur any longer: modules > 'hvdm-tak' is not found
But modules from modules-new load without a hitch: modules > 
'hvdm-load' is loaded


I have discard the caches and rebuilt them to no avail. Then trying 
mtxrun --locate filename does not show any location not even from the 
files that are loaded, just an empty line.
What happens inside\usemodule to cause this? I confess being baffled. 
And how to convince ConTeXt to find all my modules?


dr. Hans van der Meer


___
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://context.aanhet.net 
archive  : https://bitbucket.org/phg/context-mirror/commits/ 


wiki : http://contextgarden.net 
___



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules not found

2021-09-08 Thread Hans van der Meer via ntg-context
Further investigation seems to indicate that the module files are not found 
when initiating the context run from another directory. Though previously this 
was no problem.
I have moved the whole ConTeXt machinery from $HOME to another volume. Could 
that cause the problem? Allthough I set their location in the .bashrc.
# The current version of the ConTeXt luametatex in use:
CONTEXTLMTX=/Volumes/REALM/TeX/context
export CONTEXTLMTX
PATH=$CONTEXTLMTX/tex/texmf-osx-64/bin:$PATH ; export PATH

dr. Hans van der Meer


> On 8 Sep 2021, at 12:46, Hans van der Meer via ntg-context 
>  wrote:
> 
> Here is something I do not understand about \usemodule.
> 
> My modules are in two places because I wanted development and production 
> separated:
> (1) Volume/TeX/texmf/modules/
> (2) Volume/TeX/texmf/modules-new/
> 
> Unexpected and suddenly loading files from the first directory does not occur 
> any longer: modules > 'hvdm-tak' is not found
> But modules from modules-new load without a hitch:  modules > 'hvdm-load' is 
> loaded
> 
> I have discard the caches and rebuilt them to no avail. Then trying mtxrun 
> --locate filename does not show any location not even from the files that are 
> loaded, just an empty line.
> What happens inside \usemodule to cause this? I confess being baffled. And 
> how to convince ConTeXt to find all my modules?
> 
> dr. Hans van der Meer
> 
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Modules under LMTX, was Re: Use of lettrine module in LMTX

2021-07-25 Thread Aditya Mahajan
On Sun, 25 Jul 2021, Rik Kabel wrote:

> Perhaps a list of modules known to run correctly with LMTX is called 
> for, and perhaps a classification of modules to indicate which ConTeXt 
> versions each supports, and a way to download a distribution-appropriate 
> subset.

For some of my modules, I *.mkii, *.mkiv, *.mkxl so that the engine-appropriate 
version is selected. Note that if there is LMTX prefers mkxl but will select 
mkiv if mkxl is not available. 

Aditya
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Modules installation in a ConTeXt LMTX distribution

2020-10-18 Thread Otared Kavian
Hi Tommaso,

I met the same problem at the beginning of LMTX and I used a workaround: I 
copied manually the folder (in MacOS speaking, or directory) 

context-minimal/tex/texmf-modules

in my ConTeXt standalone mkiv directory, to the corresponding location in my 

/context-osx-64/tex/

Another possibility is to make a symlink in /context-osx-64/tex/ to the folder 
context-minimal/tex/texmf-modules

Best regards: Otared

> On 18 Oct 2020, at 19:25, Tommaso Gordini  wrote:
> 
> Hello everybody,
> 
> on my computers (a MacBook Pro with macOS 10.13.6 and a Mac mini with macOS 
> 10.15) I have installed a ConTeXt Standalone distribution and a ConTeXt LMTX 
> distribution.
> 
> However, while following the directions contained here
> 
> https://wiki.contextgarden.net/Modules#ConTeXt_LMTX
> 
> the procedure to install the modules in the LMTX is not successful.
> 
> Are the indications correct? Do any of you want to write them here?
> 
> Thank you very much!
> Tommaso
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules in minimals (important)

2011-07-07 Thread Mojca Miklavec
On Thu, Jul 7, 2011 at 06:47, Wolfgang Schuster wrote:

 Am 06.07.2011 um 23:48 schrieb Alan Braslau:

 Is there a work around? What to do?

 --modules=simpleslides,...

I fixed the code for fetching all modules. The code for fetching all
fonts has to be added first.

Mojca
___
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
___


Re: [NTG-context] modules in minimals (important)

2011-07-06 Thread Peter Münster
On Wed, Jun 29 2011, Mojca Miklavec wrote:

 Hans has changed the command line parameter for modules (--modules=vim
 should work now). The problem is that he now stores the chosen modules
 to a variable modules as opposed to extras. So if you want to keep
 your modules, please edit status-of-update.lua and replace [extras]
 with [modules]. Or simply install the modules again.

 There is also a switch --fonts= which installs some additional fonts from
 http://minimals.contextgarden.net/current/fonts/extra/

Are theses parameters for first-setup.sh?
I've tried first-setup.sh --modules=all, --extras=all,
--fonts=all, but nothing works for me (no modules and no extra fonts).

TIA for any help!

-- 
   Peter
___
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
___


Re: [NTG-context] modules in minimals (important)

2011-07-06 Thread Mojca Miklavec
On Wed, Jul 6, 2011 at 15:40, Peter Münster wrote:
 On Wed, Jun 29 2011, Mojca Miklavec wrote:

 Hans has changed the command line parameter for modules (--modules=vim
 should work now). The problem is that he now stores the chosen modules
 to a variable modules as opposed to extras. So if you want to keep
 your modules, please edit status-of-update.lua and replace [extras]
 with [modules]. Or simply install the modules again.

 There is also a switch --fonts= which installs some additional fonts from
     http://minimals.contextgarden.net/current/fonts/extra/

 Are theses parameters for first-setup.sh?
 I've tried first-setup.sh --modules=all, --extras=all,
 --fonts=all, but nothing works for me (no modules and no extra fonts).

Hans,

it seems that modules.all in
if modules.all or modules[s] then
doesn't work as expected.

Mojca
___
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
___

Re: [NTG-context] modules in minimals (important)

2011-07-06 Thread Alan Braslau
On Wed, Jul 06, 2011 at 08:52:23PM +0200, Mojca Miklavec wrote:
 On Wed, Jul 6, 2011 at 15:40, Peter Münster wrote:
  On Wed, Jun 29 2011, Mojca Miklavec wrote:
 
  Hans has changed the command line parameter for modules (--modules=vim
  should work now). The problem is that he now stores the chosen modules
  to a variable modules as opposed to extras. So if you want to keep
  your modules, please edit status-of-update.lua and replace [extras]
  with [modules]. Or simply install the modules again.
 
  There is also a switch --fonts= which installs some additional fonts from
      http://minimals.contextgarden.net/current/fonts/extra/
 
  Are theses parameters for first-setup.sh?
  I've tried first-setup.sh --modules=all, --extras=all,
  --fonts=all, but nothing works for me (no modules and no extra fonts).
 
 Hans,
 
 it seems that modules.all in
 if modules.all or modules[s] then
 doesn't work as expected.
 

Is there a work around? What to do?

Alan
___
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
___


Re: [NTG-context] modules in minimals (important)

2011-07-06 Thread Wolfgang Schuster

Am 06.07.2011 um 23:48 schrieb Alan Braslau:

 Is there a work around? What to do?

--modules=simpleslides,...

Wolfgang

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


Re: [NTG-context] Modules inside project structure

2011-06-15 Thread Hans Hagen

On 13-6-2011 11:50, Andreas Schneider wrote:


I'm  currently trying to split our ConTeXt project into smaller parts,
utilizing  the ConTeXt project structure. I thought it might be a good
idea  to  also extract reusable parts into private modules. Now I face
the problem, that I can't find an optimal spot to place these modules.
Currently  I  just  have  them at the root of the project where I also
have  the  environment  file  that  is  used.  That kinda works, since
\usemodule  uses  resolvers.findctxfile  which  also  traverses parent
directories.   Unfortunately   \registerctxluafile   doesn't,  so  the
corresponding lua file isn't loaded (which I currently circumvent with
dofile()).

I  guess it might be cleaner to make use of texmf-project or something
similar,  however  that  would require the user (who is working with
that project) to modify their TeX tree and rebuild their formats. It's
also  a  bit  strange,  since  these modules are exclusive to that one
project  -  a new project would at least require copies of these files
anyway.  So  these modules should preferably lie somewhere beneath the
actual project, and not globally on the system of the user.

What  would  you  suggest  to  handle  such  projects  that  should be
separated  and  independent  from  the  ConTeXt  installation  of  the
users? Would you use modules at all in that case?


I always put project specific files in texmf-project. This tree is 
standard part of the minimals so there is no need for additional 
configuration. One only has to run mtxrun --generate after adding files 
(in most cases projects files get changed, not added).


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
___


Re: [NTG-context] modules with no author

2011-05-03 Thread Patrick Gundlach
Hi Adam,

 
 I you mean the gantt module, have a look at the mailinglist: 
 http://www.ntg.nl/pipermail/ntg-context/2010/054051.html
 
 It was advised to upload it to tlcontrib instead, so the module is located 
 here:
 http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4295644089/action=view/id=300
 
 As I could neither upload it to the minimals module site nor could I delete 
 the empty module page, this is why you have the module with no author etc.


OK, thanks for the info.

Patrick

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


Re: [NTG-context] modules or packages for abbreviations for common math commands

2011-05-03 Thread Aditya Mahajan

On Tue, 3 May 2011, Paul Menzel wrote:


Dear ConTeXt folks,


is there a module or a package people have created for common things
used in mathematics.

   `\set{ a, b, c }` for a set.
   `\EV{X}` for the expected value.
   `\P{ X = ½ }` for the probability.
   …

If not, maybe a module could be created and maintained together to not
reinvent the wheel.


See the mathsets module[1]. The current module does not work with MkIV (I 
need to debug that; most likely due to catcode changes for _ and ^. I am 
planning to reimplement the module using lpeg but that is on a low 
priority.


Aditya

[1]: http://modules.contextgarden.net/mathsets___
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
___

Re: [NTG-context] modules with no author

2011-05-01 Thread Patrick Gundlach
Hi Philipp,

 the upload didn’t work back then when I tried to upload the files
 for t-transliterator.mkiv. I guess everything needed is a link to
 the bitbucket repo (it’s in the “comment” field”). There really
 doesn’t appear to be any extra (apart from extra maintenance…) in
 having the files mirrored on the garden.


Thanks for the info. Now I'll think of what to do with the other module.

Patrick

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


Re: [NTG-context] modules with no author

2011-05-01 Thread Reviczky, Adam
 Thanks for the info. Now I'll think of what to do with the other module.
 
 Patrick

I you mean the gantt module, have a look at the mailinglist: 
http://www.ntg.nl/pipermail/ntg-context/2010/054051.html

It was advised to upload it to tlcontrib instead, so the module is located here:
http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4295644089/action=view/id=300

As I could neither upload it to the minimals module site nor could I delete the 
empty module page, this is why you have the module with no author etc.

Adam
___
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
___


Re: [NTG-context] modules with no author

2011-04-30 Thread Philipp Gesang
On 2011-04-27 21:52:04, Patrick Gundlach wrote:
 Hi,
 
 the modules Transliterator and Gantt (TikZ) don't have an author or 
 files. I think they can be removed from modules.contextgarden.net. Any 
 opinion?
 
 Patrick
 
 http://modules.contextgarden.net/gantt-tikz
 http://modules.contextgarden.net/Transliterator

Hi Patrick,

the upload didn’t work back then when I tried to upload the files
for t-transliterator.mkiv. I guess everything needed is a link to
the bitbucket repo (it’s in the “comment” field”). There really
doesn’t appear to be any extra (apart from extra maintenance…) in
having the files mirrored on the garden.

Best regards, 
Philipp

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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpybI69YVL3c.pgp
Description: PGP signature
___
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
___

Re: [NTG-context] Modules, namespaces, Luacode etc..

2010-10-01 Thread Jaroslav Hajtmar

Thanx Wolfgang
puzzle starts to fit itself ...
Jarda




Dne 30.9.2010 20:53, Wolfgang Schuster napsal(a):

Am 30.09.2010 um 20:40 schrieb Jaroslav Hajtmar:

   

Hello my wise masters of the Force and teachers of Jedi...

It seems that my first module (SCANCSV of scancsv.lua library of CTM in 
Brejlov) work without any visible errors (without
documentation and with a junkyard yet), but I'm not sure whether is there a
hidden problem or future collisions. Therefore I have a few of questions for
modules namespaces, luacode namespaces etc. I want to ask how relates a 
namespace ConTeXt module with
namespace of Lua code, which is listed within this module and others questions.

1. Is the namespace of Lua code independent of the namespace module?
 

Yes.

   

2. If are ConTeXt macros defined in the module, are automatically in its 
namespace?
 

No, the namespace in a module is only for keys and key-value-lists. When you 
write a command with the same name as a core command the core definition is 
overwritten and lost.

   

3. Can both namespaces (module and Luacode) somehow connected?
 

You can try to use the same namespace in TeX and Lua but thats up to you.

   

4. What happens when I have two macros with the same name in two different 
modules?
 

The last definition is the current meaning of the command, e.g. in this example 
the command \befehl has the content “Befehl” because it’s the last defintion.

\def\befehl{command} % \befehl has not the content “command”

\def\befehl{Befehl} % \befehl has now the content “Befehl” and the content of 
the first definition is lost

   

5. Can I call the macros of the same names in different namespaces (diferent 
modules)?
 

When you call them inside of a environment it’s possible.

\def\startenvone{\bgroup\def\befehl{command}}
\def\stopenvone {\egroup}

\def\startenvtwo{\bgroup\def\befehl{befehl}}
\def\stopenvtwo {\egroup}

\starttext
\startenvone \befehl \stopenvone % \befehl == “command”
\startenvtwo \befehl \stopenvtwo % \befehl == “befehl”
\stoptext

   

6. Can I read about somewhere more?
 

- The programming pages on the wiki.
- A book about plain TeX {e.g. The TeXbook, TeX by Topic, TeX for the Impatient 
etc.)

   

7. I enclose below a minimal example of the module (I do not know why there are 
some things) to comment or write yours comments and suggestions, etc.
 

Give me some time to write a detailed description of the \definenamespace 
command.

Wolfgang


   


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


Re: [NTG-context] Modules, namespaces, Luacode etc..

2010-09-30 Thread Wolfgang Schuster

Am 30.09.2010 um 20:40 schrieb Jaroslav Hajtmar:

 Hello my wise masters of the Force and teachers of Jedi...
 
 It seems that my first module (SCANCSV of scancsv.lua library of CTM in 
 Brejlov) work without any visible errors (without
 documentation and with a junkyard yet), but I'm not sure whether is there a
 hidden problem or future collisions. Therefore I have a few of questions for
 modules namespaces, luacode namespaces etc. I want to ask how relates a 
 namespace ConTeXt module with
 namespace of Lua code, which is listed within this module and others 
 questions.
 
 1. Is the namespace of Lua code independent of the namespace module?

Yes.

 2. If are ConTeXt macros defined in the module, are automatically in its 
 namespace?

No, the namespace in a module is only for keys and key-value-lists. When you 
write a command with the same name as a core command the core definition is 
overwritten and lost.

 3. Can both namespaces (module and Luacode) somehow connected?

You can try to use the same namespace in TeX and Lua but thats up to you.

 4. What happens when I have two macros with the same name in two different 
 modules?

The last definition is the current meaning of the command, e.g. in this example 
the command \befehl has the content “Befehl” because it’s the last defintion.

\def\befehl{command} % \befehl has not the content “command”

\def\befehl{Befehl} % \befehl has now the content “Befehl” and the content of 
the first definition is lost

 5. Can I call the macros of the same names in different namespaces (diferent 
 modules)?

When you call them inside of a environment it’s possible.

\def\startenvone{\bgroup\def\befehl{command}}
\def\stopenvone {\egroup}

\def\startenvtwo{\bgroup\def\befehl{befehl}}
\def\stopenvtwo {\egroup}

\starttext
\startenvone \befehl \stopenvone % \befehl == “command”
\startenvtwo \befehl \stopenvtwo % \befehl == “befehl”
\stoptext

 6. Can I read about somewhere more?

- The programming pages on the wiki.
- A book about plain TeX {e.g. The TeXbook, TeX by Topic, TeX for the Impatient 
etc.)

 7. I enclose below a minimal example of the module (I do not know why there 
 are some things) to comment or write yours comments and suggestions, etc.

Give me some time to write a detailed description of the \definenamespace 
command.

Wolfgang

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


Re: [NTG-context] Modules section login (Was: Transliterator module, 2nd revision)

2010-03-12 Thread Patrick Gundlach
Hi Phillip,

 My wiki account is now almost two days old but I still can't login at
 the modules section.  I tried almost all possible permutations of login
 name, full name, upper-/lowercase to no avail.  How does it really work?

Sorry for that. Can you contact me off-list? Then we will debug it. I have 
slight feeling could be the cause.

Patrick

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


Re: [NTG-context] modules for TeX Live 2008

2008-07-04 Thread Tobias Burnus
Hi,

Mojca Miklavec wrote:
 Which modules are needed for TeX Live 2008?
   
Talking about modules: Can the current m-bib be included in cont-tmf and 
thus in TeX Live? I recently updated cont-tmf and had then to update 
m-bib to get bibtex correctly working again.

Another side question: What is with 
http://modules.contextgarden.net/nath ? Clicking the directory link. all 
ConTeXt modules are shown, but I *cannot find* that module. I find two 
files - but only if I click on the CTAN link.

Tobias

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules for TeX Live 2008

2008-07-04 Thread Hans Hagen
Tobias Burnus wrote:
 Hi,
 
 Mojca Miklavec wrote:
 Which modules are needed for TeX Live 2008?
   
 Talking about modules: Can the current m-bib be included in cont-tmf and 
 thus in TeX Live? I recently updated cont-tmf and had then to update 
 m-bib to get bibtex correctly working again.

ok (i need to sync that manually)

 Another side question: What is with 
 http://modules.contextgarden.net/nath ? Clicking the directory link. all 
 ConTeXt modules are shown, but I *cannot find* that module. I find two 
 files - but only if I click on the CTAN link.

at some point aditya needs to look into nath an dgiv ehis opinion; the 
problem is that nath is rather low level hooked into latex's font 
system; it's impressive stuff but i have no idea if it's still 
maintained; also, at some point we will redo that kind of things 
(breaking across lines and so) in lua


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules for TeX Live 2008

2008-07-04 Thread Aditya Mahajan
On Fri, 4 Jul 2008, Hans Hagen wrote:

 Another side question: What is with
 http://modules.contextgarden.net/nath ? Clicking the directory link. all
 ConTeXt modules are shown, but I *cannot find* that module. I find two
 files - but only if I click on the CTAN link.

 at some point aditya needs to look into nath an dgiv ehis opinion; the
 problem is that nath is rather low level hooked into latex's font
 system; it's impressive stuff but i have no idea if it's still
 maintained;

I had tried nath a long time back, but found that it did not work in some 
cases (if I remember correctly, there was some trouble with accents). I 
wrote to the list, and got a reply from Giuseppe that it was a known 
bugs. But, from what I understand, in general it works correctly. So, it 
should be included.

 also, at some point we will redo that kind of things
 (breaking across lines and so) in lua

I have some ideas that I will talk about in the context user metting.

Aditya

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules for TeX Live 2008

2008-07-03 Thread Jesse Alama
Mojca Miklavec [EMAIL PROTECTED] writes:

 Which modules are needed for TeX Live 2008?

 Here's some list (that Hans sent me some time ago):
  http://minimals.contextgarden.net/current/modules/
 (t-tikz should not be included, and )

Why not tikz?

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules for TeX Live 2008

2008-07-03 Thread Aditya Mahajan
On Thu, 3 Jul 2008, Jesse Alama wrote:

 Mojca Miklavec [EMAIL PROTECTED] writes:

 Which modules are needed for TeX Live 2008?

 Here's some list (that Hans sent me some time ago)

I updated the documentation of t-mathsets. Please use the currently 
uploaded module.

BTW, how does syncronization with CTAN work. I never uploaded my module to 
CTAN, but it is available on CTAN (I assume, because it was also included 
in texlive 2007). When updating modules on garden, should I also update 
them on CTAN, or does CTAN syncronization happens automatically, or does 
it happen once every year (with texlive)?

  http://minimals.contextgarden.net/current/modules/
 (t-tikz should not be included, and )

 Why not tikz?

The tikz module is just a repackaging of tikz files in TDS. tikz will be 
included in texlive in the correct directory structure, so we do not need 
to have duplicates.

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules for TeX Live 2008

2008-07-03 Thread Mojca Miklavec
On Fri, Jul 4, 2008 at 4:07 AM, Aditya Mahajan wrote:

 I updated the documentation of t-mathsets.

Thanks.

 Please use the currently uploaded module.

That's intended anyway.

 BTW, how does syncronization with CTAN work.

Doesn't. Some people from CTAN check manually from time to time.

 I never uploaded my module to
 CTAN, but it is available on CTAN (I assume, because it was also included
 in texlive 2007). When updating modules on garden, should I also update
 them on CTAN,

No, we'll try to sort that out now.

 or does CTAN syncronization happens automatically, or does
 it happen once every year (with texlive)?

It doesn't happen yet, but I hope that we  they will set it now.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules maps fails

2008-06-07 Thread Taco Hoekwater
Mojca Miklavec wrote:
 On Sat, Jun 7, 2008 at 9:28 AM, Diego Depaoli wrote:
 I have added map files, but I doubt that that is enough. Please try
 and report whether it works.
 now, with --xtx switch, I get this error

 (/home/diego/tex/texmf-context/tex/context/base/type-xtx.tex)
 ! Font \*map7ptrmscss*:=CharterBT-SmallCap at 6.64998pt not loadable:
 Metric (TFM) file or installed font not found.

This is a dud/bug: there really is no font named CharterBT-SmallCap.

The name was accidentally created when converting from tfm to actual
font names (fontinst and texfont both have a virtual small caps and
an oblique charter font, but is totally artificial).

\definefontsynonym [Charter-Roman-Caps]  [file:bchrc8a]

hopefully fixes that. The rest of the typescript should be fine.

 Proper fix - Hans, Taco,
 should I filter the useful files out of that zip and add them to the
 minimals? Which ones?

Yes, but proposing a truly minimal set is beyond me. Charter, Utopia and
Verdana are useful for sure. I am not so sure about antp and lbr, but
perhaps it is easiest to simply include all fonts that are not
superseded by tex-gyre.

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules maps fails

2008-06-07 Thread Mojca Miklavec
On Sat, Jun 7, 2008 at 9:28 AM, Diego Depaoli wrote:

 I have added map files, but I doubt that that is enough. Please try
 and report whether it works.

 now, with --xtx switch, I get this error

 (/home/diego/tex/texmf-context/tex/context/base/type-xtx.tex)
 ! Font \*map7ptrmscss*:=CharterBT-SmallCap at 6.64998pt not loadable:
 Metric (TFM) file or installed font not found.

That's because of

./tex/context/base/type-otf.tex:\definefontsynonym [Charter-Roman]
  [name:CharterBT-Roman]% or: [bchr8a]
./tex/context/base/type-otf.tex:\definefontsynonym
[Charter-Italic]  [name:CharterBT-Italic]   % or: [bchri8a]
./tex/context/base/type-otf.tex:\definefontsynonym [Charter-Bold]
  [name:CharterBT-Bold] % or: [bchb8a]
./tex/context/base/type-otf.tex:\definefontsynonym
[Charter-BoldItalic]  [name:CharterBT-BoldItalic]   % or: [bchbi8a]
./tex/context/base/type-otf.tex:\definefontsynonym
[Charter-Slanted] [name:CharterBT-Italic]   % or: [bchri8a]
./tex/context/base/type-otf.tex:\definefontsynonym
[Charter-BoldSlanted] [name:CharterBT-BoldItalic]   % or: [bchbi8a]
./tex/context/base/type-otf.tex:\definefontsynonym
[Charter-Roman-Caps]  [name:CharterBT-SmallCap] % or: [bchrc8a]

The fonts are on
 http://www.ctan.org/tex-archive/fonts/charter/
and I can add them, but there is still one problem.

Since fonts are defined this way, you would need to configure
fc-config to look for fonts in that directory in order to find the
font. Or one would need to change the definition.

Hans - what would be the implications for LuaTeX if
name:CharterBT-Roman
was changed into
file:bchr8a
? Not suggesting that yet, only asking.

 and without --xtx switch this one

 (/home/diego/tex/texmf-context/tex/context/base/type-gyr.tex)
 ! Font \*map7ptrmtfss*:=texnansi-bchr8a at 6.64998pt not loadable:
 Metric (TFM)  file not found.

The files are under
http://www.pragma-ade.com/context/current/cont-fnt.zip
Many of the files included there are obsolete now, that's why I didn't
include them at the first place. But this one is not. Quick fix: unzip
those files into texmf-local for example (or texmf, but you need to be
careful not to use the --delete switch then). Proper fix - Hans, Taco,
should I filter the useful files out of that zip and add them to the
minimals? Which ones?

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules maps fails

2008-06-07 Thread Diego Depaoli
2008/6/7 Taco Hoekwater [EMAIL PROTECTED]:
 This is a dud/bug: there really is no font named CharterBT-SmallCap.

 The name was accidentally created when converting from tfm to actual
 font names (fontinst and texfont both have a virtual small caps and
 an oblique charter font, but is totally artificial).

 \definefontsynonym [Charter-Roman-Caps]  [file:bchrc8a]

 hopefully fixes that. The rest of the typescript should be fine.

 Proper fix - Hans, Taco,
 should I filter the useful files out of that zip and add them to the
 minimals? Which ones?

 Yes, but proposing a truly minimal set is beyond me. Charter, Utopia and
 Verdana are useful for sure. I am not so sure about antp and lbr, but
 perhaps it is easiest to simply include all fonts that are not
 superseded by tex-gyre.

Texfont is always on my desktop waiting to be read, so I understood
the 5% of this discussion,
but this list is very, very helpful.

Many thanks
-- 
Diego Depaoli
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules maps fails

2008-06-06 Thread Mojca Miklavec
On Sat, Jun 7, 2008 at 1:40 AM, Diego Depaoli wrote:
 Hi all,
 trying build the example at http://wiki.contextgarden.net/Modules/Maps
 I get the following cryptic error

 (/home/diego/tex/texmf-context/tex/context/base/type-siz.tex)
 (/home/diego/tex/texmf-context/tex/context/base/type-one.tex)
 (/home/diego/tex/texmf-context/tex/context/base/type-akb.tex)
 (/home/diego/tex/texmf-context/tex/context/base/type-gyr.tex)
 ! Font \*map7ptmmmrss*:=zeurm10 at 7.0pt not loadable: Metric (TFM)
 file not found.
 to be read again
   \relax
 \xxdododefinefont ...tspec {#4}\newfontidentifier
  \let \localrelativefontsiz...

 \dodosetmathfamilyB ...amily \fontsize \endcsname
  \else \ifcsname \fontclass...

 \dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \fontbody #3\dodosetm...
 inserted text ...ptscriptface \c!mr \mrfallback
  \dosetmathfamily \mifam \t...

 \synchronizemath ...athfonts \the \mathstrategies
  \fi
 ...
 l.118 \setupbodyfont [map,10pt]

 ?
 ! Emergency stop.

 Something similar happens in live too.
 What I'm wrong?

 Regards

Hello Diego,

I'm sorry, I forgot to add the Euler math font to the minimals.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modules

2006-08-10 Thread Patrick Gundlach
Hello Nikolai,

 I don't have a login, that I know about, so I created a new one.  My
 username is now, so if you could give the user now ownership of
 the BNF grammar module, that'd be great.

Done. If you have any more questions, just ask me. Sorry for the
delay: I was offline for a few days.

Patrick

-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Taco Hoekwater
Nikolai Weibull wrote:
 On 4/4/06, Hans Hagen [EMAIL PROTECTED] wrote:
 
 
In order to be able to generate new zips i'd like the modules in the
wiki to be tds compliant as soon as possible.
  
 Ive kept this mail starred since I first saw it and haven't put any
 thought into what you're actually asking about here.  Now, however,
 I'd really like to know what /TDS compliant/ means and if there's
 something I should do with my BNF model to make it so.

Have a look at the lettrines module for an example that should
be simple to apply to t-bnf.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Nikolai Weibull
On 8/9/06, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Nikolai Weibull wrote:
  On 4/4/06, Hans Hagen [EMAIL PROTECTED] wrote:
 
 
 In order to be able to generate new zips i'd like the modules in the
 wiki to be tds compliant as soon as possible.
 
  Ive kept this mail starred since I first saw it and haven't put any
  thought into what you're actually asking about here.  Now, however,
  I'd really like to know what /TDS compliant/ means and if there's
  something I should do with my BNF model to make it so.

 Have a look at the lettrines module for an example that should
 be simple to apply to t-bnf.

Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
auto-generated, so I don't need to include that, right?

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Hans Hagen
Nikolai Weibull wrote:
 On 8/9/06, Taco Hoekwater [EMAIL PROTECTED] wrote:
   
 Nikolai Weibull wrote:
 
 On 4/4/06, Hans Hagen [EMAIL PROTECTED] wrote:


   
 In order to be able to generate new zips i'd like the modules in the
 wiki to be tds compliant as soon as possible.
 
 Ive kept this mail starred since I first saw it and haven't put any
 thought into what you're actually asking about here.  Now, however,
 I'd really like to know what /TDS compliant/ means and if there's
 something I should do with my BNF model to make it so.
   
 Have a look at the lettrines module for an example that should
 be simple to apply to t-bnf.
 

 Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
 auto-generated, so I don't need to include that, right?
   
once you have a valid tpm file describing the package, you can use 

textools --tpmmake

to update such a file and create a zip 

saves time 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Taco Hoekwater


Nikolai Weibull wrote:
Have a look at the lettrines module for an example that should
be simple to apply to t-bnf.
 
 
 Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
 auto-generated, so I don't need to include that, right?

No, you do have to do that yourself, it is not autogenerated.
(because that would not be very reliable)

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Nikolai Weibull
On 8/9/06, Taco Hoekwater [EMAIL PROTECTED] wrote:


 Nikolai Weibull wrote:
 Have a look at the lettrines module for an example that should
 be simple to apply to t-bnf.
 
 
  Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
  auto-generated, so I don't need to include that, right?

 No, you do have to do that yourself, it is not autogenerated.
 (because that would not be very reliable)

OK, done.  Now how do I get this package to the modules homepage?

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Taco Hoekwater


Nikolai Weibull wrote:

No, you do have to do that yourself, it is not autogenerated.
(because that would not be very reliable)
 
 OK, done.  Now how do I get this package to the modules homepage?

On modules.contextgarden.net,  there is a log in link in the
upper right corner. Do that (use your wiki login), and you get a
new set of links for updating your modules.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Nikolai Weibull
On 8/9/06, Taco Hoekwater [EMAIL PROTECTED] wrote:

 Nikolai Weibull wrote:

 Now how do I get this package to the modules homepage?

 On modules.contextgarden.net,  there is a log in link in the
 upper right corner. Do that (use your wiki login), and you get a
 new set of links for updating your modules.

I don't have a login, that I know about, so I created a new one.  My
username is now, so if you could give the user now ownership of
the BNF grammar module, that'd be great.

Thanks!

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-08 Thread Nikolai Weibull
On 4/4/06, Hans Hagen [EMAIL PROTECTED] wrote:

 In order to be able to generate new zips i'd like the modules in the
 wiki to be tds compliant as soon as possible.

Ive kept this mail starred since I first saw it and haven't put any
thought into what you're actually asking about here.  Now, however,
I'd really like to know what /TDS compliant/ means and if there's
something I should do with my BNF model to make it so.

Thanks.

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-08 Thread Sanjoy Mahajan
TDS is the Tex Directory Structure, designed so that the various tex
distributions use the same file structure.

See http://www.tug.org/tds/

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Modules how?

2005-10-02 Thread Taco Hoekwater

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


Re: [NTG-context] Modules how?

2005-10-02 Thread Boris Pedrofiets

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?

2005-10-02 Thread Christopher Creutzig
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