Skip to content

Commit

Permalink
add cert attribute for text type
Browse files Browse the repository at this point in the history
  • Loading branch information
olvidalo committed Apr 27, 2022
1 parent d440b9a commit ae99536
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 2 additions & 1 deletion css/epidoc_c.less
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,8 @@ note[type=publication][subtype=struct]:after(1) {
*/
note[type=text_type]{
content: oxy_label(text, "Textsorte: ", width, 10em, text-align, right)
oxy_editor(type, combo, edit, "#text", editable, false);
oxy_editor(type, combo, edit, "#text", editable, false)
" " oxy_editor(type, check, edit, "@cert", values, "low", uncheckedValues, "high", labels, "unsicher", fontInherit, true);
padding-top: 0.4em;
}
note[type=illustrations]:before {
Expand Down
8 changes: 8 additions & 0 deletions schema/tei-epidoc_c.odd
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,14 @@ End license statement: do not remove -->
<rng:attribute name="type">
<rng:value>text_type</rng:value>
</rng:attribute>
<rng:optional>
<rng:attribute name="cert">
<rng:choice>
<rng:value>high</rng:value>
<rng:value>low</rng:value>
</rng:choice>
</rng:attribute>
</rng:optional>
<rng:choice>
<rng:value>dokumentarisch</rng:value>
<rng:value>literarisch</rng:value>
Expand Down
10 changes: 9 additions & 1 deletion schema/tei-epidoc_c.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2022-01-13T17:32:51Z. .
Schema generated from ODD source 2022-04-27T15:18:58Z. .
TEI Edition: Version 4.1.0. Last updated on
19th August 2020, revision b414ba550
TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.1.0/
Expand Down Expand Up @@ -11510,6 +11510,14 @@ Suggested values include: 1] archaeological-context; 2] internal-date; 3] letter
<attribute name="type">
<value>text_type</value>
</attribute>
<optional>
<attribute name="cert">
<choice>
<value>high</value>
<value>low</value>
</choice>
</attribute>
</optional>
<choice>
<value>dokumentarisch</value>
<value>literarisch</value>
Expand Down

0 comments on commit ae99536

Please sign in to comment.