From cfce5dd1fe89c45d3202439f62691c8c2c29b24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poullet-Pag=C3=A8s?= Date: Wed, 18 Oct 2023 17:58:12 +0200 Subject: [PATCH 01/41] add base files for french translation --- _config.yml | 3 + _layouts/tutorials-FR.html | 119 +++++++++++++++++++++ _tutorials-FR/199_tutorials/tutorials.json | 31 ++++++ _tutorials-FR/199_tutorials/tutorials.md | 7 ++ resources/tutorials-FR.md | 22 ++++ resources/tutorials.md | 4 +- 6 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 _layouts/tutorials-FR.html create mode 100644 _tutorials-FR/199_tutorials/tutorials.json create mode 100644 _tutorials-FR/199_tutorials/tutorials.md create mode 100644 resources/tutorials-FR.md diff --git a/_config.yml b/_config.yml index e52e9a1a2..db294ce4b 100644 --- a/_config.yml +++ b/_config.yml @@ -118,6 +118,9 @@ collections: tutorials-ES: output: true permalink: /:collection/:name + tutorials-FR: + output: true + permalink: /:collection/:name conferences: output: true permalink: /:collection/:name diff --git a/_layouts/tutorials-FR.html b/_layouts/tutorials-FR.html new file mode 100644 index 000000000..3a6c6253b --- /dev/null +++ b/_layouts/tutorials-FR.html @@ -0,0 +1,119 @@ +--- +layout: default +--- +
+
+ + {% if page.type != 'tutorial-FR' %} + + {{ content }} + + {% else %} + +

{{ page.fullname }}

+ + {% if content %} + {{ content }} + {% endif %} + +

+ +

+
+ +
+ + + + + +
    + +
+ + + + + + + + {% endif %} +
+ + +
+

Tutoriels disponibles

