Skip to content

Commit

Permalink
Release 4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sydb committed Apr 4, 2023
2 parents ff9cc28 + b1000a5 commit f18deff
Show file tree
Hide file tree
Showing 847 changed files with 11,133 additions and 6,839 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/generate-spec-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/generate-spec-lists
- uses: stefanzweifel/git-auto-commit-action@v4
- name: Checkout TEI Repository
uses: actions/checkout@v3

- name: Generate JSON Spec list
uses: ./.github/actions/generate-spec-lists

- name: Auto-commit Spec list
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: ${{ github.actor }}
commit_message: Re-generated spec lists.


9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,19 @@ jobs:

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

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

# Update permissions in GITHUB_WORKSPACE (e.g. /__w/TEI/TEI)
# to resolve "dubious permissions" in git (see TEI/TEIC#2399)
- name: Fix Git permissions
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Run tests from the Test directory
run: |
Expand Down
123 changes: 123 additions & 0 deletions I18N/glossary.odd
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_customization.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_customization.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
<title><!-- name of markup language being defined goes here --></title>
<author><!-- primary author --></author>
<editor><!-- editor or secondary author --></editor>
</titleStmt>
<publicationStmt>
<publisher>TEI Internationalization Working Group</publisher>
<!-- put <publisher>, <distributor>, or <authority> here -->
<!-- put <availability> and other optional details about-->
<!-- the publisher, distributor, or release authority here -->
</publicationStmt>
<sourceDesc>
<p>born digital</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<head><!-- name of markup language being defined can be repeated here --></head>
<p><!-- prose description of, and explanation of, markup language goes here;
you can use any TEI constructs you like, including multiple paragarphs,
tables, nested divisions, etc. Furthermore, <specGrp> elements may
be used to include snippets of schema definitions, and <specList>
can be used to include to insert a list of descriptions of elements
and attributes. --></p>
<schemaSpec ident="TEI-Glossary"> <!-- @ident is required -->
<desc><!-- put a one-sentence description of this TEI customization here --></desc>
<moduleRef key="tei"/>
<moduleRef key="core" include="list item desc label gloss title p note hi ref"/>
<moduleRef key="header" except="abstract appInfo application authority biblFull cRefPattern calendar calendarDesc catDesc catRef category change citeData citeStructure classCode classDecl conversion correction correspAction correspContext correspDesc creation distributor edition editionStmt editorialDecl encodingDesc extent funder geoDecl handNote hyphenation idno interpretation keywords listPrefixDef namespace normalization notesStmt prefixDef principal profileDesc projectDesc punctuation quotation refState refsDecl rendition samplingDecl schemaRef scriptNote segmentation seriesStmt sponsor stdVals styleDefDecl tagUsage tagsDecl taxonomy textClass unitDecl unitDef xenoData"/>
<moduleRef key="textstructure" include="body TEI div text"/>
<moduleRef key="tagdocs" include="eg gi att code"/>
<!-- ODD-specific elements like <elementSpec> and <classSpec>;
or references to <specGrp>s defined above using <specGrpRef>. -->
<classSpec type="atts" ident="att.global" mode="change">
<attList>
<attDef ident="xml:lang" mode="change">
<datatype><dataRef key="teidata.enumerated"/></datatype>
<valList type="closed" mode="add">
<valItem ident="en">
<gloss xml:lang="en">English</gloss>
</valItem>
<valItem ident="es">
<gloss xml:lang="en">Spanish</gloss>
</valItem>
<valItem ident="de">
<gloss xml:lang="en">German</gloss>
</valItem>
<valItem ident="it">
<gloss xml:lang="en">Italian</gloss>
</valItem>
<valItem ident="ja">
<gloss xml:lang="en">Japanese</gloss>
</valItem>
<valItem ident="ko">
<gloss xml:lang="en">Korean</gloss>
</valItem>
<valItem ident="zh-TW">
<gloss xml:lang="en">Chinese</gloss>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
<elementSpec ident="body" mode="change" module="textstructure">
<content>
<elementRef key="div" minOccurs="1" maxOccurs="1"/>
</content>
</elementSpec>
<elementSpec ident="div" mode="change" module="textstructure">
<content>
<sequence>
<elementRef key="p" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="list" minOccurs="1" maxOccurs="1"/>
</sequence>
</content>
</elementSpec>
<elementSpec ident="desc" mode="change" module="core">
<attList>
<attDef ident="xml:lang" mode="change" usage="req"/>
<attDef ident="versionDate" mode="change" usage="req"/>
</attList>
</elementSpec>
<elementSpec ident="gloss" mode="change" module="core">
<attList>
<attDef ident="xml:lang" mode="change" usage="req"/>
<attDef ident="versionDate" mode="change" usage="req"/>
</attList>
</elementSpec>
<elementSpec ident="item" mode="change" module="core">
<content>
<sequence>
<elementRef key="label" minOccurs="1" maxOccurs="1"/>
<elementRef key="gloss" minOccurs="1" maxOccurs="unbounded"/>
<elementRef key="desc" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="eg" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="note" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>
</elementSpec>
<elementSpec ident="list" mode="change" module="core">
<content>
<elementRef key="item" minOccurs="1" maxOccurs="unbounded"/>
</content>
</elementSpec>
<elementSpec ident="label" mode="change" module="core">
<constraintSpec ident="uniqlabel" scheme="schematron" mode="add">
<constraint>
<report xmlns="http://purl.oclc.org/dsdl/schematron" test="../preceding-sibling::tei:item/tei:label = . or ../following-sibling::tei:item/tei:label = .">Labels must be unique.</report>
</constraint>
</constraintSpec>
</elementSpec>
</schemaSpec>
</body>
</text>
</TEI>

0 comments on commit f18deff

Please sign in to comment.