[l2h] \providecommand acting like \renewcommand

Julius Smith jos@w3k.org
Sun, 04 Aug 2002 01:34:34 -0700


The following test program illustrates an inconsistency between l2h and latex:
---
% test.tex:
\documentclass{article}
\newcommand{\color}{black}
\providecommand{\color}{white}
\begin{document}
I am \color. % latex prints 'black', l2h prints 'white'.
\end{document}
---

Julius