josephwright / etoolbox

Tool-box for LaTeX programmers using e-TeX
LaTeX Project Public License v1.3c
41 stars 7 forks source link

\NewCommandCopy with \endminipage #41

Closed bdtc closed 2 years ago

bdtc commented 2 years ago
\documentclass{article}

\usepackage{etoolbox}

\NewCommandCopy{\mytest}{\endminipage}

\begin{document}
Some text.
\end{document}

! Paragraph ended before \etb@carsquare was complete.

The above works fine without etoolbox.

The above also works fine with etoolbox and most other environments.

muzimuzhi commented 2 years ago

Duplicate of #35. Already fixed but not released yet.

btw There's a mis-spelling in issue title: \NewCopyCommand should be \NewCommandCopy.

bdtc commented 2 years ago

Edited the title.