evt-project / evt-builder Goto Github PK
View Code? Open in Web Editor NEWEdition Visualization Technology 1 - XSLT Builder
License: GNU General Public License v2.0
Edition Visualization Technology 1 - XSLT Builder
License: GNU General Public License v2.0
Hello EVT,
I'm having trouble rendering <del>
as a strikethrough. Here is some sample encoding:
<div type="stanza">
<l n="13">Were all unprized uncourted then</l>
<l n="14">And all the joy one spirit showed</l>
<l n="15">The other <del>warmly</del><add>deeply</add> felt again</l>
<l n="16">And friendship like a river flowed</l>
<l n="17">Constant and strong its silent course</l>
<l n="18">For naught withstood its gentle force</l>
</div>
I've added some different code to the custom-style.css
file to try to get this to render, but nothing has worked so far, e.g.
.del {
text-decoration: line-through;
}
.DEL {
text-decoration: line-through;
}
span.del {
text-decoration: line-through;
}
I would be grateful for any advice!
Justin.
Using <l>
+<lb/>
works perfectly with single verses. But when you put them inside a <lg>
there is an extra paragraph at the beginning of each verse. Here is an extract of encoding:
<body>
<lg type="stanza" n="1">
<l n="1"><lb facs="#Thornton_line_191v_35" n="35" xml:id="Thornton_lb_191v_35"/>Almyghty God in Trinite, inwardly<ptr target="#AD_note_1" type="noteAnchor"/> I thanke <ptr target="#AD_note_2" type="noteAnchor"/> þe</l>
<l n="2">Ffor<ptr target="#AD_note_3" type="noteAnchor"/> thy gud ded, þat þu me wroghte, <lb facs="#Thornton_line_191v_36" n="36" xml:id="Thornton_lb_191v_36"/>and with<ptr target="#AD_note_4" type="noteAnchor"/> þi precyous<ptr target="#AD_note_5" type="noteAnchor"/> blude<ptr target="#AD_note_6" type="noteAnchor"/> me boghte,</l>
<l n="3">And<ptr target="#AD_note_4" type="noteAnchor"/> of all <ptr target="#AD_note_7" type="noteAnchor"/> gud<ptr target="#AD_note_8" type="noteAnchor"/> þat þu lennes me, <ptr target="#AD_note_9" type="noteAnchor"/> <lb facs="#Thornton_line_191v_37" n="37" xml:id="Thornton_lb_191v_37"/>Lorde, blyssede mott þu be:</l>
<l n="4">Honour, <ptr target="#AD_note_10" type="noteAnchor"/> ioye, and louyng be til þi name with-owttyne endyng. Amen.<ptr target="#AD_note_11" type="noteAnchor"/></l>
</lg>
<lg type="stanza" n="2">
<l n="5"><lb facs="#Thornton_line_191v_38" n="38" xml:id="Thornton_lb_191v_38"/>Lorde God alweldande, I beteche todaye<ptr target="#AD_note_4" type="noteAnchor"/> into<ptr target="#AD_note_12" type="noteAnchor"/> þi hande </l>
<l n="6">My saule and my body, <lb facs="#Thornton_line_191v_39" n="39" xml:id="Thornton_lb_191v_39"/>and all my ffrendes specyally, </l>
<l n="7">Bathe þe quik and þe dede: <ptr target="#AD_note_13" type="noteAnchor"/> graunt them parte of my<ptr target="#AD_note_14" type="noteAnchor"/> bede.<ptr target="#AD_note_15" type="noteAnchor"/></l>
<l n="8"><lb facs="#Thornton_line_191v_40" n="40" xml:id="Thornton_lb_191v_40"/>Kepe vs all in erthe here, ffore<ptr target="#AD_note_16" type="noteAnchor"/> þe<ptr target="#AD_note_17" type="noteAnchor"/> prayere of thi modyr dere, </l>
<l n="9">And all thy <lb facs="#Thornton_line_191v_41" n="41" xml:id="Thornton_lb_191v_41"/>haloghes þat are in heuene, <ptr target="#AD_note_18" type="noteAnchor"/> ffra þe dedly synnes seuene,</l>
<l n="10">And fra <ptr target="#AD_note_19" type="noteAnchor"/> fandyng <lb facs="#Thornton_line_191v_42" n="42" xml:id="Thornton_lb_191v_42"/>of þe euyll<ptr target="#AD_note_20" type="noteAnchor"/> wyghte, and ffra sodayne dede, bathe<ptr target="#AD_note_8" type="noteAnchor"/> daye and nygthe,</l>
<l n="11">Schelde<ptr target="#AD_note_21" type="noteAnchor"/> <lb facs="#Thornton_line_191v_43" n="43" xml:id="Thornton_lb_191v_43"/>vs fra þe paynes<ptr target="#AD_note_22" type="noteAnchor"/> of hell, þat bitter<ptr target="#AD_note_23" type="noteAnchor"/> are<ptr target="#AD_note_24" type="noteAnchor"/> to thole and ffell,<ptr target="#AD_note_25" type="noteAnchor"/></l>
<l n="12">And<ptr target="#AD_note_26" type="noteAnchor"/> with thi<ptr target="#AD_note_27" type="noteAnchor"/> grace <lb facs="#Thornton_line_191v_44" n="44" xml:id="Thornton_lb_191v_44"/>fulfill<ptr target="#AD_note_28" type="noteAnchor"/> vs all, þat redy we may be<ptr target="#AD_note_29" type="noteAnchor"/> to þi<ptr target="#AD_note_30" type="noteAnchor"/> call,</l>
<l n="13">And late vs neuer parte<ptr target="#AD_note_31" type="noteAnchor"/> fra þe, <lb facs="#Thornton_line_191v_45" n="45" xml:id="Thornton_lb_191v_45"/>alls thow for vs died one a <ptr target="#AD_note_32" type="noteAnchor"/> tree:<ptr target="#AK_note_2" type="noteAnchor"/></l>
<l n="14">Graunte<ptr target="#AK_note_1" type="noteAnchor"/> vs, Lorde, þat [it] swa bee. Amen, amen, pur<ptr target="#AD_note_35" type="noteAnchor"/> charite.<ptr target="#AK_note_3" type="noteAnchor"/></l>
</lg>
</body>
[Reported by @RobertoRDT ]
Nel doc. 288 del codice pelavicino una intera riga entro il tag non rende visibili i tag interni
et cum hospitali Sancti Leonardi de Padule, cum omnibus
suis pertinenciis
L'ospedale e il luogo non si evidenziano
The colors used to represent <add>
and <del>
could be too deep when used to highlight small scale phenomena, such as the deletion of a dot or the addition of a comma, it would be better to use a lighter shade of the same colors.
In the latest build (20191207) when using single images with no hi-res counterpart (the *_big.jpg version) both Chrome and Firefox ESR 60 pop up a modal warning saying "There was a problem while loading the hi-res image." which has to be closed to continue viewing the edition. This happens even if the lens, the only functionality requiring a hi-res version of the shown image, is disabled.
Handle <ptr/>
(to <note>
elements in the <back>
f.i.) or directly <note>
in the manuscript description (<msDesc>
).
If critical notes are not numbered, there is a little white circle inside the trigger element.
[Reported by @RobertoRDT ]
Cari sviluppatori di EVT,
Utilizzo EVT per il progetto di uno studente. Come per la versione 2 (issue), ho creato un file di i18n per il francese per questa versione 1 (la si può vedere in un sito test). Forse sarebbe utile aggiungerlo in questo repo?
The original text can be aligned on the left (as allowed by EVT) but also centered (EVT allows it, too), aligned on the right or fully justified.
<ptr/>
s to reference standoff notes works great, but there is an additional space before the text, even when <ptr />
is attached to the text.
[Reported by @RobertoRDT ]
In some verse forms, regular groupings of lines are often indicated by indentation. TEI allows the encoder show that by using, for example, <l rend="indent">
, also specifying its size by adding the number of pixels to be used to indent them [<l rend="indent(-5)">
].
Display underlined text when text is marked as <hi rend="underline">
.
Se fosse possibile farei visualizzare in apice le cose marcate
At the moment (build 20191206) <titlePage>
works but it presents two issues:
Desired formatting:
<titlePart type="main">
and <titlePart type="sub">
identical to <head type="main">
and <head type="sub">
<ref>
s targeting URLs in proper hyperlinks<docAuthor>
seems to have this)<docImprint>
element<titlePart>
is formatted in bold-italic, but it is duplicated.Adding a full <titlePage>
(instead of a simple one only holding a <titlePart>
) issues similar to 1. are present, except for the conversion of <ref>
s to proper hyperlinks:
Is it possible to render notes with the dots instead, as in the Pelavicino Codex? Because they were done collaboratively by the students, they are all out of numerical order, and all the more so when students reused the same note for common things (e.g. omissions). The dot seems a big more elegant, at least for our texts.
[Reported by Andrew Kraebel - Trinity University San Antonio, Texas - [email protected]]
Il carattere ç / Ç nelle liste del Codice Pelavicino non viene considerato o viene considerato in maniera non comprensibile nella serie alfabetica
Miscellaneous problems with localization files:
with EN as default language, at first loading all languages have Italian couple "Versi/Prosa" for the button instead of appropriate translations; changing to another language, pushing the button to set "Prosa" and going back to EN fixes this;
tooltip for "Verses/Prose" is "versi/prosa" for all languages, actually it is not in the localization files;
tooltip for DE "Listen" is "Listen öffnen" instead of "Listen öffnen"; same for "Suchen" and all buttons where there is an opening ("öffnen") action;
in general, all special characters in German are not rendered within the tooltips, only the entities are shown, see f.i. the "Vergrössern" button; the same doesn't happen for the Czech localization.
I need to display the text into two columns. I've encoded my document in this way, but it doesn't work. Where am I going wrong?
<pb n="53r" facs="data/images/single/BH156_53r.jpg"/>
<head> bla bla bla</head>
<p
<cb n="1" rend="2col_layout" xml:id="LIIIr_cb_1"/>
<lb/> bla bla
<lb/> bla bla
<lb/> bla bla
<cb n="2" rend="2col_layout" xml:id="LIIIr_cb_2"/>
<lb/> bla bla
<lb/> bla bla
<lb/> bla bla </p>
Critical note is note rendered as expected:
<note n="14" type="Critical" xml:id="LC_note_1">om. Dd</note>
Maybe is because in the the encoded text there are multiple <ptr/>
s pointing to the same critical note.
[Reported by @RobertoRDT ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.