<?xml
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>

<channel xml:lang="fr">
	<title>Geekographie Ma&#239;eulesque</title>
	<link>http://geekographie.maieul.net/</link>
	<description>Ce site est consacr&#233; &#224; quelques unes des mes geekeries. J'y donne des conseils, des r&#233;flexions, sur les logiciels et les langages que je connais ou que j'apprends. J'y parle notamment de l'usage de LaTeX en sciences humaines et sociales, en particulier pour la gestion de la bibliographie. Le contenu peut &#234;tre sous la forme d'articles d&#233;taill&#233;s ou de simples notes. L'ensemble du contenu est, sauf pr&#233;cision contraire, sous licence Cr&#233;ative Commons Paternit&#233;-Partage des Conditions Initiales &#224; l'identique France.</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>
	<atom:link href="http://geekographie.maieul.net/spip.php?page=backend" rel="self" type="application/rss+xml" />




<item xml:lang="fr">
		<title>Mixer num&#233;rotation continue et discontinue
</title>
		<link>http://geekographie.maieul.net/Mixer-numerotation-continue-et</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Mixer-numerotation-continue-et</guid>
		<dc:date>2013-05-13T19:45:47Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Une personne souhaitait m&#233;langer dans un texte deux types de num&#233;rotation de lignes, l'une continue, l'autre discontinue. Il n'est pas possible de faire cela directement avec les commandes eledmac, mais avec un peu d'astuce, on peut r&#233;soudre le probl&#232;me. Description du probl&#232;me Le demandeur travaille sur un texte alternant po&#233;sie et vers. Il souhaitait que la num&#233;rotation de le prose recommence &#224; 1 en d&#233;but de chaque passage, mais que la num&#233;rotation des vers soit continue, comme dans l'exemple joint. (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-e-led-mac-par-" rel="directory"&gt;(e)led(mac/par)
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;&lt;a href=&quot;http://www.guitex.org/home/en/forum/14-edizioni-critiche/85170-problemi-con-le-impostazioni-della-numerazione&quot; class='spip_out' rel='external'&gt;Une personne souhaitait m&#233;langer dans un texte deux types de num&#233;rotation de lignes&lt;/a&gt;, l'une continue, l'autre discontinue. Il n'est pas possible de faire cela directement avec les commandes eledmac, mais avec un peu d'astuce, on peut r&#233;soudre le probl&#232;me.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Description du probl&#232;me&lt;/h3&gt;&lt;dl class='spip_document_84 spip_documents spip_documents_left' style='float:left;'&gt;
&lt;dt&gt;&lt;a href=&quot;http://geekographie.maieul.net/IMG/pdf/italie.pdf&quot; title='PDF - 121.5&#160;ko' type=&quot;application/pdf&quot;&gt;&lt;img src='http://geekographie.maieul.net/local/cache-vignettes/L52xH52/pdf-39070.png' width='52' height='52' alt='PDF - 121.5&#160;ko' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-84 spip_doc_titre' style='width:120px;'&gt;&lt;strong&gt;Alterner num&#233;rotation continue et discontinue
&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;Le demandeur travaille sur un texte alternant po&#233;sie et vers. Il souhaitait que la num&#233;rotation de le prose recommence &#224; 1 en d&#233;but de chaque passage, mais que la num&#233;rotation des vers soit continue, comme dans l'exemple joint.&lt;/p&gt; &lt;p&gt;Chaque bloc de vers / de prose correspond &#224; un &lt;code class='spip_code' dir='ltr'&gt;\beginumbering...\endnumbering&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;On ne peut utiliser &lt;code class='spip_code' dir='ltr'&gt;\pausenumbering ... \resumenumbering&lt;/code&gt;&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb3-1' class='spip_note' rel='footnote' title='Qui permettent d'arr&#234;ter un passage num&#233;rot&#233; sans pour autant r&#233;initialiser la (...)' id='nh3-1'&gt;1&lt;/a&gt;]&lt;/span&gt; puisque nous alternons num&#233;rotation continue et num&#233;rotation discontinue.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Solution : principe&lt;/h3&gt;
&lt;p&gt;Le principe de la solution est assez simple :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; &#224; la fin de chaque s&#233;rie de vers, sauvegarder le num&#233;ro de la ligne dans un compteur.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; en d&#233;but de chaque s&#233;rie de vers, except&#233;e la premi&#232;re, changer la num&#233;rotation, en utilisant le compteur.&lt;/p&gt; &lt;p&gt;Nous allons donc d&#233;finir deux commandes dans le pr&#233;ambule : &lt;code class='spip_code' dir='ltr'&gt;\savestanzaline&lt;/code&gt;, que nous placerons entre &lt;code class='spip_code' dir='ltr'&gt;\&amp;&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;\endnumbering&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;\restorestanzaline&lt;/code&gt;que nous placerons entre &lt;code class='spip_code' dir='ltr'&gt;\beginnumbering&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;\stanza&lt;/code&gt;&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb3-2' class='spip_note' rel='footnote' title='Sauf pour le premier bloc de vers.' id='nh3-2'&gt;2&lt;/a&gt;]&lt;/span&gt;, selon l'exemple ci-dessous :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\beginnumbering&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\restorestanzaline&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\stanza&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;span style=&quot;color: #E02020; &quot;&gt;&amp;&lt;/span&gt; &lt;br /&gt;
Questo &#232; il testo in versi &lt;br /&gt;
&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\&amp;&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\savestanzaline&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\endnumbering&lt;/span&gt; &lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/a5920292d616a34b78b28961ced12eb6.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Reste &#224; d&#233;finir ces commandes, ce qui n'est pas une mince affaire.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Solution : mise en &#339;uvre&lt;/h3&gt;
&lt;p&gt;Dans notre pr&#233;ambule, mettre les lignes suivantes :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cmakeatletter&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;makeatletter&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newcount&lt;/span&gt;&lt;span style=&quot;color: #E00000; font-weight: normal;&quot;&gt;\@stanzaline&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cnewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;newcommand&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\savestanzaline&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\global&lt;/span&gt;&lt;span style=&quot;color: #E00000; font-weight: normal;&quot;&gt;\@stanzaline&lt;/span&gt;=&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\line&lt;/span&gt;@num&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cnewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;newcommand&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\restorestanzaline&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\setlinenum&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #E00000; font-weight: normal;&quot;&gt;\@stanzaline&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cmakeatother&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;makeatother&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/9ee84a30769ddde9d8ec01f64e19e030.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Commentaire :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; l. 1 et l. 5 : nos commande manipulent des commandes avec des @ dans le nom. On a donc besoin de &lt;code class='spip_code' dir='ltr'&gt;makeatletter&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;\makeatother&lt;/code&gt; les encadrant.&lt;/li&gt;&lt;li&gt; l. 2 : on d&#233;clare un compteur &lt;code class='spip_code' dir='ltr'&gt;\@stanzaline&lt;/code&gt;. C'est un compteur TeX et non LaTeX. Ce choix ce justifie :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Par &#233;conomie : on n'a pas besoin de toutes fonctionalit&#233;s d'un compteur TeX.&lt;/li&gt;&lt;li&gt; Par simplicit&#233; : un compteur LaTeX aurait pos&#233; des soucis lors de son appel pour modifier les num&#233;ro de lignes.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; l. 3 : la commande &lt;code class='spip_code' dir='ltr'&gt;\savestanzaline&lt;/code&gt; assigne &#224; &lt;code class='spip_code' dir='ltr'&gt;\@stanzaline&lt;/code&gt; la valeur du compteur &lt;code class='spip_code' dir='ltr'&gt;\line@num&lt;/code&gt;, que eledmac utilise pour compter les lignes. Le &lt;code class='spip_code' dir='ltr'&gt;\global&lt;/code&gt; permet que l'assignement d&#233;passe le cadre de la section num&#233;rot&#233;e&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb3-3' class='spip_note' rel='footnote' title='Celle qui est comprise entre et .' id='nh3-3'&gt;3&lt;/a&gt;]&lt;/span&gt;.&lt;/li&gt;&lt;li&gt; l. 4 : la commande &lt;code class='spip_code' dir='ltr'&gt;\setlinenum&lt;/code&gt; est utilis&#233; pour modifier le num&#233;ro de la ligne. Elle est appel&#233;e avant que la num&#233;rotation ne commence. On indique simplement que le num&#233;ro de ligne souhait&#233; correspond au compteur &lt;code class='spip_code' dir='ltr'&gt;\@stanzaline&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Et voici donc comment l'on peut m&#233;langer deux types de num&#233;rotation de lignes.&lt;/p&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb3-1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh3-1' class='spip_note' title='Notes 3-1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;Qui permettent d'arr&#234;ter un passage num&#233;rot&#233; sans pour autant r&#233;initialiser la num&#233;rotation.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb3-2'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh3-2' class='spip_note' title='Notes 3-2' rev='footnote'&gt;2&lt;/a&gt;] &lt;/span&gt;Sauf pour le premier bloc de vers.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb3-3'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh3-3' class='spip_note' title='Notes 3-3' rev='footnote'&gt;3&lt;/a&gt;] &lt;/span&gt;Celle qui est comprise entre &lt;code class='spip_code' dir='ltr'&gt;\beginnumbering&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;\endnumbering&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Du Thesaurus Linguae Graecae &#224; LaTeX
</title>
		<link>http://geekographie.maieul.net/Du-Thesaurus-Linguae-Graecae-a</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Du-Thesaurus-Linguae-Graecae-a</guid>
		<dc:date>2013-04-29T14:00:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Mon script permettant d'adapter des textes extraits du Thesaurus Linguae Graecae &#224; LaTeX a &#233;t&#233; am&#233;lior&#233; avec l'aide de Annette von STOCKHAUSEN. Outre des nouvelles fonctionnalit&#233;s, il est d&#233;sormais configurable. Le pr&#233;sent article a pour vocation &#224; devenir la documentation &#171; officielle &#187; du script &#224; partir de sa version 2.0 [1]. Exemple J'ai extrait du site TLG le texte suivant [2] : &#7964;&#954;&#945;&#956;&#949;&#957; &#8001; &#955;&#972;&#947;&#959;&#962;, &#964;&#959;&#8166;&#964;&#959;&#957; &#964;&#8056;&#957; &#952;&#949;&#963;&#960;&#941;&#963;&#953;&#959;&#957; &#954;&#945;&#8054; &#964;&#961;&#953;&#960;&#972;&#952;&#951;&#964;&#959;&#957; &#914;&#945;&#961;&#957;&#940;&#946;&#945;&#957; &#964;&#8056;&#957; &#7936;&#960;&#972;&#963;&#964;&#959;&#955;&#959;&#957; &#7952;&#960;&#8118;&#961;&#945;&#953; &#964;&#959;&#8150;&#962; &#7952;&#947;&#954;&#969;&#956;&#943;&#959;&#953;&#962; &#960;&#959;&#952;&#8182;&#957;, &#954;&#945;&#8054; &#959;&#8020;&#960;&#969; &#7973;&#968;&#945;&#964;&#959; &#964;&#959;&#8166; (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Python-" rel="directory"&gt;Python
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Mon &lt;a href=&quot;http://geekographie.maieul.net/Du-Thesaurus-Linguae-Graecae-vers?archive=oui&quot; class='spip_in'&gt;script permettant d'adapter des textes extraits du &lt;i&gt;Thesaurus Linguae Graecae&lt;/i&gt; &#224; LaTeX&lt;/a&gt; a &#233;t&#233; am&#233;lior&#233; avec l'aide de &lt;a href=&quot;https://github.com/pharos-alexandria/tlg2latex&quot; class='spip_out' rel='external'&gt;Annette von STOCKHAUSEN&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Outre des nouvelles fonctionnalit&#233;s, il est d&#233;sormais configurable. Le pr&#233;sent article a pour vocation &#224; devenir la documentation &#171; officielle &#187; du script &#224; partir de sa version 2.0&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb5-1' class='spip_note' rel='footnote' title='On nous excusera par cons&#233;quent le caract&#232;re redondant de certaines parties (...)' id='nh5-1'&gt;1&lt;/a&gt;]&lt;/span&gt;.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Exemple&lt;/h3&gt;
&lt;p&gt;J'ai extrait du site TLG le texte suivant&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb5-2' class='spip_note' rel='footnote' title='Il s'agit d'un extrait d'une louange &#224; l'ap&#244;tre Barnab&#233;.' id='nh5-2'&gt;2&lt;/a&gt;]&lt;/span&gt; :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_text code&quot;&gt; &#7964;&#954;&#945;&#956;&#949;&#957; &#8001; &#955;&#972;&#947;&#959;&#962;, &#964;&#959;&#8166;&#964;&#959;&#957; &#964;&#8056;&#957; &#952;&#949;&#963;&#960;&#941;&#963;&#953;&#959;&#957; &#954;&#945;&#8054; &#964;&#961;&#953;&#960;&#972;&#952;&#951;&#964;&#959;&#957;&lt;br /&gt;
&#914;&#945;&#961;&#957;&#940;&#946;&#945;&#957; &#964;&#8056;&#957; &#7936;&#960;&#972;&#963;&#964;&#959;&#955;&#959;&#957; &#7952;&#960;&#8118;&#961;&#945;&#953; &#964;&#959;&#8150;&#962; &#7952;&#947;&#954;&#969;&#956;&#943;&#959;&#953;&#962; &#960;&#959;&#952;&#8182;&#957;,&lt;br /&gt;
&#954;&#945;&#8054; &#959;&#8020;&#960;&#969; &#7973;&#968;&#945;&#964;&#959; &#964;&#959;&#8166; &#960;&#961;&#959;&#959;&#953;&#956;&#943;&#959;&#965;&#183; &#964;&#959;&#8150;&#962; &#947;&#8048;&#961; &#7952;&#960;&#945;&#943;&#957;&#959;&#953;&#962; &#7936;&#960;&#961;&#972;-&lt;br /&gt;
&#963;&#953;&#964;&#959;&#962; &#964;&#965;&#947;&#967;&#940;&#957;&#949;&#953; &#8001; &#952;&#945;&#965;&#956;&#940;&#963;&#953;&#959;&#962;. &#916;&#953;&#8056; &#7936;&#966;&#941;&#957;&#964;&#949;&#962; &#8033;&#962; &#7936;&#957;&#941;&#966;&#953;&#954;&#964;&#959;&#957; (135)&lt;br /&gt;
&#964;&#8056;&#957; &#960;&#949;&#961;&#8054; &#964;&#8182;&#957; &#7952;&#947;&#954;&#969;&#956;&#943;&#969;&#957; &#955;&#972;&#947;&#959;&#957;, &#8000;&#955;&#943;&#947;&#945; &#964;&#8182;&#957; &#949;&#7984;&#962; &#7969;&#956;&#8118;&#962;&lt;br /&gt;
&#7984;&#972;&#957;&#964;&#969;&#957; &#960;&#949;&#961;&#8054; &#964;&#8134;&#962; &#964;&#959;&#973;&#964;&#959;&#965; &#946;&#953;&#974;&#963;&#949;&#969;&#962; &#954;&#945;&#8054; &#964;&#949;&#955;&#949;&#953;&#974;&#963;&#949;&#969;&#962; &#7956;&#954; &#964;&#949;&lt;br /&gt;
&#964;&#959;&#8166; &#931;&#964;&#961;&#969;&#956;&#945;&#964;&#941;&#969;&#962; &#954;&#945;&#8054; &#7952;&#958; &#7953;&#964;&#941;&#961;&#969;&#957; &#7936;&#961;&#967;&#945;&#943;&#969;&#957; &#963;&#965;&#947;&#947;&#961;&#945;&#956;&#956;&#940;&#964;&#969;&#957;&lt;br /&gt;
&#960;&#945;&#961;&#945;&#952;&#942;&#963;&#959;&#956;&#945;&#953; &#964;&#8135; &#8017;&#956;&#949;&#964;&#941;&#961;&#8115; &#8001;&#963;&#953;&#972;&#964;&#951;&#964;&#953;, &#954;&#945;&#8054; &#959;&#8021;&#964;&#969; &#964;&#8056; &#960;&#941;&#961;&#945;&#962;&lt;br /&gt;
&#7952;&#960;&#953;&#952;&#942;&#963;&#959;&#956;&#949;&#957; &#964;&#8183; &#948;&#953;&#951;&#947;&#942;&#956;&#945;&#964;&#953;, &#960;&#945;&#961;&#945;&#967;&#969;&#961;&#942;&#963;&#945;&#957;&#964;&#949;&#962; &#964;&#8135; &#952;&#949;&#959;&#960;&#957;&#949;&#973;&#963;&#964;&#8179; (140)&lt;br /&gt;
&#915;&#961;&#945;&#966;&#8135; &#964;&#959;&#8166; &#7936;&#959;&#953;&#948;&#943;&#956;&#959;&#965; &#964;&#8052;&#957; &#954;&#949;&#966;&#945;&#955;&#8052;&#957; &#956;&#949;&#947;&#945;&#955;&#959;&#960;&#961;&#949;&#960;&#8182;&#962; &#963;&#964;&#949;-&lt;br /&gt;
&#966;&#945;&#957;&#8182;&#963;&#945;&#953;&#183; &#966;&#951;&#963;&#8054; &#947;&#940;&#961;&#183; &#8220;&#7982;&#957; &#948;&#8050; &#914;&#945;&#961;&#957;&#940;&#946;&#945;&#962; &#7936;&#957;&#8052;&#961; &#7936;&#947;&#945;&#952;&#8056;&#962; &#954;&#945;&#8054;&lt;br /&gt;
&#960;&#955;&#942;&#961;&#951;&#962; &#928;&#957;&#949;&#973;&#956;&#945;&#964;&#959;&#962; &#7937;&#947;&#943;&#959;&#965; &#954;&#945;&#8054; &#960;&#943;&#963;&#964;&#949;&#969;&#962;.&#8221; &#927;&#8023; &#964;&#943; &#7938;&#957; &#947;&#941;&#957;&#959;&#953;&#964;&#959;&lt;br /&gt;
&#7988;&#963;&#959;&#957; &#7970; &#960;&#945;&#961;&#945;&#960;&#955;&#942;&#963;&#953;&#959;&#957; &#960;&#974;&#960;&#959;&#964;&#949;;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/1e69ca9fabef5c0fcafa669bdc2fd772.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Je souhaiterais :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; faire dispara&#238;tre les num&#233;ros de ligne
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; transformer les guillemets en utilisant la commande &lt;code class='spip_code' dir='ltr'&gt;\csquotes&lt;/code&gt; &#224; la place.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; supprimer les c&#233;sures, puisque LaTeX se charge tout seul d'en mettre.&lt;/p&gt; &lt;p&gt;Voici le r&#233;sultat souhait&#233; :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&#7964;&#954;&#945;&#956;&#949;&#957; &#8001; &#955;&#972;&#947;&#959;&#962;, &#964;&#959;&#8166;&#964;&#959;&#957; &#964;&#8056;&#957; &#952;&#949;&#963;&#960;&#941;&#963;&#953;&#959;&#957; &#954;&#945;&#8054; &#964;&#961;&#953;&#960;&#972;&#952;&#951;&#964;&#959;&#957;&lt;br /&gt;
&#914;&#945;&#961;&#957;&#940;&#946;&#945;&#957; &#964;&#8056;&#957; &#7936;&#960;&#972;&#963;&#964;&#959;&#955;&#959;&#957; &#7952;&#960;&#8118;&#961;&#945;&#953; &#964;&#959;&#8150;&#962; &#7952;&#947;&#954;&#969;&#956;&#943;&#959;&#953;&#962; &#960;&#959;&#952;&#8182;&#957;,&lt;br /&gt;
&#954;&#945;&#8054; &#959;&#8020;&#960;&#969; &#7973;&#968;&#945;&#964;&#959; &#964;&#959;&#8166; &#960;&#961;&#959;&#959;&#953;&#956;&#943;&#959;&#965;&#183; &#964;&#959;&#8150;&#962; &#947;&#8048;&#961; &#7952;&#960;&#945;&#943;&#957;&#959;&#953;&#962; &#7936;&#960;&#961;&#972;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&#963;&#953;&#964;&#959;&#962; &#964;&#965;&#947;&#967;&#940;&#957;&#949;&#953; &#8001; &#952;&#945;&#965;&#956;&#940;&#963;&#953;&#959;&#962;. &#916;&#953;&#8056; &#7936;&#966;&#941;&#957;&#964;&#949;&#962; &#8033;&#962; &#7936;&#957;&#941;&#966;&#953;&#954;&#964;&#959;&#957; &lt;br /&gt;
&#964;&#8056;&#957; &#960;&#949;&#961;&#8054; &#964;&#8182;&#957; &#7952;&#947;&#954;&#969;&#956;&#943;&#969;&#957; &#955;&#972;&#947;&#959;&#957;, &#8000;&#955;&#943;&#947;&#945; &#964;&#8182;&#957; &#949;&#7984;&#962; &#7969;&#956;&#8118;&#962;&lt;br /&gt;
&#7984;&#972;&#957;&#964;&#969;&#957; &#960;&#949;&#961;&#8054; &#964;&#8134;&#962; &#964;&#959;&#973;&#964;&#959;&#965; &#946;&#953;&#974;&#963;&#949;&#969;&#962; &#954;&#945;&#8054; &#964;&#949;&#955;&#949;&#953;&#974;&#963;&#949;&#969;&#962; &#7956;&#954; &#964;&#949;&lt;br /&gt;
&#964;&#959;&#8166; &#931;&#964;&#961;&#969;&#956;&#945;&#964;&#941;&#969;&#962; &#954;&#945;&#8054; &#7952;&#958; &#7953;&#964;&#941;&#961;&#969;&#957; &#7936;&#961;&#967;&#945;&#943;&#969;&#957; &#963;&#965;&#947;&#947;&#961;&#945;&#956;&#956;&#940;&#964;&#969;&#957;&lt;br /&gt;
&#960;&#945;&#961;&#945;&#952;&#942;&#963;&#959;&#956;&#945;&#953; &#964;&#8135; &#8017;&#956;&#949;&#964;&#941;&#961;&#8115; &#8001;&#963;&#953;&#972;&#964;&#951;&#964;&#953;, &#954;&#945;&#8054; &#959;&#8021;&#964;&#969; &#964;&#8056; &#960;&#941;&#961;&#945;&#962;&lt;br /&gt;
&#7952;&#960;&#953;&#952;&#942;&#963;&#959;&#956;&#949;&#957; &#964;&#8183; &#948;&#953;&#951;&#947;&#942;&#956;&#945;&#964;&#953;, &#960;&#945;&#961;&#945;&#967;&#969;&#961;&#942;&#963;&#945;&#957;&#964;&#949;&#962; &#964;&#8135; &#952;&#949;&#959;&#960;&#957;&#949;&#973;&#963;&#964;&#8179; &lt;br /&gt;
&#915;&#961;&#945;&#966;&#8135; &#964;&#959;&#8166; &#7936;&#959;&#953;&#948;&#943;&#956;&#959;&#965; &#964;&#8052;&#957; &#954;&#949;&#966;&#945;&#955;&#8052;&#957; &#956;&#949;&#947;&#945;&#955;&#959;&#960;&#961;&#949;&#960;&#8182;&#962; &#963;&#964;&#949;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&#966;&#945;&#957;&#8182;&#963;&#945;&#953;&#183; &#966;&#951;&#963;&#8054; &#947;&#940;&#961;&#183; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\enquote&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&#7982;&#957; &#948;&#8050; &#914;&#945;&#961;&#957;&#940;&#946;&#945;&#962; &#7936;&#957;&#8052;&#961; &#7936;&#947;&#945;&#952;&#8056;&#962; &#954;&#945;&#8054;&lt;br /&gt;
&#960;&#955;&#942;&#961;&#951;&#962; &#928;&#957;&#949;&#973;&#956;&#945;&#964;&#959;&#962; &#7937;&#947;&#943;&#959;&#965; &#954;&#945;&#8054; &#960;&#943;&#963;&#964;&#949;&#969;&#962;.&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt; &#927;&#8023; &#964;&#943; &#7938;&#957; &#947;&#941;&#957;&#959;&#953;&#964;&#959;&lt;br /&gt;
&#7988;&#963;&#959;&#957; &#7970; &#960;&#945;&#961;&#945;&#960;&#955;&#942;&#963;&#953;&#959;&#957; &#960;&#974;&#960;&#959;&#964;&#949;;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/64f74d8a93e15223ab1002677a736f4a.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Je me sert pour cela du script Python joint.&lt;/p&gt;
&lt;dl class='spip_document_83 spip_documents spip_documents_right' style='float:right;'&gt;
&lt;dt&gt;&lt;a href=&quot;https://github.com/maieul/tlg2latex/archive/stable.zip&quot; title='Zip - ' type=&quot;application/zip&quot;&gt;&lt;img src='http://geekographie.maieul.net/local/cache-vignettes/L52xH52/zip-2e4e6.png' width='52' height='52' alt='Zip - ' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-83 spip_doc_titre' style='width:120px;'&gt;&lt;strong&gt;Derni&#232;re version stable du script TLG2LaTeX
&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Utilisation (tutoriel)&lt;/h3&gt;
&lt;p&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Dans le TLG, afficher le texte sans les &#171; Beta Escape &#187; (dans la colonne de gauche, le menu d&#233;roulant &#171; Beta Escape &#187; mis &#224; &#171; None &#187;).
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Le copier dans un fichier &lt;code class='spip_code' dir='ltr'&gt;nom.txt&lt;/code&gt;.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Avoir &lt;a href=&quot;http://www.python.org/download/releases/3.0/&quot; class='spip_out' rel='external'&gt;Python 3&lt;/a&gt; ou plus install&#233; sur sa machine.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; R&#233;cup&#233;rer le zip joint, le d&#233;compresser, et mettre les deux fichiers &lt;code class='spip_code' dir='ltr'&gt;.py&lt;/code&gt; &#224; c&#244;t&#233; du fichier &lt;code class='spip_code' dir='ltr'&gt;nom.txt&lt;/code&gt;
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Avec &lt;a href=&quot;http://geekographie.maieul.net/LaTeX-en-ligne-de-commande&quot; class='spip_out'&gt;son terminal, se rendre dans le dossier du fichier&lt;/a&gt; et frapper &lt;code class='spip_code' dir='ltr'&gt;python3 tlg2latex.py nom.txt&lt;/code&gt;.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Un fichier &lt;code class='spip_code' dir='ltr'&gt;normalise_nom.txt&lt;/code&gt; appara&#238;t &#224; c&#244;t&#233; : il contient le code utilisable dans LaTeX.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Nouvelles fonctionnalit&#233; de la version 2.0&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb5-3' class='spip_note' rel='footnote' title='Comprend les nouveaut&#233;s de la version 1.1.' id='nh5-3'&gt;3&lt;/a&gt;]&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Possibilit&#233; de configurer le script.&lt;/li&gt;&lt;li&gt; Possibilit&#233; de normaliser un fichier situ&#233; dans un autre dossier.&lt;/li&gt;&lt;li&gt; Gestion des &#233;lisions, pour &#233;viter de confondre les signes d'&#233;lisions avec les guillemets ouvrants.&lt;/li&gt;&lt;li&gt; Prototype de gestion des num&#233;ros de chapitres et de paragraphes.&lt;/li&gt;&lt;li&gt; Possibilit&#233; de normaliser l'&lt;a href=&quot;http://geekographie.maieul.net/url&quot; class='spip_out'&gt;encodage unicode&lt;/a&gt;.&lt;/li&gt;&lt;li&gt; Ajout de jeu de test.&lt;/li&gt;&lt;li&gt; Standardisation du code.&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Options de configuration&lt;/h3&gt;
&lt;p&gt;Le fichier de configuration &lt;code class='spip_code' dir='ltr'&gt;config.py&lt;/code&gt; est &#224; placer &#224; c&#244;t&#233; du script.&lt;/p&gt; &lt;p&gt;Il se compose de ligne sous la forme :&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;option = valeur&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;L'ensemble des options sont list&#233;es dans &lt;code class='spip_code' dir='ltr'&gt;default.py&lt;/code&gt;. Les valeurs peuvent &#234;tre :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Des cha&#238;nes, mise entre guillemet anglais &lt;code class='spip_code' dir='ltr'&gt;&quot;cha&#238;ne&quot;&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; Des tuples, ou listes, selon la syntaxe : &lt;code class='spip_code' dir='ltr'&gt;(&quot;cha&#238;ne1&quot;,&quot;cha&#238;ne2&quot;,&quot;cha&#238;ne...&quot;,&quot;cha&#238;nen&quot;)&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; Des cha&#238;nes pour remplacement d'expressions r&#233;guli&#232;res&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb5-4' class='spip_note' rel='footnote' title='Pour comprendre les expression r&#233;guli&#232;res, on pourra lire le tutoriel de la (...)' id='nh5-4'&gt;4&lt;/a&gt;]&lt;/span&gt;, sous la forme : &lt;cope&gt;r&quot;cha&#238;nes&quot;&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; Une valeur bool&#233;enne : &lt;code class='spip_code' dir='ltr'&gt;False&lt;/code&gt; ou &lt;code class='spip_code' dir='ltr'&gt;True&lt;/code&gt;
Les options se divisent en deux cat&#233;gories :&lt;/li&gt;&lt;li&gt; Celles pour interpr&#233;ter le fichier en entr&#233;e.&lt;/li&gt;&lt;li&gt; Celles pour r&#233;gler le fichier en sortie.&lt;/li&gt;&lt;/ul&gt;&lt;table class=&quot;spip&quot; summary=&quot;&quot;&gt;
&lt;caption&gt;Liste des options pour le fichier en entr&#233;e&lt;/caption&gt;
&lt;thead&gt;&lt;tr class='row_first'&gt;&lt;th id='id5daf_c0'&gt;Option&lt;/th&gt;&lt;th id='id5daf_c1'&gt;Explication&lt;/th&gt;&lt;th id='id5daf_c2'&gt;Valeur par d&#233;faut&lt;/th&gt;&lt;th id='id5daf_c3'&gt;Introduit dans la version&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;hyphen&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Traits de c&#233;sure&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;(&quot;&#8209;&quot;,&quot;-&quot;)&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;line_number&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour d&#233;coder les num&#233;ros de lignes&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;\([0-9]*\)&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;ellipsis&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour rep&#233;rer les ellisions&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;([&#947;&#948;(&#948;&#953;)&#952;&#955;&#956;&#960;&#961;&#964;&#966;])'&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;begin_quote_r&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour rep&#233;rer les guillemets ouvrants&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;[&#8216;&#8220;&#171;]&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;end_quote_r&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour rep&#233;rer les guillemets fermants&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;['&#8221;&#187;]&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;paragraph_r&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour rep&#233;rer les num&#233;ros de paragraphe&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;\((\w+?)\.\) &quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;chapter_r&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour rep&#233;rer les num&#233;ros de chapitre&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;(\d+?\.)&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id5daf_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;ndash_r&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id5daf_c1'&gt;Expression r&#233;guli&#232;re pour rep&#233;rer les tirets demi-cadratins&lt;/td&gt;
&lt;td headers='id5daf_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;&#8212;&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td class='numeric point' headers='id5daf_c3'&gt;2.1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;table class=&quot;spip&quot; summary=&quot;&quot;&gt;
&lt;caption&gt;Liste des options pour le fichier en sortie&lt;/caption&gt;
&lt;thead&gt;&lt;tr class='row_first'&gt;&lt;th id='id624b_c0'&gt;Option&lt;/th&gt;&lt;th id='id624b_c1'&gt;Explication&lt;/th&gt;&lt;th id='id624b_c2'&gt;Valeur par d&#233;faut&lt;/th&gt;&lt;th id='id624b_c3'&gt;Introduit dans la version&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;begin_quote_w&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Guillemets ouvrants&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;\enquote{&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;end_quote_w&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Guillemets fermants&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;}&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;paragraph_w&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Cha&#238;ne pour remplacement d'expression r&#233;guli&#232;re indiquant le num&#233;ro de paragraphe&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;r&quot;\\marginnote{\1}&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;chapter_w&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Cha&#238;ne pour remplacement d'expression r&#233;guli&#232;re indiquant le num&#233;ro de chapitre&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;r&quot;\n\\textbf{\1}&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;unicode_normalize&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Indique le type de &lt;a href=&quot;http://geekographie.maieul.net/lien&quot; class='spip_out'&gt;normalisation unicode&lt;/a&gt; &#224; mettre en &#339;uvre. Les valeurs possibles sont :&lt;br /&gt; &lt;br /&gt;&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;False&lt;/code&gt; : pas de normalisation ;&lt;/li&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;&quot;NFC&quot;&lt;/code&gt; : utilise les formes unitaires des caract&#232;res ;&lt;/li&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;&quot;NFKC&quot;&lt;/code&gt; : utilise les formes unitaires des caract&#232;res et remplace les caract&#232;res &#171; &#233;quivalents &#187;. Par exemple le caract&#232;re unicode &lt;code class='spip_code' dir='ltr'&gt;U+216C&lt;/code&gt; indiquant le chiffre romain &lt;code class='spip_code' dir='ltr'&gt;&#8556;&lt;/code&gt; (50) est remplac&#233; par son &#171; &#233;quivalent &#187; &lt;code class='spip_code' dir='ltr'&gt;U+004C&lt;/code&gt;, indiquant la lettre latine &lt;code class='spip_code' dir='ltr'&gt;L&lt;/code&gt; ;&lt;/li&gt;&lt;li&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;NFD&quot;&lt;/code&gt; utilise les formes compos&#233;es des caract&#232;res ;&lt;/li&gt;&lt;li&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;NFKD&quot;&lt;/code&gt; utilise les formes compos&#233;es des caract&#232;res et remplace les caract&#232;res &#171; &#233;quivalents &#187;&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;False&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.0&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;ellipsis_back&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Symbole d'&#233;lision&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;'&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.0&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td headers='id624b_c0'&gt;&lt;code class='spip_code' dir='ltr'&gt;ndash_w&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c1'&gt;Tiret demi-cadratin&lt;/td&gt;
&lt;td headers='id624b_c2'&gt;&lt;code class='spip_code' dir='ltr'&gt;&quot;--&quot;&lt;/code&gt;&lt;/td&gt;
&lt;td headers='id624b_c3'&gt;2.1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb5-1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh5-1' class='spip_note' title='Notes 5-1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;On nous excusera par cons&#233;quent le caract&#232;re redondant de certaines parties de l'article.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb5-2'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh5-2' class='spip_note' title='Notes 5-2' rev='footnote'&gt;2&lt;/a&gt;] &lt;/span&gt;Il s'agit d'un extrait d'une louange &#224; l'ap&#244;tre Barnab&#233;.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb5-3'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh5-3' class='spip_note' title='Notes 5-3' rev='footnote'&gt;3&lt;/a&gt;] &lt;/span&gt;Comprend les nouveaut&#233;s de la version 1.1.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb5-4'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh5-4' class='spip_note' title='Notes 5-4' rev='footnote'&gt;4&lt;/a&gt;] &lt;/span&gt;Pour comprendre les expression r&#233;guli&#232;res, on pourra lire &lt;a href=&quot;http://docs.python.org/3/howto/regex.html&quot; class='spip_out' rel='external'&gt;le tutoriel de la documentation de Python&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		&lt;div class='rss_ps'&gt;&lt;p&gt;Ce script est sous licence GPL 3. Ses auteurs sont :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Ma&#239;eul ROUQUETTE&lt;/li&gt;&lt;li&gt; Annette von STOCKHAUSEN&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Il est &lt;a href=&quot;https://github.com/maieul/tlg2latex&quot; class='spip_out' rel='external'&gt;disponible sur Github&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Normalisation des caract&#232;res unicode et typographie
</title>
		<link>http://geekographie.maieul.net/Normalisation-des-caracteres</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Normalisation-des-caracteres</guid>
		<dc:date>2013-04-29T09:19:22Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;La norme unicode permet d'encoder la quasi totalit&#233; des caract&#232;res existants sur Terre. Elle poss&#232;de certaines subtilit&#233;s, qui peuvent &#234;tre probl&#233;matique avec certaines polices. Parmi ces subtilit&#233;s, le fait qu'un m&#234;me caract&#232;re puisse se noter de plusieurs mani&#232;res... mais que les polices peuvent ne pas comprendre qu'il s'agit du m&#234;me caract&#232;re. Pour &#233;viter ces probl&#232;mes, une solution est de normaliser les caract&#232;res. Voici un script permettant de le faire. Explication et exemple La norme Unicode, comme (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Typographie-" rel="directory"&gt;Typographie
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;La norme unicode permet d'encoder la quasi totalit&#233; des caract&#232;res existants sur Terre&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb6-1' class='spip_note' rel='footnote' title='Il reste m&#234;me en th&#233;orie de la place pour les caract&#232;re extra-terrestres.' id='nh6-1'&gt;1&lt;/a&gt;]&lt;/span&gt;. Elle poss&#232;de certaines subtilit&#233;s, qui peuvent &#234;tre probl&#233;matique avec certaines polices. Parmi ces subtilit&#233;s, le fait qu'un m&#234;me caract&#232;re puisse se noter de plusieurs mani&#232;res... mais que les polices peuvent ne pas comprendre qu'il s'agit du m&#234;me caract&#232;re.&lt;/p&gt; &lt;p&gt;Pour &#233;viter ces probl&#232;mes, une solution est de normaliser les caract&#232;res. Voici un script permettant de le faire.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Explication et exemple&lt;/h3&gt;
&lt;p&gt;La norme Unicode, comme tous les jeux de caract&#232;res, affecte un num&#233;ro &#224; chaque caract&#232;re. Cependant il existe des caract&#232;res dit &#171; compos&#233;s &#187; qui peuvent soit avoir un num&#233;ro unique, soit s'encoder comme une suite de caract&#232;re.&lt;/p&gt; &lt;p&gt;Prenons par exemple le caract&#232;re grec &#171; Alpha avec iota souscrit &#187;. Il y a de mani&#232;re de le noter en unicode :&lt;/p&gt;
&lt;ol class=&quot;spip&quot;&gt;&lt;li&gt; avec le caract&#232;re &#171; GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI &#187;, dont le code unicode est &lt;code class='spip_code' dir='ltr'&gt;U+1FB3&lt;/code&gt;, ce qui donne &lt;code class='spip_code' dir='ltr'&gt;&#8115;&lt;/code&gt;. &lt;/li&gt;&lt;li&gt; avec le caract&#232;re &#171; GREEK SMALL LETTER ALPHA &#187;, dont le code unicode est &lt;code class='spip_code' dir='ltr'&gt;U+03B1&lt;/code&gt;, suivi du caract&#232;re &#171; COMBINING GREEK YPOGEGRAMMENI &#187;, dont le code unicode est &lt;code class='spip_code' dir='ltr'&gt;U+0345&lt;/code&gt;, ce qui donne &lt;code class='spip_code' dir='ltr'&gt;&#8115;&lt;/code&gt;.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Typiquement, si avec votre clavier vous frappez le iota souscrit avant le alpha, vous utilisez la premi&#232;re solution, et si vous le frappez apr&#232;s le alpha, vous utilisez la seconde solution.&lt;/p&gt; &lt;p&gt;En th&#233;orie, les polices sont cens&#233;es rendre la m&#234;me chose... cependant cela ne fonctionne pas toujours tr&#232;s bien.&lt;/p&gt; &lt;p&gt;Ainsi prenons la police &lt;a href=&quot;http://www.linuxlibertine.org/&quot; class='spip_out' rel='external'&gt;Linux Libertine&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Voici ce qu'elle affiche, &lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=590374&amp;aid=3612039&amp;group_id=89513&quot; class='spip_out' rel='external'&gt;pour le moment&lt;/a&gt;, selon les deux mani&#232;res d'encoder.&lt;/p&gt;
&lt;dl class='spip_document_79 spip_documents'&gt;
&lt;dt&gt;&lt;img src='http://geekographie.maieul.net/local/cache-vignettes/L500xH35/alpha-differents-57a3a.png' width='500' height='35' alt='PNG - 22.1&#160;ko' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-79 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;Deux mani&#232;res d'encoder un alpha avec iota souscrit ... deux affichages diff&#233;rents
&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;&lt;dl class='spip_document_80 spip_documents'&gt;
&lt;dt&gt;&lt;a href=&quot;http://geekographie.maieul.net/IMG/pdf/alpha-differents.pdf&quot; title='PDF - 6.9&#160;ko' type=&quot;application/pdf&quot;&gt;&lt;img src='http://geekographie.maieul.net/local/cache-vignettes/L52xH52/pdf-39070.png' width='52' height='52' alt='PDF - 6.9&#160;ko' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-80 spip_doc_titre' style='width:120px;'&gt;&lt;strong&gt;Deux mani&#232;res d'encoder un alpha avec iota souscrit ... deux affichages diff&#233;rents
&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;R&#233;solution du probl&#232;me&lt;/h3&gt;
&lt;p&gt;La norme unicode &lt;a href=&quot;http://unicode.org/reports/tr15/#Norm_Forms&quot; class='spip_out' rel='external'&gt;pr&#233;voit des formes normalis&#233;es&lt;/a&gt;. Les plus courantes sont :&lt;/p&gt;
&lt;ol class=&quot;spip&quot;&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;NFC&lt;/code&gt;, qui compose les caract&#232;res. Ainsi, si on applique cette normalisation, &lt;code class='spip_code' dir='ltr'&gt;U+03B1 U+0345&lt;/code&gt; devient &lt;code class='spip_code' dir='ltr'&gt;U+1FB3&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;NFD&lt;/code&gt;, qui d&#233;compose les caract&#232;res. Ainsi, si on applique cette normalisation, &lt;code class='spip_code' dir='ltr'&gt;U+1FB3&lt;/code&gt; devient &lt;code class='spip_code' dir='ltr'&gt;U+03B1 U+0345&lt;/code&gt;.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;En g&#233;n&#233;ral, pour avoir le meilleur rendu typographique, il faut pr&#233;f&#233;rer la forme &lt;code class='spip_code' dir='ltr'&gt;NFC&lt;/code&gt;&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb6-2' class='spip_note' rel='footnote' title='En effet, les auteurs de polices de caract&#232;res commencent g&#233;n&#233;ralement par (...)' id='nh6-2'&gt;2&lt;/a&gt;]&lt;/span&gt;.&lt;/p&gt; &lt;p&gt;On peut le faire &#224; deux niveaux :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; soit au niveau du fichier m&#234;me, en appliquant un &lt;a href=&quot;https://github.com/maieul/combineunicode&quot; class='spip_out' rel='external'&gt;script qui normalise les formes, par exemple celui que j'ai d&#233;pos&#233; sur github&lt;/a&gt;. Cependant, cela implique de penser &#224; ex&#233;cuter le script avant la compilation, ce qui n'est gu&#232;re pratique.&lt;/li&gt;&lt;li&gt; soit au niveau de XeTeX, en utilisant la commande &lt;code class='spip_code' dir='ltr'&gt;\XeTeXinputnormalization&lt;/code&gt;, suivi d'un num&#233;ro :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;1&lt;/code&gt; pour appliquer &lt;code class='spip_code' dir='ltr'&gt;NFC&lt;/code&gt;&lt;/li&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;2&lt;/code&gt; pour appliquer &lt;code class='spip_code' dir='ltr'&gt;NFD&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Si on met en place cette commande, le fichier n'est pas modifi&#233;, mais XeTeX fera dynamiquement les modifications.&lt;/p&gt; &lt;p&gt;Ainsi, dans le cas pr&#233;sent, nous pouvons mettre :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cdocumentclass&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;documentclass&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;article&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cusepackage&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;usepackage&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;fontspec,polyglossia,xunicode&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\setmainfont&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Linux Libertine O&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cusepackage&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;usepackage&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;margin=0.1cm,a4paper&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;geometry&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% juste pour l'exemple, histoire de ne pas couper la ligne&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\XeTeXinputnormalization&lt;/span&gt; 1&lt;br /&gt;
&lt;span style=&quot;color: #C00000; font-weight: normal;&quot;&gt;\begin&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #0000D0; font-weight: normal;&quot;&gt;document&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&#8115; GREEK SMALL LETTER ALPHA (U+03B1) + COMBINING GREEK YPOGEGRAMMENI (U+0345)&lt;br /&gt;
&#8115; GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI (U+1FB3)&lt;br /&gt;
&lt;span style=&quot;color: #C00000; font-weight: normal;&quot;&gt;\end&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #0000D0; font-weight: normal;&quot;&gt;document&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/597a20ce784006f5779060b1c1c145d6.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;dl class='spip_document_82 spip_documents'&gt;
&lt;dt&gt;&lt;img src='http://geekographie.maieul.net/local/cache-vignettes/L500xH39/alpha-identiques-1f911.png' width='500' height='39' alt='PNG - 22.1&#160;ko' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-82 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;Deux mani&#232;res d'encoder un alpha avec iota souscrit ... deux affichages identiques
&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;&lt;dl class='spip_document_81 spip_documents'&gt;
&lt;dt&gt;&lt;a href=&quot;http://geekographie.maieul.net/IMG/pdf/alpha-identiques.pdf&quot; title='PDF - 6.8&#160;ko' type=&quot;application/pdf&quot;&gt;&lt;img src='http://geekographie.maieul.net/local/cache-vignettes/L52xH52/pdf-39070.png' width='52' height='52' alt='PDF - 6.8&#160;ko' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-81 spip_doc_titre' style='width:120px;'&gt;&lt;strong&gt;Deux mani&#232;res d'encoder un alpha avec iota souscrit ... deux affichages identiques
&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb6-1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh6-1' class='spip_note' title='Notes 6-1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;Il reste m&#234;me en th&#233;orie de la place pour les caract&#232;re extra-terrestres.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb6-2'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh6-2' class='spip_note' title='Notes 6-2' rev='footnote'&gt;2&lt;/a&gt;] &lt;/span&gt;En effet, les auteurs de polices de caract&#232;res commencent g&#233;n&#233;ralement par pr&#233;voir les formes unitaire plut&#244;t que compos&#233;s.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Gestion des r&#233;impressions
</title>
		<link>http://geekographie.maieul.net/Gestion-des-reimpressions</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Gestion-des-reimpressions</guid>
		<dc:date>2013-04-21T14:13:40Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Il arrive tr&#232;s fr&#233;quemment que nous ayons affaire &#224; des reprint (r&#233;&#233;edition) d'un ouvrage, et que nous souhaitions indique l'ann&#233;e d'&#233;dition originel. Pour ce faire, biblatex pr&#233;voit l'utilisation du champ origyear. Cependant ce champ n'est par d&#233;faut pas affich&#233;. Voici comment l'afficher. Exemple Une fois n'est pas coutume, je vais quitter le domaine de l'histoire du christianisme pour aller dans celui de la psychanalyse. C'est en effet @effraie qui m'a pouss&#233; &#224; &#233;crire cet article, pour un besoin similaire (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Biblatex-" rel="directory"&gt;BibLaTeX
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Il arrive tr&#232;s fr&#233;quemment que nous ayons affaire &#224; des &lt;i&gt;reprint&lt;/i&gt; (r&#233;&#233;edition) d'un ouvrage, et que nous souhaitions indique l'ann&#233;e d'&#233;dition originel. Pour ce faire, &lt;i&gt;biblatex&lt;/i&gt; pr&#233;voit l'utilisation du champ &lt;code class='spip_code' dir='ltr'&gt;origyear&lt;/code&gt;. Cependant ce champ n'est par d&#233;faut pas affich&#233;. Voici comment l'afficher.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Exemple&lt;/h3&gt;
&lt;p&gt;Une fois n'est pas coutume, je vais quitter le domaine de l'histoire du christianisme pour aller dans celui de la psychanalyse. C'est en effet &lt;a href=&quot;https://twitter.com/effraie/status/325620050566447105&quot; class='spip_out' rel='external'&gt;@effraie&lt;/a&gt; qui m'a pouss&#233; &#224; &#233;crire cet article, pour un besoin similaire au mien, mais que j'avais pas encore mentionn&#233;.&lt;/p&gt; &lt;p&gt;Soit une entr&#233;e de la forme suivante :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;@bookinbook&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Lacan1938,&lt;br /&gt; author = {Jacques Lacan&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; title = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Les complexes familiaux dans la formation de l'individu&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; booktitle = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Autres &#233;crits&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; date = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;2001&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; publisher = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Seuil&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; location = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Paris&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; pages = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;23--84&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; origdate = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1938&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/c5dab567acc78ad73c13a9d7789cc94f.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Pour ma part j'aurais tendance &#224; vouloir l'afficher ainsi :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
Jacques LACAN, &lt;i&gt;Les complexes familiaux dans la formation de
l'individu&lt;/i&gt;, dans : &lt;i&gt;Autres &#233;crits&lt;/i&gt; Paris : Seuil, 2001 (r&#233;impr. 1938), p. 23&#8211;84&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Mais @effraie souhaiterait plut&#244;t&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
Jacques LACAN (1938), &lt;i&gt;Les complexes familiaux dans la formation de
l'individu&lt;/i&gt;, dans : &lt;i&gt;Autres &#233;crits&lt;/i&gt;, Paris : Seuil, 2001, p. 23&#8211;84&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Soyons fou, proposons les deux ! En effet, chacune des solutions fait manipuler des macros diff&#233;rentes.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Avec la date originelle &#224; la fin&lt;/h3&gt;
&lt;p&gt;Si vous ouvrez le fichier &lt;code class='spip_code' dir='ltr'&gt;standard.bbx&lt;/code&gt;&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb7-1' class='spip_note' rel='footnote' title='Voir mon article sur la mani&#232;re de trouver les fichiers standards, ou se (...)' id='nh7-1'&gt;1&lt;/a&gt;]&lt;/span&gt;, vous remarquerez en fouillant les drivers que l'&#233;diteur est affich&#233; par la macro &lt;code class='spip_code' dir='ltr'&gt;publisher+location+date&lt;/code&gt;, qui est ainsi d&#233;finie dans le m&#234;me fichier (l. 767 ss. dans ma version).&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;publisher+location+date&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printlist&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;location&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\iflistundef&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;publisher&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\setunit*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addcomma&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\space&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\setunit*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addcolon&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\space&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printlist&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;publisher&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\setunit*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addcomma&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\space&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\usebibmacro&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;date&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newunit&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/02c7a836c345fd3a7be14e961917a7f7.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Si nous recherchons la macro &lt;code class='spip_code' dir='ltr'&gt;\date&lt;/code&gt;, nous la trouvons ainsi d&#233;finie dans le fichier &lt;code class='spip_code' dir='ltr'&gt;standard.def&lt;/code&gt; (l. 2671) :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;date&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printdate&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Comme son nom l'indique, la commande &lt;code class='spip_code' dir='ltr'&gt;\printdate&lt;/code&gt; imprime la date. Il existe de m&#234;me une commande &lt;code class='spip_code' dir='ltr'&gt;\printorigdate&lt;/code&gt; qui affiche la date originel. Ces commandes sont un peu particuli&#232;res dans la mesure o&#249; elle permettent de prendre en compte l'option &lt;code class='spip_code' dir='ltr'&gt;date&lt;/code&gt; au chargement du package&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb7-2' class='spip_note' rel='footnote' title='Voir le manuel de biblate pour plus de d&#233;tail.' id='nh7-2'&gt;2&lt;/a&gt;]&lt;/span&gt;.&lt;/p&gt; &lt;p&gt;Nous allons donc allons donc ajouter &lt;code class='spip_code' dir='ltr'&gt;\printorigdate&lt;/code&gt; dans la macro (en la red&#233;clarant dans le pr&#233;ambule), mais pas n'importe comment.&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\renewbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;date&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printdate&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\iffieldundef&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;origyear&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addspace&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\mkbibparens&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibstring&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;reprint&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\setunit*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addcomma&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\space&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printorigdate&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/6f32e8a9022322bcf6c22e24ef139161.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; l. 1 : on affiche le champ &lt;code class='spip_code' dir='ltr'&gt;date&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; l. 2 : on teste si le champ &lt;code class='spip_code' dir='ltr'&gt;origyear&lt;/code&gt; est und&#233;fini. Si tel est le cas, on ne fait rien, sinon on ex&#233;cute le code entre les l. 2-6.&lt;/li&gt;&lt;li&gt; l. 3 : on ajoute un espace (&lt;code class='spip_code' dir='ltr'&gt;\addspace&lt;/code&gt;, qui est une &lt;a href=&quot;http://geekographie.maieul.net/La-notion-d-unite-dans-une&quot; class='spip_in'&gt;commande d'insertion d'&#233;l&#233;ment typographique&lt;/a&gt;) puis on met du texte entre parenth&#232;se (&lt;code class='spip_code' dir='ltr'&gt;\mkbibparens&lt;/code&gt;). Le contenu de cette parenth&#232;se se trouve entre les l. 4-6 On utilise &lt;code class='spip_code' dir='ltr'&gt;\mkbibparens&lt;/code&gt; plut&#244;t que de mettre directement les parenth&#232;ses pour deux raisons :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Cela &#233;vite d'afficher des parenth&#232;ses vide, le cas &#233;ch&#233;ant.&lt;/li&gt;&lt;li&gt; Cela tient compte de la hi&#233;rarchie des parenth&#232;ses : ainsi si nous sommes d&#233;j&#224; entre parenth&#232;ses, nous auront &#224; la place des crochets droits. &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; l .4 : on affiche la &lt;a href=&quot;http://geekographie.maieul.net/Surchargez-des-chaines-de-langues&quot; class='spip_in'&gt;cha&#238;ne de langue&lt;/a&gt; &lt;code class='spip_code' dir='ltr'&gt;reprint&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; l. 5 : on ajoute &lt;a href=&quot;http://geekographie.maieul.net/La-notion-d-unite-dans-une&quot; class='spip_in'&gt;une unit&#233; bibliographique&lt;/a&gt;, en ins&#233;rant les deux-points suivis d'une espace.&lt;/li&gt;&lt;li&gt; l. 6 : on affiche la date originelle.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Et c'est ainsi que nous pouvons obtenir :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
Jacques LACAN, &lt;i&gt;Les complexes familiaux dans la formation de
l'individu&lt;/i&gt;, dans : &lt;i&gt;Autres &#233;crits&lt;/i&gt; Paris : Seuil, 2001 (r&#233;impr. 1938), p. 23&#8211;84&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Avec la date originelle apr&#232;s l'auteur&lt;/h3&gt;
&lt;p&gt;&#192; nouveau, nous consultons le fichier &lt;code class='spip_code' dir='ltr'&gt;standard.bbx&lt;/code&gt; pour constater que l'auteur est affich&#233; par la macro &lt;code class='spip_code' dir='ltr'&gt;author/translator+others&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;Celle ci est ainsi d&#233;finie dans &lt;code class='spip_code' dir='ltr'&gt;biblatex.def&lt;/code&gt; (l. 2204) :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;author/translator+others&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifboolexpr&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; test &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifuseauthor&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; and&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; not test {&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifnameundef&lt;/span&gt;{author&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\usebibmacro&lt;/span&gt;{author&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\usebibmacro&lt;/span&gt;{translator+others&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/2861da6fe886e549ec8e89b0211e8bf7.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Nous allons ins&#233;rer notre information avant la derni&#232;re accolade fermante.&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;author/translator+others&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifboolexpr&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; test &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifuseauthor&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; and&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; not test {&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifnameundef&lt;/span&gt;{author&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\usebibmacro&lt;/span&gt;{author&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\usebibmacro&lt;/span&gt;{translator+others&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\iffieldundef&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;origyear&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\mkbibparens&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printorigdate&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/0de5e049d4dd5fbb6647771dcfc15122.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Les commandes que nous utilisons sont exactement les m&#234;mes que pour la premi&#232;re solution : je ne les recommente pas.&lt;/p&gt; &lt;p&gt;Et ainsi, nous pouvons obtenir :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
Jacques LACAN (1938), &lt;i&gt;Les complexes familiaux dans la formation de
l'individu&lt;/i&gt;, dans : &lt;i&gt;Autres &#233;crits&lt;/i&gt;, Paris : Seuil, 2001, p. 23&#8211;84&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Pour aller plus loin&lt;/h3&gt;
&lt;p&gt;On souhaitera sans doute classer par date de publication originelle plut&#244;t que par date de r&#233;impression. On d&#233;finira pour se faire un &lt;a href=&quot;http://geekographie.maieul.net/Tri-des-oeuvres-anonymes&quot; class='spip_in'&gt;nouveau type de tri bibliographique&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb7-1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh7-1' class='spip_note' title='Notes 7-1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;Voir mon article sur &lt;a href=&quot;http://geekographie.maieul.net/Trouver-les-fichiers-par-defaut&quot; class='spip_in'&gt;la mani&#232;re de trouver les fichiers standards&lt;/a&gt;, ou se r&#233;f&#233;rer &#224; mon livre.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb7-2'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh7-2' class='spip_note' title='Notes 7-2' rev='footnote'&gt;2&lt;/a&gt;] &lt;/span&gt;Voir le manuel de &lt;i&gt;biblate&lt;/i&gt; pour plus de d&#233;tail.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Commandes &#224; arguments illimit&#233;s
</title>
		<link>http://geekographie.maieul.net/Commandes-a-arguments-illimites</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Commandes-a-arguments-illimites</guid>
		<dc:date>2013-04-21T13:16:22Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;J'ai eu r&#233;cemment besoin de cr&#233;er une commande dont le nombre d'arguments serait illimit&#233;. Il s'agissait de permettre d'indiquer une s&#233;rie de r&#233;f&#233;rence biblique associ&#233;e &#224; un passage. Voici comment, sur conseil du TeXnicien de surface. Probl&#232;me Le texte que j'&#233;tudie fait allusion par moment &#224; des passages bibliques. Je souhaite ajouter une note de bas de page indiquant : Cf. Passage 1 ; Passage 2 ; Passage n. etc &#201;videmment, je pourrais le faire &#224; la main, mais utiliser une commande sp&#233;cifique permet (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Commande-" rel="directory"&gt;Commande
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;J'ai eu r&#233;cemment besoin de cr&#233;er une commande dont le nombre d'arguments serait illimit&#233;. Il s'agissait de permettre d'indiquer une s&#233;rie de r&#233;f&#233;rence biblique associ&#233;e &#224; un passage. Voici comment, sur &lt;a href=&quot;http://yvon-henel.fr/texnicien/index.html&quot; class='spip_out' rel='external'&gt;conseil du TeXnicien de surface&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Probl&#232;me&lt;/h3&gt;
&lt;p&gt;Le texte que j'&#233;tudie fait allusion par moment &#224; des passages bibliques. Je souhaite ajouter une note de bas de page indiquant :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
&lt;i&gt;Cf.&lt;/i&gt; Passage 1 ; Passage 2 ; Passage n. etc&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&#201;videmment, je pourrais le faire &#224; la main, mais utiliser une commande sp&#233;cifique permet d'uniformiser les styles. C'est pourquoi j'ai voulu cr&#233;er une commande :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibeall&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;passage1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;passage2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;passagen&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;J'avais affaire &#224; deux probl&#232;mes :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Techniquement une commande LaTeX ne peut prendre que 9 arguments au maximal.&lt;/li&gt;&lt;li&gt; Pour chaque passage, je devais indiquer le livre s&#233;par&#233;ment du chapitre, afin de pouvoir utiliser les possibilit&#233;s de &lt;a href=&quot;http://www.ctan.org/tex-archive/macros/latex/contrib/bibleref-french&quot; class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;bibleref-french&lt;/code&gt;&lt;/a&gt;. En outre, je souhaitais pouvoir pr&#233;ciser la version entre parenth&#232;se (LXX, Vulgate, BHS etc.). Ce qui faisait que j'&#233;tais r&#233;duit &#224; au mieux 3 passages.&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Solution : principe&lt;/h3&gt;
&lt;p&gt;La solution consiste alors &#224; proposer une commande &#224; &lt;i&gt;un seul&lt;/i&gt; argument, mais qui pourrait se d&#233;composer sous forme de liste. J'ai choisi d'utiliser le &lt;code class='spip_code' dir='ltr'&gt;+&lt;/code&gt; comme s&#233;parateur d'&#233;l&#233;ment de liste, car la &lt;code class='spip_code' dir='ltr'&gt;,&lt;/code&gt; a un sens sp&#233;cifique lorsque l'on utilise &lt;code class='spip_code' dir='ltr'&gt;bibleref-french&lt;/code&gt;&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb8-1' class='spip_note' rel='footnote' title='Elle sert &#224; indiquer la s&#233;lection de plusieurs versets discontinus.' id='nh8-1'&gt;1&lt;/a&gt;]&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Pour s&#233;parer le livre du passage et le passage de la version, j'ai d&#233;cid&#233; d'utiliser le symbole &lt;code class='spip_code' dir='ltr'&gt;|&lt;/code&gt; (pipe).&lt;/p&gt; &lt;p&gt;Ainsi, si je souhaite faire r&#233;f&#233;rence &#224; Isa&#239;e, livre 1 chapitre 1, dans la version LXX et BHS, je met :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibleall&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Is|1:1|BHS+Is|1:1|LXX&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Et j'obtiens en note de note de bas de page :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
&lt;i&gt;Cf&lt;/i&gt;. Is 1,1 (BHS) ; Is 1,1 (LXX).&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Mise en &#339;uvre&lt;/h3&gt;
&lt;p&gt;Je cr&#233;e une commande &lt;code class='spip_code' dir='ltr'&gt;\bibleall&lt;/code&gt; qui se contente pour l'essentiel d'appeler une commande &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cnewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;newcommand&lt;/span&gt;&lt;/a&gt;*&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibleall&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%#1 : passage&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cfootnote&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;footnote&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;\&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cemph&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;emph&lt;/span&gt;&lt;/a&gt;{Cf&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;. &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibleref&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;#1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/07f0314409f7fab91b308fa20dd1af4e.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Ceci permet d'appeler &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt; depuis une autre commande &lt;code class='spip_code' dir='ltr'&gt;\bible&lt;/code&gt; :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cnewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;newcommand&lt;/span&gt;&lt;/a&gt;*&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bible&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%#1 : passage&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%#2 : texte&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cemph&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;emph&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;#2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cfootnote&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;footnote&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibleref&lt;/span&gt;{#1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/231bf5b78f3bd874690420761b6fd167.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;La commande &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt; va se servir des outils du package &lt;a href=&quot;http://www.ctan.org/pkg/etoolbox&quot; class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;etoolbox&lt;/code&gt;&lt;/a&gt; pour parcourir les listes. On se sert &#233;galement du package &lt;a href=&quot;http://www.ctan.org/pkg/xstring&quot; class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;xstring&lt;/code&gt;&lt;/a&gt;, qui nous permet de savoir le nombre de &lt;code class='spip_code' dir='ltr'&gt;|&lt;/code&gt; dans chaque &#233;l&#233;ment de la liste :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; 1 si on n'indique pas la version.&lt;/li&gt;&lt;li&gt; 2 si on indique la version.&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cnewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;newcommand&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibleref&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%Commande pour afficher un passage biblique, c'est elle qui est appell&#233;e par tt les autres&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cdef&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;def&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\passage&lt;/span&gt;##1|##2|##3|&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibleverse&lt;/span&gt;{##1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;(##2)&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifstrempty&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;##3&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{ (##3)&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% L'affichage de chaque passage : ##1) livre ##2) passage ##3) version&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% On commence par faire une liste des passages&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cdef&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;def&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\passages&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Liste des passages&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\numdef&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\nbpassages&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Nbr total de passages&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\DeclareListParser*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\trouvepassages&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Le + est un s&#233;parateur&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\trouvepassages&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\numdef&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\nbpassages&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\nbpassages&lt;/span&gt;+1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\listadd&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\passages&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;#1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% On remplit la liste des passage&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% On la parcourt ensuite&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\numdef&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\cptpassage&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Le nombre de passage courant&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Crenewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;renewcommand&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\do&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Ce qu'on effectue &#224; chaque boucle&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\numdef&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\cptpassage&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\cptpassage&lt;/span&gt;+1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Incr&#233;menter le compteur du passage courant&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\IfSubStr&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;##1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Tester si on a 2 ou 3 &#233;l&#232;ments dans le passage&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\passage&lt;/span&gt;##1|&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Si 3 &#233;l&#232;ments, donc 2 |&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\passage&lt;/span&gt;##1||&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Si 2 &#233;l&#232;ments, donc 1 |&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifnumequal&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\nbpassages&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\cptpassage&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; ; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% y a t'il encore des passages ensuite?&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\dolistloop&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\passages&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;% Boucler sur tt les passages&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/15e6782c988d65ebbb5cd8b039e9fc13.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;J'ai d&#233;j&#224; mis des commentaires, qui devraient permettre de comprendre l'essentiel. Mais compl&#233;tons un peu.&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; l. 3 : la commande &lt;code class='spip_code' dir='ltr'&gt;\passage&lt;/code&gt; est une commande TeX et non pas LaTeX comme le prouve sa d&#233;finition par &lt;code class='spip_code' dir='ltr'&gt;\def&lt;/code&gt; et non par &lt;code class='spip_code' dir='ltr'&gt;\newcommand&lt;/code&gt;. Voici quelques pr&#233;cisions sur sa d&#233;finition :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;##1|##2|##3|&lt;/code&gt; signifie que ces arguments sont pass&#233;s imm&#233;diatement apr&#232;s le nom de la commande, chaque argument &#233;tant suivi d'une pipe. Ainsi on appelle la commande de la forme suivante : &lt;code class='spip_code' dir='ltr'&gt;\passage Is|1:1|LXX&lt;/code&gt;. &lt;/li&gt;&lt;li&gt; Cependant cette commande ne peut &#234;tre appel&#233;e directement dans le corps du fichier. En effet, nous l'avons d&#233;finie &lt;i&gt;&#224; l'int&#233;rieur&lt;/i&gt; de la commande &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt; : sa port&#233;e, c'est &#224; dire l'endroit o&#249; il est appellable, se limite donc &#224; l'int&#233;rieur de &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt;. Le fait que nous ayons d&#233;fini &lt;code class='spip_code' dir='ltr'&gt;\passage&lt;/code&gt; dans &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt; explique que nos arguments aient 2 &lt;code class='spip_code' dir='ltr'&gt;#&lt;/code&gt; et non un seul. &lt;/li&gt;&lt;li&gt; Nous passons les deux premiers arguments &#224; la commande &lt;code class='spip_code' dir='ltr'&gt;\bibleverse&lt;/code&gt;, selon la syntaxe de celle-ci. Puis si le troisi&#232;me argument n'est pas vide, nous le mettons entre parenth&#232;se.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; l. 5. Nous d&#233;finissons une commande vide &lt;code class='spip_code' dir='ltr'&gt;\passages&lt;/code&gt;. Cette commande sera remplie par &lt;code class='spip_code' dir='ltr'&gt;etoolbox&lt;/code&gt; pour constituer une liste que nous pourrons manipuler.&lt;/li&gt;&lt;li&gt; l. 6. Nous d&#233;finissons un nombre &lt;code class='spip_code' dir='ltr'&gt;\nbpassages&lt;/code&gt; qui nous servira &#224; compter le nombre de passages. Un nombre est une sorte de compteur propre au passage etoolbox. L'avantage d'utiliser un nombre plut&#244;t qu'un compteur est double :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Un nombre peut avoir une port&#233;e locale, alors qu'un compteur est global. Autrement dit, &#224; chaque fois que nous appelons &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt;, nous r&#233;initialisons &lt;code class='spip_code' dir='ltr'&gt;\nbpassages&lt;/code&gt; et il est impossible d'avoir acc&#232;s &#224; la valeur de &lt;code class='spip_code' dir='ltr'&gt;\nbpassages&lt;/code&gt; en dehors de &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt;&lt;/li&gt;&lt;li&gt; Un nombre est plus facile &#224; manipuler avec &lt;code class='spip_code' dir='ltr'&gt;etoolbox&lt;/code&gt; qu'un compteur.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; l. 7 : nous indiquons que la commande &lt;code class='spip_code' dir='ltr'&gt;\trouvepassages&lt;/code&gt; va nous permettre de manipuler un liste dont les &#233;l&#233;ments sont s&#233;par&#233;s par des &lt;code class='spip_code' dir='ltr'&gt;+&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; l. 8 : nous parcourons le texte pass&#233; en argument &#224; &lt;code class='spip_code' dir='ltr'&gt;\bibleref&lt;/code&gt; (#1), pour d&#233;terminer les &#233;l&#233;ments de la liste. Pour chaque &#233;l&#233;ment de la liste : -&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;\numdef\nbpassages{\nbpassages+1}&lt;/code&gt; indique que nous augmentons d'une unit&#233; la valeur de &lt;code class='spip_code' dir='ltr'&gt;\nbpassages&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;\listadd\passages&lt;/code&gt; indique que nous ajoutons l'&#233;l&#233;ment courant &#224; la liste &lt;code class='spip_code' dir='ltr'&gt;\passages&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; Apr&#232;s la l. 10 nous allons d&#233;sormais travailler non plus sur la liste &lt;code class='spip_code' dir='ltr'&gt;#1&lt;/code&gt; mais sur la liste &lt;code class='spip_code' dir='ltr'&gt;\passages&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; L. 11 : nous avons besoin d'un autre nombre, &lt;code class='spip_code' dir='ltr'&gt;\cptpassage&lt;/code&gt; pour savoir combien d'&#233;l&#233;ments nous avons parcourus.&lt;/li&gt;&lt;li&gt; L. 12 &#224; 18, nous d&#233;finissons ce que nous ferons pour chaque &#233;l&#233;ment de la liste :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; L. 13 : incr&#233;menter &lt;code class='spip_code' dir='ltr'&gt;\cptpassage&lt;/code&gt; d'une unit&#233;.&lt;/li&gt;&lt;li&gt; L. 14 : tester le nombre &lt;code class='spip_code' dir='ltr'&gt;|&lt;/code&gt; pr&#233;sent dans l'&#233;l&#233;ment courant (&lt;code class='spip_code' dir='ltr'&gt;##1&lt;/code&gt;) est au moins &#233;gal &#224; &lt;code class='spip_code' dir='ltr'&gt;2&lt;/code&gt; :&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; L. 15 : si c'est le cas, nous avons affaire &#224; quelque chose du style &lt;code class='spip_code' dir='ltr'&gt;Is|1:1|LXX&lt;/code&gt;. Dans ce cas, nous appelons &lt;code class='spip_code' dir='ltr'&gt;\passage&lt;/code&gt; en lui passant une cha&#238;ne constitu&#233; de l'&#233;l&#233;ment courant (&lt;code class='spip_code' dir='ltr'&gt;##1&lt;/code&gt;) suivi de &lt;code class='spip_code' dir='ltr'&gt;|&lt;/code&gt;. Dans notre exemple, c'est comme si nous faisions &lt;coder&gt;\passage Is|1:1|LXXL&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; L. 16 : s'il y a moins de deux &lt;code class='spip_code' dir='ltr'&gt;|&lt;/code&gt;, nous avons affaire &#224; quelque chose du style &lt;code class='spip_code' dir='ltr'&gt;Is|1:1&lt;/code&gt;. Dans ce cas, nous appelons &lt;code class='spip_code' dir='ltr'&gt;\passage&lt;/code&gt; en lui passant une cha&#238;ne constitu&#233; de l'&#233;l&#233;ment courant (&lt;code class='spip_code' dir='ltr'&gt;##1&lt;/code&gt;) suivi de &lt;code class='spip_code' dir='ltr'&gt;||&lt;/code&gt;. Dans notre exemple, c'est comme si nous faisions &lt;coder&gt;\passage Is|1:1||&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; Gr&#226;ce au test de la ligne 14, nous pouvons indiff&#233;remment pr&#233;ciser ou non la version.&lt;/li&gt;&lt;li&gt; L. 17 : nous testons si &lt;code class='spip_code' dir='ltr'&gt;\cptpassage&lt;/code&gt; est &#233;gal &#224; &lt;code class='spip_code' dir='ltr'&gt;\nbpassages&lt;/code&gt;, c'est &#224; dire si nous avons affaire au dernier &#233;l&#233;ment de la liste. Si tel est le cas, nous mettons un point final, sinon un &lt;code class='spip_code' dir='ltr'&gt;;&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; L. 19 : nous ex&#233;cutons ce que nous avons d&#233;fini dans &lt;code class='spip_code' dir='ltr'&gt;\do&lt;/code&gt; pour chaque &#233;l&#233;ment de la liste &lt;code class='spip_code' dir='ltr'&gt;\passages&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Ouf, &#231;a y est. Le commentaire est fini. Il peut para&#238;tre un peu &#171; lourd &#187;, mais mieux vaut &#234;tre trop pr&#233;cis que pas assez.&lt;/p&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb8-1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh8-1' class='spip_note' title='Notes 8-1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;Elle sert &#224; indiquer la s&#233;lection de plusieurs versets discontinus.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Du Thesaurus Linguae Graecae vers LaTeX
</title>
		<link>http://geekographie.maieul.net/Du-Thesaurus-Linguae-Graecae-vers</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Du-Thesaurus-Linguae-Graecae-vers</guid>
		<dc:date>2013-04-11T10:22:07Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Le Thesaurus Linguae Graecae est un outils indispensable pour les hell&#233;nistes. L'un de ses avantages est de permettre de copier-coller facilement des textes grecs vers son travail, s'&#233;vitant ainsi la fastidieuse t&#226;che de retranscription, avec toutes les erreurs que cela implique. Cependant le texte tel qu'il est fourni n'est pas utilisable tel quel : il n&#233;c&#233;essite quelques retouches. Voici un script permettant d'automatiser certaine d'entre elle, afin de pouvoir utiliser le texte avec LaTeX. (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Latex-" rel="directory"&gt;LaTeX
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Le &lt;i&gt;Thesaurus Linguae Graecae&lt;/i&gt; est un outils indispensable pour les hell&#233;nistes. L'un de ses avantages est de permettre de copier-coller facilement des textes grecs vers son travail, s'&#233;vitant ainsi la fastidieuse t&#226;che de retranscription, avec toutes les erreurs que cela implique.&lt;/p&gt; &lt;p&gt;Cependant le texte tel qu'il est fourni n'est pas utilisable tel quel : il n&#233;c&#233;essite quelques retouches. Voici un script permettant d'automatiser certaine d'entre elle, afin de pouvoir utiliser le texte avec LaTeX.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Exemple&lt;/h3&gt;
&lt;p&gt;J'ai extrait du site TLG le texte suivant&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb2-1' class='spip_note' rel='footnote' title='Il s'agit d'un extrait d'une louange &#224; l'ap&#244;tre Barnab&#233;.' id='nh2-1'&gt;1&lt;/a&gt;]&lt;/span&gt; :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_text code&quot;&gt; &#7964;&#954;&#945;&#956;&#949;&#957; &#8001; &#955;&#972;&#947;&#959;&#962;, &#964;&#959;&#8166;&#964;&#959;&#957; &#964;&#8056;&#957; &#952;&#949;&#963;&#960;&#941;&#963;&#953;&#959;&#957; &#954;&#945;&#8054; &#964;&#961;&#953;&#960;&#972;&#952;&#951;&#964;&#959;&#957;&lt;br /&gt;
&#914;&#945;&#961;&#957;&#940;&#946;&#945;&#957; &#964;&#8056;&#957; &#7936;&#960;&#972;&#963;&#964;&#959;&#955;&#959;&#957; &#7952;&#960;&#8118;&#961;&#945;&#953; &#964;&#959;&#8150;&#962; &#7952;&#947;&#954;&#969;&#956;&#943;&#959;&#953;&#962; &#960;&#959;&#952;&#8182;&#957;,&lt;br /&gt;
&#954;&#945;&#8054; &#959;&#8020;&#960;&#969; &#7973;&#968;&#945;&#964;&#959; &#964;&#959;&#8166; &#960;&#961;&#959;&#959;&#953;&#956;&#943;&#959;&#965;&#183; &#964;&#959;&#8150;&#962; &#947;&#8048;&#961; &#7952;&#960;&#945;&#943;&#957;&#959;&#953;&#962; &#7936;&#960;&#961;&#972;-&lt;br /&gt;
&#963;&#953;&#964;&#959;&#962; &#964;&#965;&#947;&#967;&#940;&#957;&#949;&#953; &#8001; &#952;&#945;&#965;&#956;&#940;&#963;&#953;&#959;&#962;. &#916;&#953;&#8056; &#7936;&#966;&#941;&#957;&#964;&#949;&#962; &#8033;&#962; &#7936;&#957;&#941;&#966;&#953;&#954;&#964;&#959;&#957; (135)&lt;br /&gt;
&#964;&#8056;&#957; &#960;&#949;&#961;&#8054; &#964;&#8182;&#957; &#7952;&#947;&#954;&#969;&#956;&#943;&#969;&#957; &#955;&#972;&#947;&#959;&#957;, &#8000;&#955;&#943;&#947;&#945; &#964;&#8182;&#957; &#949;&#7984;&#962; &#7969;&#956;&#8118;&#962;&lt;br /&gt;
&#7984;&#972;&#957;&#964;&#969;&#957; &#960;&#949;&#961;&#8054; &#964;&#8134;&#962; &#964;&#959;&#973;&#964;&#959;&#965; &#946;&#953;&#974;&#963;&#949;&#969;&#962; &#954;&#945;&#8054; &#964;&#949;&#955;&#949;&#953;&#974;&#963;&#949;&#969;&#962; &#7956;&#954; &#964;&#949;&lt;br /&gt;
&#964;&#959;&#8166; &#931;&#964;&#961;&#969;&#956;&#945;&#964;&#941;&#969;&#962; &#954;&#945;&#8054; &#7952;&#958; &#7953;&#964;&#941;&#961;&#969;&#957; &#7936;&#961;&#967;&#945;&#943;&#969;&#957; &#963;&#965;&#947;&#947;&#961;&#945;&#956;&#956;&#940;&#964;&#969;&#957;&lt;br /&gt;
&#960;&#945;&#961;&#945;&#952;&#942;&#963;&#959;&#956;&#945;&#953; &#964;&#8135; &#8017;&#956;&#949;&#964;&#941;&#961;&#8115; &#8001;&#963;&#953;&#972;&#964;&#951;&#964;&#953;, &#954;&#945;&#8054; &#959;&#8021;&#964;&#969; &#964;&#8056; &#960;&#941;&#961;&#945;&#962;&lt;br /&gt;
&#7952;&#960;&#953;&#952;&#942;&#963;&#959;&#956;&#949;&#957; &#964;&#8183; &#948;&#953;&#951;&#947;&#942;&#956;&#945;&#964;&#953;, &#960;&#945;&#961;&#945;&#967;&#969;&#961;&#942;&#963;&#945;&#957;&#964;&#949;&#962; &#964;&#8135; &#952;&#949;&#959;&#960;&#957;&#949;&#973;&#963;&#964;&#8179; (140)&lt;br /&gt;
&#915;&#961;&#945;&#966;&#8135; &#964;&#959;&#8166; &#7936;&#959;&#953;&#948;&#943;&#956;&#959;&#965; &#964;&#8052;&#957; &#954;&#949;&#966;&#945;&#955;&#8052;&#957; &#956;&#949;&#947;&#945;&#955;&#959;&#960;&#961;&#949;&#960;&#8182;&#962; &#963;&#964;&#949;-&lt;br /&gt;
&#966;&#945;&#957;&#8182;&#963;&#945;&#953;&#183; &#966;&#951;&#963;&#8054; &#947;&#940;&#961;&#183; &#8220;&#7982;&#957; &#948;&#8050; &#914;&#945;&#961;&#957;&#940;&#946;&#945;&#962; &#7936;&#957;&#8052;&#961; &#7936;&#947;&#945;&#952;&#8056;&#962; &#954;&#945;&#8054;&lt;br /&gt;
&#960;&#955;&#942;&#961;&#951;&#962; &#928;&#957;&#949;&#973;&#956;&#945;&#964;&#959;&#962; &#7937;&#947;&#943;&#959;&#965; &#954;&#945;&#8054; &#960;&#943;&#963;&#964;&#949;&#969;&#962;.&#8221; &#927;&#8023; &#964;&#943; &#7938;&#957; &#947;&#941;&#957;&#959;&#953;&#964;&#959;&lt;br /&gt;
&#7988;&#963;&#959;&#957; &#7970; &#960;&#945;&#961;&#945;&#960;&#955;&#942;&#963;&#953;&#959;&#957; &#960;&#974;&#960;&#959;&#964;&#949;;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/1e69ca9fabef5c0fcafa669bdc2fd772.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Je souhaiterais :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; faire dispara&#238;tre les num&#233;ros de ligne
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; transformer les guillemets en utilisant la commande &lt;code class='spip_code' dir='ltr'&gt;\csquotes&lt;/code&gt; &#224; la place.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; supprimer les c&#233;sures, puisque LaTeX se charge tout seul d'en mettre.&lt;/p&gt; &lt;p&gt;Voici le r&#233;sultat souhait&#233; :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&#7964;&#954;&#945;&#956;&#949;&#957; &#8001; &#955;&#972;&#947;&#959;&#962;, &#964;&#959;&#8166;&#964;&#959;&#957; &#964;&#8056;&#957; &#952;&#949;&#963;&#960;&#941;&#963;&#953;&#959;&#957; &#954;&#945;&#8054; &#964;&#961;&#953;&#960;&#972;&#952;&#951;&#964;&#959;&#957;&lt;br /&gt;
&#914;&#945;&#961;&#957;&#940;&#946;&#945;&#957; &#964;&#8056;&#957; &#7936;&#960;&#972;&#963;&#964;&#959;&#955;&#959;&#957; &#7952;&#960;&#8118;&#961;&#945;&#953; &#964;&#959;&#8150;&#962; &#7952;&#947;&#954;&#969;&#956;&#943;&#959;&#953;&#962; &#960;&#959;&#952;&#8182;&#957;,&lt;br /&gt;
&#954;&#945;&#8054; &#959;&#8020;&#960;&#969; &#7973;&#968;&#945;&#964;&#959; &#964;&#959;&#8166; &#960;&#961;&#959;&#959;&#953;&#956;&#943;&#959;&#965;&#183; &#964;&#959;&#8150;&#962; &#947;&#8048;&#961; &#7952;&#960;&#945;&#943;&#957;&#959;&#953;&#962; &#7936;&#960;&#961;&#972;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&#963;&#953;&#964;&#959;&#962; &#964;&#965;&#947;&#967;&#940;&#957;&#949;&#953; &#8001; &#952;&#945;&#965;&#956;&#940;&#963;&#953;&#959;&#962;. &#916;&#953;&#8056; &#7936;&#966;&#941;&#957;&#964;&#949;&#962; &#8033;&#962; &#7936;&#957;&#941;&#966;&#953;&#954;&#964;&#959;&#957; &lt;br /&gt;
&#964;&#8056;&#957; &#960;&#949;&#961;&#8054; &#964;&#8182;&#957; &#7952;&#947;&#954;&#969;&#956;&#943;&#969;&#957; &#955;&#972;&#947;&#959;&#957;, &#8000;&#955;&#943;&#947;&#945; &#964;&#8182;&#957; &#949;&#7984;&#962; &#7969;&#956;&#8118;&#962;&lt;br /&gt;
&#7984;&#972;&#957;&#964;&#969;&#957; &#960;&#949;&#961;&#8054; &#964;&#8134;&#962; &#964;&#959;&#973;&#964;&#959;&#965; &#946;&#953;&#974;&#963;&#949;&#969;&#962; &#954;&#945;&#8054; &#964;&#949;&#955;&#949;&#953;&#974;&#963;&#949;&#969;&#962; &#7956;&#954; &#964;&#949;&lt;br /&gt;
&#964;&#959;&#8166; &#931;&#964;&#961;&#969;&#956;&#945;&#964;&#941;&#969;&#962; &#954;&#945;&#8054; &#7952;&#958; &#7953;&#964;&#941;&#961;&#969;&#957; &#7936;&#961;&#967;&#945;&#943;&#969;&#957; &#963;&#965;&#947;&#947;&#961;&#945;&#956;&#956;&#940;&#964;&#969;&#957;&lt;br /&gt;
&#960;&#945;&#961;&#945;&#952;&#942;&#963;&#959;&#956;&#945;&#953; &#964;&#8135; &#8017;&#956;&#949;&#964;&#941;&#961;&#8115; &#8001;&#963;&#953;&#972;&#964;&#951;&#964;&#953;, &#954;&#945;&#8054; &#959;&#8021;&#964;&#969; &#964;&#8056; &#960;&#941;&#961;&#945;&#962;&lt;br /&gt;
&#7952;&#960;&#953;&#952;&#942;&#963;&#959;&#956;&#949;&#957; &#964;&#8183; &#948;&#953;&#951;&#947;&#942;&#956;&#945;&#964;&#953;, &#960;&#945;&#961;&#945;&#967;&#969;&#961;&#942;&#963;&#945;&#957;&#964;&#949;&#962; &#964;&#8135; &#952;&#949;&#959;&#960;&#957;&#949;&#973;&#963;&#964;&#8179; &lt;br /&gt;
&#915;&#961;&#945;&#966;&#8135; &#964;&#959;&#8166; &#7936;&#959;&#953;&#948;&#943;&#956;&#959;&#965; &#964;&#8052;&#957; &#954;&#949;&#966;&#945;&#955;&#8052;&#957; &#956;&#949;&#947;&#945;&#955;&#959;&#960;&#961;&#949;&#960;&#8182;&#962; &#963;&#964;&#949;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&#966;&#945;&#957;&#8182;&#963;&#945;&#953;&#183; &#966;&#951;&#963;&#8054; &#947;&#940;&#961;&#183; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\enquote&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&#7982;&#957; &#948;&#8050; &#914;&#945;&#961;&#957;&#940;&#946;&#945;&#962; &#7936;&#957;&#8052;&#961; &#7936;&#947;&#945;&#952;&#8056;&#962; &#954;&#945;&#8054;&lt;br /&gt;
&#960;&#955;&#942;&#961;&#951;&#962; &#928;&#957;&#949;&#973;&#956;&#945;&#964;&#959;&#962; &#7937;&#947;&#943;&#959;&#965; &#954;&#945;&#8054; &#960;&#943;&#963;&#964;&#949;&#969;&#962;.&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt; &#927;&#8023; &#964;&#943; &#7938;&#957; &#947;&#941;&#957;&#959;&#953;&#964;&#959;&lt;br /&gt;
&#7988;&#963;&#959;&#957; &#7970; &#960;&#945;&#961;&#945;&#960;&#955;&#942;&#963;&#953;&#959;&#957; &#960;&#974;&#960;&#959;&#964;&#949;;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/64f74d8a93e15223ab1002677a736f4a.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Je me sert pour cela du script Python joint.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Utilisation&lt;/h3&gt;
&lt;p&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Dans le TLG, afficher le texte sans les &#171; Beta Escape &#187; (dans la colonne de gauche, le menu d&#233;roulant &#171; Beta Escape &#187; mis &#224; &#171; None &#187;).
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Le copier dans un fichier &lt;code class='spip_code' dir='ltr'&gt;nom.txt&lt;/code&gt;.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Avoir &lt;a href=&quot;http://www.python.org/download/releases/3.0/&quot; class='spip_out' rel='external'&gt;Python 3&lt;/a&gt; ou plus install&#233; sur sa machine.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Mettre le script joint &#224; c&#244;t&#233; du fichier.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Avec son terminal, se rendre dans le dossier du fichier et frapper &lt;code class='spip_code' dir='ltr'&gt;python3 tlg2latex.py nom.txt&lt;/code&gt;.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Un fichier &lt;code class='spip_code' dir='ltr'&gt;normalise_nom.txt&lt;/code&gt; appara&#238;t &#224; c&#244;t&#233; : il contient le code utilisable dans LaTeX.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;&#192; faire&lt;/h3&gt;
&lt;p&gt;Tout les cas possibles ne sont sans doute pas encore pris en compte. J'attend vos avis, ou m&#234;me &lt;a href=&quot;https://github.com/maieul/tlg2latex/pull/1&quot; class='spip_out' rel='external'&gt;vos am&#233;liorations directes&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb2-1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh2-1' class='spip_note' title='Notes 2-1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;Il s'agit d'un extrait d'une louange &#224; l'ap&#244;tre Barnab&#233;.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		&lt;div class='rss_ps'&gt;&lt;p&gt;Le code est disponible sur Github, sous Licence GPL3 : &lt;a href=&quot;https://github.com/maieul/tlg2latex&quot; class='spip_url spip_out auto' rel='nofollow external'&gt;https://github.com/maieul/tlg2latex&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		</content:encoded>


		
		<enclosure url="https://raw.github.com/maieul/tlg2latex/stable1/tlg2latex.py" length="1903" type="application/x-python" />
		

	</item>
