• CTAN update: memoir

    From CTAN Announcements@manfred@ctan.org to ctan-ann on Fri Oct 3 14:59:18 2025
    From Newsgroup: comp.text.tex

    Lars Madsen submitted an update to the

    memoir

    package.

    Version: 3.8.4 2025-10-02
    License: lppl1.3c

    Summary description: Typeset fiction, non-fiction and mathematical books

    Announcement text: --------------------------------------------------------------------------------

    Long overdue maintenance update. From the README

    Changes (2025/10/02)

    o memoir v3.8.4

    -- bumped required kernel to 2023/06/01

    -- general cleanup

    -- When creating \immediateaddtocontents we copy and patch
    \addtocontents, with 2025 kernel the second patch failed due to
    updated kernel code, now back in line whenever the new macro used
    exists

    -- removed reference to obsolete subfigure package, replaced with
    reference to subcaption.

    -- remembered to redefine \addtopsmarks as it was using a macro now
    deprecated

    -- fixed typo in \m@m@makecoltext that caused \enlargethispage to
    malfunction. Reported in
    https://tex.stackexchange.com/q/747571/3929

    -- changed \bookrefname, \partrefname and \appendixrefname to use
    \bookname, \partname and \appendixname instead of being hardcoded.
    Suggested in private email

    -- marked \fref, \tref, \pref, \Aref, \Bref, \Pref, \Cref, \Sref as
    deprecated encouraging users to define their own version in the
    preamble. Too many packages these days provide referencing macros,
    general use classes should not.

    Any use of them will now give a warning, encouraging the user to
    define the macro in their preamble instead.

    -- added \settitlingpagenumbering and adjusted the titlingpage env
    such that inside it \thepage uses the formatting macro set via
    \settitlingpagenumbering (it expects a macro to format the presence
    of a counter).

    The main use is \settitlingpagenumbering{\Alph} when using hyperref
    in order to get rid of a duplicate destination warning caused by
    the titlingpage env.

    -- \createplainmark simplified via Expl3

    -- dropped the use of the textcase package as the functionality is now
    in the kernels \MakeUppercase and \MakeLowercase macros. We provide
    \MakeTextUppercase and \MakeTextLowercase as aliases unless
    textcase is manually loaded by the user.

    Internally we reverted back to using \MakeUppercase and
    \MakeLowercase.

    -- \settocpreprocessor marked deprecated as the problem it was addes
    to solve (upper/lower casing toc entries), is now fixed in the
    \MakeUppercase and \MakeLowercase macros provided by the kernel.

    -- Fixed typo in \cftbookbreak

    -- copied a feature from book.cls where \chapter writes
    \chaptername/\appendixname plus number to the log.

    Felt like a nice debugging tool.

    -- replaced all uses of \phantomsection with more suitable
    \MakeLinkTarget's

    -- added suitable \MakeLinkTarget to \book, \part and \chapter when
    ever they are used and there is not \refstepcounter involved (aka
    say \chapter* or within \frontmatter). This is required on the road
    to supporting tagging.

    -- the overwriting of \@xsect changed to a patch

    -- fixed issues with \cftaddtitleline and cftaddnumtitleline

    -- Removed email addresses of issue/suggestion reporters from the
    sources. Seemed like an invasion of privacy to keep them from 20+
    years ago.

    -- fixed issue with \bitwonumcaption which caused duplicate target
    warning when used with hyperref.

    -- fixed a bug in \subcaption and friends initially reported here:
    https://github.com/latex3/latex2e/issues/1861

    Ulrikes proposed solution simplifies our code a lot, and removes a
    \let\label... which is a dangerous construction nowadays.

    As a consequence the allowed \label syntax of \label(bookmark}{key}
    inside \subcaption and friends has been discontinued.

    -- additions to \end@float and \end@dblfloat changed to cmd-before
    hooks.

    -- adjusted \subtop and \subbottom such that \label inside contents
    works, not just as part of subtitle.

    Plan to rework these two a bit more in 3.8.5


    o memhfixc v1.24

    -- some old code removed

    -- \@sbook adjusted to look more like the current hyperref version of
    \@spart.

    -- added \bookautorefname for more languages

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

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

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


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

    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 .
    --- Synchronet 3.21a-Linux NewsLink 1.2