+ {% assign t = site.collections | where: "label","tutorials-FR" | first %} + {% for tutorial in t.docs %} + {% if tutorial.name != page.name %} +
+
+
+ +
+
+
+ +
{{tutorial.fullname}}
+
+
+ {% endif %} + {% endfor %} +
+
diff --git a/_tutorials-FR/199_tutorials/tutorials.json b/_tutorials-FR/199_tutorials/tutorials.json new file mode 100644 index 000000000..950b01f71 --- /dev/null +++ b/_tutorials-FR/199_tutorials/tutorials.json @@ -0,0 +1,31 @@ +{ + "steps": [ + { + "label":"Bienvenido/a", + "descFile": "writingTutorials-01.html" + }, + { + "label":"Configuración del sitio web", + "descFile": "writingTutorials-02.html" + }, + { + "label":"El archivo JSON", + "descFile": "writingTutorials-03.html" + }, + { + "label":"El editor", + "descFile": "writingTutorials-04.html" + }, + { + "label":"Validación", + "descFile": "writingTutorials-05.html" + } + ], + "end":"writingTutorials-06.html", + "resp":[ + { + "name":"Johannes Kepper", + "affiliation":"Beethovens Werkstatt | Universidad de Paderborn" + } + ] +} \ No newline at end of file diff --git a/_tutorials-FR/199_tutorials/tutorials.md b/_tutorials-FR/199_tutorials/tutorials.md new file mode 100644 index 000000000..9a4890c76 --- /dev/null +++ b/_tutorials-FR/199_tutorials/tutorials.md @@ -0,0 +1,7 @@ +--- +layout: tutorials-FR +type: tutorial-FR +name: "Écrire des tutoriels" +fullname: "Une introduction à l'écriture des tutoriels sur la MEI" +data: "tutorials.json" +--- diff --git a/resources/tutorials-FR.md b/resources/tutorials-FR.md new file mode 100644 index 000000000..088bc99c7 --- /dev/null +++ b/resources/tutorials-FR.md @@ -0,0 +1,22 @@ +--- +layout: tutorials-FR +title: "Tutoriels MEI" +--- + +# Tutoriels sur le MEI + +Sur cette page, vous trouverez une série de courts tutoriels pour aborder la MEI, chacun d'entre eux présente une fonctionnalité spécifique de cette spécification. + +Si vous débuttez avec la MEI, nous vous recommandons de commencer par le tutoriel [Quickstart](/tutorials-FR/101-quickstart), qui vous permettra de coder une mélodie simple avec le MEI. + +Si vous souhaitez rédiger un nouveau tutoriel sur la MEI, nous vous recommandons de commencer par le tutoriel [Rédaction de tutoriels](/tutorials-FR/tutorials), qui vous fournira des informations sur les étapes nécessaires. Consultez également notre liste de tutoriels manquants sur [Github] (https://github.com/music-encoding/music-encoding.github.io/issues/88) avec lesquels vous pourriez contribuer au projet. + +### Autres tutoriels et ressources liées + +Pour d'autres ressources créées par la communauté, y compris les tutoriels et des ressources pédagogiques, voir [Ressources pédagogiques et pratiques créées par la communauté](/resources/pedagogy.html). + +Retour aux [tutoriels en anglais](/resources/tutorials.html). + +--- + +_Traductions réalisées par Aurelien Balland-Chatignon et Félix Poullet-Pagès pour la Music Encoding Initiative, ingénieurs d'études à [l'Institut de recherche en musicologie](http://iremus.cnrs.fr) et membres du consortium [MUSICA2](https://musica.hypotheses.org)_ diff --git a/resources/tutorials.md b/resources/tutorials.md index 3c4020123..ff438e035 100644 --- a/resources/tutorials.md +++ b/resources/tutorials.md @@ -15,4 +15,6 @@ If you're about to write a new MEI tutorial, we recommend to start with the [Wri For community-created resources including tutorials and teaching material, see [Community-Created Pedagogy & Praxis Resources](/resources/pedagogy.html). -For a Spanish translation of the tutorials, see [Tutoriales en español](/resources/tutorials-ES.html). \ No newline at end of file +For a Spanish translation of the tutorials, see [Tutoriales en español](/resources/tutorials-ES.html). + +For a French translation of the tutorials, see [Tutoriels en français](/resources/tutorials-FR.html). \ No newline at end of file From 37296ff4ca0fc57bf54c168db4bde7e73054819a Mon Sep 17 00:00:00 2001 From: daftcloud <50362363+daftcloud@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:33:03 +0200 Subject: [PATCH 02/41] tuto 1 --- _tutorials-FR/100_structure/100_Structure.md | 7 ++ .../100_structure/100_structure.json | 81 +++++++++++++++++++ .../100_structure/100_structure_end.html | 31 +++++++ .../step-00/100_structure_step-00-desc.html | 19 +++++ .../step-01/100_structure_step-01-desc.html | 28 +++++++ .../step-01/100_structure_step-01-prefill.xml | 1 + .../step-01/100_structure_step-01.xml | 4 + .../step-02/100_structure_step-02-desc.html | 29 +++++++ .../step-02/100_structure_step-02-prefill.xml | 1 + .../step-02/100_structure_step-02.xml | 4 + .../step-03/100_structure_step-03-desc.html | 28 +++++++ .../step-03/100_structure_step-03-prefill.xml | 3 + .../step-03/100_structure_step-03.xml | 7 ++ .../step-04/100_structure_step-04-desc.html | 26 ++++++ .../step-04/100_structure_step-04-prefill.xml | 6 ++ .../step-04/100_structure_step-04.xml | 13 +++ 16 files changed, 288 insertions(+) create mode 100644 _tutorials-FR/100_structure/100_Structure.md create mode 100644 _tutorials-FR/100_structure/100_structure.json create mode 100644 _tutorials-FR/100_structure/100_structure_end.html create mode 100644 _tutorials-FR/100_structure/step-00/100_structure_step-00-desc.html create mode 100644 _tutorials-FR/100_structure/step-01/100_structure_step-01-desc.html create mode 100644 _tutorials-FR/100_structure/step-01/100_structure_step-01-prefill.xml create mode 100644 _tutorials-FR/100_structure/step-01/100_structure_step-01.xml create mode 100644 _tutorials-FR/100_structure/step-02/100_structure_step-02-desc.html create mode 100644 _tutorials-FR/100_structure/step-02/100_structure_step-02-prefill.xml create mode 100644 _tutorials-FR/100_structure/step-02/100_structure_step-02.xml create mode 100644 _tutorials-FR/100_structure/step-03/100_structure_step-03-desc.html create mode 100644 _tutorials-FR/100_structure/step-03/100_structure_step-03-prefill.xml create mode 100644 _tutorials-FR/100_structure/step-03/100_structure_step-03.xml create mode 100644 _tutorials-FR/100_structure/step-04/100_structure_step-04-desc.html create mode 100644 _tutorials-FR/100_structure/step-04/100_structure_step-04-prefill.xml create mode 100644 _tutorials-FR/100_structure/step-04/100_structure_step-04.xml diff --git a/_tutorials-FR/100_structure/100_Structure.md b/_tutorials-FR/100_structure/100_Structure.md new file mode 100644 index 000000000..b97f828dd --- /dev/null +++ b/_tutorials-FR/100_structure/100_Structure.md @@ -0,0 +1,7 @@ +--- +layout: tutorials-FR +type: tutorial-FR +name: "BEGINNERS: XML basics and minimal MEI structure" +fullname: "A short tutorial about the basics of XML & MEI" +data: "100_structure.json" +--- diff --git a/_tutorials-FR/100_structure/100_structure.json b/_tutorials-FR/100_structure/100_structure.json new file mode 100644 index 000000000..48740ebb6 --- /dev/null +++ b/_tutorials-FR/100_structure/100_structure.json @@ -0,0 +1,81 @@ +{ + "steps": [ + { + "label":"Welcome to MEI", + "descFile": "100_structure_step-00-desc.html" + }, + { + "label": "The MEI root element", + "editorLines": 1, + "descFile": "100_structure_step-01-desc.html", + "prefillFile": "100_structure_step-01-prefill.xml", + "xmlFile": "100_structure_step-01.xml", + "xpaths": [ + {"rule": "count(//mei) = 1", "renderanyway": true, "hint": "You need one mei element."} + ] + }, + { + "label": "The MEI namespace", + "editorLines": 1, + "descFile": "100_structure_step-02-desc.html", + "prefillFile": "100_structure_step-02-prefill.xml", + "xmlFile": "100_structure_step-02.xml", + "xpaths": [ + {"rule": "count(*[local-name()='mei']) = 1", "renderanyway": true, "hint": "You need one mei element."}, + {"rule": "*[local-name()='mei' and namespace-uri()='http://www.music-encoding.org/ns/mei']", "renderanyway": true, "hint": "You need a @xmlns declaration with the mei namespace 'http://www.music-encoding.org/ns/mei'."} + ] + }, + { + "label": "Two basic child elements", + "editorLines": 4, + "descFile": "100_structure_step-03-desc.html", + "prefillFile": "100_structure_step-03-prefill.xml", + "xmlFile": "100_structure_step-03.xml", + "xpaths": [ + {"rule": "count(//*[local-name()='mei']) = 1", "renderanyway": false, "hint": "You need one mei element."}, + {"rule": "*[local-name()='mei' and namespace-uri()='http://www.music-encoding.org/ns/mei']", "renderanyway": true, "hint": "You need a @xmlns declaration with the mei namespace 'http://www.music-encoding.org/ns/mei' in the mei element."}, + {"rule": "count(//*[local-name()='meiHead']) = 1", "renderanyway": false, "hint": "You need one meiHead element."}, + {"rule": "//*[local-name()='mei']/*[local-name()='meiHead']", "renderanyway": false, "hint": "meiHead has to a be child of the mei element."}, + {"rule": "count(//*[local-name()='music']) = 1", "renderanyway": false, "hint": "You need one music element."}, + {"rule": "//*[local-name()='mei']/*[local-name()='music']", "renderanyway": false, "hint": "music has to a be child of the mei element."}, + {"rule": "//*[local-name()='mei']/*[local-name()='meiHead']/following-sibling::*[local-name()='music']", "renderanyway": false, "hint": "music has to follow the meiHead element."} + ] + }, + { + "label": "The minimum MEI header", + "editorLines": 11, + "descFile": "100_structure_step-04-desc.html", + "prefillFile": "100_structure_step-04-prefill.xml", + "xmlFile": "100_structure_step-04.xml", + "xpaths": [ + {"rule": "count(//*[local-name()='mei']) = 1", "renderanyway": false, "hint": "You need one mei element."}, + {"rule": "*[local-name()='mei' and namespace-uri()='http://www.music-encoding.org/ns/mei']", "renderanyway": true, "hint": "You need a @xmlns declaration with the mei namespace 'http://www.music-encoding.org/ns/mei' in the mei element."}, + {"rule": "count(//*[local-name()='meiHead']) = 1", "renderanyway": false, "hint": "You need one meiHead element."}, + {"rule": "//*[local-name()='mei']/*[local-name()='meiHead']", "renderanyway": false, "hint": "meiHead has to be a child of the mei element."}, + {"rule": "count(//*[local-name()='music']) = 1", "renderanyway": false, "hint": "You need one music element."}, + {"rule": "//*[local-name()='mei']/*[local-name()='music']", "renderanyway": false, "hint": "music has to be a child of the mei element."}, + {"rule": "//*[local-name()='mei']/*[local-name()='meiHead']/following-sibling::*[local-name()='music']", "renderanyway": false, "hint": "music has to follow the meiHead element."}, + {"rule": "count(//*[local-name()='fileDesc']) = 1", "renderanyway": false, "hint": "You need one fileDesc element."}, + {"rule": "//*[local-name()='meiHead']/*[local-name()='fileDesc']", "renderanyway": false, "hint": "fileDesc has to be a child of the meiHead element."}, + {"rule": "count(//*[local-name()='titleStmt']) = 1", "renderanyway": false, "hint": "You need one titleStmt element."}, + {"rule": "//*[local-name()='fileDesc']/*[local-name()='titleStmt']", "renderanyway": false, "hint": "titleStmt has to be a child of the fileDesc element."}, + {"rule": "count(//*[local-name()='pubStmt']) = 1", "renderanyway": false, "hint": "You need one pubStmt element."}, + {"rule": "//*[local-name()='fileDesc']/*[local-name()='pubStmt']", "renderanyway": false, "hint": "pubStmt has to be a child of the fileDesc element."}, + {"rule": "//*[local-name()='fileDesc']/*[local-name()='titleStmt']/following-sibling::*[local-name()='pubStmt']", "renderanyway": false, "hint": "pubStmt has to follow the titleStmt element."}, + {"rule": "count(//*[local-name()='title']) = 1", "renderanyway": false, "hint": "You need one title element."}, + {"rule": "//*[local-name()='titleStmt']/*[local-name()='title']", "renderanyway": false, "hint": "title has to be a child of the titleStmt element."} + ] + } + ], + "end": "100_structure_end.html", + "resp":[ + { + "name":"Stefan Münnich", + "affiliation":"Anton Webern Gesamtausgabe | University of Basel" + }, + { + "name":"Johannes Kepper", + "affiliation":"Beethovens Werkstatt | Universität Paderborn" + } + ] +} diff --git a/_tutorials-FR/100_structure/100_structure_end.html b/_tutorials-FR/100_structure/100_structure_end.html new file mode 100644 index 000000000..221cdb93c --- /dev/null +++ b/_tutorials-FR/100_structure/100_structure_end.html @@ -0,0 +1,31 @@ +
+

