-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
169 changed files
with
7,417 additions
and
15,415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ p5odds.mess* | |
|
||
p5examples* | ||
stripspace* | ||
|
||
# Oxygen project files | ||
*.xpr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,84 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<TEI xml:lang="en" xmlns="http://www.tei-c.org/ns/1.0" | ||
xmlns:rng="http://relaxng.org/ns/structure/1.0"> | ||
<TEI xmlns="http://www.tei-c.org/ns/1.0"> | ||
<teiHeader> | ||
<fileDesc> | ||
<titleStmt> | ||
<title>TEI with minimal setup</title> | ||
<author>Sebastian Rahtz</author> | ||
<title>TEI Minimal</title> | ||
<author>James Cummings</author> | ||
</titleStmt> | ||
<publicationStmt> | ||
<publisher>TEI Consortium</publisher> | ||
<publisher>TEI Consortium</publisher> | ||
<availability status="free"> | ||
<licence target="http://creativecommons.org/licenses/by-sa/3.0/"> Distributed under a Creative | ||
Commons Attribution-ShareAlike 3.0 Unported License </licence> | ||
<licence target="http://www.opensource.org/licenses/BSD-2-Clause"> | ||
<p>Copyright 2013 TEI Consortium.</p> | ||
<p>All rights reserved.</p> | ||
<p>Redistribution and use in source and binary forms, with or without modification, are | ||
permitted provided that the following conditions are met:</p> | ||
<list> | ||
<item>Redistributions of source code must retain the above copyright notice, this list of | ||
conditions and the following disclaimer.</item> | ||
<item>Redistributions in binary form must reproduce the above copyright notice, this list of | ||
conditions and the following disclaimer in the documentation and/or other materials provided | ||
with the distribution.</item> | ||
</list> | ||
<p>This software is provided by the copyright holders and contributors "as is" and any express | ||
or implied warranties, including, but not limited to, the implied warranties of | ||
merchantability and fitness for a particular purpose are disclaimed. In no event shall the | ||
copyright holder or contributors be liable for any direct, indirect, incidental, special, | ||
exemplary, or consequential damages (including, but not limited to, procurement of substitute | ||
goods or services; loss of use, data, or profits; or business interruption) however caused | ||
and on any theory of liability, whether in contract, strict liability, or tort (including | ||
negligence or otherwise) arising in any way out of the use of this software, even if advised | ||
of the possibility of such damage.</p> | ||
</licence> | ||
<p>TEI material can be licensed differently depending on the use you intend to make of it. | ||
Hence it is made available under both the CC+BY and BSD-2 licences. The CC+BY licence is | ||
generally appropriate for usages which treat TEI content as data or documentation. The BSD-2 | ||
licence is generally appropriate for usage of TEI content in a software environment. For | ||
further information or clarification, please contact the <ref target="mailto:[email protected]" | ||
>TEI Consortium</ref>. </p> | ||
<licence target="http://creativecommons.org/licenses/by-sa/3.0/"> Distributed under a Creative Commons | ||
Attribution-ShareAlike 3.0 Unported License </licence> | ||
<licence target="http://www.opensource.org/licenses/BSD-2-Clause"> | ||
<p>Copyright 2013 TEI Consortium.</p> | ||
<p>All rights reserved.</p> | ||
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that | ||
the following conditions are met:</p> | ||
<list> | ||
<item>Redistributions of source code must retain the above copyright notice, this list of conditions and the | ||
following disclaimer.</item> | ||
<item>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and | ||
the following disclaimer in the documentation and/or other materials provided with the | ||
distribution.</item> | ||
</list> | ||
<p>This software is provided by the copyright holders and contributors "as is" and any express or implied | ||
warranties, including, but not limited to, the implied warranties of merchantability and fitness for a | ||
particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any | ||
direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, | ||
procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however | ||
caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence | ||
or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such | ||
damage.</p> | ||
</licence> | ||
<p>TEI material can be licensed differently depending on the use you intend to make of it. Hence it is made | ||
available under both the CC+BY and BSD-2 licences. The CC+BY licence is generally appropriate for usages which | ||
treat TEI content as data or documentation. The BSD-2 licence is generally appropriate for usage of TEI content | ||
in a software environment. For further information or clarification, please contact the <ref | ||
target="mailto:[email protected]">TEI Consortium</ref>. </p> | ||
</availability> | ||
</publicationStmt> | ||
<sourceDesc> | ||
<p>Written from scratch.</p> | ||
<p>Created from scratch by James Cummings, but looking at previous tei_minimal and tei_bare exemplars by SPQR and | ||
LR.</p> | ||
</sourceDesc> | ||
</fileDesc> | ||
</teiHeader> | ||
<text> | ||
<body> | ||
<head>A Minimal TEI Customization</head> | ||
<p>This is as minimal a TEI customization as is possible. That is, this | ||
ODD file is just about as simple as can be. It does not create a minimal | ||
TEI schema, of course. Adding various <gi>elementSpec</gi>, | ||
<gi>classSpec</gi>, and <gi>macroSpec</gi> elements to this | ||
customization file could make the resulting schema more minimal, but | ||
would make this customization more complicated. E.g., the customization | ||
<name>tei_bare</name> produces a much more minimal schema than the one | ||
created here.</p> | ||
|
||
<p>This TEI ODD defines a TEI customization that is as minimal as possible and the schema generated from it will validate | ||
a document that is minimally valid against the TEI scheme. It includes only the ten required elements: | ||
<list rend="numbered"> | ||
<item><gi>teiHeader</gi> from the header module to store required metadata</item> | ||
<item><gi>fileDesc</gi> from the header module to record information about this file</item> | ||
<item><gi>titleStmt</gi> from the header module to record information about the title</item> | ||
<item><gi>publicationStmt</gi> from the header module to detail how it is published</item> | ||
<item><gi>sourceDesc</gi> from the header module to record where it is from</item> | ||
<item><gi>p</gi> from the core module for use in the header and the body</item> | ||
<item><gi>title</gi> from the core module for use in the titleStmt</item> | ||
<item><gi>TEI</gi> from the textstructure module because what is a TEI file without that?</item> | ||
<item><gi>text</gi> from the textstructure module to hold some text</item> | ||
<item><gi>body</gi> from the textstructure module as a place to put that text</item> | ||
</list> | ||
</p> | ||
<schemaSpec ident="tei_minimal" start="TEI"> | ||
<moduleRef key="header"/> | ||
<moduleRef key="core"/> | ||
|
||
<!-- required minimal header elements --> | ||
<moduleRef key="header" include="teiHeader fileDesc titleStmt publicationStmt sourceDesc"/> | ||
|
||
<!-- required core elements (p and title for use in titleStmt) --> | ||
<moduleRef key="core" include="p title"/> | ||
|
||
<!-- required textstructure elements (TEI, text, and body) --> | ||
<moduleRef key="textstructure" include="TEI text body"/> | ||
|
||
<!-- required module tei instantiates lots of classes used for further expansion of this odd --> | ||
<moduleRef key="tei"/> | ||
<moduleRef key="textstructure"/> | ||
<elementSpec ident="teiCorpus" mode="delete" module="core"/> | ||
|
||
|
||
</schemaSpec> | ||
</body> | ||
</text> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.