Re: [NTG-context] My own module.
Where should I put a module if I have the following project strucutre? Can't I have a module inside a project? ___ 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] My own module.
Am 29.09.2012 um 22:11 schrieb Andre Caldas andre.em.cal...@gmail.com: Where should I put a module if I have the following project strucutre? math-books/ math-books.tex environments/ layout.tex products/ book1.tex book1/ chapter1.tex chapter2.tex book2.tex book2/ chapter1.tex chapter2.tex I have a my_module.lua and a my_module.tex. Where should I put those files? How do I configure my project to use my module? How do I call my own module from book1/chapter1.tex, for example? You can load your module with \usemodule[…] from your environment file. It should also help when you put the environment file in the root directory of your project because when you have “\environment …” in your product or component files context ail search for it also two directories upwards. 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] My own module.
Hello! Where should I put a module if I have the following project strucutre? You can load your module with \usemodule[…] from your environment file. So, inside environments/load_mymodule.tex I call \usemodule[mymodule] But how will it be found? My module is composed of a mkiv and a lua file. When I load it, the mkiv seems to get loaded, but the lua file is not being loaded. How do I get the lua file to get loaded as well? Cheers, André Caldas. ___ 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] My own module.
Am 01.10.2012 um 19:59 schrieb Andre Caldas andre.em.cal...@gmail.com: Hello! Where should I put a module if I have the following project strucutre? You can load your module with \usemodule[…] from your environment file. So, inside environments/load_mymodule.tex I call \usemodule[mymodule] But how will it be found? My module is composed of a mkiv and a lua file. When I load it, the mkiv seems to get loaded, but the lua file is not being loaded. How do I get the lua file to get loaded as well? You have to load the lua file in your module, e.g. \ctxloadluafile{my_module}. 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] My own module.
You have to load the lua file in your module, e.g. \ctxloadluafile{my_module}. Thank you! André Caldas. ___ 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 ___
[NTG-context] My own module.
Where should I put a module if I have the following project strucutre? math-books/ math-books.tex environments/ layout.tex products/ book1.tex book1/ chapter1.tex chapter2.tex book2.tex book2/ chapter1.tex chapter2.tex I have a my_module.lua and a my_module.tex. Where should I put those files? How do I configure my project to use my module? How do I call my own module from book1/chapter1.tex, for example? Thank you, André Caldas. ___ 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 ___