Does anyone have a filter or some other trick for producing lists with custom markers? For example, I'd like to transform something like this:

P1.  All men are mortal.
P2. Socrates is a man.
C.  Socrates is mortal.

into an itemized list like this:

\begin{itemize}
\item[P1]
All men are mortal.
\item[P2]
Socrates is a man.
\item[C]
Scorates is mortal.
\end{itemize}

The best solution I've come up with is to format the list as a definition list, convert it to LaTeX, and replace the definition environment with the itemize environment. I suppose I could instead redefine the definition list environment, but that seems a bit heavy-handed.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/00380dc8-ab11-44b7-bb1f-c9d37c182629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.