<item xml:lang="fr">
		<title>Eledform et XML-TEI : vers un vocabulaire commun ?
</title>
		<link>http://geekographie.maieul.net/Eledform-et-XML-TEI-vers-un</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Eledform-et-XML-TEI-vers-un</guid>
		<dc:date>2013-03-16T21:35:07Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Je continue mes r&#233;flexions sur eledform. Dans un pr&#233;c&#233;dent article j'essayais d'expliciter les diff&#233;rentes informations que l'on peut associer &#224; un lemme, pour envisager une syntaxe g&#233;n&#233;raliste. Je vais en proposer ici un nouveau, &#224; partir du XML-TEI. En effet, le module critical propose d&#233;j&#224;, &#224; sa mani&#232;re, un formalisme. Ne serait-il pas pertinent de reprendre les r&#233;flexions du comit&#233;s &#224; l'origine du TEI pour constituer notre formalisme ? Exemple en XML TEI Prenons un exemple, avec le texte suivant : (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-e-led-mac-par-" rel="directory"&gt;(e)led(mac/par)
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Je continue mes r&#233;flexions sur eledform. Dans un pr&#233;c&#233;dent article j'essayais d'expliciter les diff&#233;rentes informations que l'on peut associer &#224; un lemme, &lt;a href=&quot;http://geekographie.maieul.net/Une-syntaxe-generaliste-pour&quot; class='spip_in'&gt;pour envisager une syntaxe g&#233;n&#233;raliste&lt;/a&gt;. Je vais en proposer ici un nouveau, &#224; partir du XML-TEI. En effet, &lt;a href=&quot;http://www.tei-c.org/release/doc/tei-p5-doc/en/html/TC.html&quot; class='spip_out' rel='external'&gt;le module critical&lt;/a&gt; propose d&#233;j&#224;, &#224; sa mani&#232;re, un formalisme. Ne serait-il pas pertinent de reprendre les r&#233;flexions du comit&#233;s &#224; l'origine du TEI pour constituer notre formalisme ?&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Exemple en XML TEI&lt;/h3&gt;
&lt;p&gt;Prenons un exemple, avec le texte suivant :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Dans A &#171; lorem &#187; est omis, dans B il est suivi de &#171; rem &#187;, dans C il est remplac&#233; par &#171; Lorim &#187; et dans D par &#171; Loram &#187;.&lt;/p&gt; &lt;p&gt;En XML-TEI, on noterait les choses ainsi :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_xml code&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;app&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;lem&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Lorem&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;/lem&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;rdg&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;wit&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;#C&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;Loram&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;/rdg&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;rdg&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;wit&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;#D&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;Lorim&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;/rdg&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;rdg&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;wit&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;#B&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;add&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;rem&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;/add&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;/rdg&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;rdg&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;wit&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;#A&quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&lt;/app&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; ipsum dolor sit amet, consectetur adipiscing elit.&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/293b1a721e350b8fcfba98b24b767b6b.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Selon la norme XML
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Nous avons une structure arborescente d'&#233;l&#232;ments.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; Nous avons des attributs affect&#233; &#224; chaque &#233;l&#232;ment, par exemple &lt;code class='spip_code' dir='ltr'&gt;wit&lt;/code&gt;.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Ne pourrais-t-on pas reproduire une structure similaire en LaTeX ?&lt;/h3&gt;
&lt;p&gt;Ceci aurait l'avantage de :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; permettre de se reposer sur les reponsables du XML-TEI pour d&#233;finir le vocabulaire.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; permettre plus facilement le passage de XML-TEI vers LaTeX et vice versa.&lt;/p&gt; &lt;p&gt;On aurait le code suivant :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\app&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\lem&lt;/span&gt;{Lorem&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\rdg&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;wit=C&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Loram&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\rdg&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;wit=D&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Lorim&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\rdg&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;wit=A&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\rdg&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;wit=B&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\add&lt;/span&gt;{rem&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/65da87a09a716aef9b52170b9563044f.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#201;videmment cela pose des questions quant la mani&#232;re de cr&#233;er ensuite les styles correspondant. Cela sera l'objet d'un prochain article.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Corrigenda de la premi&#232;re &#233;dition du livre
</title>
		<link>http://geekographie.maieul.net/Corrigenda-de-la-premiere-edition</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Corrigenda-de-la-premiere-edition</guid>
		<dc:date>2013-03-16T14:38:13Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Une liste, non exhaustive, de corrigenda pour le livre XeLaTeX appliqu&#233; aux sciences humaines. Dans le chapitre sur les langues En plus de l'explication sur Unicode, on lire l'article Normalisation des caract&#232;res unicode et typographie. Dans le chapitre sur ledmac/ledpar On remplacera ledmac par eledmac et ledpar par eledpar. On consultera l'article de pr&#233;sentation de eledmac pour plus d'information. Dans le chapitre sur l'ajout de r&#233;f&#233;rence bibliographique On remplacera \volvcite par \volcite. (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Latex-" rel="directory"&gt;LaTeX
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Une liste, non exhaustive, de corrigenda pour le livre &lt;i&gt;XeLaTeX appliqu&#233; aux sciences humaines&lt;/i&gt;.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Dans le chapitre sur les langues&lt;/h3&gt;
&lt;p&gt;En plus de l'explication sur Unicode, on lire l'article &lt;a href=&quot;http://geekographie.maieul.net/Normalisation-des-caracteres&quot; class='spip_in'&gt;Normalisation des caract&#232;res unicode et typographie&lt;/a&gt;.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Dans le chapitre sur ledmac/ledpar&lt;/h3&gt;
&lt;p&gt;On remplacera ledmac par eledmac et ledpar par eledpar. On consultera l'article de &lt;a href=&quot;http://geekographie.maieul.net/Ledmac-est-mort-vive-Eledmac&quot; class='spip_in'&gt;pr&#233;sentation de eledmac&lt;/a&gt; pour plus d'information.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Dans le chapitre sur l'ajout de r&#233;f&#233;rence bibliographique&lt;/h3&gt;
&lt;p&gt;On remplacera &lt;code class='spip_code' dir='ltr'&gt;\volvcite&lt;/code&gt; par &lt;code class='spip_code' dir='ltr'&gt;\volcite&lt;/code&gt;.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Dans le chapitre sur Beamer&lt;/h3&gt;
&lt;p&gt;L'explication sur la version article / pr&#233;sentation est incorrect. On supprimera toute la section &#171; Automatiser les r&#233;glages &#187;.&lt;/p&gt; &lt;p&gt;On consultera &#233;galement l'article &lt;a href=&quot;http://geekographie.maieul.net/Preparer-simultanement-un-article&quot; class='spip_in'&gt;Pr&#233;parer simultan&#233;ment un article et une pr&#233;sentation&lt;/a&gt; qui explique comment emp&#234;cher d'avoir le contenu des diapositives dans les articles.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Dans l'annexe sur latexmk&lt;/h3&gt;
&lt;p&gt;Le fichier est &lt;code class='spip_code' dir='ltr'&gt;latexmkrc&lt;/code&gt; et pas &lt;code class='spip_code' dir='ltr'&gt;latexmrc&lt;/code&gt;.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Dans la bibliographie&lt;/h3&gt;
&lt;p&gt;On pourra ajouter un ouvrage sorti r&#233;cemment sur les &lt;a href=&quot;http://store.compomat.it/product_info.php?products_id=99&quot; class='spip_out' rel='external'&gt;&#233;ditions critiques avec LaTeX&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>G&#233;rer des champs suppl&#233;mentaires
</title>
		<link>http://geekographie.maieul.net/Gerer-des-champs-supplementaires</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Gerer-des-champs-supplementaires</guid>
		<dc:date>2013-03-04T23:16:17Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Les champs par d&#233;faut de BibLaTeX sont en g&#233;n&#233;ral largement suffisants. Cependant on pourrait avoir envie d'en utiliser d'autres, personnalis&#233;s. Voici un petit tutoriel sur le sujet. Le probl&#232;me Il est fr&#233;quent dans certain domaines d'avoir des bibliographies de r&#233;f&#233;rence, attribuant un code &#224; des textes anciens. Ainsi pour la litt&#233;rature chr&#233;tienne ancienne nous avons : Bibliotheca hagiographica graeca (BHG) Bibliotheca hagiographica latina (BHL) Clavis Patrum Graecorum (CPG) Clavis Patrum (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-Biber-" rel="directory"&gt;Biber
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Les champs par d&#233;faut de &lt;i&gt;BibLaTeX&lt;/i&gt; sont en g&#233;n&#233;ral largement suffisants. Cependant on pourrait avoir envie d'en utiliser d'autres, personnalis&#233;s. Voici un petit tutoriel sur le sujet.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Le probl&#232;me&lt;/h3&gt;
&lt;p&gt;Il est fr&#233;quent dans certain domaines d'avoir des bibliographies de r&#233;f&#233;rence, attribuant un code &#224; des textes anciens. Ainsi pour la litt&#233;rature chr&#233;tienne ancienne nous avons :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;i&gt;Bibliotheca hagiographica graeca&lt;/i&gt; (BHG)&lt;/li&gt;&lt;li&gt; &lt;i&gt;Bibliotheca hagiographica latina&lt;/i&gt; (BHL)&lt;/li&gt;&lt;li&gt; &lt;i&gt;Clavis Patrum Graecorum&lt;/i&gt; (CPG)&lt;/li&gt;&lt;li&gt; &lt;i&gt;Clavis Patrum Latinorum&lt;/i&gt; (CPL)&lt;/li&gt;&lt;li&gt; &lt;i&gt;Clavis Apocryphorum Novi Testamenti&lt;/i&gt; (CANT)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Il est parfois plus simple de retenir un texte par son num&#233;ro dans l'une de ces &lt;i&gt;claves&lt;/i&gt; plut&#244;t que par son titre complet. On peut donc souhaiter afficher ce num&#233;ro dans la bibliographie.&lt;/p&gt; &lt;p&gt;Une solution possible est d'utiliser le champ &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt;. Cependant, on ne garanti pas ainsi une pr&#233;sentation uniforme, notamment lorsqu'un texte se voit attribuer plusieurs de ces num&#233;ros.&lt;/p&gt; &lt;p&gt;Une autre solution est de cr&#233;er des champs sp&#233;ciaux, puis de les utiliser. C'est ce que je vais faire ici&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb1' class='spip_note' rel='footnote' title='Je conseille d'avoir lu les chapitres de mon livre concernant la (...)' id='nh1'&gt;1&lt;/a&gt;]&lt;/span&gt;.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Notre exemple&lt;/h3&gt;
&lt;p&gt;Il s'agit des &lt;i&gt;Actes de Barnab&#233;&lt;/i&gt; qui portent le num&#233;ro CANT 285 et le num&#233;ro CPG 255. En base de donn&#233;e, nous le stockons ainsi :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;@bookinbook&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;BHG225,&lt;br /&gt; Bhg = {225&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Cant = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;285&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Editor = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Maximilien Bonnet&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Booktitle=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Acta Apostolorum Apocrypha&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Year=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1898&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Volume=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;2.1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Publisher=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Hermann Mendelssohn&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Location=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Leipzig&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Pages = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;292-302&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Title = &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Acta Barnabae&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/3b779ed126f290214741621313acaa19.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;En l'absence de tout r&#233;glage pour les champs &lt;code class='spip_code' dir='ltr'&gt;bhg&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;cant&lt;/code&gt;, nous obtenons l'affichage suivant :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
&lt;i&gt;Acta Barnabae&lt;/i&gt;, in &lt;i&gt;Acta Apostolorum Apocrypha&lt;/i&gt;, &#233;d. Maximilien Bonnet, t. 2.1, Leipzig : Hermann Mendelssohn, 1898, p. 292&#8211;302&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Nous souhaiterions obtenir quelque chose de la forme :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
&lt;i&gt;Acta Barnabae&lt;/i&gt;, in &lt;i&gt;Acta Apostolorum Apocrypha&lt;/i&gt;, &#233;d. Maximilien Bonnet, t. 2.1, Leipzig : Hermann Mendelssohn, 1898, p. 292&#8211;302 (BHG 225 ; CANT 285)&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Transf&#233;rer les champs&lt;/h3&gt;
&lt;p&gt;Il faut savoir que s'il est possible de d&#233;clarer des champs non standards dans &lt;i&gt;biblatex&lt;/i&gt;, il n'est pas possible de les utiliser tels quels. Ainsi, il est pour le moment impossible d'avoir une commande de type &lt;code class='spip_code' dir='ltr'&gt;\printfield{bhg}&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;D&#232;s lors la solution pour se servir des champs non standards est de &#171; transf&#233;rer &#187; leurs valeurs vers un champ standard. Ce champ pourrait &#234;tre par exemple un des champs libre de type &lt;code class='spip_code' dir='ltr'&gt;userb&lt;/code&gt;. Pour ma part, j'ai choisi de les transf&#233;rer mes champs vers le champs &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;Pour comprendre le principe du transfert, il faut se rappeler que &lt;i&gt;biblatex&lt;/i&gt; ne lit pas le fichier &lt;code class='spip_code' dir='ltr'&gt;.bib&lt;/code&gt; directement, mais qu'il lit le fichier &lt;code class='spip_code' dir='ltr'&gt;.bbl&lt;/code&gt; produit par Biber &#224; partir du fichier &lt;code class='spip_code' dir='ltr'&gt;.bib&lt;/code&gt;. Par exemple, dans le cas pr&#233;sent, notre fichier &lt;code class='spip_code' dir='ltr'&gt;.bbl&lt;/code&gt; contient l'entr&#233;e :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\entry&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;BHG220&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;bookinbook&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\name&lt;/span&gt;{labelname&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;{hash=7cbcda25a11c69ef442ceab55eea1d41&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Bonnet&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;B&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibinitperiod&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Maximilien&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;M&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibinitperiod&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\name&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;editor&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;{hash=7cbcda25a11c69ef442ceab55eea1d41&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Bonnet&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;B&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibinitperiod&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Maximilien&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;M&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibinitperiod&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\list&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;location&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Leipzig&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\list&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;publisher&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Hermann Mendelssohn&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\strng&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;namehash&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;7cbcda25a11c69ef442ceab55eea1d41&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\strng&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;fullhash&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;7cbcda25a11c69ef442ceab55eea1d41&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;sortinit&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;B&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;labeltitle&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Acta Barnabae&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;booktitle&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Acta Apostolorum Apocrypha&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;pubstate&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;submitted&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Acta Barnabae&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;usera&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;volume&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;2.1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;year&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;1898&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\field&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;pages&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;292&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\bibrangedash&lt;/span&gt; 302&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/f5343f63dfd0e8861279c2e28e7d76d6.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Comme vous pouvez le voir, les entr&#233;es sont format&#233;es selon une norme propre &#224; Biber, que &lt;i&gt;Biblatex&lt;/i&gt; va pouvoir lire. L'enjeu pour nous est de rajouter une ligne &lt;code class='spip_code' dir='ltr'&gt;\field{addendum}{BHG 225 ; CANT 285}&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;Pour cela nous allons d&#233;clarer un mappage&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb2' class='spip_note' rel='footnote' title='Si quelqu'un trouve une meilleure traduction de &quot;mapping&quot;, je suis (...)' id='nh2'&gt;2&lt;/a&gt;]&lt;/span&gt; bibliographique, c'est &#224; dire une mani&#232;re de faire correspondre des champs d'une source (par exemple un fichier &lt;code class='spip_code' dir='ltr'&gt;.bib&lt;/code&gt; ou un BDD Zotero) &#224; des champs du fichier &lt;code class='spip_code' dir='ltr'&gt;.bbl&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;Pour ce faire, on utilise la commande &lt;code class='spip_code' dir='ltr'&gt;\DeclareSourcemap&lt;/code&gt;. Celle-ci contient une ou plusieurs commandes &lt;code class='spip_code' dir='ltr'&gt;\maps&lt;/code&gt;, qui indique un mappage. On peut pr&#233;ciser dans les options de la commande &lt;code class='spip_code' dir='ltr'&gt;\map&lt;/code&gt; les conditions d'applications du mappage. Cela peut-&#234;tre par exemple le type de fichier source (bibtex, zotero etc.) ou bien le type d'entr&#233;e bibliographique (&lt;code class='spip_code' dir='ltr'&gt;@article&lt;/code&gt;,&lt;code class='spip_code' dir='ltr'&gt;@book&lt;/code&gt; etc.).&lt;/p&gt; &lt;p&gt;Chaque commande &lt;code class='spip_code' dir='ltr'&gt;\maps&lt;/code&gt; contient une ou plusieurs commandes &lt;code class='spip_code' dir='ltr'&gt;\map&lt;/code&gt;, lues dans l'ordre d'apparition, et qui pr&#233;cisent la mani&#232;re dont des champs sont transform&#233;s. Chaque commande &lt;code class='spip_code' dir='ltr'&gt;\map&lt;/code&gt; contient des commandes &lt;code class='spip_code' dir='ltr'&gt;\step&lt;/code&gt;, qui indiquent les &#233;tapes pour proc&#233;der &#224; la transformation du champ.&lt;/p&gt; &lt;p&gt;Tout ceci semble bien abscon, un exemple sera plus parlant. Ainsi je vous propose d'analyser le code suivant, que je met dans mon pr&#233;ambule :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\DeclareSourcemap&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\maps&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;datatype=bibtex&lt;/span&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\map&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;overwrite&lt;/span&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldsource=bhg,final&lt;/span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={BHG~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,origfieldval, append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\map&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;overwrite&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldsource=cpg,final&lt;/span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={CPG~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,origfieldval, append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\map&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;overwrite&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldsource=bhl,final&lt;/span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={BHL~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,origfieldval, append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\map&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;overwrite&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldsource=cpl,final&lt;/span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={CPL~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,origfieldval, append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\map&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;overwrite&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldsource=cant,final&lt;/span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={CANT~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,origfieldval, append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/1c01f571477f754edbc68fda7aec503a.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; L. 1 : la commande pour d&#233;clarer des mappages&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb3' class='spip_note' rel='footnote' title='Il existe des commandes sp&#233;cifiques si vous souhaitez d&#233;clarer le mappage (...)' id='nh3'&gt;3&lt;/a&gt;]&lt;/span&gt;.&lt;/li&gt;&lt;li&gt; L. 2 : la commande pour d&#233;clarer un mappage particulier, ici dans le cas o&#249; la source est au format &lt;code class='spip_code' dir='ltr'&gt;.bib&lt;/code&gt; (bibtex).&lt;/li&gt;&lt;li&gt; L. 3, 8, 13, 18, 23 : les r&#232;gles de mappage, &#224; lire dans l'ordre. L'option &lt;code class='spip_code' dir='ltr'&gt;overwrite&lt;/code&gt; indique que les r&#232;gles peuvent modifier des valeurs de champ d&#233;j&#224; d&#233;finies. Analysons les lignes 4, 5, 6, le principe est le m&#234;me pour les lignes 9, 10, 11 ; 14, 15, 16 ; 19, 20, 21 ; 24, 25, 26.&lt;/li&gt;&lt;li&gt; L. 4 On indique via &lt;code class='spip_code' dir='ltr'&gt;fieldsource=bhg&lt;/code&gt; que l'on s'int&#233;resse au champ &lt;code class='spip_code' dir='ltr'&gt;bhg&lt;/code&gt; de la source (c'est &#224; dire dans notre cas, du fichier &lt;code class='spip_code' dir='ltr'&gt;.bib&lt;/code&gt;). Le &lt;code class='spip_code' dir='ltr'&gt;final&lt;/code&gt; indique que si ce champ est absent, on arr&#234;te l&#224; cette r&#232;gle de mappage, pour passer &#224; la commande &lt;code class='spip_code' dir='ltr'&gt;\map&lt;/code&gt; suivante.&lt;/li&gt;&lt;li&gt; L. 5 On ajoute &lt;code class='spip_code' dir='ltr'&gt;BHG~&lt;/code&gt; dans le champ &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt;, &#224; la suite du contenu d&#233;j&#224; existant (option &lt;code class='spip_code' dir='ltr'&gt;append&lt;/code&gt;).&lt;/li&gt;&lt;li&gt; L. 6 Dans le champ &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt;, &#224; la suite du contenu d&#233;j&#224; existant, on ajoute le contenu du champ indiqu&#233; par le pr&#233;c&#233;dent &lt;code class='spip_code' dir='ltr'&gt;fieldsource&lt;/code&gt;, c'est &#224; dire dans notre cas du champ &lt;code class='spip_code' dir='ltr'&gt;bhg&lt;/code&gt;. C'est l'option &lt;code class='spip_code' dir='ltr'&gt;origfieldval&lt;/code&gt; qui nous indique d'aller chercher le contenu dans le pr&#233;c&#233;dent champ indiqu&#233; par &lt;code class='spip_code' dir='ltr'&gt;fieldsource&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Si j'ai &#233;t&#233; clair, vous devriez comprendre qu'au final, notre champ addendum contiendra : &lt;code class='spip_code' dir='ltr'&gt;BHG~225CANT~285&lt;/code&gt;. Si nous avions en outre d&#233;fini un champ &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt; dans notre fichier &lt;code class='spip_code' dir='ltr'&gt;.bib&lt;/code&gt;, son contenu sera mis au d&#233;but du champ &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt; du fichier &lt;code class='spip_code' dir='ltr'&gt;.bbl&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;On souhaiterais maintenant ins&#233;rer des points-virgules entre chaque entr&#233;e. On pourrait &#234;tre tenter de modifier ainsi les lignes 5, 10, 15, 20, 25 :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;XXX~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Toutefois ceci pose deux probl&#232;mes :&lt;/p&gt;
&lt;ol class=&quot;spip&quot;&gt;&lt;li&gt; L'un assez mineur est qu'on inscrit &#171; en dur &#187; le s&#233;parateur de &lt;i&gt;claves&lt;/i&gt;.&lt;/li&gt;&lt;li&gt; L'autre majeure est que l'on ajoute syst&#233;matiquement le point-virgule, y compris s'il n'y a rien auparavant. &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Pour r&#233;soudre ces deux probl&#232;mes, nous allons d&#233;finir une nouvelle commande, &lt;code class='spip_code' dir='ltr'&gt;\multiclavesseparator&lt;/code&gt; :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;\&lt;/span&gt;&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cnewcommand&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;newcommand&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\multiclavesseparator&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addsemicolon&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\ifpunct&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\addspace&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;\addsemicolon&lt;/code&gt; ins&#232;re un point-virgule uniquement si nous n'avons pas juste avant un signe de ponctuation. Cela &#233;vite d'avoir&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb4' class='spip_note' rel='footnote' title='Voir La notion d'unit&#233; dans une r&#233;f&#233;rence bibliographique.' id='nh4'&gt;4&lt;/a&gt;]&lt;/span&gt;.&lt;/li&gt;&lt;li&gt; &lt;code class='spip_code' dir='ltr'&gt;\ifpunct{\addspace}{}&lt;/code&gt; ajoute l'espace apr&#232;s le point-virgule s'il est affich&#233;, rien sinon.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Il nous faut ajouter la commande dans nos lignes 5, 10, 15, 20, 25, ainsi :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\step&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;fieldset=addendum,fieldvalue={&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\noexpand&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\multiclavesseparator&lt;/span&gt; XXX~&lt;/span&gt;},append&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Le &lt;code class='spip_code' dir='ltr'&gt;\noexpand&lt;/code&gt; est l&#224; pour &#233;viter que le &lt;code class='spip_code' dir='ltr'&gt;\multiclavesseparator&lt;/code&gt; soit interpr&#233;t&#233; au moment de la lecture du fichier &lt;code class='spip_code' dir='ltr'&gt;.tex&lt;/code&gt;. Il peut par cons&#233;quent se trouver tel quel dans le fichier &lt;code class='spip_code' dir='ltr'&gt;.bcf&lt;/code&gt;&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb5' class='spip_note' rel='footnote' title='Ce fichier, qui est produit lors de la compilation (Xe)LaTeX par le package (...)' id='nh5'&gt;5&lt;/a&gt;]&lt;/span&gt; et par cons&#233;quent dans le fichier &lt;code class='spip_code' dir='ltr'&gt;.bbl&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;Ceci nous produit donc pour le moment&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;&lt;i&gt;Acta Barnabae&lt;/i&gt;, in : &lt;i&gt;Acta Apostolorum Apocrypha&lt;/i&gt;, &#233;d. Maximilien Bonnet, t. 2.1, Leipzig : Hermann Mendelssohn, 1898, p. 292&#8211;302, BHG 225 ; CANT 285&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Styler le champ &lt;code class='spip_code' dir='ltr'&gt;addendum&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;Maintenant que nous avons d&#233;fini le contenu du champ addendum, il nous faut le modifier sa pr&#233;sentation, pour le mettre automatiquement entre parenth&#232;se. On utilise pour cela la commande &lt;code class='spip_code' dir='ltr'&gt;\DeclareFieldFormat&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\DeclareFieldFormat&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;addendum&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\mkbibparens&lt;/span&gt;{#1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Rien de bien sorcier : on indique simplement, via &lt;code class='spip_code' dir='ltr'&gt;\mkbibparens&lt;/code&gt; de mettre entre parenth&#232;se le contenu (&lt;code class='spip_code' dir='ltr'&gt;#1&lt;/code&gt;) du champ. L'avantage d'utiliser &lt;code class='spip_code' dir='ltr'&gt;\mkbibparens&lt;/code&gt; est double :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Si notre champ est vide, nous n'avons pas de parenth&#232;ses vides pour autant.&lt;/li&gt;&lt;li&gt; Si nous nous situons &#224; l'int&#233;rieur d'une parenth&#232;se, &lt;i&gt;biblatex&lt;/i&gt; nous produira automatiquement des crochets. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Avec ceci, nous obtenons :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
&lt;i&gt;Acta Barnabae&lt;/i&gt;, in : &lt;i&gt;Acta Apostolorum Apocrypha&lt;/i&gt;, &#233;d. Maximilien Bonnet, t. 2.1, Leipzig : Hermann Mendelssohn, 1898, p. 292&#8211;302, ( BHG 225 ; CANT 285)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Cela n'est pas terrible :&lt;/p&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Nous avons une virgule suivi d'une parenth&#232;se.&lt;/li&gt;&lt;li&gt; Nous avons une espace apr&#232;s la parenth&#232;se ouvrante, ce qui s'explique par le &lt;code class='spip_code' dir='ltr'&gt;\ifpunct{\addspace}{}&lt;/code&gt;. La pr&#233;c&#233;dente ponctuation &#233;tant la virgule d'avant la parenth&#232;se. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Que cela ne tienne, nous allons corriger ce qui est affich&#233; avant la parenth&#232;se. Pour cela, nous allons modifier la macro bibliographique &lt;code class='spip_code' dir='ltr'&gt;addendum+pubstate&lt;/code&gt;, qui est actuellement d&#233;finie ainsi (dans le fichier &lt;code class='spip_code' dir='ltr'&gt;standard.bbx&lt;/code&gt;) :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;addendum+pubstate&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printfield&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;addendum&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newunit&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newblock&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printfield&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;pubstate&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/e79e3956857026c1471aaf2a65b4b20d.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Nous allons la modifier ainsi :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex cadre spip_cadre&quot;&gt;&lt;div class=&quot;latex&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\renewbibmacro*&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;addendum+pubstate&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\iffieldundef&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;addendum&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;}{&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\nopunct&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printfield&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;addendum&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #2C922C; font-style: italic;&quot;&gt;%&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newunit&lt;/span&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newblock&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\printfield&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;pubstate&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/8d0e00c9ca8e176c6bfaff62693f0c68.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;La premi&#232;re ligne que nous avons ajout&#233;e est assez simple : si nous avons un champ addendum, alors nous supprimons la ponctuation qui pr&#233;c&#232;de&lt;span class=&quot;spip_note_ref&quot;&gt; [&lt;a href='#nb6' class='spip_note' rel='footnote' title='La documentation indique pour : &#171; Ajoute un marqueur interne qui aura pour (...)' id='nh6'&gt;6&lt;/a&gt;]&lt;/span&gt;.&lt;/p&gt; &lt;p&gt;Et nous obtenons ainsi notre affichage final :&lt;/p&gt;
&lt;blockquote class=&quot;spip&quot;&gt;
&lt;p&gt;
&lt;i&gt;Acta Barnabae&lt;/i&gt;, in : &lt;i&gt;Acta Apostolorum Apocrypha&lt;/i&gt;, &#233;d. Maximilien Bonnet, t. 2.1, Leipzig : Hermann Mendelssohn, 1898, p. 292&#8211;302 (BHG 225 ; CANT 285)&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb1'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh1' class='spip_note' title='Notes 1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;Je conseille d'avoir lu les chapitres de mon livre concernant la personnalisation des styles &lt;i&gt;biblatex&lt;/i&gt; pour comprendre certaines notions.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb2'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh2' class='spip_note' title='Notes 2' rev='footnote'&gt;2&lt;/a&gt;] &lt;/span&gt;Si quelqu'un trouve une meilleure traduction de &quot;mapping&quot;, je suis preneur.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb3'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh3' class='spip_note' title='Notes 3' rev='footnote'&gt;3&lt;/a&gt;] &lt;/span&gt;Il existe des commandes sp&#233;cifiques si vous souhaitez d&#233;clarer le mappage dans un fichier de style bibliographique plut&#244;t que dans un fichier &lt;code class='spip_code' dir='ltr'&gt;.tex&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb4'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh4' class='spip_note' title='Notes 4' rev='footnote'&gt;4&lt;/a&gt;] &lt;/span&gt;Voir &lt;a href=&quot;http://geekographie.maieul.net/La-notion-d-unite-dans-une&quot; class='spip_in'&gt;La notion d'unit&#233; dans une r&#233;f&#233;rence bibliographique&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb5'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh5' class='spip_note' title='Notes 5' rev='footnote'&gt;5&lt;/a&gt;] &lt;/span&gt;Ce fichier, qui est produit lors de la compilation (Xe)LaTeX par le package &lt;i&gt;biblatex&lt;/i&gt;, d&#233;crit les r&#233;glages que Biber devra utiliser.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb6'&gt;
&lt;p&gt;&lt;span class=&quot;spip_note_ref&quot;&gt;[&lt;a href='#nh6' class='spip_note' title='Notes 6' rev='footnote'&gt;6&lt;/a&gt;] &lt;/span&gt;La documentation indique pour &lt;code class='spip_code' dir='ltr'&gt;\nopunct&lt;/code&gt; : &#171; Ajoute un marqueur interne qui aura pour cons&#233;quence que la commande suivante de ponctuation n'imprimera rien. &#187; Il faut bien comprendre que les commandes de ponctuations sont interpr&#233;t&#233;es \emph&lt;i&gt;apr&#232;s&lt;/i&gt; les autres commandes (pour g&#233;rer notamment &lt;a href=&quot;http://geekographie.maieul.net/La-notion-d-unite-dans-une&quot; class='spip_in'&gt;les unit&#233;s bibliographiques&lt;/a&gt;). Par cons&#233;quence la commande suivante de ponctuation correspond &#224; la ponctuation qui pr&#233;c&#233;de.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Une syntaxe g&#233;n&#233;raliste pour eledform ?
</title>
		<link>http://geekographie.maieul.net/Une-syntaxe-generaliste-pour</link>
		<guid isPermaLink="true">http://geekographie.maieul.net/Une-syntaxe-generaliste-pour</guid>
		<dc:date>2012-11-01T16:45:24Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>
