From 00067d87539cb7a4bb2c307b20a8f1124064ea5c Mon Sep 17 00:00:00 2001 From: pruizf <pabloruizfabo@gmail.com> Date: Sun, 26 Sep 2021 11:47:03 +0200 Subject: [PATCH] [data] modifs to toc, display link to read page --- publish.sh | 18 +++++++++++++----- site/en.adoc | 8 +++++++- site/index.adoc | 8 +++++++- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/publish.sh b/publish.sh index 8d4c562..72ca29e 100755 --- a/publish.sh +++ b/publish.sh @@ -4,17 +4,25 @@ asciidoctor site/*adoc # manual modifications to html created by asciidoctor ========================== -# english site ------------------------- -# window title -sed -i -e 's/<title>Objectives<\/title>/<title>MeThAL Project<\/title>/' site/en.html +# english home ------------------------- # add home link to top entry in ToC sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr\/en.html">Navigation<\/a><\/div>/' site/en.html # make it clear where corpus is sed -i -e 's/"#_outputs">Outputs<\/a>/"#_outputs">Corpus \& Outputs<\/a>/' site/en.html -# french site -------------------------- +# french home -------------------------- sed -i -e 's/<title>Objectifs<\/title>/<title>MeThAL<\/title>/' site/index.html # add home link to top entry in ToC -sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr">Navigation<\/a><\/div>/' site/index.html +for pname in index en ; do + sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr">Navigation<\/a><\/div>/' site/${pname}.html + sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr">Navigation<\/a><\/div>/' site/${pname}.html + sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr">Navigation<\/a><\/div>/' site/read/${pname}.html + sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr">Navigation<\/a><\/div>/' site/read/${pname}.html +done + +# read-section +plays_done=$(ls read/tei/*xml | wc -l) +sed -i -e "s/##nbrPieces/${plays_done}/g" + # copy to public repo ========================================================== cp -r site/*html public diff --git a/site/en.adoc b/site/en.adoc index 5dc2a07..790395a 100644 --- a/site/en.adoc +++ b/site/en.adoc @@ -1,8 +1,9 @@ :doctype: book :toc: left :toc-title: Navigation -:toclevels: 1 +:toclevels: 2 :last-update-label: Supported by Université de Strasbourg's IdEx program (Attractivité 2020). Last updated on +:title: MeThAL Project: Towards a macroanalysis of theater in Alsatian :imagesdir: img :favicon: ./img/favicon.ico :stylesdir: styles/ @@ -50,10 +51,15 @@ The huge orthographic variety of Alsatian presents specific challenges for Natur * link:https://git.unistra.fr/methal/methal-sources[methal-sources]: The TEI-encoded plays are being made available on the University's Git repositories as the project progresses: link:https://git.unistra.fr/methal/methal-sources[https://git.unistra.fr/methal/methal-sources] +[discrete] === Presentations * LiLPa Lab seminar, December 2019: link:./docs/methal_lilpa_sem.pdf[[pdf\],role=external,window=_blank] +=== Read the plays + +* See section _link:./read[[read]]_ to read already encoded plays (##nbrPieces at this point) + == Participants Project participants are members of the LiLPa lab: link:http://lilpa.unistra.fr/fdt/membres/chercheurs/ruiz-fabo-pablo/[Pablo Ruiz,role=external,window=_blank] (lead), link:http://lilpa.unistra.fr/fdt/membres/chercheurs/bernhard-delphine/[Delphine Bernhard^], link:http://lilpa.unistra.fr/gepe/membres/chercheures/erhart-pascale/[Pascale Erhart^], link:http://lilpa.unistra.fr/gepe/membres/chercheures/huck-dominique/[Dominique Huck^] and link:http://lilpa.unistra.fr/gepe/membres/doctorantes/werner-carole/[Carole Werner^]. diff --git a/site/index.adoc b/site/index.adoc index c94f3dd..13d84c7 100644 --- a/site/index.adoc +++ b/site/index.adoc @@ -1,7 +1,8 @@ :doctype: book :toc: left :toc-title: Navigation -:toclevels: 1 +:toclevels: 2 +:title: Projet MeThAL : Vers une macroanalyse du théâtre en alsacien :last-update-label: Avec le soutien de l'Université de Strasbourg (IdEx Attractivité 2020). Mis à jour le :imagesdir: img :favicon: ./img/favicon.ico @@ -47,10 +48,15 @@ L’énorme variation orthographique de l’alsacien présente, comme pour toute * link:https://git.unistra.fr/methal/methal-sources[methal-sources]: Les pièces encodées sont graduellement mises à disposition sur les dépôts Git de l’Université : link:https://git.unistra.fr/methal/methal-sources[https://git.unistra.fr/methal/methal-sources] +[discrete] === Présentations * Au séminaire thématique de LiLPa, Décembre 2019 : link:./docs/methal_lilpa_sem.pdf[[pdf\],role=external,window=_blank] +=== Lire les pièces + +* Voire la section _link:./read[[read]]_ pour lire les pièces déjà encodées en TEI (##nbrPieces en ce moment) + == Participants Les participants au projet sont membres du laboratoire LiLPa : link:http://lilpa.unistra.fr/fdt/membres/chercheurs/ruiz-fabo-pablo/[Pablo Ruiz,role=external,window=_blank] (responsable du projet), link:http://lilpa.unistra.fr/fdt/membres/chercheurs/bernhard-delphine/[Delphine Bernhard^], link:http://lilpa.unistra.fr/gepe/membres/chercheures/erhart-pascale/[Pascale Erhart^], link:http://lilpa.unistra.fr/gepe/membres/chercheures/huck-dominique/[Dominique Huck^] et link:http://lilpa.unistra.fr/gepe/membres/doctorantes/werner-carole/[Carole Werner^]. -- GitLab