Note: Delete an element from a comma delimited list is not a duplicate.
What I want to do is have a list environment of items, like itemize and enumerate, but I want the output to be delimited by commas instead of new lines.
Take this example from http://en.wikibooks.org/wiki/LaTeX/List_Structures :
\begin{list_type}
\item The first item
\item The second item
\item The third etc \ldots
\end{list_type}
I want the list type to output something that looks like this:
The first item, The second item, The third etc ...
With line breaks only when an item hits the right edge of the page. So if the right-hand margin were right after "third," we'd have,
The first item, The second item,
The third etc ...
instead of
The first item, The second item, The third
etc ...
Am I approaching this wrong in thinking that it should be a list structure? How can I do this with LaTeX?
and
): Comma-separated list