diff --git a/lolipop.cls b/lolipop.cls index b867f48..e59a535 100644 --- a/lolipop.cls +++ b/lolipop.cls @@ -164,18 +164,10 @@ \renewcommand{\emph}[1]{{\it#1}} \newcommand{\strong}[1]{{\bf\magenta#1}} % Ainsi que pour les exergues, que nous définirons comme un paragraphe centré -% dans la marge. -\NewEnviron{exergue}{ - \let\href\fnhref - \marginpar{ - \checkoddpage\ifoddpage\raggedright\else\raggedleft\fi - \begin{minipage}{4.0cm} - \centering - \bf\large\magenta - \BODY - \end{minipage} - } - \let\href\mphref +\newcommand{\exergue}[1]{ + \vskip 20\p@ + {\centering\bf\large\magenta #1} + \vskip 20\p@ } %%% Hyperliens %%% diff --git a/tools/wiki2tex.sed b/tools/wiki2tex.sed index 385131d..eb80e8e 100755 --- a/tools/wiki2tex.sed +++ b/tools/wiki2tex.sed @@ -23,6 +23,7 @@ s///g s/'''\([^\('''\)]*\)'''/\\strong{\1}/g s/''\([^\(''\)]*\)''/\\emph{\1}/g s/\([^<]*\)<\/em>/\\emph{\1}/g +s/{{Exergue|\(.*\)}}/\\exergue{\1}/g # buggy ... s/\([^\(<\/ref>\)]*\)<\/ref>/\\emph{\1}/g