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

Unbalanced nested quotation marks with [french]{babel} and csquotes #73

Open
AntoineGautierUL opened this issue Aug 13, 2024 · 0 comments

Comments

@AntoineGautierUL
Copy link

(I posted this here: tex.stackexchange.com)

I am using both [french]{babel} and csquotes. I get some unexpected behavior resulting in unbalanced quotation marks:

\enquote{Oui, mais \enquote{non}} yields « Oui, mais « non » (notice a single closing guillemet and wrong quotation marks at the nested level.

Using the babel \frquote command, things come out OK: \frquote{Oui, mais \frquote{non}} yields « Oui, mais "non" ».

Here is my test code:

\documentclass{article}
\usepackage[french=guillemets]{csquotes}
\usepackage[french]{babel}

\begin{document}
\enquote{Oui, mais \enquote{non}} (wrong)\hfill % « Oui, mais « non »
\frquote{Oui, mais \frquote{non}} (right).\\    % « Oui, mais "non" »
\end{document}

Would that be a bug? Thanks!

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

No branches or pull requests

1 participant