Congratulations!

+

+ You have just written a valid MEI file and successfully finished this tutorial. You should be able now

+ +

+ Since the topics addressed in this tutorial referred to the chapter Structural Elements of the MEI Guidelines, + we recommend to consult this chapter whenever you need more detailed information. +

+

+ Of course, a lot more is needed for a comprehensive MEI file – we left out all information about any musical + content like measures, staves, or notes, and you also need to learn how to set up meter, key, and clefs. + Here are some other tutorials we would like to recommend as next steps with MEI. Of course, you can always come + back to these (or even this one) when you would like to remind yourself how to do certain things in MEI. +

+

+ As soon as you have familiarized yourself with MEI to some degree, we invite you to share your + experience with the MEI Community + and write a tutorial on an aspect of MEI that you're particularly interested in. You don't have to be an expert + for this – it's good to have tutorials on different levels, and very often a tutorial written by other beginners + which just mastered a task is easier to follow than a guide written by someone who's not seeing the problem at all. + We do have a tutorial on how to write tutorials, + and there are templates to follow. It's that easy to become an active member of the MEI Community :-) +

+
diff --git a/_tutorials-FR/100_structure/step-00/100_structure_step-00-desc.html b/_tutorials-FR/100_structure/step-00/100_structure_step-00-desc.html new file mode 100644 index 000000000..da0855264 --- /dev/null +++ b/_tutorials-FR/100_structure/step-00/100_structure_step-00-desc.html @@ -0,0 +1,19 @@ +
+

