Skip to content

Commit

Permalink
Release 4.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raffazizzi committed Nov 16, 2023
2 parents f18deff + 49185a6 commit e5dd73e
Show file tree
Hide file tree
Showing 320 changed files with 6,660 additions and 12,485 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,4 @@ jobs:
- name: Run tests from the Test directory
run: |
cd P5
make clean validate test XSL=${GITHUB_WORKSPACE}/Stylesheets
- name: Slack Notification
if: always()
continue-on-error: true
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
MSG_MINIMAL: commit,actions url
make clean validate test XSL=${GITHUB_WORKSPACE}/Stylesheets
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions Documents/pureODD/chainingTuto/driver.tei
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="metadata.xml"/>
<xi:include href="transcription.xml"/>
</TEI>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="metadata.xml"/>
<xi:include href="transcription.xml"/>
</TEI>
31 changes: 16 additions & 15 deletions Documents/pureODD/chainingTuto/justMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@
</fileDesc>
<revisionDesc>
<change when="2017-12-28">First draft</change>
</revisionDesc>
</revisionDesc>
</teiHeader>
<text>

<body>

<div type="schemaSpec">
<head>The metadata ODD specification</head>
<p>This schema specification supplies the metadata elements we will need in our project
.</p>
<schemaSpec ident="justMetadata" start="teiHeader" source="motherODD.compiled">
<moduleRef key="tei"/>
<moduleRef key="header" include="teiHeader fileDesc titleStmt publicationStmt sourceDesc profileDesc"/>
<moduleRef key="namesdates" include="listPerson listPlace person place persName placeName"/>
<moduleRef key="corpus" include="particDesc settingDesc"/>
<elementRef key="title"/>
<elementRef key="p"/>
</schemaSpec>
<div type="schemaSpec">
<head>Métadonnées du projet</head>
<p>Cette specification fournit les elements de métadata utilisés par notre projet</p>

<schemaSpec ident="justMetadata" start="teiHeader" source="motherODD_compiled.xml">
<moduleRef key="tei"/>
<moduleRef key="header"
include="teiHeader fileDesc titleStmt publicationStmt
sourceDesc profileDesc xenoData"/>
<moduleRef key="namesdates"
include="listPerson listPlace person place persName placeName"/>
<moduleRef key="corpus" include="particDesc settingDesc"/>
<elementRef key="title"/>
<elementRef key="p"/>
</schemaSpec>
</div>
</body>
</text>
Expand Down
5 changes: 5 additions & 0 deletions Documents/pureODD/chainingTuto/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
<sourceDesc>
<p>Part of TEI Chaining tutorial</p>
</sourceDesc>
<xenoData xmlns:dc="http://dublincore.org/documents/dcmi-namespace/">
<dc:author>Jules Verne</dc:author>
</xenoData>
</fileDesc>
<xenoData xmlns:dc="dublineCore"><dc:wibble/></xenoData>
<profileDesc>
<particDesc>
<listPerson>
Expand All @@ -28,4 +32,5 @@
</listPlace>
</settingDesc>
</profileDesc>

</teiHeader>
7,788 changes: 0 additions & 7,788 deletions Documents/pureODD/chainingTuto/motherODD.compiled

This file was deleted.

8 changes: 4 additions & 4 deletions Documents/pureODD/chainingTuto/motherODD.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</sourceDesc>
</fileDesc>
<revisionDesc>
<change when="2021-09-01">Second draft: add teiCorpus, xenoData Tours</change>
<change when="2017-12-28">First draft</change>
</revisionDesc>
</teiHeader>
Expand All @@ -24,11 +25,10 @@

