• CTAN update: chemidentifier

    From CTAN Announcements@petra@ctan.org to ctan-ann on Mon Sep 21 21:12:47 2026
    From Newsgroup: comp.text.tex

    Aliocha Skrzypczak submitted an update to the

    chemidentifier

    package.

    Version: 2.0.1 2026-09-20
    License: lppl1.3c

    Summary description: Synthesis-order numbering and hyperlinking of chemical compounds

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

    ### Fixed

    - `\chemidscheme` crashed with a raw Lua error
    (`attempt to index a nil value`) when used before any `\chemidkey`
    or `\chemidnote` had run earlier in the document. An unlabelled
    scheme (a lone structure, a graphical abstract, a figure whose
    labels are already typeset) is a legitimate use of `\chemidscheme`
    and is now simply typeset verbatim. Fixed identically in
    `chemidentifier-v2.sty` and the frozen `chemidentifier-v1.sty`.
    - The text substitution performed by `\chemidscheme` was a plain,
    unanchored substring replacement applied to *every* line of the
    `.pdf_tex`, including the `\includegraphics` line. A motif that
    happens to be a substring of the companion PDF's file name rCo easy to
    trigger, since both are usually named after the compound rCo rewrote
    the image path itself and broke the figure with an obscure
    `\csname` error. The `\includegraphics` line is now left untouched,
    and a new warning names the motif and the figure when this would
    have happened, instead of failing silently downstream.

    ### Changed

    - **`links` (version 2, `\chemidsetup`) now defaults to `false`
    instead of `true`.** Compounds are typeset as plain numbers by
    default; add `links=true` rCo as a package option
    (`\usepackage[links=true]{chemidentifier}`) or via `\chemidsetup` rCo
    to restore clickable links and anchors as before. This only affects
    version 2 (`\usepackage[version=2]` or the default); version 1 has
    no `links` key and is unaffected.

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

    The packagerCOs Catalogue entry can be viewed at
    https://ctan.org/pkg/chemidentifier

    The packagerCOs files themselves can be inspected at
    https://mirrors.ctan.org/macros/latex/contrib/chemidentifier/

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

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