+ Dans ce tutoriel, vous vous familiariserez avec l'organisation de base d'un langage XML et + apprendrez à concevoir la structure d'un fichier MEI valide. Vous apprendrez à en + identifier les différentes parties et le type d'informations que chacune peut contenir. +

+

+ Les sujets de ce tutoriel sont documentés dans le chapitre Structural Elements + du guide MEI. Nous vous invitons à consulter ce chapitre pour de plus amples informations. +

+

+ Gardez à l'esprit que le code que vous écrirez à l'issu de ce tutoriel ne pourra pas être rendu car il ne contiendra pas d'information musical. +

+

+ À la fin de ce dernier, vous pourrez poursuivre avec d'autres tutoriaux pour explorer d'autres aspects important de MEI. + Ces tutoriaux peuvent également servir de références - Vous pourrez y retourner. +

+

Afin de commencer, appuyez sur le bouton "continuer" en bas à droite de ce paragraphe.

+
diff --git a/_tutorials-FR/100_structure/step-01/100_structure_step-01-desc.html b/_tutorials-FR/100_structure/step-01/100_structure_step-01-desc.html new file mode 100644 index 000000000..5449f53d6 --- /dev/null +++ b/_tutorials-FR/100_structure/step-01/100_structure_step-01-desc.html @@ -0,0 +1,28 @@ +
+

