2

How do you test whether or not a ConTeXt module is installed? I have run first-setup.bat --modules=all but how do I test if all the modules are installed?

1 Answer 1

4

Method 1 (assuming ConTeXt standalone in installed in /opt/context

List all the directories in texmf-modules tree:

ls /opt/context/tex/texmf-modules/tex/context/third 

(or ls /opt/context-minimals/texmf-modules/tex/context/third if you run context-minimals installed from AUR repository using Arch and derivatives)

Method 2: To check for a specific module

ConTeXt third party modules are named t-<modulename>.{tex,mkii,mkiv}. So you can run

mtxrun t-<modulename>.tex t-<modulename>.mkii t-<modulename>.mkiv

If the module is present, the above command will return the location of the module.

4
  • Mine is installed in c:\context\ but when I look in the folder texmf-modules it only has an ls-R file.
    – azetina
    Jan 17, 2014 at 20:29
  • Then the modules are not installed. I don't use Windows, so I don't know what goes wrong in the installation process.
    – Aditya
    Jan 17, 2014 at 20:47
  • How would you know the version of the module? That is, if it is the most updated version.
    – azetina
    Feb 6, 2014 at 20:04
  • @azetina: Depends on the module writer. In all the modules that I have written, I include a statement that gives the release date of the module. The only way to check if you have the most up to date version is to compare the release date from the versions on contextgarden or ctan.
    – Aditya
    Feb 7, 2014 at 0:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .