Article View: comp.text.tex
Article #238CTAN update: docext
From: CTAN Announcements
Date: Mon, 09 Nov 2026 08:42
Date: Mon, 09 Nov 2026 08:42
79 lines
6025 bytes
6025 bytes
Mingyu Xia submitted updates to the
docext
package.
Current version: 0.2F 2026-11-08
License: lppl1.3c
Summary description: Extension for documenting LaTeX source files
Announcement text:
------------------------------------------------------------------------
## Version 0.2E:
- `codemo` now cooperates with the LaTeX tagging project. With
`\DocumentMetadata{tagging=on}` the code panel is tagged as code, the result
panel as a text block, and the surrounding frames are artifacts. The manual
itself is typeset with tagging enabled and loads
`latex-lab-testphase-l3doc` for the `l3doc` class.
- 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 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`.
- `testfiles/codemo01.lvt` compares the panel width of a text body with that
of a one-box body, on all four engines; `testfiles/tagging01.lvt` checks
`codemo` with tagging enabled where the engine supports it.
## Version 0.2F:
- Fix the `keyval` label alignment in tagged documents. The tagging
emulation of `enumitem` does not compute enumitem's widest label, so
`keyval` now pins `labelwidth` to `\marginparwidth`, the width `\keys`
already scales against, and hangs the label left by the same amount. The
`=` signs stay in one column in tagged and untagged documents.
- Add `testfiles/keyval01.lvt`, which checks the `=` column when the list is
tagged.
- `codemo` now cooperates with the LaTeX tagging project. With
`\DocumentMetadata{tagging=on}` the code panel is tagged as code, the result
panel as a text block, and the surrounding frames are artifacts. The manual
itself is typeset with tagging enabled and loads
`latex-lab-testphase-l3doc` for the `l3doc` class.
- 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 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`.
- `testfiles/codemo01.lvt` compares the panel width of a text body with that
of a one-box body, on all four engines; `testfiles/tagging01.lvt` checks
`codemo` with tagging enabled where the engine supports it.
------------------------------------------------------------------------
The package’s Catalogue entry can be viewed at
https://ctan.org/pkg/docext
The package’s files themselves can be inspected at
https://mirrors.ctan.org/macros/latex/contrib/docext/
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Petra Rübe-Pugliese
------------------------------------------------------------------------
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
Technical Details
Message-ID:
<avGHWXQ2mLWP6VMc@prptp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: CTAN Announcements <petra@ctan.org> Newsgroups: comp.text.tex Subject: CTAN update: docext Date: Mon, 9 Nov 2026 09:42:01 +0100 Organization: CTAN Lines: 79 Message-ID: <avGHWXQ2mLWP6VMc@prptp> Reply-To: ctan@ctan.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: solani.org; logging-data="1332705"; mail-complaints-to="abuse@news.solani.org" To: ctan-ann@ctan.org Cancel-Lock: sha1:BADExvYVeg/Jj4uMLW37xVKlTvY= X-User-ID: eJwFwYEBwCAIA7CXUNoC50wZ/59gQtfSDYgChwNUujIEWd2pn77jLm/fJ6ytgzX9ZZ9RyvAA/JIQXg== X-Rspamd-Server: irony X-Mailman-Version: 3.3.8 X-Rspamd-Queue-Id: E1EA3803C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703; t=1794213726; bh=Y5m4Ulp7nahsBnGiY+FdsbueNCvGtgrXiD7nf5ojLms=; h=Date:From:To:Subject:Reply-To:From; b=BV+OUXFU3/LFPdEg7XExmzQKpF3eH8MGP1MGarEbJvQ76lT69799PJ6GRNIAIbjRK 3xc+fvRTCy2J+xr8I455lH/nfqUkCQOHD6EH1PgSnJzRrqlbUV5LZIrSPDWe8dGjQv 0N6fwBeYfj9ltWzeu43ZfnNio75edEnOb5xofLj0= X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address X-Mailman-Rule-Hits: member-moderation X-Rspamd-Action: no action X-Message-ID-Hash: TC66FCBNN6OYBMTGTXIVWZOM2HYEGOFV Precedence: list X-Spamd-Result: default: False [-2.59 / 16.00]; BAYES_HAM(-2.99)[99.98%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[outlook.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; HAS_ORG_HEADER(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_TLS_LAST(0.00)[]; REPLYTO_DOM_EQ_TO_DOM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[ctan@ctan.org]; LOCAL_OUTBOUND(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; TO_DN_NONE(0.00)[]; MIME_TRACE(0.00)[0:+] X-MailFrom: petra@ctan.org Message-ID-Hash: TC66FCBNN6OYBMTGTXIVWZOM2HYEGOFV Content-Disposition: inline