![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
Hello, what is the difference between a module and an environment? What are the guidelines to decide where to put some code? TIA for any hints, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Peter Münster wrote:
Hello, what is the difference between a module and an environment?
In my opinion, environments are closely tied in with specific products/publications. Modules are where you would put code that is usable in a much wider range of documents, perhaps even by people you have not met before. :-) Greetings. Taco
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Sun, 20 Mar 2005, Taco Hoekwater wrote:
Peter Münster wrote:
Hello, what is the difference between a module and an environment?
In my opinion, environments are closely tied in with specific products/publications. Modules are where you would put code that is usable in a much wider range of documents, perhaps even by people you have not met before. :-)
Alright. So, if I understand it right, there is no technical difference. Thanks, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/6af06dcf5f958fe4ec149408292d6acd.jpg?s=120&d=mm&r=g)
Hi Wolfgang, I would say, that a module makes part of the ConTeXt package e.g. m-chart.tex or m-units.tex. There are also third-party modules which start then with t- e.g. t-lettri.tex. An environment is a file containing layout-instructions belonging to a certain project or a personal environment which is loaded at starting up. Willi Peter Münster wrote:
Hello, what is the difference between a module and an environment? What are the guidelines to decide where to put some code? TIA for any hints, Peter
participants (3)
-
Peter Münster
-
Taco Hoekwater
-
Willi Egger