Am 21.09.2010 um 11:20 schrieb pol stra:

2010/9/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
> http://pastie.org/1091180
> http://pastie.org/1091177

I renamed the first one into "cv.tex" and the second one into "moderncv.tex".
When i run texexec cv.tex, i’ve got this message :

> Runaway argument?
> {{\margintext {##1} ##2
> ! Paragraph ended before \complexdefine was complete.
> <to be read again>
>                   \par
> l.87 {{\margintext{#1} #2 \par
>                               }}
>

i don’t understand why.

Change in moderncv.tex

\define[2]\cvcompactentry
{{\margintext{#1} #2 \par}}

to

\define[2]\cvcompactentry
  {\margintext{#1} #2 \endgraf}

This isn't the only problem when you use the code with mkii, the author
wrote it for mkiv and used the marvosym font in a way which doesn't work
with pdftex.

Wolfgang