Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mangled spaces after commas since 1.6 #21

Closed
melmorabity opened this issue Nov 28, 2023 · 4 comments
Closed

Mangled spaces after commas since 1.6 #21

melmorabity opened this issue Nov 28, 2023 · 4 comments
Labels

Comments

@melmorabity
Copy link

melmorabity commented Nov 28, 2023

Since a few days, I noticed that the spaces after commas in my minted environments, with the "text" language, have disappeared.
This issue started after upgrading fvextra to version 1.6.

Here is a MWE:

\documentclass{article}
\usepackage{fvextra}
\begin{document}
\begin{Verbatim}
1, 2, 3, 4, etc
\end{Verbatim}
\end{document}

When compiled, the output appears as: 1,2,3,4,etc (spaces after commas are not rendered).

The same example, with the previous 1.5 version (or with fancyvrb loaded without fvextra) is rendered as expected: 1, 2, 3, 4, etc

@muzimuzhi
Copy link

git bisect says the first bad commit is 703d6a0.

@gpoore gpoore added the bug label Nov 28, 2023
@gpoore
Copy link
Owner

gpoore commented Nov 28, 2023

I'm working on a new release with a bugfix. For the next day or two, until the new version is available on CTAN, this can be patched in the document preamble:

\makeatletter
\let\FV@SpaceCatTen\ %
\makeatother

@gpoore
Copy link
Owner

gpoore commented Nov 29, 2023

I've just released v1.6.1. You can download the new fvextra.sty to start using it immediately, or update with your TeX distribution package manager in a day or two once the new version is processed by CTAN.

@gpoore gpoore closed this as completed Nov 29, 2023
@melmorabity
Copy link
Author

Thank you @gpoore , this new release fixes the issue (with minted too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants