Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.76 KB

README.md

File metadata and controls

85 lines (65 loc) · 2.76 KB

ConTeXt standalone docker image (minidocks/context)

ConTeXt is a document engineering system based on TeX, a typesetting system and programming language to typeset and produce documents. This system is easy to use and enables you to make complex paper and electronic documents.

Additional modules

  • Lua widow control: Automatically remove widows and orphans from any document.
  • Markdown: A package for converting and rendering Markdown documents in TeX.

Fonts

  • Quivira is a proportional Unicode serif font that contains more than the standard characters for some western European languages.
  • Catrinity is a free sans-serif OpenType font that contains a lot of characters for various languages, plus many symbols, including colorful emoji.

Usage

docker run --rm -v `pwd`:/app -w /app minidocks/context --help

If we want to use a different tool (e.g. Inkscape for convert svg image to pdf), we must connect two containers via the ssh protocol. The easiest solution is to use docker compose.

So create a file compose.yaml with content:

services:
  context:
    image: minidocks/context
    volumes:
      - .:/app
    links:
      - inkscape
    environment:
      ALIAS_INKSCAPE: ssh inkscape inkscape
    working_dir: /app
    command: context

  inkscape:
    image: minidocks/inkscape
    volumes:
      - .:/app
    working_dir: /app

And in the same directory run command:

docker compose run --rm context --help

Tags

Tag Size
latest
latest-with-fonts
latest-with-docs

Related images

Alternatives