Le 22/09/2011 06:18, Cédric Boutillier a écrit : > On Thu, Sep 22, 2011 at 05:09:23AM +0200, JP Guillonneau wrote:
>> une solution possible : modifier dans le fichier debiantutorial.sty >> \frametitle{Outline} par \frametitle{Plan} > > Bien vu ! Je vais essayer voir comment utiliser po4a pour traduire les > chaînes (ou plutôt la chaîne) de debiantutorial.sty. En pièce jointe une proposition. En revanche, je ne sais pas s'il existe une méthode propre pour charger automatiquement le paquet debiantutorial.fr (on peut modifier son nom) à la place de debiantutorial. Au pire, on peut faire s/debiantutorial/&.fr/ dans le fichier TeX français après sa création par po4a… Amicalement David
From 130cc665a38ebf5251f77efc995c54170d89c7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= <taf...@debian.org> Date: Thu, 22 Sep 2011 19:42:08 -0400 Subject: [PATCH] =?UTF-8?q?Translate=20=E2=80=9COutline=E2=80=9D=20in=20debi?= =?UTF-8?q?antutorial.sty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- po4a/definitions | 11 +++++++++++ po4a/po4a.cfg | 2 ++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/po4a/definitions b/po4a/definitions index 188cdce..652daaf 100644 --- a/po4a/definitions +++ b/po4a/definitions @@ -19,3 +19,14 @@ % po4a: command *hhbr % po4a: command *small % po4a: command *seprule + +% po4a: command *newcommand {}[]{} +% po4a: command *renewcommand {}{} +% po4a: command *lstset {} +% po4a: command *usetikzlibrary {} +% po4a: command *setbeamercovered {} +% po4a: command *beamertemplatetransparentcovereddynamic +% po4a: command *pgfdeclareimage []{}{} +% po4a: command *logo {} +% po4a: command *AtBeginSection []{_} +% po4a: command *frametitle {_} diff --git a/po4a/po4a.cfg b/po4a/po4a.cfg index 4aae180..63e17b8 100644 --- a/po4a/po4a.cfg +++ b/po4a/po4a.cfg @@ -5,3 +5,5 @@ [type: latex] packaging-tutorial.tex \ $lang:packaging-tutorial.$lang.tex \ add_$lang:?po4a/add_$lang/$lang.add +[type: latex] debiantutorial.sty \ + $lang:debiantutorial.$lang.sty -- 1.7.6.3
signature.asc
Description: OpenPGP digital signature