&lt;p&gt;Les quelques r&#233;actions que j'ai re&#231;us quand &#224; eledform montrent, pour ceux qui souhaitent un formalisme, un int&#233;r&#234;t pour le projet, mais aussi un besoin de l'&#233;tendre. Avant de coder quoique ce soit, je publie ce billet pour r&#233;fl&#233;chir &#224; une syntaxe g&#233;n&#233;raliste. Probl&#233;matique Il s'agit de d&#233;finir une syntaxe qui permette formaliser tous les types de commentaires que l'on peut appliquer &#224; un lemme. Ces commentaires peuvent : concerner des manuscrits ou non. Exemple : une variante dans un manuscrit (...)&lt;/p&gt;


-
&lt;a href="http://geekographie.maieul.net/-e-led-mac-par-" rel="directory"&gt;(e)led(mac/par)
&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Les quelques r&#233;actions que j'ai re&#231;us quand &#224; &lt;a href=&quot;http://geekographie.maieul.net/Eledform&quot; class='spip_in'&gt;eledform&lt;/a&gt; montrent, pour ceux qui souhaitent un formalisme, un int&#233;r&#234;t pour le projet, mais aussi un besoin de l'&#233;tendre.&lt;/p&gt; &lt;p&gt;Avant de coder quoique ce soit, je publie ce billet pour r&#233;fl&#233;chir &#224; une syntaxe g&#233;n&#233;raliste.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Probl&#233;matique&lt;/h3&gt;
&lt;p&gt;Il s'agit de d&#233;finir une syntaxe qui permette formaliser tous les types de commentaires que l'on peut appliquer &#224; un lemme.&lt;/p&gt; &lt;p&gt;Ces commentaires peuvent :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; concerner des manuscrits ou non. Exemple : une variante dans un manuscrit n&#233;cessite de pr&#233;ciser le manuscrit, tandis qu'une suggestion de lecture ou de correction ne n&#233;cessite pas de pr&#233;ciser le manuscrit.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; avoir un contenu variant pour chaque commentaire d'un m&#234;me type ou bien avoir un contenu identique pour les commentaires d'un m&#234;me type. Par exemple l'indication d'une variante de lecture rel&#232;ve de la premi&#232;re cat&#233;gorie, tandis que l'indication d'une rature omission rel&#232;ve de la seconde cat&#233;gorie (on indique &#224; chaque fois &lt;code class='spip_code' dir='ltr'&gt;omission&lt;/code&gt;).
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; &#234;tre unique ou multiple pour un m&#234;me lemme. Par exemple l'indication de l'omission d'un texte est unique (on indique une fois qu'un lemme est omis dans n manuscrit), tandis que l'indication des variantes est multiple (on indique n fois qu'un texte est omis dans un manuscrit).&lt;/p&gt; &lt;p&gt;Par ailleurs, se pose la question d'ajout de commentaires d&#233;rogatoires, n'entrant dans aucune cat&#233;gorie.&lt;/p&gt; &lt;p&gt;Enfin, se pose la question de l'ordre des commentaires et de l'ordre des manuscrits &#224; l'int&#233;rieur de ces commentaires.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Proposition de syntaxe&lt;/h3&gt;
&lt;p&gt;Une syntaxe l&#233;g&#232;re et extensible pourrait &#234;tre :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\com&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;&lt;lemme abreg&#233;&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;lemme&gt;&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;br /&gt; Clef1={Element1.1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Element1.2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Clef2=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Element2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; Clef3=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;{Element3.1.1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Element3.1.2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Element3.2.1&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Element3.2.2&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/0d39c382c49a7feea3ac615a32ede0f3.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;A vu de nez cela peut-&#234;tre compliqu&#233; comme cela, un exemple sera plus parlant. Supposons le mot &#171; Lorem &#187;.&lt;/p&gt; &lt;p&gt;Dans certains manuscrits (A et B) ce mot est omis. Dans C il est remplac&#233; par &#171; Lorim &#187; et dans D par &#171; Loram &#187;. N&#233;ammoins l'&#233;diteur conjoncture &#171; Lorum &#187;.&lt;/p&gt; &lt;p&gt;On pourra noter cela de la mani&#232;re suivante :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\com&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;lorem&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;br /&gt; del={A,B&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; var=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;&lt;br /&gt; {C&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Lorim&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;D&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Loram&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;,&lt;br /&gt; conj=&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;Lorum&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #E02020; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://geekographie.maieul.net/local/cache-code/0cb8d5d59b6d5a78aadd835a07238d5a.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;Syntaxe pour d&#233;finir des nouvelles clefs&lt;/h3&gt;
&lt;p&gt;Il faudrait trouver une syntaxe pour proposer de d&#233;finir des nouvelles clefs. Pour cela, une commande &lt;code class='spip_code' dir='ltr'&gt;\newcom&lt;/code&gt; devra &#234;tre cr&#233;&#233;e :&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;\newcom{&lt;clef&gt;}[&lt;arg&gt;]&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;&lt;code class='spip_code' dir='ltr'&gt;Arg&lt;/code&gt; recevra des arguments :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; &lt;code class='spip_code' dir='ltr'&gt;man&lt;/code&gt;, argument bool&#233;en, pour dire que la clef s'applique &#224; des manuscrits.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; &lt;code class='spip_code' dir='ltr'&gt;mult&lt;/code&gt;, argument bool&#233;en, pour dire que la clef peut recevoir des valeurs multiples. Exemple typique : la clef &lt;code class='spip_code' dir='ltr'&gt;var&lt;/code&gt;
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; &lt;code class='spip_code' dir='ltr'&gt;txt&lt;/code&gt;, pour dire le texte &#224; afficher apr&#232;s les manuscrits si la clef est utilis&#233;e. En l'absence de cet argument, on pr&#233;suppose que la clef sera utilis&#233; en conjonction avec un deuxi&#232;me argument.&lt;/p&gt; &lt;p&gt;Ainsi, si nous voulons cr&#233;er une clef &lt;code class='spip_code' dir='ltr'&gt;dub&lt;/code&gt; pour indiquer un doute, on utilisera&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_latex code&quot;&gt;&lt;span style=&quot;color: #800000; font-weight: normal;&quot;&gt;\newcom&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;dub&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;}[&lt;/span&gt;&lt;span style=&quot;color: #C08020; font-weight: normal;&quot;&gt;txt=\&lt;a href=&quot;http://www.golatex.de/wiki/index.php?title=%5Cemph&quot;&gt;&lt;span style=&quot;color: #800000;&quot;&gt;emph&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #2020C0; font-weight: normal;&quot;&gt;dub&lt;/span&gt;}&lt;/span&gt;&lt;span style=&quot;color: #E02020; &quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 class=&quot;h3 spip&quot;&gt;D&#233;finir l'ordre d'affichage&lt;/h3&gt;
&lt;p&gt;Il faudra par ailleurs propos&#233; de d&#233;finir l'ordre d'affichage des clefs, via un liste. Par exemple pour mettre d'abord les omissions, puis les variantes, puis les conjonctures : &lt;code class='spip_code' dir='ltr'&gt;\sortkey{del,var,conj}&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;Il en serait de m&#234;me pour l'ordre d'affichage des manuscrits.&lt;/p&gt;
&lt;h3 class=&quot;h3 spip&quot;&gt;Concr&#232;tement&lt;/h3&gt;
&lt;p&gt;Il reste &#224; :
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; s'assurer du caract&#232;re vraiment extensible des propositions.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; d&#233;finir correctement le vocabulaire et les noms des commandes.
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; coder &#224; partir du package &lt;code class='spip_code' dir='ltr'&gt;xkeyval&lt;/code&gt;
&lt;br /&gt;&lt;img src=&quot;http://geekographie.maieul.net/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; /&gt; trouver le nom du nouveau package, afin de marquer la diff&#233;rence avec eledform.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
