• CTAN update: KKluaverb

    From CTAN Announcements@petra@ctan.org to ctan-ann on Fri Jun 12 16:48:33 2026
    From Newsgroup: comp.text.tex

    Kosei Kawaguchi submitted an update to the

    KKluaverb

    package.

    Version: 2.2.0 2026-06-11
    License: mit

    Summary description: Provides a Lua-enhanced versatile \verb command

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

    The raw scanner now tracks which command opened it: a scan started
    by \KKcodeS is terminated only by \KKcodeE, so the \KKverb delimiter
    character (e.g. |) can now appear freely inside the code environment.
    Conversely, \KKcodeS and \KKcodeE can be displayed literally in the
    argument of \KKverb.

    New: a literal \KKcodeE can be output inside the code environment
    by preceding it with an escape character (default: backslash),
    configurable via \KKvSetCodeEscape.

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

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

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

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

    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
  • From CTAN Announcements@manfred@ctan.org to ctan-ann on Mon Jun 22 10:44:00 2026
    From Newsgroup: comp.text.tex

    Kosei Kawaguchi submitted an update to the

    KKluaverb

    package.

    Version: 2.3.0 2026-06-12
    License: mit

    Summary description: Provides a Lua-enhanced versatile \verb command

    Announcement text: --------------------------------------------------------------------------------
    Changes in this release (v2.3.0):

    - New options `wrap` and `wrapindent` for `\KKcodeS/E` blocks: when
    `\KKvOpChange{wrap=true}` is set, lines that exceed `\linewidth` are
    automatically wrapped instead of producing Overfull `\hbox` warnings.
    Continuation lines are indented by the original code indentation plus the
    value of `wrapindent` (default: 2em). This feature is available for
    style=1 and style=2 (line-numbered); continuation lines in style=2 do not
    receive a line number.

    - New command `\KKvSetMapTeX{<char>}{<tex-cmd>}`: maps a verbatim character
    to a TeX command, which is emitted via `tex.sprint` (with expansion) at
    output time. This complements the existing `\KKvSetMap` (character-to-
    character substitution) and is useful in Japanese font contexts where
    U+2423 (OPEN BOX, rEu) may be rendered as a full-width glyph.

    - New command `\KKvSpaceVisible`: convenience wrapper for
    `\KKvSetMapTeX{ }{\textvisiblespace}`, making spaces in verbatim output
    appear as the half-width visible-space symbol provided by `textcomp`.

    - New command `\KKvClearMapTeX{<char>}`: removes the TeX-command mapping for
    the given character and restores the default behaviour (for space: reverts
    to the automatic non-breaking space substitution). --------------------------------------------------------------------------------

    This package is located at
    https://mirrors.ctan.org/macros/luatex/latex/kkluaverb

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


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

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