+ Première étape: S'habituer avec la structure XML et découvrir l'élement racine de MEI. +

+

+ MEI utilise le XML pour representer la notation musicale. + Le XML est un système d'encodage hierarchisé centré sur les éléments. Ils sont représentés par des balises. la plupart du temps, ces balises se composent + d'une "balise ouvrante" (Il s'agit d'un nom entouré de chevrons comme <element>) et de sa balise fermante correspondante + (</element>), mais s'il n'y a aucun contenu entre ces deux balises (comme du texte ou un autre élément) l'élément peut être raccourci + dans une balise autofermante sous la forme <element />. Quoiqu'il en soit, chaque balise ouverte doit être refermé. +

+

+ Vous pouvez voir un document XML comme un arbre dont les branches + You can think of an XML document like a tree that branches from one (outer) root element to nested (inner) child + elements. The root element is the parent of all other elements. In MEI documents, this root element is called – + for obvious reasons – <mei>, but it could have been any arbitrary name. +

+ +

Enter a <mei> root element in the editor below. Do not forget to close the opening tag by a corresponding closing tag.

+ +

+ PS: We will cover some more basic XML principles in the next steps. For more detailed information consider to have a + look at the dozens of materials available on the web, e.g. the + Gentle Introduction to XML of the + Text Encoding Initative (TEI). +

+ +
diff --git a/_tutorials-FR/100_structure/step-01/100_structure_step-01-prefill.xml b/_tutorials-FR/100_structure/step-01/100_structure_step-01-prefill.xml new file mode 100644 index 000000000..44fbfea59 --- /dev/null +++ b/_tutorials-FR/100_structure/step-01/100_structure_step-01-prefill.xml @@ -0,0 +1 @@ + diff --git a/_tutorials-FR/100_structure/step-01/100_structure_step-01.xml b/_tutorials-FR/100_structure/step-01/100_structure_step-01.xml new file mode 100644 index 000000000..42fb3cce6 --- /dev/null +++ b/_tutorials-FR/100_structure/step-01/100_structure_step-01.xml @@ -0,0 +1,4 @@ + + + + diff --git a/_tutorials-FR/100_structure/step-02/100_structure_step-02-desc.html b/_tutorials-FR/100_structure/step-02/100_structure_step-02-desc.html new file mode 100644 index 000000000..8315feeb8 --- /dev/null +++ b/_tutorials-FR/100_structure/step-02/100_structure_step-02-desc.html @@ -0,0 +1,29 @@ +
+

