Skip to content

\NewSseqGroup is not compatible with starring #25

Description

@bensteffan

\NewSseqGroup seems to be incompatible with xparse's s argument specifier which detects starred variants of commands. Compiling

\documentclass{article}

\usepackage{tikz}
\usepackage{spectralsequences}

\NewSseqGroup\thisfails{s}{
	\d2 (0, 0)
}

\begin{document}
\begin{sseqpage}[Adams grading]
	\class (0, 2)
	\class (1, 0)
	\thisfails* (1, 0)
\end{sseqpage}
\end{document}

on my machine (TeX Live 2025, LuaHBTeX 1.22.0) fails with the error

./mwe.tex:14: Package spectralsequences Error: No classes yet exist in (0,0), the source
(spectralsequences)  of differential.
(spectralsequences)  
(spectralsequences)  Error occurred during call "\d2 (0, 0)". 
(spectralsequences)  
(spectralsequences)  Stack trace:
(spectralsequences)     \thisfails * -- on input line 14

so it seems like the (1, 0) is not passed through/turned into appropriate shifts. The unstarred version works as expected. The MWE also produces missing character warnings:

Missing character: There is no ( (U+0028) in font nullfont!
Missing character: There is no 1 (U+0031) in font nullfont!
Missing character: There is no , (U+002C) in font nullfont!
Missing character: There is no 0 (U+0030) in font nullfont!
Missing character: There is no ) (U+0029) in font nullfont!

The documentation does not explicitly say what subset of argument specifiers is supported by \NewSseqGroup and friends. Many of the examples given are for how to use \NewDocumentCommand, so my guess is that \NewSseqCommand and \NewSseqGroup are supposed to support the full range of specifiers. If that's not the case then clarifying the documentation on that point would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions