qinglee / wrapstuff

Wrapping text around stuff
https://ctan.org/pkg/wrapstuff
LaTeX Project Public License v1.3c
11 stars 4 forks source link

curly bracket {} in trivlist cause error #19

Open DailyShana opened 3 months ago

DailyShana commented 3 months ago

MME:

\documentclass{ctexart}
\usepackage{wrapstuff}
\usepackage{graphicx}

\begin{document}
\begin{trivlist}
  \item {[} 是左方括号
\end{trivlist}

\begin{wrapstuff}[l]
\includegraphics[width=4cm]{example-image.pdf}
\end{wrapstuff}

\begin{trivlist}
  \item {[} 是左方括号
\end{trivlist}
\end{document} 

error in log:

...
! Extra }, or forgotten \endgroup.
l.25   \item {[}
                 是左方括号
? 
muzimuzhi commented 3 months ago

Could be another duplicate of #11.