Skip to content

Commit

Permalink
included derived features from #18
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkroorda committed May 25, 2023
1 parent ffab3df commit bad298f
Show file tree
Hide file tree
Showing 141 changed files with 128,200 additions and 123,981 deletions.
2 changes: 1 addition & 1 deletion app/__checkout__.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v0.8.6
gceb788cf72e6d638b9fcb98118f77db27634a791
gffab3df5391c6ed2c3ae5c2ca589a39ccd4e7fb0
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from tf.advanced.find import loadModule

KNOWN_RENDS = {'italic', 'super', 'small_caps', 'sup', 'center', 'bold', 'h6', 'below', 'h2', 'spat', 'h3', 'ul', 'h4', 'large', 'above', 'italics', 'underline', 'i', 'sc', 'spaced', 'smallcaps', 'h1', 'h5', 'b', 'sub', 'margin'}
KNOWN_RENDS = {'sc', 'below', 'small_caps', 'h3', 'i', 'h6', 'smallcaps', 'bold', 'large', 'h4', 'ul', 'sub', 'h5', 'above', 'italics', 'center', 'h2', 'spaced', 'b', 'margin', 'italic', 'sup', 'spat', 'underline', 'super', 'h1'}


def fmt_layout(app, n, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Leo Jansen, Peter Boot, Beatrice Nava, Mariken Teeuwen

## teiVersion

2023-05-11
2023-05-24


## schema
Expand Down
64 changes: 47 additions & 17 deletions docs/elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,26 @@ element | attribute | value | amount
 | | `sent` | 14
[del](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-del.html) | [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `overwritten` | 1
 | | `strikeover` | 5
[div](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-div.html) | [lang](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#lang) | `en` | 21
 | | `nl` | 55
| [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `annotation` | 16
 | | `notes` | 16
 | | `ogtnotes` | 14
 | | `original` | 14
[div](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-div.html) | [lang](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#lang) | `en` | 14
 | | `nl` | 14
| [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `original` | 14
 | | `postalData` | 2
 | | `translation` | 14
 | | `typednotes` | 16
[idno](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-idno.html) | [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `def` | 14
 | | `letterId` | 14
[note](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-note.html) | [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `dating` | 16
[listAnnotation](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-listAnnotation.html) | [lang](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#lang) | `en` | 6
 | | `nl` | 40
| [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `notes` | 16
 | | `ogtnotes` | 14
 | | `typednotes` | 16
[note](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-note.html) | [type](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#type) | `dating` | 14
 | | `dating_NL` | 2
 | | `ogtnote` | 4
 | | `pubhistory` | 5
 | | `pubhistory` | 4
 | | `pubhistory_NL` | 1
 | | `remarks` | 1
 | | `transcrSource` | 16
 | | `transcrSource` | 14
 | | `transcrSource_NL` | 2
[objectDesc](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-objectDesc.html) | [form](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#form) | `brief` | 12
 | | `briefkaart` | 1
 | | `correspondentiekaart` | 1
Expand Down Expand Up @@ -91,6 +95,8 @@ element | attribute | value | amount

element | attribute | value | amount
--- | --- | --- | ---
[?editem](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-?editem.html) | [adaptation](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#adaptation) | `md` | 14
| [template](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#template) | `letter` | 14
[TEI](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-TEI.html) | | | 14
[abbr](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-abbr.html) | | | 2
[accMat](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-accMat.html) | | | 1
Expand All @@ -108,7 +114,7 @@ element | attribute | value | amount
[date](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-date.html) | | | 2
| [when](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#when) | `NNNN-NN` | 5
 | | `NNNN-NN-NN` | 9
[dateline](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-dateline.html) | | | 5
[dateline](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-dateline.html) | | | 6
[decoDesc](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-decoDesc.html) | | | 14
[decoNote](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-decoNote.html) | | | 14
[del](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-del.html) | | | 1
Expand Down Expand Up @@ -136,8 +142,8 @@ element | attribute | value | amount
[msIdentifier](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-msIdentifier.html) | | | 14
[name](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-name.html) | | | 14
| [key](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#key) | `X` | 14
[note](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-note.html) | | | 2
| [id](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#id) | `X` | 40
[note](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-note.html) | [id](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#id) | `X` | 93
| [n](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#n) | `N` | 46
[opener](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-opener.html) | [id](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#id) | `X` | 28
| [n](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#n) | `N` | 28
[orig](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-orig.html) | | | 11
Expand All @@ -156,19 +162,43 @@ element | attribute | value | amount
[postmark](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-postmark.html) | | | 2
[postscript](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-postscript.html) | | | 5
[profileDesc](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-profileDesc.html) | | | 14
[ptr](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-ptr.html) | [target](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#target) | `X` | 77
[ptr](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-ptr.html) | [target](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#target) | `X` | 78
[publicationStmt](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-publicationStmt.html) | | | 14
[ref](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-ref.html) | | | 2
| [target](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#target) | `X` | 62
[ref](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-ref.html) | [target](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#target) | `X` | 61
[reg](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-reg.html) | | | 10
[revisionDesc](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-revisionDesc.html) | | | 14
[rs](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-rs.html) | [key](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#key) | `X` | 132
[rs](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-rs.html) | [key](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#key) | `X` | 20
| [ref](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#ref) | `bio.xml#besant_annie` | 1
 | | `bio.xml#briel_albert_van_den` | 1
 | | `bio.xml#buhlig_richard` | 4
 | | `bio.xml#calcar_reinder_van` | 3
 | | `bio.xml#fernhout_henk` | 5
 | | `bio.xml#iongh_aletta_de` | 30
 | | `bio.xml#iongh_anna_de` | 7
 | | `bio.xml#iongh_anna_maria_de` | 1
 | | `bio.xml#iongh_daniel_de` | 1
 | | `bio.xml#iongh_de_frederika` | 3
 | | `bio.xml#knap_gerrit_willem` | 5
 | | `bio.xml#mondriaan_pieter_senior` | 1
 | | `bio.xml#philippona_reinier` | 2
 | | `bio.xml#philippona_reinier philippona_mien` | 2
 | | `bio.xml#querido_israel` | 6
 | | `bio.xml#saalborn_arnold` | 5
 | | `bio.xml#sluijters_jan` | 1
 | | `bio.xml#smeenk_josina` | 1
 | | `bio.xml#spoor_kees` | 9
 | | `bio.xml#teirlinck_herman` | 4
 | | `bio.xml#toorop_charley` | 1
 | | `bio.xml#waldenburg_alfred` | 17
 | | `bio.xml#wisse_adriana` | 1
 | | `bio.xml#wisse_ko` | 1
[salute](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-salute.html) | | | 56
[settlement](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-settlement.html) | | | 14
[signed](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-signed.html) | | | 29
[sourceDesc](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-sourceDesc.html) | | | 14
[space](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-space.html) | [quantity](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#quantity) | `N` | 9
[sponsor](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-sponsor.html) | | | 14
[standOff](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-standOff.html) | | | 14
[surface](https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-surface.html) | [id](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#id) | `X` | 49
| [n](https://tei-c.org/release/doc/tei-p5-doc/en/html/REF-ATTS.html#n) | `Nr` | 14
 | | `Nv` | 13
Expand Down
180 changes: 180 additions & 0 deletions docs/transcription.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,96 @@ Note that edges can be traversed in both directions, see the



## correspondent


The values of this feature have type str.
* `meta`: {'description': 'The person that Mondriaan corresponded with; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['name', {'correspAction': {'type': 'received'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## sender


The values of this feature have type str.
* `meta`: {'description': 'The sender of the letter; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['name', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## period


The values of this feature have type str.
* `meta`: {'description': 'The date of the letter in YYYY-MM-DD; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['date@when', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## periodlong


The values of this feature have type str.
* `meta`: {'description': 'The date of the letter as description; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['date', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## location


The values of this feature have type str.
* `meta`: {'description': 'The place from where the letter is sent; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['placeName', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## personref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of a person; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@ref': {'type': 'person'}}]
* `nodeType`: rs



## artmondriaanref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of an artwork by Mondriaan; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@key': {'type': 'artwork-m'}}]
* `nodeType`: rs



## artref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of an artwork; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@key': {'type': 'artwork'}}]
* `nodeType`: rs



## exhibitionref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of an exhibition; ', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@key': {'type': 'exhibition'}}]
* `nodeType`: rs




The conversion has not generated extra features by means of custom code.

Expand Down Expand Up @@ -481,6 +571,96 @@ with element/attribute names of the TEI.



## correspondent


The values of this feature have type str.
* `meta`: {'description': 'The person that Mondriaan corresponded with; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['name', {'correspAction': {'type': 'received'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## sender


The values of this feature have type str.
* `meta`: {'description': 'The sender of the letter; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['name', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## period


The values of this feature have type str.
* `meta`: {'description': 'The date of the letter in YYYY-MM-DD; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['date@when', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## periodlong


The values of this feature have type str.
* `meta`: {'description': 'The date of the letter as description; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['date', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## location


The values of this feature have type str.
* `meta`: {'description': 'The place from where the letter is sent; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: ['placeName', {'correspAction': {'type': 'sent'}}, 'correspDesc', 'profileDesc']
* `nodeType`: letter



## personref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of a person; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@ref': {'type': 'person'}}]
* `nodeType`: rs



## artmondriaanref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of an artwork by Mondriaan; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@key': {'type': 'artwork-m'}}]
* `nodeType`: rs



## artref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of an artwork; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@key': {'type': 'artwork'}}]
* `nodeType`: rs



## exhibitionref


The values of this feature have type str.
* `meta`: {'description': 'Reference key to the details of an exhibition; «base»', 'conversionMethod': 'derived', 'conversionCode': 'tt'}
* `path`: [{'rs@key': {'type': 'exhibition'}}]
* `nodeType`: rs




## See also

Expand Down
2 changes: 1 addition & 1 deletion illustrations/__checkout__.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v0.8.6
gceb788cf72e6d638b9fcb98118f77db27634a791
gffab3df5391c6ed2c3ae5c2ca589a39ccd4e7fb0
Loading

0 comments on commit bad298f

Please sign in to comment.