[powerdot] Re: [patch] fix powerdot w/ French
- From: Patrice Mégret <Patrice.Megret@xxxxxxxxxxx>
- To: "powerdot@xxxxxxxxxxxxx" <powerdot@xxxxxxxxxxxxx>
- Date: Tue, 1 Dec 2009 14:46:28 +0100
Dear Jürgen
To use powerdot with babel in french, simply use the following code (just add
\frenchbsetup{StandardLists=true} in the preamble):
\documentclass[
size=11pt,
style=default,
paper=a4paper,
%% Try me!
%% orient=portrait,
%% mode=handout,
display=slidesnotes,
%% pauseslide,
nohandoutpagebreaks,
fleqn,
hlentries=true,
hlsections=true
]{powerdot}
\usepackage{t1enc}
\usepackage[latin1]{inputenc}
\usepackage[francais]{babel}
\frenchbsetup{StandardLists=true}
\begin{document}
\begin{slide}[toc=]{test}
\begin{itemize}
\item Essai de slides
\item en français
\end{itemize}
\end{slide}
\end{document}
Best regards,
Patrice Mégret
-----Message d'origine-----
De : powerdot-bounce@xxxxxxxxxxxxx [mailto:powerdot-bounce@xxxxxxxxxxxxx] De la
part de Jürgen Spitzmüller
Envoyé : lundi 30 novembre 2009 14:35
À : powerdot@xxxxxxxxxxxxx
Objet : [powerdot] [patch] fix powerdot w/ French
Hi there,
I figured that I need the following patch (against v. 1.3 of powerdot) in
order to compile French documents with recent babel (frenchb.ldf >= 2.0):
--- powerdot.cls.old 2006-07-15 00:42:30.000000000 +0200
+++ powerdot.cls 2009-11-30 14:15:56.000000000 +0100
@@ -1335,9 +1335,11 @@
\AtBeginDocument{%
\@expandtwoargs\in@{,frenchb.ldf,}{,\@filelist,}%
\ifin@
+ \@ifundefined{frenchbsetup}{%
\let\bbl@frenchindent\relax
\let\bbl@frenchitemize\relax
\let\bbl@frenchlistspacing\relax
+ }{\frenchbsetup{StandardLists=true}}
\fi
}
\ifnum\pd@mode=\z@
Regards,
Jürgen
Important notification: In the context of the creation of the University of
Mons, FPMs email address policy is changing from '@fpms.ac.be' to
'@umons.ac.be' (or @student.fpms.ac.be to @student.umons.ac.be), please update
your contact list accordingly.
Note importante: Dans le cadre de la création de l'Université de Mons, la
stratégie d'adresse de courrier électronique de la FPMs change de '@fpms.ac.be'
à '@umons.ac.be' (ou @student.fpms.ac.be to @student.umons.ac.be), merci de
mettre à jour votre liste d'adresses en conséquence.
Other related posts: