Le jeudi 29 mars 2007 01:12, Romain Beauxis a écrit :
> > make manual.pdf
> >
> > [...]
> >
> > [6] [7]
> > ! Extra \endgroup.
> > [EMAIL PROTECTED] ...EndListFrame [EMAIL PROTECTED] \endgroup
> >                                                   [EMAIL PROTECTED]
> > l.209 \end{Verbatim}
> >
> > ?
>
> This is certainly broken..

Fixed.. Though it was not me, but some verbatim code
in the wiki that used the %% syntax and not %%(foo)..

-> Fixed perl regexp:
--- wiki2tex    (révision 3128)
+++ wiki2tex    (copie de travail)
@@ -43,7 +43,7 @@
     s/==[ ]*(.*)[ ]*==/\\paragraph{$1}/;
     $_ .= "\\label{$fname}\n" if (/\\section/);

-    s/%%\(.*\)/$in_verbatim=1; 
"\\begin{Verbatim}[frame=single,fontsize=\\small]"/e;
+    if (!$in_verbatim) { s/%%(\(.*\))?/$in_verbatim=1; 
"\\begin{Verbatim}[frame=single,fontsize=\\small]"/e; }
     s/%%/$in_verbatim=0; "\\end{Verbatim}"/e;

     s/\%/\\\%/g unless $in_verbatim ;



Romain
-- 
mama say
son, you've got to stay home today
there's a hole in the roof
you've got to make it waterproof

Répondre à