Skip to content

Commit

Permalink
update odd for cb
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Flick committed Nov 1, 2024
1 parent 0131973 commit cdbcd32
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 2,160 deletions.
8 changes: 7 additions & 1 deletion src/teipb/odd/parzival-verse.odd
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,17 @@
</teiHeader>
<text>
<body>
<schemaSpec start="TEI teiCorpus" ident="parzival-verse" source="parzival.odd"> <elementSpec ident="l" mode="change">
<schemaSpec start="TEI teiCorpus" ident="parzival-verse"> <elementSpec ident="l" mode="change">
<model behaviour="block" cssClass="line" useSourceRendition="true">
<param name="id" value="substring-after(@xml:id,'_')"/>
<param name="content" value="."/>
<pb:template xmlns="" xml:space="preserve"><span class="verse" data-verse="[[id]]">[[id]]</span><span class="content">[[content]]</span></pb:template>
</model>
</elementSpec>
<elementSpec ident="cb" mode="add">
<model behaviour="block">
<param name="label" value="@xml:id"/>
<pb:template xmlns="" xml:space="preserve"><p>Spalte: [[label]]</p></pb:template>
</model>
</elementSpec>
</schemaSpec>
Expand Down
420 changes: 7 additions & 413 deletions src/teipb/transform/parzival-verse-epub.xql

Large diffs are not rendered by default.

402 changes: 7 additions & 395 deletions src/teipb/transform/parzival-verse-fo.xql

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/teipb/transform/parzival-verse-latex-main.xql
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ declare variable $xml external;
declare variable $parameters external;

let $options := map {
"class": "article",
"section-numbers": false(),
"font-size": "11pt",
"styles": ["transform/parzival-verse.css"],
"collection": "/db/apps/parzival/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
Expand Down
3 changes: 0 additions & 3 deletions src/teipb/transform/parzival-verse-latex-module.xql
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import module namespace m='http://www.tei-c.org/pm/models/parzival-verse/latex'
declare function pml:transform($xml as node()*, $parameters as map(*)?) {

let $options := map {
"class": "article",
"section-numbers": false(),
"font-size": "11pt",
"styles": ["transform/parzival-verse.css"],
"collection": "/db/apps/parzival/transform",
"parameters": if (exists($parameters)) then $parameters else map {}
Expand Down
430 changes: 7 additions & 423 deletions src/teipb/transform/parzival-verse-latex.xql

Large diffs are not rendered by default.

423 changes: 7 additions & 416 deletions src/teipb/transform/parzival-verse-print.xql

Large diffs are not rendered by default.

420 changes: 7 additions & 413 deletions src/teipb/transform/parzival-verse-web.xql

Large diffs are not rendered by default.

93 changes: 0 additions & 93 deletions src/teipb/transform/parzival-verse.css
Original file line number Diff line number Diff line change
@@ -1,98 +1,5 @@
/* Generated stylesheet. Do not edit. */
/* Global styles */

.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-castList { list-style: ordered; }
.tei-signed1 { text-align: right; }
.tei-signed2 { font-style: italic; }
.tei-p2 { 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-pb3 { display: block; margin-left: 4pt; color: grey; float: right; }
.tei-pb3:before { content: '[Page '; }
.tei-pb3:after { content: ']'; }
.tei-docTitle { font-size: larger; }
.tei-stage { font-style: italic; }
.tei-titlePage { text-align: center; }
.tei-hi { font-style: italic; }
.tei-code { font-family:monospace }
.tei-edition:before { content: 'Edition: '; }
.tei-del { text-decoration: line-through; }
.tei-div1 { border: 1px solid black; padding: 5px; }
.tei-trailer { color: green; }
.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-speaker { font-style:italic; }
.tei-unclear:after { content: ' [?] '; }
.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-foreign { font-style:italic; }
.tei-sic2:before { content: '{'; }
.tei-sic2:after { content: '}'; }
.tei-gap1 { color: grey; }
.tei-gap2:before { content: '[..'; }
.tei-gap2:after { content: '..]'; }
.tei-gap2 { color: grey; }
.tei-gap3:before { content: '[...]'; }
.tei-quote1:before { content: '‘'; }
.tei-quote1:after { content: '’'; }
.tei-quote2 { margin-left: 10px; margin-right: 10px; }
.tei-row1 { font-weight: bold; }
.tei-floatingText { margin: 6pt; border: solid black 1pt; }
.tei-table { font-size: smaller; background-color: #F0F0F0; }

0 comments on commit cdbcd32

Please sign in to comment.