+ Step two: learn about the application and use of namespaces. +

+

+ Fine! As mentioned in the previous step, the name of the root element of an XML document is basically an arbitrary + name that provides no meaning in itself for machine-processing. To make clear in which context an element is + defined and to avoid name conflicts with elements, XML makes use of so called + namespaces. + Namespaces can be declared by adding an @xmlns namespace declaration to the root element. +

+

+ For example, the MEI namespace is http://www.music-encoding.org/ns/mei and can be declared + as follows: xmlns="http://www.music-encoding.org/ns/mei" +

+

+ Whenever you see an entity with a prepended @-sign in the text (like @xmlns above), + this means we refer to an XML attribute. (This kind of reference is common practice and originates in the + XPath language.) + Attributes contain specified information (attribute values) that are related to elements. However, unlike + elements, XML attributes do not have their own opening or closing brackets, but are placed solely inside the + opening tag of an element, next to the element's name. They consist of the plain attribute's name connected by + an equal sign to an attribute's value which must always be quoted (with single or double quotes). Multiple + attributes are separated by blank spaces. Be aware that the @-sign is only prepended in textual + descriptions, not in the encoding itself. +

+ +

In the editor below, add a MEI namespace declaration to the MEI root element.

+
diff --git a/_tutorials-FR/100_structure/step-02/100_structure_step-02-prefill.xml b/_tutorials-FR/100_structure/step-02/100_structure_step-02-prefill.xml new file mode 100644 index 000000000..3958eccfa --- /dev/null +++ b/_tutorials-FR/100_structure/step-02/100_structure_step-02-prefill.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_tutorials-FR/100_structure/step-02/100_structure_step-02.xml b/_tutorials-FR/100_structure/step-02/100_structure_step-02.xml new file mode 100644 index 000000000..0936760fd --- /dev/null +++ b/_tutorials-FR/100_structure/step-02/100_structure_step-02.xml @@ -0,0 +1,4 @@ + + + + diff --git a/_tutorials-FR/100_structure/step-03/100_structure_step-03-desc.html b/_tutorials-FR/100_structure/step-03/100_structure_step-03-desc.html new file mode 100644 index 000000000..b63b5e333 --- /dev/null +++ b/_tutorials-FR/100_structure/step-03/100_structure_step-03-desc.html @@ -0,0 +1,28 @@ +
+

+ Step three: learn about the main child elements of the <mei> root element: <meiHead> + and <music>. +

+

+ Well done! Now, that we have declared a namespace within our root element, all other elements nested in the root + element can be resolved according to the MEI namespace by machine-processing. +

+ As already mentioned, you can think of an XML document like a tree that branches from one (outer) root element + to nested (inner) child elements. A MEI-encoded file contains at least two structures within the + <mei> root element: +

+ + +

In the editor below, add a <meiHead> and a <music> element inside the + <mei> root element.

+
diff --git a/_tutorials-FR/100_structure/step-03/100_structure_step-03-prefill.xml b/_tutorials-FR/100_structure/step-03/100_structure_step-03-prefill.xml new file mode 100644 index 000000000..f908e5ba1 --- /dev/null +++ b/_tutorials-FR/100_structure/step-03/100_structure_step-03-prefill.xml @@ -0,0 +1,3 @@ + + + diff --git a/_tutorials-FR/100_structure/step-03/100_structure_step-03.xml b/_tutorials-FR/100_structure/step-03/100_structure_step-03.xml new file mode 100644 index 000000000..4eed803b5 --- /dev/null +++ b/_tutorials-FR/100_structure/step-03/100_structure_step-03.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/_tutorials-FR/100_structure/step-04/100_structure_step-04-desc.html b/_tutorials-FR/100_structure/step-04/100_structure_step-04-desc.html new file mode 100644 index 000000000..403395297 --- /dev/null +++ b/_tutorials-FR/100_structure/step-04/100_structure_step-04-desc.html @@ -0,0 +1,26 @@ +
+

+ Step four: provide the minimum necessary information for the MEI header. +