<div type="schemaSpec">
<head>The Mother ODD specification</head>
<p>This schema specification supplies all the elements we will need in our project,
both for transcription and for metadata.</p>
<schemaSpec ident="mother" start="TEI">
<p>Cette spécification fournit tous les éléments nécessaires à un projet de transcription, et pour transcrire les documents, et pour les décrire.</p>
<schemaSpec ident="mother" start="TEI teiCorpus" docLang="fr">
<moduleRef key="tei"/>
<moduleRef key="header" include="teiHeader fileDesc titleStmt publicationStmt sourceDesc profileDesc"/>
<moduleRef key="header" include="teiCorpus teiHeader fileDesc titleStmt publicationStmt sourceDesc profileDesc xenoData"/>
<moduleRef key="core" include="pb p hi name title"/>
<moduleRef key="textstructure" include="TEI body div text name"/>
<moduleRef key="namesdates" include="listPerson listPlace person place persName placeName"/>
Expand Down
86 changes: 1 addition & 85 deletions Documents/pureODD/howtoGenerate-fr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -376,90 +376,6 @@
particulièrement utiles dans le processus de définition d’un schéma utile pour un
ensemble de documents TEI. </p>
</div>
<div>
<head>Paramètres configurables pour la feuille de style oddbyexample</head>
<p>Ceux-ci ne fonctionnent pas toujours... voir <ptr
target="https://github.com/TEIC/Stylesheets/issues/212"/></p>
<table>
<row role="label">
<cell>Paramètre</cell>
<cell>Fonction</cell>
<cell>Valeur par défaut</cell>
</row>
<row>
<cell>corpus</cell>
<cell>chemin vers le répetoire contenant les fichiers d’entrée</cell>
<cell>./</cell>
</row>
<row>
<cell>schema</cell>
<cell>nom du schéma à générer</cell>
<cell>oddbyexample</cell>
</row>
<row>
<cell>corpusList</cell>
<cell>traiter seulement ces fichiers d’entrées</cell>
<cell>(no constraint)</cell>
</row>
<row>
<cell>prefix</cell>
<cell>traiter seulement les fichiers dont le nom débute par</cell>
<cell>(no constraint)</cell>
</row>
<row>
<cell>suffix</cell>
<cell>traiter seulement les fichiers avec l’extension</cell>
<cell>xml</cell>
</row>
<row>
<cell>defaultSource</cell>
<cell>chemin pour faire référence à aux déclarations TEI</cell>
<cell>http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml</cell>
</row>
<row>
<cell>keepGlobals</cell>
<cell>énumérer tous les attributs globaux</cell>
<cell>false</cell>
</row>
<row>
<cell>attributeList</cell>
<cell>attributs spécifiques dont les valeurs doivent être énumérées</cell>
<cell>(none)</cell>
</row>
<row>
<cell>enumerateRend</cell>
<cell>énumérer les valeurs utilisées pour le <att>rend</att></cell>
<cell>false</cell>
</row>
<row>
<cell>enumerateType</cell>
<cell>énumérer les valeurs utilisées pour <att>type</att></cell>
<cell>false</cell>
</row>
<row>
<cell>includeHeader</cell>
<cell>énumérer les attributs des éléments dans les headers TEI</cell>
<cell>true</cell>
</row>
<row>
<cell>processNonTEI</cell>
<cell>énumérer les éléments non-TEI</cell>
<cell>false</cell>
</row>
<!-- <row><cell>method</cell><cell>should generated moduleRefs use @include or @except</cell><cell>include</cell></row>
-->
<row>
<cell>debug</cell>
<cell>indiquer les informations de bugs</cell>
<cell>false</cell>
</row>
<row>
<cell>verbose</cell>
<cell>produire des messages en mode verbose</cell>
<cell>false</cell>
</row>
</table>
</div>
</body>
</body>
</text>
</TEI>
31 changes: 30 additions & 1 deletion P5/Exemplars/tei_jtei.odd
Original file line number Diff line number Diff line change
Expand Up @@ -1948,12 +1948,14 @@
<attList>
<attDef ident="notAfter" mode="delete"/>
<attDef ident="role" mode="delete"/>
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <affliation> -->
</attList>
</elementSpec>
<elementSpec ident="application" mode="change">
<attList>
<attDef ident="type" mode="delete"/>
<attDef ident="notAfter" mode="delete"/>
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <application> -->
</attList>
</elementSpec>
<elementSpec ident="att" module="tagdocs" mode="change">
Expand All @@ -1971,6 +1973,7 @@
</attList>
</elementSpec>
<classSpec ident="att.breaking" module="tei" type="atts" mode="delete"/>
<classSpec ident="att.calendarSystem" module="tei" type="atts" mode="delete"/>
<classSpec ident="att.cReferencing" module="tei" type="atts" mode="delete"/>
<classSpec ident="att.canonical" module="tei" type="atts" mode="delete"/>
<classSpec ident="att.citing" module="tei" type="atts" mode="change">
Expand All @@ -1993,9 +1996,28 @@
<attDef ident="group" mode="delete"/>
</attList>
</classSpec>
<!--
start @calendar removal section
This whole block should be removed along with the
2024-11-11 removal of @calendar from individual TEI
elements. Note that elements that have @calendar deleted
elsewhere in this ODD have been commented out here, and
those @calendars need to be removed wherever they are
declared in this ODD, too. —Syd, 2023-10-16
-->
<!-- elementSpec ident="affiliation" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<!-- elementSpec ident="application" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<!-- elementSpec ident="author" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<elementSpec ident="change" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<!-- elementSpec ident="editor" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<!-- elementSpec ident="idno" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<elementSpec ident="licence" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<!-- elementSpec ident="name" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<!-- elementSpec ident="orgName" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec -->
<elementSpec ident="resp" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<!-- end @calendar removal block -->
<classSpec ident="att.datable" module="tei" type="atts" mode="change">
<attList>
<attDef ident="calendar" mode="delete"/>
<attDef ident="period" mode="delete"/>
</attList>
</classSpec>
Expand Down Expand Up @@ -2143,6 +2165,7 @@
</constraintSpec>
<attList>
<attDef ident="role" mode="delete"/>
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <author> -->
</attList>
</elementSpec>
<elementSpec ident="availability" mode="change">
Expand Down Expand Up @@ -2374,6 +2397,7 @@
<valItem ident="technical"/>
</valList>
</attDef>
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <editor> -->
</attList>
</elementSpec>
<elementSpec ident="emph" module="core" mode="change">
Expand Down Expand Up @@ -2550,6 +2574,7 @@
<attDef ident="role" mode="delete"/>
<attDef ident="notAfter" mode="delete"/>
<attDef ident="type" mode="delete"/>
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <name> -->
</attList>
</elementSpec>
<elementSpec ident="note" mode="change">
Expand Down Expand Up @@ -2697,6 +2722,7 @@
<attDef ident="notAfter" mode="delete"/>
<attDef ident="role" mode="delete"/>
<attDef ident="type" mode="delete"/>
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <orgName> -->
</attList>
</elementSpec>
<elementSpec ident="pubPlace" mode="change">
Expand Down Expand Up @@ -3098,6 +3124,9 @@
</sch:rule>
</constraint>
</constraintSpec>
<attList> <!-- remove 2024-11-11 when @calender removed from <idno> -->
<attDef ident="calendar" mode="delete"/> <!-- remove 2024-11-11 when @calender removed from <idno> -->
</attList> <!-- remove 2024-11-11 when @calender removed from <idno> -->
</elementSpec>
<elementSpec ident="graphic" module="core" mode="change">
<constraintSpec ident="jtei.sch-graphic-dimensions" scheme="schematron">
Expand Down
26 changes: 21 additions & 5 deletions P5/Exemplars/tei_lite.odd
Original file line number Diff line number Diff line change
Expand Up @@ -2929,6 +2929,8 @@ $Id$
<attDef ident="rendition" mode="delete"/>
</attList>
</classSpec>

