๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #68

CTAN update: refenums

#68
From: CTAN Announcements
Date: Tue, 20 Oct 2026 07:22
65 lines
5587 bytes
Oliver Kopp submitted an update to the

                refenums

package.

Version: 2.0.0
License: lppl1.3

Summary description: Define named items and provide back-references with that name

Announcement text:
--------------------------------------------------------------------------------
Completely reworked package, so that usage is possible with less and shorter commands.

### Added

- `\setupRefEnum` sets up an enum with key-value options (`separator`, `enclosing`, `combined`).
- `\setupRefEnum` accepts `titleformat` to format the title of each element.
- `\setupRefEnum` accepts `plural` for the plural of the print name.
- `\refEnumFullColon` is the new name of `\refEnumFullT`; the old name still works.
- `\refEnum*`, `\refEnumFull*`, and `\refEnumFullColon*` prefix the print name, e.g., "Requirement Req-1 ("Detect concurrent modification")".
- `\refEnumTitle` prints the title of an element.
- `\setupRefEnum` defines shorthands: `\def<EnumId>` for `\defRefEnum{<EnumId>}`, `\def<EnumId>Inline` for `\defRefEnumInline{<EnumId>}`, and `\ref<EnumId>`, `\ref<EnumId>Full`, `\ref<EnumId>FullColon`, `\ref<EnumId>Title` for the corresponding `\refEnumโ€ฆ{<EnumId>}`. Documents defining such commands themselves need the package option `shorthands=false`.
- The full LPPL license text is now included as `LICENSE`.
- `\setupRefEnums` accepts a second optional argument naming the command each element is wrapped in (e.g., `subsection`). The optional argument of `\defRefEnum` still overrides it per element.

### Changed

- `\ref` prints the identifier, e.g., `Req-1` instead of `1`.
- Titles of elements are set in italics, unless the elements are wrapped in another command, e.g., `subsection`. Use `titleformat={}` for the former upright titles.
- `refenums-demo.pdf` shows the LaTeX code of each example next to its output.
- `refenums-demo.tex` demonstrates the package with requirements and a decision record (MADR style) modeled on JabRef.
- `demo.tex` was renamed to `refenums-demo.tex`, so that `texdoc refenums-demo` finds it, and is typeset with LuaLaTeX.
- refenums references with zref-clever instead of cleveref; `\zcref` prints the print name and the identifier, e.g., "Risk R1" or "Risks R1 and R2". `\cref` prints the identifier, like `\refEnum`, if cleveref is loaded before `\setupRefEnum`.
- refenums requires LaTeX 2023-06-01 and zref-clever 0.4.0 or later.

### Removed

- `README` was removed; `README.md` is the only readme.
- `README.pdf` is no longer in the CTAN archive; CTAN renders `README.md`.
- `test/demo-sec-param.tex` was removed; `refenums-demo.tex` covers the same case.

### Fixed

- The README named the inline command `\defineReferenceableEnumElementInline` instead of `\defRefEnumInline`.
--------------------------------------------------------------------------------

This package is located at
   https://mirrors.ctan.org/macros/latex/contrib/refenums

More information is at
   https://ctan.org/pkg/refenums


--------------------------------------------------------------------------------

   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 .
Technical Details
Message-ID: <b50cff600a3f3fdd@hogwart>
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

Show 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 <manfred@ctan.org>
Newsgroups: comp.text.tex
Subject: CTAN update: refenums
Date: Tue, 20 Oct 2026 09:22:43 +0200 (CEST)
Organization: CTAN
Lines: 65
Message-ID: <b50cff600a3f3fdd@hogwart>
Content-Type: text/plain; charset=utf-8
Injection-Info: solani.org;
	logging-data="16939"; mail-complaints-to="abuse@news.solani.org"
To: ctan-ann@ctan.org
Cancel-Lock: sha1:XtUC5DMMJyHbUvA2NkbhnAfUQXM=
X-Message-ID-Hash: M4U5PR2TO2DVNKIIBLCCWYRIECF2EQS4
X-Rspamd-Queue-Id: 5AD63810B2
X-Rspamd-Action: no action
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703;
	t=1792480963; bh=QJakt20Bxg+sn6XrRY96P5u54azawSA6CsMecJhelcg=;
	h=Date:From:To:Subject:From;
	b=Gc+F3hjICsSawO9FYZheJaCqEXCsNU68LnGc4NR5dt3qFQ4CLJ0HZbB0IBfhDmmNI
	 xX3p5kungn4w1yhxXtNGfMDyVwr0TslfAEou7G9mipzaV3E7HgwiDWsDSLJWNM0gOH
	 H3AgqB+MZUNfwHhmaVdrUvPMRJA7MuD9FR+RBDag=
X-Rspamd-Server: irony
X-Mailman-Rule-Hits: member-moderation
X-Spamd-Result: default: False [0.45 / 16.00];
	BAYES_HAM(-3.00)[100.00%];
	MISSING_MIME_VERSION(2.00)[];
	R_BAD_CTE_7BIT(1.05)[unknown,utf8];
	MID_RHS_NOT_FQDN(0.50)[];
	MIME_GOOD(-0.10)[text/plain];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	ARC_NA(0.00)[];
	ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE];
	RCVD_COUNT_ONE(0.00)[1];
	RCPT_COUNT_ONE(0.00)[1];
	TO_DOM_EQ_FROM_DOM(0.00)[];
	MISSING_XM_UA(0.00)[];
	FREEMAIL_ENVRCPT(0.00)[gmail.com];
	ALIAS_RESOLVED(0.00)[];
	RECEIVED_HELO_LOCALHOST(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	FROM_HAS_DN(0.00)[];
	MIME_TRACE(0.00)[0:+];
	LOCAL_OUTBOUND(0.00)[];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	TO_DN_NONE(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	HAS_ORG_HEADER(0.00)[]
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address
X-Mailman-Version: 3.3.8
X-User-ID: eJwNwoENwDAIA7CXGgpJuSeI/0/YZNclaCWLWfvrHQJnDpfe9iijHFrFa+fFoN6EU1AsPhTEEH4=
Message-ID-Hash: M4U5PR2TO2DVNKIIBLCCWYRIECF2EQS4
Precedence: list
X-MailFrom: manfred@ctan.org