+

+ Perfect! You are now pretty close to a valid basic MEI file structure. What is missing yet, are two mandatory + elements of the MEI header: +

+

+ Both these elements are part of the file description (<fileDesc>), which is a direct child element + of <meiHead> and provides for a full bibliographic description of a MEI file.

+ +

In the editor below, add a <fileDesc> element inside the given <meiHead>. + Then add the mandatory <titleStmt> and <pubStmt> elements to + <fileDesc> and a <title> element to <titleStmt>.

+
diff --git a/_tutorials-FR/100_structure/step-04/100_structure_step-04-prefill.xml b/_tutorials-FR/100_structure/step-04/100_structure_step-04-prefill.xml new file mode 100644 index 000000000..fe8543ac2 --- /dev/null +++ b/_tutorials-FR/100_structure/step-04/100_structure_step-04-prefill.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/_tutorials-FR/100_structure/step-04/100_structure_step-04.xml b/_tutorials-FR/100_structure/step-04/100_structure_step-04.xml new file mode 100644 index 000000000..8e1127cd1 --- /dev/null +++ b/_tutorials-FR/100_structure/step-04/100_structure_step-04.xml @@ -0,0 +1,13 @@ + + + + + + March + + + + + + + From 8faacd619693135cb5b5213c5d272601afe081f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poullet-Pag=C3=A8s?= Date: Tue, 24 Oct 2023 11:05:45 +0200 Subject: [PATCH 03/41] update surname --- resources/tutorials-FR.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/tutorials-FR.md b/resources/tutorials-FR.md index 088bc99c7..ceb962fd3 100644 --- a/resources/tutorials-FR.md +++ b/resources/tutorials-FR.md @@ -19,4 +19,4 @@ Retour aux [tutoriels en anglais](/resources/tutorials.html). --- -_Traductions réalisées par Aurelien Balland-Chatignon et Félix Poullet-Pagès pour la Music Encoding Initiative, ingénieurs d'études à [l'Institut de recherche en musicologie](http://iremus.cnrs.fr) et membres du consortium [MUSICA2](https://musica.hypotheses.org)_ +_Traductions réalisées par Aurelien Balland Chatignon et Félix Poullet-Pagès pour la Music Encoding Initiative, ingénieurs d'études à [l'Institut de recherche en musicologie](http://iremus.cnrs.fr) et membres du consortium [MUSICA2](https://musica.hypotheses.org)_ From 733db6e1963f830d7addc51ed003101a961ed065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poullet-Pag=C3=A8s?= Date: Tue, 24 Oct 2023 11:34:41 +0200 Subject: [PATCH 04/41] update surname --- _layouts/tutorials-FR.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/tutorials-FR.html b/_layouts/tutorials-FR.html index 3a6c6253b..3e8bab452 100644 --- a/_layouts/tutorials-FR.html +++ b/_layouts/tutorials-FR.html @@ -48,7 +48,7 @@

Rendu

Remerciements

Ce tutoriel a été créé par :

    -

    Traductions réalisées par Aurelien Balland-Chatignon et Félix Poullet-Pagès

    +

    Traductions réalisées par Aurelien Balland Chatignon et Félix Poullet-Pagès

      From 888fea97763b2a9a05f6a5e6fa77ceb0d3265bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poullet-Pag=C3=A8s?= Date: Tue, 24 Oct 2023 16:12:52 +0200 Subject: [PATCH 05/41] update config --- Gemfile.lock | 41 +++++++++++++++++++++-------------------- _config.yml | 3 +++ 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e116fd4ef..ae8975231 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,36 +1,36 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.1) + addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) eventmachine (1.2.7-x64-mingw32) - ffi (1.15.5) - ffi (1.15.5-x64-mingw32) + ffi (1.16.3) forwardable-extended (2.6.0) http_parser.rb (0.8.0) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) - jekyll (4.2.2) + jekyll (4.3.2) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) i18n (~> 1.0) - jekyll-sass-converter (~> 2.0) + jekyll-sass-converter (>= 2.0, < 4.0) jekyll-watch (~> 2.0) - kramdown (~> 2.3) + kramdown (~> 2.3, >= 2.3.1) kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) - mercenary (~> 0.4.0) + mercenary (>= 0.3.6, < 0.5) pathutil (~> 0.9) - rouge (~> 3.0) + rouge (>= 3.0, < 5.0) safe_yaml (~> 1.0) - terminal-table (~> 2.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) jekyll-redirect-from (0.16.0) jekyll (>= 3.3, < 5.0) jekyll-sass-converter (2.2.0) @@ -41,31 +41,32 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - liquid (4.0.3) - listen (3.7.1) + liquid (4.0.4) + listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (5.0.0) + public_suffix (5.0.3) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rexml (3.2.5) - rouge (3.30.0) + rexml (3.2.6) + rouge (4.1.3) safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) sassc (2.4.0-x64-mingw32) ffi (~> 1.9) - terminal-table (2.0.0) - unicode-display_width (~> 1.1, >= 1.1.1) - unicode-display_width (1.8.0) - webrick (1.7.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) + webrick (1.8.1) PLATFORMS arm64-darwin-21 + arm64-darwin-23 x64-mingw32 x86_64-darwin-19 x86_64-linux diff --git a/_config.yml b/_config.yml index db294ce4b..9eb304faf 100644 --- a/_config.yml +++ b/_config.yml @@ -13,6 +13,9 @@ repository: "music-encoding/music-encoding.github.io" plugins: - jekyll-redirect-from +gems: + - public_suffix: 5.0.0 + menu: - id: about label: 'About' From b79c10e681899449bba4fe89245a0b6ba297e308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poullet-Pag=C3=A8s?= Date: Tue, 24 Oct 2023 16:21:22 +0200 Subject: [PATCH 06/41] update sass --- Gemfile | 2 +- Gemfile.lock | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index db94183de..70fcbe850 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' gem 'jekyll', '~> 4.2', '>= 4.2.2' -gem 'jekyll-sass-converter', '~> 2.2' +gem 'jekyll-sass-converter', '3.0.0' gem 'jekyll-redirect-from', '~> 0.16.0' group :jekyll_plugins do diff --git a/Gemfile.lock b/Gemfile.lock index ae8975231..97ad749e6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,6 +12,7 @@ GEM eventmachine (1.2.7-x64-mingw32) ffi (1.16.3) forwardable-extended (2.6.0) + google-protobuf (3.24.4) http_parser.rb (0.8.0) i18n (1.14.1) concurrent-ruby (~> 1.0) @@ -33,8 +34,8 @@ GEM webrick (~> 1.7) jekyll-redirect-from (0.16.0) jekyll (>= 3.3, < 5.0) - jekyll-sass-converter (2.2.0) - sassc (> 2.0.1, < 3.0) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.4.0) @@ -55,10 +56,14 @@ GEM rexml (3.2.6) rouge (4.1.3) safe_yaml (1.0.5) - sassc (2.4.0) - ffi (~> 1.9) - sassc (2.4.0-x64-mingw32) - ffi (~> 1.9) + sass-embedded (1.69.4-arm64-darwin) + google-protobuf (~> 3.23) + sass-embedded (1.69.4-x64-mingw32) + google-protobuf (~> 3.23) + sass-embedded (1.69.4-x86_64-darwin) + google-protobuf (~> 3.23) + sass-embedded (1.69.4-x86_64-linux-gnu) + google-protobuf (~> 3.23) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) unicode-display_width (2.5.0) @@ -74,7 +79,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.2, >= 4.2.2) jekyll-redirect-from (~> 0.16.0) - jekyll-sass-converter (~> 2.2) + jekyll-sass-converter (= 3.0.0) webrick (~> 1.7) BUNDLED WITH From 571b14762ffcb9bfe9c44195646f79474f9d8228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poullet-Pag=C3=A8s?= Date: Wed, 25 Oct 2023 11:46:11 +0200 Subject: [PATCH 07/41] update layout --- _layouts/tutorials-FR.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/tutorials-FR.html b/_layouts/tutorials-FR.html index 3e8bab452..005fb97bc 100644 --- a/_layouts/tutorials-FR.html +++ b/_layouts/tutorials-FR.html @@ -42,7 +42,7 @@

      Rendu

      - +