Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle text visualization in columns and alignment #23

Open
federicaspinelli opened this issue Mar 24, 2020 · 4 comments
Open

Handle text visualization in columns and alignment #23

federicaspinelli opened this issue Mar 24, 2020 · 4 comments

Comments

@federicaspinelli
Copy link
Contributor

federicaspinelli commented Mar 24, 2020

Create a "table visualization" for the text in order to divide the page in two parts and align the notes with the text the are referred to. See this image f.i.:
immagine

@gmarozzi
Copy link

gmarozzi commented Mar 24, 2020

Create a "table visualization" for the text in order to divide the page in two parts and align the notes with the text the are referred to. Could it be useful to realize an encoding similar to the one employed in the <msDesc element (<div class="table" with <div class="row" and right_col / left_col)?

@RobertoRDT
Copy link
Member

You can use <table> for that purpose, have you tried? See the Codice Pelavicino Digitale for an example, this markup:

              <table rend="frame" xml:id="XXVI_table_1">
                   <row>
                       <cell>Masium de <placeName ref="#Terria">Terria</placeName></cell>
                       <cell/>
                   </row>
                   <row>
                       <cell><persName ref="#IunctaTerria"> Iuncta de <placeName ref="#Terria">
                                   Terria </placeName></persName></cell>
                       <cell>staria III</cell>
                   </row>
                   <row>
                       <cell><persName ref="#Alegnetius">Alegnetius</persName>, filius<note
                               xml:id="XXVI_n_1" place="foot" n="a"> filius: <emph>manca
                                   l’indicazione</emph></note></cell>
                       <cell rend="start">staria III</cell>
                   </row>
                   <row>
                       <cell><persName ref="#IacopinusMorignoli">Iacopinus
                           Morignoli</persName></cell>
                       <cell>staria III</cell>
                   </row>
                   <row>
                       <cell><persName ref="#Vegnudellus">Vegnudellus</persName><note xml:id="XXVI_n_2"
                               place="foot" n="b"> Vegnudellus: g <emph>aggiunto in
                                   sopralinea</emph></note> et <persName ref="#Petriciolus"
                               >Pedricciolus</persName></cell>
                       <cell>staria III</cell>
                   </row>
                   <row>
                       <cell><persName ref="#FormentinusTranpulio">Formentinus de
                               Tranpulio</persName></cell>
                       <cell>staria III</cell>
                   </row>
                   <row>
                       <cell><persName ref="#Venutus">Vegnutus</persName> et <persName
                               ref="#Bonaiutus">Bonaiutus</persName>, fratres</cell>
                       <cell>staria III</cell>
                   </row>
                   <row>
                       <cell><persName ref="#BaronisNobilino">Barone de Nobilino</persName></cell>
                       <cell>starium I</cell>
                   </row>
                   <row>
                       <cell>Filii <persName ref="#BeatrixBonencontro">Beatricis de
                               Bononcontro</persName></cell>
                       <cell>starium I</cell>
                   </row>
                   <row>
                       <cell>Filii <persName ref="#AlbertusNobelini">Alberti de
                           Nobilino</persName></cell>
                       <cell>starium I</cell>
                   </row>
                   <row>
                       <cell/>
                       <cell/>
                   </row>
               </table>

is transformed into

immagine

@gmarozzi
Copy link

gmarozzi commented Mar 25, 2020

That's exactly was I was thinking about! I think I will only need to intervene in the css in order not to have the two different colors in the background. Could it be possible?

@federicaspinelli
Copy link
Contributor Author

Fixed adding a rule to evt_builder-custom-styles.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants