Skip to content

Commit

Permalink
Creating release 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hcayless committed Apr 19, 2022
2 parents b4f72b1 + b28b2bb commit ff9cc28
Show file tree
Hide file tree
Showing 910 changed files with 10,427 additions and 9,475 deletions.
14 changes: 2 additions & 12 deletions .github/actions/generate-spec-lists/process.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
#!/bin/bash

git config --global user.email "$ACTION_USER_EMAIL"
git config --global user.name "$ACTION_USER_NAME"

mkdir /opt/spec_translator
git clone "https://tei-bot:$GITHUB_ACCESS_TOKEN@github.com/TEIC/spec_translator.git" /opt/spec_translator

cd P5
make p5.xml
saxon -s:p5subset.xml -xsl:Utilities/generate_i18n_spec_lists.xsl -o:/opt/spec_translator/docs/js/spec_lists.json

cd /opt/spec_translator
git add docs/js/spec_lists.json
git commit -m "Updated spec lists."
git push origin main
saxon -s:p5subset.xml -xsl:Utilities/generate_i18n_spec_lists.xsl -o:spec_lists.json
make clean
6 changes: 0 additions & 6 deletions .github/actions/mirror-to-i18n/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions .github/actions/mirror-to-i18n/process.sh

This file was deleted.

13 changes: 5 additions & 8 deletions .github/workflows/generate-spec-lists.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: "Generate and update JSON Spec lists for translation"
on:
push:
branches:
- dev
paths:
- 'P5/Source/Specs/*.xml'

Expand All @@ -11,9 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate Spec Lists
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.TEIBOT_ACCESS_TOKEN }}
ACTION_USER_EMAIL: ${{ secrets.I18N_USER_EMAIL }}
ACTION_USER_NAME: ${{ secrets.I18N_USER_NAME }}
uses: ./.github/actions/generate-spec-lists
- uses: ./.github/actions/generate-spec-lists
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Re-generated spec lists.

17 changes: 0 additions & 17 deletions .github/workflows/mirror-to-I18n.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: TEI Guidelines Tests

on:
push:
pull_request:
branches: [ dev ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test1:
if: github.repository == 'TEIC/TEI'
name: "Run the Guidelines tests against the Stylesheets' dev version"
runs-on: ubuntu-latest
container:
image: ghcr.io/teic/jenkins:dev
options: "--user root"

steps:
- name: Checkout Guidelines repo
uses: actions/checkout@v2

- name: Checkout Stylesheets repo
uses: actions/checkout@v2
with:
repository: TEIC/Stylesheets
ref: dev
path: Stylesheets

- 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
2 changes: 1 addition & 1 deletion Documents/pureODD/howtoChain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
<moduleRef key="textstructure"/>
</schemaSpec></egXML>
<p>There is a useful table listing the dates and version numbers of all TEI P5 releases at
<ptr target="http://www.tei-c.org/Guidelines/P5/index.xml#previous"/>. </p>
<ptr target="https://tei-c.org/guidelines/P5/"/>. </p>
</div>
<div>
<head>A use case</head>
Expand Down
61 changes: 0 additions & 61 deletions P5/Exemplars/tei_dictionaries.odd

This file was deleted.

4 changes: 2 additions & 2 deletions P5/Exemplars/tei_simplePrint.odd
Original file line number Diff line number Diff line change
Expand Up @@ -2995,7 +2995,7 @@ although <seg xml:id="network"
have a value <val>#air</val> to link to the following simple definition for the symbol
concerned : <egXML xmlns="http://www.tei-c.org/ns/Examples">
<char xml:id="air">
<charName>ALCHEMICAL SYMBOL FOR AIR</charName>
<unicodeProp name="Name" value="ALCHEMICAL SYMBOL FOR AIR"/>
<mapping type="standard">🜁</mapping>
</char></egXML> Further details of these and related elements are provided in
section <ptr
Expand Down Expand Up @@ -3368,7 +3368,7 @@ although <seg xml:id="network"
<p>The TEI simplePrint schema uses the TEI infrastructure and gaiji modules unchanged. </p>
<specGrp xml:id="base">
<moduleRef key="tei"/>
<moduleRef key="gaiji" include="g charDecl char glyph charName glyphName mapping"/>
<moduleRef key="gaiji" include="char charDecl charProp g glyph localProp mapping unicodeProp unihanProp "/>
</specGrp>
<p>A subset of 45 elements is selected from the TEI header module. In addition, elements
<gi>particDesc</gi> and <gi>settingDesc</gi> are provided from the corpus module. The
Expand Down
11 changes: 4 additions & 7 deletions P5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ teiwebsiteguidelines:
make html-web ALLLANGUAGES="en es de ja ko fr it zh-TW" GOOGLEANALYTICS=UA-4372657-1
(cd Guidelines-web; zip -r -q ../teiwebsiteguidelines.zip . )

pdf: Guidelines.pdf pdf-complete

epub: Guidelines.epub

Guidelines.epub: check.stamp p5.xml
Expand Down Expand Up @@ -141,9 +139,9 @@ fonttest:
fi
rm -f fonttest.*

Guidelines.pdf: check.stamp p5.xml Utilities/guidelines-latex.xsl
pdf-init: check.stamp p5.xml Utilities/guidelines-latex.xsl
@echo check if XeLaTeX exist
@command -v xelatex || exit 1
@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}+;" \
Expand All @@ -152,10 +150,10 @@ Guidelines.pdf: check.stamp p5.xml Utilities/guidelines-latex.xsl
@echo Make sure you have Junicode and Noto CJK fonts installed
${ANT} -lib Utilities/lib/${SAXONJAR} -f antbuilder.xml -DXSL=${XSL} -DXELATEX=${XELATEX} pdfonce

pdf-complete:
pdf: pdf-init
${ANT} -lib Utilities/lib/${SAXONJAR} -f antbuilder.xml -DXSL=${XSL} -DXELATEX=${XELATEX} pdfrest 2> pdfbuild.log 1> pdfbuild.log
grep -v "Failed to convert input string to UTF16" pdfbuild.log
for i in Guidelines*aux; do perl -p -i -e 's/.*zf@fam.*//' $$i; done
for auxFile in Guidelines*aux; do perl -p -i -e 's/.*zf@fam.*//' $$auxFile; done

rewraprnc:
for i in Guidelines-REF*tex; \
Expand Down Expand Up @@ -233,7 +231,6 @@ dist-source.stamp: check.stamp p5.xml schemas.stamp
relax.rng \
schematron.rng \
iso-schematron.rng \
p5sch.xsl \
schematron1-5.rnc \
run-onvdl \
*.css \
Expand Down
Loading

0 comments on commit ff9cc28

Please sign in to comment.