Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there a comprehensive updated list of modules currently maintained? The ConTeXt wiki page for modules provides some but I am not sure if it is updated and which ones would be obsolete. It would be nice if the ConTeXt users here at TeX.SX can highlight the modules they use the most and provide some description of there usage.

share|improve this question
    
should this be a community wiki with one module per answer? –  Aditya Jan 17 at 16:36
    
@Aditya +1 I vote to that. It would be nice to have a comprehensive list of modules and their possible usage. This can help other newcomers like myself to the ConTeXt community. –  azetina Jan 17 at 16:46
    
@Aditya: +1 from me, too. –  mbork Jan 17 at 17:35
    
I described all the modules that I use frequently; there are other modules that I have written/contributed to (e.g., mathsets, simpleslides, gantt) but don't use these days. –  Aditya Jan 17 at 19:53
    
@Aditya This is wonderful. Quick question: if I run first-setup.bat --modules=all, does it make sense and does it download the ones you have spoken about here? –  azetina Jan 17 at 19:55

6 Answers 6

Filter Module

Available on contextgarden, CTAN, or github.

Documentation

github

Short description

This module allows you to filter the content of an environment through an external program. I routinely use this to create graphs in documents, where the graphs are generated from a scientific computing software (Matlab, Mathematica, or Python).

The module takes care of all the book-keeping of creating temporary files and caching the results (so that subsequent runs are fast).

Example

The example from a presentation shows graphs generated by Mathematica code written as part of a ConTeXt document. The Mathematica code is also included in the PDF file as an attachment.

enter image description here

share|improve this answer

Visualcounter module

Available on contextgarden or github.

Documentation

github

Short description

This module gives a visual representation of any ConTeXt counter. It comes with a few predefined styles, and provides an interface to easily add new styles. See the documentation for details. I use this to show page numbers and lecture numbers in slides and to add a bit of a glitter to otherwise dull presentation.

Example

The example below from a presentation shows the visual counter module in action. The page number (2 out of 7) is displayed on the lower right and the lecture number (4 out of 5) is to its left.

enter image description here

share|improve this answer

Vim module

Available on contextgarden, CTAN, and github.

Documentation

github

Short description

The example below from a presentation shows syntax highlighted Java code.

enter image description here

This module uses a vimL script to provide syntax highlighting for the 500+ programming languages that the Vim editor supports. The module uses the filter module in the background. I routinely use it to include syntax highlighted code snippets in my documents.

Example

share|improve this answer

Overviewpage module

Available on github

Documentation

Blog post

Short description

This module provides an overview screen at the end of the presentation, showing the first page of each section. This may be used as a quick reference to jump to specific locations on the presentation while answering audience questions.

Example

The example below shows the overview page of one of my presentations.

enter image description here

share|improve this answer

MP sketch

This is not a formal module, but a metapost environment that I use, so I thought that I'd mention this as well.

Available on github.

Documentation

TeX.SX answer

Description

This module is inspired by the question to simulate hand drawn lines. I occasionally use this to give an informal looks to figures used in presentations.

Example

Here is one figure drawn using mp-sketch.

enter image description here

Sometimes, I also use a variation of this approach and draw the same line multiple times by randomizing the end points.

enter image description here

share|improve this answer

Visual module and MetaPost library dum

Part of ConTeXt code

Documentation

This Way Magazine

Short description

This module provides macros to fake text and images. This is useful when you are creating a new layout/style and want to check how it looks in different scenarios.

Example

\usemodule[visual]
\useMPlibrary[dum]

\setupindenting[medium,yes]
\setupwhitespace[medium]

\startsetups head
  \definecolor[fakerulecolor]     [darkred]
\stopsetups

\setuphead[subject]
          [alternative=middle, style=\tfc, color=red, before={\bgroup \setups{head}}, after=\egroup\blank]

\setupcaption[style={\switchtobodyfont[8pt]}]

\starttext

\subject{\fakewords{3}{5}}

\startplacefigure[location={right}, title={\fakewords{8}{20}}]
  \externalfigure[dummy][height=3cm, width=5cm]
\stopplacefigure

\fakewords{20}{30} 

\startformula
  \fakeformula
\stopformula

\fakewords{50}{100} 

\stoptext

which gives

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.