CTAN update: docext
Datum: 7. November 2026 08:56:05 MEZ
Mingyu Xia submitted an update to the
docext
package.
Version: 0.2D 2026-11-06
License: lppl1.3c
Summary description: Extension for documenting LaTeX source files
Announcement text:
## Version 0.2D released - The result panel of `codemo` keeps its full width when the demo body is a single vertical box, such as a display-like environment (`CJKfilltwosides` in `LuaCJK`). A panel is a `\parbox` and takes its width from its content, so the body now starts by leaving vertical mode. - `codemo` works in the `article` class again. The panel widths are arithmetic expressions, and `\setlength` understands the subtraction only with `calc` loaded, which `l3doc` provides and `article` does not; both widths are now evaluated with `\dim_eval:n`. - The first test, `testfiles/codemo01.lvt`, compares the panel width of a text body with that of a one-box body, on all four engines.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/docext More information is at https://ctan.org/pkg/docext
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
## Version 0.2D released - The result panel of `codemo` keeps its full width when the demo body is a single vertical box, such as a display-like environment (`CJKfilltwosides` in `LuaCJK`). A panel is a `\parbox` and takes its width from its content, so the body now starts by leaving vertical mode. - `codemo` works in the `article` class again. The panel widths are arithmetic expressions, and `\setlength` understands the subtraction only with `calc` loaded, which `l3doc` provides and `article` does not; both widths are now evaluated with `\dim_eval:n`. - The first test, `testfiles/codemo01.lvt`, compares the panel width of a text body with that of a one-box body, on all four engines.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/docext More information is at https://ctan.org/pkg/docext
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
Docext – Extension for documenting LaTeX source files
This package is an extension for documenting LaTeX 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 pTeX and upTeX, and the classes book and report (or any class that uses the titlepage environment in \maketitle).
| Paket | Docext |
| Version | 0.2D 2026-11-06 |
| Copyright | 2026 Mingyu Xia |
| Betreuer | Mingyu Xia |