I wanted to reduce the space between the items in all the enumerations in a document, so I renewed the environment using
\let\oldenum\enumerate
\let\oldendenum\endenumerate
\renewenvironment{enumerate}{\oldenum\setlength{\parskip}{\smallskipamount}}{\oldendenum}
But then when I tried to change the label of an enumeration to use roman number I got an error saying Missing number, treated as zero. Here is a simple code reproducing the error. Anybody has an idea what is the problem here??
Thanks in advance.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage{parskip}
\let\oldenum\enumerate
\let\oldendenum\endenumerate
\renewenvironment{enumerate}{\oldenum\setlength{\parskip}{\smallskipamount}}{\oldendenum}
\begin{document}
\begin{enumerate}[label=\roman*)] % THIS THROWS A COMPILATION ERROR
\item one
\item two
\item three
\end{enumerate}
\end{document}

\smallskipamount? – TeXnician Feb 08 '17 at 19:13\smallskipamountis a LaTeX built in, as far as I know – Feb 08 '17 at 19:15enumitemand set parskip manually? – TeXnician Feb 08 '17 at 19:16enumitemsetup as you have loaded that package. – David Carlisle Feb 08 '17 at 19:17enumitem'sparsepproperty? It does your task. – TeXnician Feb 08 '17 at 19:17\begin{oldenum}\setlength{\parskip}{\smallskipamount}[label=\roman*)]so clearly the old environment will not see the optional argument. – David Carlisle Feb 08 '17 at 19:19