Skip to content

Release 1.1

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Jul 19:02
1.1
a6993db

Four source languages, two render modes, and a manual that documents itself.

New

  • YAML and Make styles\includeyaml and \includemake join \includebash
    and \includelua, covering Bash, Lua, YAML and Makefiles.
  • --tangle — strip the doc-comments to recover the runnable source
    (style-aware; replaces the old sed step).
  • Verbatim / listings switch\ctxuselistings and \ctxuseverbatim pick the
    renderer anywhere in a document.

Changed

  • Under LaTeX the include macros now default to a dependency-free numbered
    verbatim
    instead of listings. Opt back into listings (syntax highlighting,
    line breaking) with \ctxuselistings. Heads-up for v1.0 users who relied on the
    listings output.
  • The verbatim line-number gutter auto-sizes to the file, and tabs are expanded
    when weaving.
  • Extensionless names (Makefile) and directory-qualified paths
    (.github/workflows/build.yml) are now accepted.

Fixed

  • A spurious % on the first line of a plain-TeX wrapper listing.

Docs

  • The manual now uses comment2tex on itself throughout — the converter, the
    Makefile, the test suite and the CI/CD workflows are all typeset by the package
    itself — plus a short "is it literate programming?" discussion and section
    cross-references.

Full Changelog: v1.0...1.1