Commit 358d8841 authored by Magdalena Turska's avatar Magdalena Turska

add historical dictionary example

parent ff53a5fa
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:pb="http://teipublisher.com/1.0" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Bogactwa mowy polskiej</title>
</titleStmt>
<publicationStmt>
<publisher>eXistSolutions GmbH</publisher>
<availability>
<licence target="https://www.gnu.org/licenses/gpl-3.0.en.html">Distributed under GNU General Public License</licence>
<p>Copyright 2017 <ref target="http://existsolutions.com">eXistSolutions GmbH</ref>
</p>
<p>This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.</p>
</availability>
</publicationStmt>
<sourceDesc>
<p>Generated by <ref target="http://tei-publisher.com">TEI Publisher</ref>
</p>
<p>born digital</p>
</sourceDesc>
</fileDesc>
<encodingDesc>
<tagsDecl>
<rendition selector=".translation">
color: #8888aa;
text-indent: 2em;
</rendition>
<rendition selector=".example">
color: #88aa88;
text-indent: 1em;
</rendition>
<rendition selector=".ref-author">
color: #888888;
font-size: 0.8em;
</rendition>
</tagsDecl>
</encodingDesc>
<revisionDesc>
<change when="2019-12-31+01:00">Initial version</change>
</revisionDesc>
</teiHeader>
<text>
<body>
<schemaSpec start="TEI teiCorpus" ident="osinski" source="teipublisher.odd"> <elementSpec ident="entryFree" mode="add">
<model behaviour="block"/>
</elementSpec>
<elementSpec ident="pb" mode="change">
<model predicate="starts-with(@facs, 'iiif:')" behaviour="webcomponent" cssClass="facs" useSourceRendition="true">
<param name="name" value="'pb-facs-link'"/>
<param name="content" value="@n"/>
<param name="facs" value="replace(@facs, '^iiif:(.*)$', '$1')"/>
<outputRendition xml:space="preserve">
font-size: 16px;
color: #888888;
cursor: pointer;
display: inline;
display: block;
margin-right: -32px;
float: right;
</outputRendition>
</model>
</elementSpec>
<elementSpec ident="form" mode="add">
<model predicate="starts-with(@facs, 'iiif:')" behaviour="webcomponent" cssClass="facs columnbreak">
<param name="name" value="'pb-facs-link'"/>
<param name="facs" value="replace(@facs, '^iiif:([^/]+).*$', '$1')"/>
<param name="content" value="."/>
<param name="coordinates" value="('[' || replace(@facs, '^iiif:[^/]+/(.*)$', '$1') || ']')"/>
<param name="emit" value="'transcription'"/>
<outputRendition xml:space="preserve">
font-weight: bold;
</outputRendition>
</model>
</elementSpec>
<elementSpec ident="gram" mode="add">
<model behaviour="inline">
<outputRendition xml:space="preserve">
font-style: italic;
</outputRendition>
</model>
</elementSpec>
<elementSpec ident="ref" mode="change">
<model predicate="parent::cit or parent::def" behaviour="inline" cssClass="ref-author">
<desc>references (authors) within translations, examples or definitions</desc>
</model>
<model predicate="not(@target)" behaviour="inline"/>
<model predicate="not(node())" behaviour="link">
<param name="content" value="@target"/>
<param name="uri" value="@target"/>
</model>
<model behaviour="link">
<param name="uri" value="@target"/>
</model>
</elementSpec>
<elementSpec ident="cit" mode="change">
<model predicate="@type='example'" behaviour="block" cssClass="example"/>
<model predicate="@type='translation'" behaviour="block" cssClass="translation"/>
</elementSpec>
<elementSpec ident="quote" mode="change">
<model predicate="ancestor::cit" behaviour="inline">
<desc>quotes within cit should be treated as inline, cit is the block unit</desc>
</model>
<model predicate="ancestor::p" behaviour="inline" useSourceRendition="true">
<desc>If it is inside a paragraph then it is inline, otherwise it is block level</desc>
<outputRendition xml:space="preserve" scope="before">
content: '‘';
</outputRendition>
<outputRendition xml:space="preserve" scope="after">
content: '’';
</outputRendition>
</model>
<model behaviour="block" useSourceRendition="true">
<desc>If it is inside a paragraph then it is inline, otherwise it is block level</desc>
<outputRendition xml:space="preserve">
margin-left: 10px; margin-right: 10px;
</outputRendition>
</model>
</elementSpec>
<elementSpec ident="oRef" mode="add">
<model behaviour="inline">
<desc>marker for headword reference; rendered as dash</desc>
<outputRendition xml:space="preserve" scope="before">
content: '—';
</outputRendition>
</model>
</elementSpec>
<elementSpec ident="gen" mode="add">
<model behaviour="alternate">
<param name="default" value="."/>
<param name="alternate" value="@norm"/>
</model>
</elementSpec>
<elementSpec ident="pos" mode="add">
<model behaviour="alternate">
<param name="default" value="."/>
<param name="alternate" value="@norm"/>
</model>
</elementSpec>
</schemaSpec>
</body>
</text>
</TEI>
\ No newline at end of file
import module namespace m='http://www.tei-c.org/pm/models/osinski/epub' at '/db/apps/tei-publisher/transform/osinski-epub.xql';
declare variable $xml external;
declare variable $parameters external;
let $options := map {
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
\ No newline at end of file
module namespace pml='http://www.tei-c.org/pm/models/osinski/epub/module';
import module namespace m='http://www.tei-c.org/pm/models/osinski/epub' at '/db/apps/tei-publisher/transform/osinski-epub.xql';
(: Generated library module to be directly imported into code which
: needs to transform TEI nodes using the ODD this module is based on.
:)
declare function pml:transform($xml as node()*, $parameters as map(*)?) {
let $options := map {
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
};
\ No newline at end of file
This diff is collapsed.
import module namespace m='http://www.tei-c.org/pm/models/osinski/latex' at '/db/apps/tei-publisher/transform/osinski-latex.xql';
declare variable $xml external;
declare variable $parameters external;
let $options := map {
"class": "article",
"section-numbers": false(),
"font-size": "11pt",
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
\ No newline at end of file
module namespace pml='http://www.tei-c.org/pm/models/osinski/latex/module';
import module namespace m='http://www.tei-c.org/pm/models/osinski/latex' at '/db/apps/tei-publisher/transform/osinski-latex.xql';
(: Generated library module to be directly imported into code which
: needs to transform TEI nodes using the ODD this module is based on.
:)
declare function pml:transform($xml as node()*, $parameters as map(*)?) {
let $options := map {
"class": "article",
"section-numbers": false(),
"font-size": "11pt",
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
};
\ No newline at end of file
This diff is collapsed.
import module namespace m='http://www.tei-c.org/pm/models/osinski/fo' at '/db/apps/tei-publisher/transform/osinski-print.xql';
declare variable $xml external;
declare variable $parameters external;
let $options := map {
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
\ No newline at end of file
module namespace pml='http://www.tei-c.org/pm/models/osinski/fo/module';
import module namespace m='http://www.tei-c.org/pm/models/osinski/fo' at '/db/apps/tei-publisher/transform/osinski-print.xql';
(: Generated library module to be directly imported into code which
: needs to transform TEI nodes using the ODD this module is based on.
:)
declare function pml:transform($xml as node()*, $parameters as map(*)?) {
let $options := map {
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
};
\ No newline at end of file
This diff is collapsed.
import module namespace m='http://www.tei-c.org/pm/models/osinski/web' at '/db/apps/tei-publisher/transform/osinski-web.xql';
declare variable $xml external;
declare variable $parameters external;
let $options := map {
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
\ No newline at end of file
module namespace pml='http://www.tei-c.org/pm/models/osinski/web/module';
import module namespace m='http://www.tei-c.org/pm/models/osinski/web' at '/db/apps/tei-publisher/transform/osinski-web.xql';
(: Generated library module to be directly imported into code which
: needs to transform TEI nodes using the ODD this module is based on.
:)
declare function pml:transform($xml as node()*, $parameters as map(*)?) {
let $options := map {
"styles": ["../transform/osinski.css"],
"collection": "/db/apps/tei-publisher/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
}
return m:transform($options, $xml)
};
\ No newline at end of file
This diff is collapsed.
/* Generated stylesheet. Do not edit. */
/* Global styles */
.translation {
color: #8888aa;
text-indent: 2em;
}
.example {
color: #88aa88;
text-indent: 1em;
}
.ref-author {
color: #888888;
font-size: 0.8em;
}
.simple_allcaps { text-transform: uppercase; }
.simple_blackletter { font-family: fantasy; }
.simple_bold { font-weight: bold; }
.simple_bottombraced { padding-bottom: 2pt; border-bottom: dashed gray 2pt; }
.simple_block { display:block; }
.simple_boxed { padding: 2pt; border: solid black 1pt; }
.simple_centre { text-align: center; }
.simple_cursive { font-family: cursive; }
.simple_doublestrikethrough { text-decoration: line-through; color: red; }
.simple_doubleunderline { text-decoration: underline; color: red; }
.simple_dropcap { font-size : 6em; font-family: cursive; font-weight : bold; vertical-align: top; height: 1em; line-height: 1em; float : left; width : 1em; color : #c00; margin: 0em; padding: 0px; }
.simple_float { float:right; display: block; font-size: smaller; clear: right; padding: 4pt; width: 15%; }
.simple_hyphen { }
.simple_inline { display:inline; }
.simple_italic { font-style: italic; }
.simple_justify { text-align: justify; }
.simple_larger { font-size: larger; }
.simple_left { text-align: left; }
.simple_leftbraced { padding-left: 2pt; border-left: dotted gray 2pt; }
.simple_letterspace { letter-spacing: 0.5em; }
.simple_literal { font-family:monospace; white-space:pre; }
.simple_normalstyle { font-style:roman; }
.simple_normalweight { font-weight:normal; }
.simple_right { text-align: right; }
.simple_rightbraced { padding-right: 2pt; border-right: dotted gray 2pt; }
.simple_rotateleft { -webkit-transform: rotate(90deg); transform: rotate(90deg); }
.simple_rotateright { -webkit-transform: rotate(-90deg); transform: rotate(-90deg); }
.simple_rules { border: 1px solid black; padding: 2px;border-collapse:collapse;border-spacing:0; }
.simple_smallcaps { font-variant: small-caps; }
.simple_smaller { font-size: smaller; }
.simple_strikethrough { text-decoration: line-through; }
.simple_subscript { vertical-align: bottom; font-size: smaller; }
.simple_superscript { vertical-align: super; font-size: smaller; }
.simple_topbraced { padding-top: 2pt; border-top: dotted gray 2pt; }
.simple_typewriter { font-family:monospace; }
.simple_underline { text-decoration: underline; }
.simple_wavyunderline { text-decoration: underline; text-decoration-style: wavy; }
/* Model rendition styles */
.tei-supplied2:before { content:"<"; }
.tei-supplied2:after { content:">"; }
.tei-supplied3:before { content:"["; }
.tei-supplied3:after { content:"]"; }
.tei-supplied4:before { content:"("; }
.tei-supplied4:after { content:")"; }
.tei-supplied5:before { content:"{"; }
.tei-supplied5:after { content:"}"; }
.tei-signed1 { text-align: right; }
.tei-signed2 { font-style: italic; }
.tei-pb { font-size: 16px; color: #888888; cursor: pointer; display: inline; display: block; margin-right: -32px; float: right; }
.tei-hi1 { font-style: italic; }
.tei-hi2 { font-style: italic; }
.tei-code { font-family:monospace }
.tei-note2 { margin-left: 10px;margin-right: 10px; font-size:smaller; }
.tei-note3:before { content:" ["; }
.tei-note3:after { content:"] "; }
.tei-note3 { font-size:small; }
.tei-del { text-decoration: line-through; }
.tei-trailer { color: green; }
.tei-speaker { font-style:italic; }
.tei-figDesc:before { content: '[..'; }
.tei-figDesc:after { content: '..]'; }
.tei-figDesc { color: grey;font-style:italic; }
.tei-foreign { font-style:italic; }
.tei-email { font-family:monospace }
.tei-floatingText { margin: 6pt; border: solid black 1pt; }
.tei-table { font-size: smaller; background-color: #F0F0F0; }
.tei-address { margin-top: 2em; margin-left: 2em; margin-right: 2em; margin-bottom: 2em; }
.tei-author1:before { content: 'By '; }
.tei-castList { list-style: ordered; }
.tei-l { margin-left: 1em; }
.tei-closer { margin-top: 1em; margin-left: 1em; margin-left: 1em; }
.tei-p { text-align: justify; }
.tei-q1 { margin-left: 10px; margin-right: 10px; }
.tei-q2:before { content: '‘'; }
.tei-q2:after { content: '’'; }
.tei-q3 { margin-left: 10px; margin-right: 10px; }
.tei-docTitle { font-size: larger; }
.tei-stage { font-style: italic; }
.tei-titlePage { text-align: center; }
.tei-edition:before { content: 'Edition: '; }
.tei-div1 { border: 1px solid black; padding: 5px; }
.tei-add { color: green; text-decoration: underline; }
.tei-head2 { font-style: italic; }
.tei-head3 { font-style: italic; }
.tei-head4 { font-style: italic; }
.tei-head5 { font-weight: bold; }
.tei-unclear:after { content: ' [?] '; }
.tei-argument { margin-bottom: 0.5em; }
.tei-title5 { font-style: italic; }
.tei-title7 { font-style: italic; }
.tei-title9 { font-style: italic; }
.tei-title11 { font-style: italic; }
.tei-corr2:before { content: '['; }
.tei-corr2:after { content: ']'; }
.tei-sic2:before { content: '{'; }
.tei-sic2:after { content: '}'; }
.tei-addrLine { white-space: nowrap; }
.tei-gap1 { color: grey; }
.tei-gap2:before { content: '[..'; }
.tei-gap2:after { content: '..]'; }
.tei-gap2 { color: grey; }
.tei-gap3:before { content: '[...]'; }
.tei-quote2:before { content: '‘'; }
.tei-quote2:after { content: '’'; }
.tei-quote3 { margin-left: 10px; margin-right: 10px; }
.tei-row1 { font-weight: bold; }
.tei-form { font-weight: bold; }
.tei-gram { font-style: italic; }
.tei-oRef:before { content: '—'; }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment