Skip to content

fix(latex): tokenize verbatim verbatiminput like lstinputlisting - #405

Open
HaoZeke wants to merge 1 commit into
mainfrom
impl-b/snapper-1d75
Open

HaoZeke wants to merge 1 commit into
mainfrom
impl-b/snapper-1d75

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

tools/verbatim.sty \verbatiminput{file} / \verbatiminput*{file}.

The command stays atomic. Following prose still splits. lstinputlisting / inputminted unchanged.

Closes #398.

Do not hand-edit CHANGELOG.md.

verbatim.sty \verbatiminput{file} / \verbatiminput*{file} is one leftover
command. Tokenize it before \verb so the span stays atomic. A leftover
walker emits the command as Structure so following flush After. does
not join. After. / Next. still split. lstinputlisting / inputminted
unchanged.

GitHub #398.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LaTeX verbatim verbatiminput joins following prose

1 participant