<classSpec ident="att.calendarSystem" module="tei" type="atts" mode="delete"/>

<classSpec type="atts"
ident="att.global.linking"
Expand All @@ -2950,11 +2952,25 @@ $Id$
<attDef ident="to" mode="delete"/>
</attList>
</classSpec>
<classSpec type="atts" ident="att.datable" module="tei" mode="change">
<attList>
<attDef ident="calendar" mode="delete"/>
</attList>
</classSpec>
<!--
start @calendar removal section
This whole block should be removed along with the
2024-11-11 removal of @calendar from individual TEI
elements. —Syd, 2023-10-16
-->
<elementSpec ident="author" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="change" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="creation" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="editor" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="funder" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="idno" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="licence" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="name" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="principal" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="resp" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="sponsor" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<elementSpec ident="title" mode="change"><attList><attDef ident="calendar" mode="delete"/></attList></elementSpec>
<!-- end @calendar removal block -->
<classSpec type="atts"
ident="att.internetMedia"
module="tei"
Expand Down
12 changes: 3 additions & 9 deletions P5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ html-web.stamp: check.stamp p5.xml Utilities/guidelines.xsl.model
@# remove vestiges of previous run
rm -rf Guidelines-web
@# generate XSL stylesheet by modifying paths in our model stylesheet
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+${XSL}+; \
s+/usr/share/xml/tei/stylesheet+${XSL}+;" \
Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
java -jar Utilities/lib/${SAXONJAR} -s:Utilities/guidelines.xsl.model -xsl:Utilities/guidelines_model_2_executable.xslt -o:Utilities/guidelines.xsl XSL="${XSL}"
@# for each language, create a subdirectory and pre-populate it with CSS, source, and web navigation stuff
for i in $(ALLLANGUAGES) ;do \
mkdir -p Guidelines-web/$$i/html; \
Expand Down Expand Up @@ -142,10 +139,7 @@ fonttest:
pdf-init: check.stamp p5.xml Utilities/guidelines-latex.xsl
@echo check if XeLaTeX exist
@command -v xelatex || exit 1
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+${XSL}+; \
s+/usr/share/xml/tei/stylesheet+${XSL}+;" \
Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
java -jar Utilities/lib/${SAXONJAR} -s:Utilities/guidelines-latex.xsl -xsl:Utilities/guidelines_model_2_executable.xslt -o:Utilities/guidelines.xsl XSL="${XSL}"
@echo BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX
@echo Make sure you have Junicode and Noto CJK fonts installed
${ANT} -lib Utilities/lib/${SAXONJAR} -f antbuilder.xml -DXSL=${XSL} -DXELATEX=${XELATEX} pdfonce
Expand Down Expand Up @@ -263,7 +257,7 @@ readus:
cp VERSION release/tei-p5-doc/share/doc/tei-p5-doc
@echo BUILD: Make web pages for release notes
for i in ReleaseNotes/readme*xml; do \
echo ${ANT} -f ${XSL}/html/build-to.xml -lib Utilities/lib/${SAXONJAR} -Dprofiledir=${XSL}/profiles -Dprofile=readme \
${ANT} -f ${XSL}/html/build-to.xml -lib Utilities/lib/${SAXONJAR} -Dprofiledir=${XSL}/profiles -Dprofile=readme \
-DinputFile=`pwd`/$$i -DoutputFile=`pwd`/release/tei-p5-doc/share/doc/tei-p5-doc/`basename $$i .xml`.html; \
done

Expand Down
Loading

0 comments on commit e5dd73e

Please sign in to comment.