%load_ext autoreload
%autoreload 2
The autoreload extension is already loaded. To reload it, use: %reload_ext autoreload
from tf.app import use
ORG = "annotation"
REPO = "mondriaan"
A = use(f"{ORG}/{REPO}:clone", checkout="clone")
Locating corpus resources ...
Name | # of nodes | # slots / node | % coverage |
---|---|---|---|
folder | 2 | 8853.50 | 100 |
bibliolist | 1 | 3112.00 | 18 |
listBibl | 2 | 1531.00 | 17 |
file | 16 | 1106.69 | 100 |
letter | 14 | 1003.64 | 79 |
body | 16 | 664.38 | 60 |
text | 16 | 664.38 | 60 |
artworklist | 1 | 544.00 | 3 |
listObject | 1 | 499.00 | 3 |
standOff | 14 | 358.79 | 28 |
div | 31 | 326.81 | 57 |
page | 51 | 126.45 | 36 |
listAnnotation | 52 | 96.60 | 28 |
revisionDesc | 14 | 69.00 | 5 |
postscript | 6 | 62.83 | 2 |
chunk | 335 | 52.75 | 100 |
p | 96 | 67.35 | 37 |
teiHeader | 16 | 119.12 | 11 |
artwork | 10 | 47.50 | 3 |
note | 116 | 44.28 | 29 |
fileDesc | 16 | 42.06 | 4 |
bibl | 109 | 28.40 | 17 |
titleStmt | 16 | 22.44 | 2 |
msDesc | 14 | 20.00 | 2 |
sourceDesc | 16 | 18.50 | 2 |
msIdentifier | 14 | 15.86 | 1 |
correspDesc | 14 | 15.50 | 1 |
profileDesc | 14 | 15.50 | 1 |
closer | 30 | 12.83 | 2 |
address | 4 | 12.50 | 0 |
desc | 10 | 11.10 | 1 |
title | 159 | 10.30 | 9 |
sentence | 1850 | 9.01 | 94 |
facsimile | 14 | 8.43 | 1 |
classDecl | 1 | 8.00 | 0 |
encodingDesc | 1 | 8.00 | 0 |
correspAction | 28 | 7.75 | 1 |
change | 168 | 5.75 | 5 |
opener | 28 | 4.93 | 1 |
salute | 56 | 5.12 | 2 |
addrLine | 6 | 4.83 | 0 |
date | 26 | 4.58 | 1 |
head | 14 | 4.14 | 0 |
physDesc | 14 | 4.14 | 0 |
author | 1 | 4.00 | 0 |
institution | 14 | 3.79 | 0 |
dateline | 6 | 3.67 | 0 |
name | 28 | 3.39 | 1 |
catRef | 43 | 3.16 | 1 |
ref | 75 | 3.12 | 1 |
decoDesc | 14 | 3.00 | 0 |
editor | 28 | 3.00 | 0 |
sponsor | 14 | 3.00 | 0 |
ent | 2193 | 2.74 | 34 |
signed | 30 | 2.60 | 0 |
choice | 15 | 2.47 | 0 |
placeName | 14 | 2.43 | 0 |
surface | 49 | 2.41 | 1 |
hi | 66 | 2.39 | 1 |
idno | 42 | 2.33 | 1 |
rs | 205 | 2.27 | 3 |
zone | 14 | 2.21 | 0 |
decoNote | 14 | 2.07 | 0 |
settlement | 14 | 2.07 | 0 |
abbr | 2 | 2.00 | 0 |
accMat | 1 | 2.00 | 0 |
altIdentifier | 28 | 2.00 | 0 |
country | 14 | 2.00 | 0 |
taxonomy | 4 | 2.00 | 0 |
del | 9 | 1.67 | 0 |
reg | 11 | 1.27 | 0 |
orig | 11 | 1.18 | 0 |
add | 8 | 1.12 | 0 |
publicationStmt | 16 | 1.12 | 0 |
token | 17475 | 1.00 | 99 |
expan | 2 | 1.00 | 0 |
graphic | 73 | 1.00 | 0 |
lb | 6 | 1.00 | 0 |
measure | 20 | 1.00 | 0 |
objectDesc | 14 | 1.00 | 0 |
pb | 51 | 1.00 | 0 |
postmark | 2 | 1.00 | 0 |
ptr | 82 | 1.00 | 0 |
relation | 10 | 1.00 | 0 |
space | 9 | 1.00 | 0 |
unclear | 4 | 1.00 | 0 |
t | 17707 | 1.00 | 100 |
3
annotation/mondriaan
/Users/me/github/annotation/mondriaan/app
.r_above {
position: relative;
top: -0.3em;
}
.r_below {
position: relative;
top: 0.3em;
}
.r_b,.r_bold {
font-weight: bold;
}
.r_center {
text-align: center;
}
.r_h1 {
font-size: xx-large;
font-weight: bold;
margin-top: 3rem;
margin-bottom: 1rem;
}
.r_h2 {
font-size: x-large;
font-weight: bold;
margin-top: 2rem;
margin-bottom: 1rem;
}
.r_h3 {
font-size: large;
font-weight: bold;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
.r_h4 {
font-size: large;
font-style: italic;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
.r_h5 {
font-size: medium;
font-weight: bold;
font-variant: small-caps;
margin-top: 0.5rem;
margin-bottom: 0.25rem;
}
.r_h6 {
font-size: medium;
font-weight: normal;
font-variant: small-caps;
margin-top: 0.25rem;
margin-bottom: 0.125rem;
}
.r_i,.r_italic,.r_italics {
font-style: italic;
}
.r_large {
font-size: large;
}
.r_margin {
position: relative;
top: -0.3em;
font-weight: bold;
color: #0000ee;
}
.r_sc,.r_small_caps,.r_smallcaps {
font-variant: small-caps;
}
.r_spaced,.r_spat {
letter-spacing: .2rem;
}
.r_sub {
vertical-align: sub;
font-size: small;
}
.r_sup,.r_super {
vertical-align: super;
font-size: small;
}
.r_ul,.r_underline {
text-decoration: underline;
}
.r_ {
color: #dd22ff;
text-decoration: underline;
}
.is_meta {
font-family: monospace;
color: #008800;
}
.is_note {
font-size: small;
color: #dd0055;
}
/* GRAPHICS */
.graphic_item {
display: inline-block;
padding: 0.5rem;
}
.graphic_set {
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: center;
align-content: flex-start;
}
.graphic_img {
display: block;
max-width: 15rem ! important;
max-height: 15rem ! important;
}
.graphic_caption {
display: block;
max-width: 15rem ! important;
max-height: 15rem ! important;
}
[]
none
unknown
NA
@
layout-orig-full
layout
}}about
{docBase}/transcription.md
transcription
layout-orig-full
True
True
clone
/Users/me/github/annotation/mondriaan/_temp
master
{org} - {repo}{relative}
10.5281/zenodo.notyet
illustrations
[]
annotation
/tf
mondriaan
0.8.14
https://public.{org}.org/{repo}
Show this on the website
en
{webBase}/<1>/<2>/<3>&version={version}
{webBase}/word?version={version}&id=<lid>
type key
True
''
MESSAGE = "test"
DESCRIPTION = """
For debugging
"""
A.publishRelease(3, message=MESSAGE, description=DESCRIPTION)
Working in repo ~/github/annotation/mondriaan Make a new commit ... [master 9dae75b] test 4 files changed, 27 insertions(+), 59 deletions(-) create mode 100644 tf/0.8.14/__checkout__.txt Compute a new tag ... Latest release = v0.8.13 New release = v0.8.14 Push the repo to GitHub, including tag v0.8.14 Turn the tag into a release on GitHub with additional data
To https://github.com/annotation/mondriaan 6efbd48..9dae75b master -> master * [new tag] v0.8.14 -> v0.8.14
createReleaseUrl='https:/api.github.com/repos/annotation/mondriaan/releases' repr(response)='<Response [201]>' Create the zip file with the complete data Data to be zipped: OK app (v0.8.14 5cf055) : ~/github/annotation/mondriaan/app OK main data (v0.8.14 5cf055) : ~/github/annotation/mondriaan/tf/0.8.14 OK graphics (v0.8.14 5cf055) : ~/github/annotation/mondriaan/illustrations Writing zip file ... Upload the zip file and attach it to the release on GitHub https:/uploads.github.com/repos/annotation/mondriaan/releases/142814330/assets?name=complete.zip Release v0.8.14 created
MESSAGE = "With Biblio"
DESCRIPTION = """
New TEI source data:
There is now additional *back matter*: a list of artworks.
The file folder structure of the data is
```
proeftuin
- letter
- letter
backmatter
- artwork (template: artworklist)
- biblio (template: bibliolist)
```
There are two new series of edge annotations: `link_ref` and `link_target`.
They link elements via the `ref` and `target` atrributes to other elements identified by the
`id` attributes. This can happen across files.
The `ref` and `target` attributes are still present as annotations,
the `link_ref` and `target_ref` have been generated from this.
The targets of these annotations are pairs: *from* and *to*.
The *from* corresponds to the element that contains the `ref` or `target` attribute,
the *to* corresponds to the element that contains the `id` attribute.
Nothing new has been done with the spacing and the newlines.
This release has been published with the command `A.publish()`, a function in Text-Fabric.
"""
A.publishRelease(3, message=MESSAGE, description=DESCRIPTION)
Working in repo ~/github/annotation/mondriaan Make a new commit ... [master 7d9be80] With Biblio 1 file changed, 21 insertions(+), 44 deletions(-) Compute a new tag ... Latest release = v0.8.11 New release = v0.8.12 Push the repo to GitHub, including tag v0.8.12 Turn the tag into a release on GitHub with additional data
To https://github.com/annotation/mondriaan 51484fb..7d9be80 master -> master * [new tag] v0.8.12 -> v0.8.12
Create the zip file with the complete data Data to be zipped: OK app (v0.8.12 24d8fa) : ~/github/annotation/mondriaan/app OK main data (v0.8.12 24d8fa) : ~/github/annotation/mondriaan/tf/0.8.12 OK graphics (v0.8.12 24d8fa) : ~/github/annotation/mondriaan/illustrations Writing zip file ... Upload the zip file and attach it to the release on GitHub https:/uploads.github.com/repos/annotation/mondriaan/releases/107810511/assets?name=complete.zip Release v0.8.12 created