Sources view#598
Draft
SteffenAstheimer wants to merge 29 commits into
Draft
Conversation
to prevent an error if not `@type` is set for `notesStmt/relatedItem`. This only prevents an error – for the view of sources we should still either add types or overhaul the whole context section
accept the key from `mei:manifestation/mei:identifier[@type='WeGA']` to derive the related wega work. There isn't any equivalent for the related item type though, so that remains is a placeholder for now.
which prevented to transform some page breaks
depending on the presence of a transcription
logical overhaul for grid and indenting of libretti refactor scss to be compact and understandable more inline adjustments add xslt templates for source-relevant attributes
- call app:prepare-text() earlier to make the transformed transcription available for querying from the sidebar - rewrite the tei:head transformation to include all heads and give them unique anchors and correct nesting - rewrite app:doc-toc() to create toc-items from the already transformed html tree
- regularized page width - indenting for various elements up to indent-5 - paragraphs by default justified - new logic to differentiate between pages and leafs in breaks - fixed lineGroup bracketing - whitespace between two following `<subst>` elements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To-Do:
apparatus
fileDesctitleStmt–><title level="a">builds the html headerpublicationStmt–> irrelevantnotesStmtrelatedItem/@target–> processed to "Verknüpfte Dokumente" with title and link to the worknote/@type="editorial"-> bunch oflistelements with<head>elements as "Kurzbeschreibung" and "Nachweise" – data model is not quite systematical imo and the layout is in need of improvement (header sizes)sourceDescmsIdentifier–> processed to text witnesses with signature and fold-out source description – seems to be fully functionalbiblStruct–> needs improvement; we have mainlyimprintelements and need to read the publishers; oftennotewith price -> currently processed as annotationprofileDesctextClass–> bunch of classifications; unsure if meant as filter options or to be processed as outputhandNotes–> no processing currentlyidentifier@type="WeGA"–> processed to "Verknüpfte Dokumente" same astei:notesStmt/relatedItem@type="JV"–> not processing currently – needs to be reworked in the data – 396 casestitleStmttitle–> builds the html headertitle/@type="sub"–> no processing currently – often subtitles like "Klavierauszug ohne Text"respStmt–> no processing currently – lists of authors, composers, librettists etc.physDesc–> no processing currently, bunch of descriptions withtitlePage, watermark, physMedium, handList, extent, dimensions, condition, plateNumnotesStmt–> bunch of additional information classified by@type(eg.: "Anmerkung", "Literatur", "Kurzbeschreibung")classification–> has to be processed liketei:textClassitemList–> ... no clue about this. Contains information abouthistory/provenanceandphysLoc. But there is a sibling elementhistory.creationhistorypubStmtrelationList– containsrelation/@target; has to be processed likeidentifierlangUsageseriesStmtcomponentListeditionStmttext – layout
lgandverseLine), d39021e (placement for '-M' and '-F' blocks), 416cb6d (indenting exceptions)speaker–stage,l–stagehead–stage,speaker–caption,sp–stage,sp–addSpan,anchor–addSpan,caption–stagepbinp(A225861)castGroup(eg. A227656, page 2, "ein Brautpaar") bac9179<pb><actor>in schema and allow for leader dots to be displayed 9051093handforaddandsubst–> eg. "Ersetzung von…" 86e3c96 (this can only count as a rough first step – this commit introduces main and further hands in the apparatus and assigns the individual additions etc. to each hand; furthermore the hand label is output in the popup of the text constitution)addanddelelements?damageis not displayed (twice in A225860, should be as in A042305)del/@rend="converted"9d53f53delSpanandaddSpan?stageis prohibited by the schema right before the recurring second scene (in A227656 there is astageright before a scene.delSpanandanchorinbetweenfunctionality
– 2603fc5 (not working?)
heads of libretti