MedCyprus / MedCyprusEFES

The Digital Corpus of Painted Greek Inscriptions from Medieval Cyprus (10th – 13th centuries AD), MedCyprus for short, employs EFES (EpiDoc Front End Services), for the publication and wide dissemination of this largely unknown body of epigraphic material.
Apache License 2.0
3 stars 1 forks source link

apparatus rdg with @source attribute #16

Open emylonas opened 3 months ago

emylonas commented 3 months ago

When a reading has a source attribute, the XSL doesn't render the bibliographic referene doesn't appear. When using a <note> inside the <rdg> the bibliographic reference renders correctly because it is explicitly inserted. see MedCY044.012 Need to decide if date should be displayed when there is more than one bib entry with the same author

Ex below has several ways testing what works now. Last line doesn't render

<div type="apparatus">
               <p><app loc="1-5"><rdg>Ἰγνάτιος:</rdg> <note>Buckler</note> <rdg>ΙΓΝΑΤΗΟC: </rdg><note>Sacopoulo</note></app>
               <app loc="other_case"><rdg>Ἰγνάτιος:</rdg> <note>Buckler, Sacopoulo</note></app>
                   <app loc="alternative"><rdg source="#Buckler1933">Ἰγνάτιος</rdg></app>
               </p>          
            </div>
emylonas commented 3 months ago

assume we don't need the date What needs to be done is to make the <rdg> element work with a @source

gabrielbodard commented 1 month ago

I have made a temp fix at lines 220–224 of htm-teidivapparatus.xml. Please delete these lines when you have implemented the above fix (presumably in the template named "sources" in the same file).