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

Using thresholdtype=words results in error #57

Open
titanic-jb opened this issue Nov 21, 2021 · 0 comments
Open

Using thresholdtype=words results in error #57

titanic-jb opened this issue Nov 21, 2021 · 0 comments

Comments

@titanic-jb
Copy link

As seen on TeX.SE csquotes will give an error message, when using the thresholdtype=word option.

\documentclass[a4paper,11pt, oneside, parskip=false]{scrbook}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% \usepackage[autostyle=true, german]{csquotes}
%% This gives an error!
\usepackage[autostyle=true, german, threshold=2, thresholdtype=words]{csquotes}
%% Same here!
% \ExecuteQuoteOptions{thresholdtype=words}
%% This works as expected!
% \ExecuteQuoteOptions{thresholdtype=lines}

\begin{document}

%% This works:
\blockquote{
  \begin{enumerate}
  \item Wiederholte Einwirkungen
  \item Impulse mit längerer Einwirkungsdauer, z.\,B.\ Fußauftritte
  \item Impulse mit kürzerer Einwirkungsdauer.
  \end{enumerate}
}

%% ... while this gives an error, but only, if the option thresholdtype=words is used!
\blockquote{7.3.3 Wohnungsdecken
  \begin{enumerate}
  \item Wiederholte Einwirkungen
  \item Impulse mit längerer Einwirkungsdauer, z.\,B.\ Fußauftritte
  \item Impulse mit kürzerer Einwirkungsdauer.
  \end{enumerate}
}

\end{document}

LaTeX throws an error about a missing \item.

I consider this a bug?

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