From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108092 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Garulfo Newsgroups: gmane.comp.tex.context Subject: Re: french translation of ConTeXt interface - progress (v3) Date: Sun, 19 Jul 2020 20:27:05 +0200 Message-ID: References: <6F5F4B21-B52E-488E-A231-D5B0C8D3F563@fiee.net> <418bbff4-cf97-20a8-2360-4a9c38d3da72@xs4all.nl> <22126862-aa22-e319-4e5c-afed68acf0c1@azules.eu> <5c09fa78-35ed-0b67-6c24-2b2a5539665d@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------034BBFBFDE95C334608C0F5C" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34682"; mail-complaints-to="usenet@ciao.gmane.io" To: Wolfgang Schuster , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 19 20:27:44 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxE2K-0008uc-NY for gctc-ntg-context-518@m.gmane-mx.org; Sun, 19 Jul 2020 20:27:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6B598185C70; Sun, 19 Jul 2020 20:27:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UyDO54mzDczo; Sun, 19 Jul 2020 20:27:20 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C2C3185C8A; Sun, 19 Jul 2020 20:27:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5A661185C70 for ; Sun, 19 Jul 2020 20:27:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2G2OKotmutcj for ; Sun, 19 Jul 2020 20:27:18 +0200 (CEST) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=80.12.242.124; helo=smtp.smtpout.orange.fr; envelope-from=garulfo@azules.eu; receiver= Original-Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 554EF1858F8 for ; Sun, 19 Jul 2020 20:27:17 +0200 (CEST) Original-Received: from azules.eu ([90.46.3.11]) by mwinf5d03 with ME id 56TG230080EFMdW036THH0; Sun, 19 Jul 2020 20:27:17 +0200 X-ME-Helo: azules.eu X-ME-Auth: ZGF2aWQubWFyc2FsQG9yYW5nZS5mcg== X-ME-Date: Sun, 19 Jul 2020 20:27:17 +0200 X-ME-IP: 90.46.3.11 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=azules.eu; s=mailkey; t=1595183226; bh=sIjfAGhj9lXw1oHJ0D2vUv41er0lZOyBN6ID4kXrOPk=; h=Subject:To:References:From:Date:In-Reply-To; b=ZSXyH8LYbKcWXkI4Uu/H1Sm5gLMcCsD6+onumEYFjZX42OSeD7sTcwPHIDMDV+pCQ /MVI9rHUZltWh02dfx/TvJXXzUKK4lTV9Xw9VHAOHiMc5HrChpGs0HggRwOZX6dVpz KdkiMxmiOvke59PIHulk5/PFhUDlFcVrd4iUGpJM= In-Reply-To: <5c09fa78-35ed-0b67-6c24-2b2a5539665d@gmail.com> Content-Language: fr X-MailScanner-ID: E62D12C4295.A342E X-MailScanner: Found to be clean X-MailScanner-From: garulfo@azules.eu X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:108092 Archived-At: This is a multi-part message in MIME format. --------------034BBFBFDE95C334608C0F5C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Thanks a lot !! I'm beginning to be able to typeset some simple example without any struggle. https://wiki.contextgarden.net/File:modele_bonjour_le_monde.pdf The input file is attached in this mail. I have only one remaining issue with this example: the indentation. Despite \setupindenting[medium, yes], the paragraphs are not systematically indented, and I don't really understand the pattern behind it. The point is also visible on the original english version https://wiki.contextgarden.net/File:Hello-world.pdf Le 19/07/2020 à 15:13, Wolfgang Schuster a écrit : > Garulfo schrieb am 19.07.2020 um 13:23: >> >> Hi Wolfgang, >> >> still working on the translation... (Hans pointed out the >> possibilities due to the support of UTF-8, which are just great for >> french language) >> >> zip: https://wiki.contextgarden.net/File:MWE_test_itemize_french.zip >> >> I have difficulties with a simple example >> file: MWE_test_itemize_french.tex >> >> % interface=fr >> \configurerdétailler[style=gras] >> \débuttexte >> \débutdétailler[a] >> \élément Texte premiere >> \élément Texte second >> \findétailler >> \fintexte >> >> It works properly with "minimal" modifications of mult-def.lua >> file: mult-def.lua.initial+diffminimalsetupitemize >> https://wiki.contextgarden.net/File:MWE_test_itemize_french.zip >> >> but with a more complete mult-def.lua >> file: mult-def.lua.complet >> >> I get "The control sequence at the end of the top line of your error >> message was never \def'ed. You can just continue as I'll forget about >> whatever was undefined." >> >> Could you please help me find my way around: what do I need to pay >> attention to so that my other modifications don't break the whole >> mechanism? > > Everything works as expected but you have set a string for the endsetup > element which has become part of your \setupitemize command. > > > Setup commands are created in the following way: > > + + > > this creates in your case the command > > \configurerdétaillerfinconfigurer > > > As you don't want this leave the value of endsetup empty. > > Wolfgang --------------034BBFBFDE95C334608C0F5C Content-Type: text/x-tex; charset=UTF-8; name="modele_bonjour_le_monde.tex" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="modele_bonjour_le_monde.tex" % interface=fr % Document "Bonjour tout le monde!" pour le système de composition ConTeXt % % === Histoire === % 2020-07-18 Garulfo % * Passage en français % 2006-12-29 Sanjoy Mahajan % * Création % % Ce document est du domaine public (pas de droits d'auteur). %=============================================================================== \configurercouleurs[état=activé] % sinon le document est en liveau de gris \définircouleur[couleurtitre][r=0.80,b=0.1,g=0.1] % Métadata du document \configurerinteraction[état=activé, % rendre les liens hypertextes actifs titre={Bonjour le monde!}, soustitre={Un modèle ConTeXt}, auteur={Garulfo}, motclé={modèle ConTeXt}] % urls utiles \utiliserURL[courriel-auteur][mailto:a.u.teur@quelque.part][][a.u.teur@quelque.part] \utiliserURL[wiki] [http://wiki.contextgarden.net][][wiki \ConTeXt\ ] \utiliserURL[garulfo] [mailto:garulfo@azules.eu] [][garulfo@azules.eu] % Composition format A4, impression format A4 \configurertaillepapier[A4][A4] \configurermiseenpage [ espacehaut=2cm, espacearrière=2.5cm, entête=24pt, pdp=36pt, hauteur=milieu, largeur=milieu] % Décommenté ma migne suivant pour visualier la mise en page % \montrercadre % en-tête et pied de page \configurerpdp[style=\italique] \configurertextespdp[\date \hfill Modèle \ConTeXt] \configurernumérotationpage[emplacement={entête,droite}, style=gras] \configurerpolicedecorps[11pt] % 12pt par défaut \configurertête[section,chapitre,sujet][couleur=couleurtitre] \configurertête[section,sujet][style={\ss\bfa}, avant={\grandespace\grandespace}, après={}] \configurertête[chapitre][style={\ss\bfd}] \configurertête[titre][style={\ss\bfd}, avant={\begingroup\configurerpolicedecorps[14pt]}, après={\lignegauche{\ss\tfa A. U. Teur $\langle$\de[courriel-auteur]$\rangle$} \grandespace\grandespace\endgroup}] \configurerdétailler[entre={}, style=gras] % configurer l'espacement inter-paragraphes \configurerespaceblanc[moyen] % Commenter la ligne suivante pour ne pas indenter les paragraphes \configurerindentation[oui, moyen, toujours] \langueprincipale[fr] \langue[fr] \configureraligner[tolerant] \débuttampon[tuftefr] Nous nous épanouissons dans les mondes de l'information - des mondes épais - grâce à notre merveilleuse et quotidienne capacité à sélectionner, éditer, isoler, structurer, mettre en évidence, regrouper, jumeler, fusionner, harmoniser, synthétiser, concentrer, organiser, condenser, réduire, réduire, choisir, catégoriser, cataloguer, classer, énumérer, résumer, scanner, examiner, idéaliser, isoler, discriminer, distinguer, cribler, mettre en boîte, sélectionner, trier, intégrer, mélanger, Inspecter, filtrer, regrouper, sauter, lisser, en morceaux, moyenner, approximer, regrouper, agréger, délimiter, résumer, détailler, passer en revue, plonger, feuilleter, parcourir, jeter un coup d'œil, feuilleter, parcourir, affiner, énumérer, glaner, synoptiser, vanner le blé de la balle et séparer les moutons des chèvres. \fintampon %=============================================================================== \débuttexte \titre{Bonjour le monde!} Ceci est un document modèle \citer{Bonjour le monde}, pour illustrer quelques unes des fonctionnalités de \ConTeXt. Amusez-vous. Vous pouvez trouver beaucoup plus d'information sur le \de[wiki]; le texte précédant doit être coloré et clicable, et un clic devrait vous amener sur le wiki. \débutsujet[titre=Une liste] Voici un exemple de liste \débutdétailler[a] % tags are lowercase letters \élément premier \élément second \élément troisième \findétailler \finsujet %------------------------------------------------------------------------------- \débutsujet[titre=Mathématiques] Une équation peut-être mise en forme en ligne, telle que $e^{\pi i}+1=0$, ou bien en formule \débutformule \int_0^\infty t^4 e^{-t}\,dt = 24. \finformule Vous pouvez également numéroter les équations : \placerformule[eq:exemple_01_formule] \débutformule \int_0^\infty t^5 e^{-t}\,dt = 120. \finformule Il est possible ensuite d'y faire référence par leur now. L'équation précédent a été nommée {\mono eq:exemple_01_formule} et c'est l'équation \dans[eq:exemple_01_formule]. \ConTeXt\ calcule la numérotation pour vous. Et par l'activation des fonctionnalités d'interaction, le numéro de l'équation est un lien hypertexte vers l'équation elle-même. \obtenirtampon[tuftefr] \finsujet %------------------------------------------------------------------------------- \débutsujet[titre=Texte avec des figures] Maintenant, du texte avec quelques figures. La première image est disposée sur la droite, le paragraphe s'écoulant autour d'elle. \placerfigure[droite,aucun]{}{\figureexterne[factice]} \obtenirtampon[tuftefr] La prochaine figure sera positionnée sur sa propre ligne : \placerfigure[ici,aucun]{}{\figureexterne[factice]} \obtenirtampon[tuftefr] Voici une autre référence à l'équation numérotée -- équation \dans[eq:exemple_01_formule] à la \en{page}[eq:exemple_01_formule] -- afin que vous puissiez cliquer dessus ou sur le numéro de page également référencé. \finsujet %------------------------------------------------------------------------------- % La majorité des commandes TeX simple fonctionnent \vfill \encadré[coin=rond, largeur=\textwidth, hauteur=2.5cm, couleurarrièreplan=gris, arrièreplan=couleur] {Ce document est dans le domaine public, ainsi vous pouvez l'améliorer, le partager, autrement dit en faire ce que vous souhaitez. Les suggestions sont les bienvenues. Vous pouvez me les envoyer à \de[garulfo] (Garulfo).} \fintexte --------------034BBFBFDE95C334608C0F5C Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --------------034BBFBFDE95C334608C0F5C--