Coder Social home page Coder Social logo

artshumrc / ms-viewer Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 5.43 MB

Manuscript viewer page for "Exploring Medieval Mary Magdalene," a graduate seminar course taught in 2017-2019 by Professor Racha Kirakosian.

Home Page: http://digital-editing.fas.harvard.edu/

JavaScript 3.25% CSS 93.87% HTML 2.67% Python 0.21%
ceteicean digital-editing iiif javascript mirador tei-xml

ms-viewer's People

Contributors

coledcrawford avatar rsinghal avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hansampfaall

ms-viewer's Issues

Speed up MS toggle

Toggling is slightly delayed; msOverflowCorrect runs on window resize events. A fully CSS-based solution to the overflow problems would be ideal.

Integrate Mirador

Mirador to open in a popup window to a particular canvas when (foliation) text is clicked.

Default options

  • Expanded Abbreviations: On
  • Editor Punctuation + Capitalization
  • Foliation: Off
  • Line beginnings: Off
  • Emendations: On

Prioritized list of elements

  • 1. Foliation:
    The tag for foliation is in the tag with two attributes: edRef and facs (e.g.
    the tag for foliation, when turned on should display in the line of the text itself at the very point when the page changes: "fol. 350r" (but in a ligher shade than the main text is written, e.g. gray font so that it is less obtrusive when reading through the main text).

  • 2. Punctuation
    There are different levels of punctuation that we would like the user to choose what should be displayed:
    a) punctuation according to editor, with different tags:
    only in the ms editor would not include it in a critical edition:

 <pc>
 <choice>
 <orig>.</orig>
 <reg resp=”editor” type=”punct”></reg>
 </choice>
 </pc>

If this is punctuation based on judgement of editor with NO punctuation in the manuscript>

<pc resp=”editor”>,</pc>

If editor takes over punctuation from manuscript but emends the
punctuation mark:

<pc>
 <choice>
<orig>;</orig>
<reg resp=”editor” type=”punct”>,</reg>
</choice>
</pc>

Meaning that in view a) only editor's punctuation you include anything in <reg> tag and <pc resp=”editor”>.

b) punctuation as it appears in the manuscript
all <orig> tags in <pc> tags
and <pc source=”manuscript”>.</pc>

  • 3) Comparative view on level
    We have tagged sections of the text in all files accordingly. These sections are marked with an <ab> tag which contains an ID and a title for that section. We would like the user to be able to have the option to go to different sections.

  • 4) Line Beginnings:
    The tag for line beginnings is the tag with a facs attribute (e.g.
    <lb facs="S_350r_a_01">)
    Line numbers do not need to be numbered (we have tagged them with numbers for future purposes and word IDs and systematic approach), they should simply be displayed as line breaks.

Coloumns may be also displayed as coloumns a and b. These are tagged with the <cb> similar to line beginnings. The information for coloumns would be displayed like the fol. number: "fol. 350ra"

  • 5) Expanded Abbreviations:
    We want to have the option of preserving abbreviations or expanding them. This is tagged under <choice> with <abbr> and <expan>
    Example -
<choice>
      <abbr>de<am>&#772;</am>
     </abbr>
     <expan>
 <ex>en</ex>
    </expan>
 </choice>

Like we discussed yesterday, the viewer should not show both versions but only ever the one that the user choses. So, there are two options: a) show abbreviations (as in <abbr> tag) and b) resolve abbreviations (as in <expan>)

  • 6) Rubrication:
    Rubrication is tagged with the rent="rubr" attribute in a given element. Whatever is rubricated should be displayed in colour red.

  • 7) Initials
    Initials (normally only one per text witness after the title at the beginning) are tagged within <hi> as an attribute, e.g.
    <hi rend="init_lombard rubr">M</hi>aria

Initials should be displayed larger than the surrounding text. in the example above, the initital is in addition red.

  • 8. Capitalization:
    With capitalization it is similar to punctuation, with two choices,
    <orig> and <reg>
    <reg resp="editor" type="capit">

Either the user choses non-regularised capitalisation (<orig>) or regularised capitalistation, i.e. editor's choice (<reg>)

<hi> rendering

  • No italics
  • Not bold
  • Larger text
  • If rend="init_lombard_rubr" = red

Space after punctuation

MS S: Vnd also moiße ich dyne boiße gerucht allezijt hoiren ,

MS S: wo ich hyn komen ."

B2: is na den belde godes , beuleckestu

This may be caused by hard carriage returns in XML.

Emendations

  • For <choice><app>
  • Racha will supply an example
  • Popup on mouseover / mouseclick, using <note> or n attribute
  • Grey; clickable
  • Label: Emendations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.