Skip to content

handling of unknown keys in the block code #1317

@u-fischer

Description

@u-fischer

An unknown key on an itemize environment error but is silently ignored e.g. on a quote:

\DocumentMetadata{}
\documentclass{article}
\begin{document}
\begin{quote}[unknownkey=bla]
a
\end{quote}

\begin{itemize}[unknownkey=bla]
\item a
\end{itemize}

\end{document}
! Package block Error: Some keys specified on the itemize environment are
(block)                unknown.

Perhaps the test for unused keys should better be done in \BlockEnvEnd?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions