Skip to content

fancyvrb's "samepage=true" keyword is ignored since fvextra v1.11.0 #32

@akiyks

Description

@akiyks

MWE:

\documentclass{article}
\usepackage{fvextra}
\usepackage[english,latin,provide=*]{babel}
\usepackage{lipsum}

\begin{document}

\section{Intro}

\lipsum[1-4]

\lipsum[5][1-9]

\begin{Verbatim}[samepage=true,frame=single]
  [samepage=true]
  Short code
  Short code
  Short code
\end{Verbatim}

\lipsum[5][10-]

\lipsum[6]

\end{document}

With fvextra < 1.11.0, the verbatim block as a whole is pushed into page 2, which is the expected behavior.
With fvextra >= 1.11.0, the block is broken in the middle.

Bisection blames ac210ec as the first bad commit.

Can you please have a look into this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions