CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/docext

README.md

CTAN Version GitHub Release GitHub Last Commit Actions Status GitHub Repo stars

The docext Package

The docext package is an extension for documenting source files.

It provides

  • An elegant way to typeset the key-value list.
  • The codedemo enviornment for typesetting the code within a verbatim and a
demo environment at the same time.

It fixes the errors of the doc package under

  • The engines: pTeX and upTeX.
  • The classes: book and report (or any class uses the titlepage
environment in \maketitle)

This package is based on the doc package and works smoothly under the l3doc, ltxdoc, and article classes.

Overview

To load this template, write the line

\usepackage[<options>]{docext}

See docext.pdf for more. Happy ing!

Issues

The issue tracker for docext is currently located on GitHub.

Build status

This project uses GitHub Actions as a hosted continuous integration service. For each commit, the build status is tested using the current release of Live.

Current build status:build status

Copyright and License

Copyright (C) 2026 by Mingyu Xia <xiamingyu@westlake.edu.cn>

This work may be distributed and/or modified under the conditions of the Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in

http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of version 2008 or later.

This work has the LPPL maintenance status maintained.

The Current Maintainer of this work is Mingyu Xia.

Download the contents of this package in one zip archive (563.7k).

docext – Extension for documenting the source files

This package is an extension for documenting source files.

It provides an environment codedemo for typesetting the code within a verbatim and a demo environment at the same time.

It fixes the errors of the doc package under the engines p and up, and the classes book and report (or any class uses the titlepage environment in \maketitle).

Packagedocext
Home pagehttps://github.com/myhsia
Supporthttps://github.com/myhsia/docext/issues
Repositoryhttps://github.com/myhsia/docext
Developershttps://github.com/myhsia
Version0.1A 2026-06-07
LicensesThe Project Public License 1.3c
Copyright2026 Mingyu Xia
MaintainerMingyu Xia
Contained inTeX Live as docext
TopicsDocumentation support
...
Guest Book Sitemap Contact Contact Author