karl-kraus / wpn-static

Karl Kraus: Dritte Walpurgisnacht. Static Edition. UNDER DEVELOPMENT
https://karl-kraus.github.io/wpn-static/
0 stars 0 forks source link

transcr.: Treatment of specific elements #32

Open BOberreither opened 2 months ago

BOberreither commented 2 months ago

Ongoing list:

linxOD commented 1 month ago

text segment highlighted by thin margin text segment highlighted by dotted margin

could you explain how a thin or dotted margin should look like? Currently, there will be a round border circling the text with solid or dotted line.

linxOD commented 1 month ago

shows mark for transposed text block;

what mark should be shown?

BOberreither commented 1 month ago

@linxOD Of course there is no such thing as a dotted margin, thanks for translating my gibberish to english! For your other comment: I meant a symbol like this, "place mirrored S (U+01A7) according to @rend [for now, better symbol wanted]" - as you already did, I can see. I', just looking for something 'officialy' signifying transposition; I am open for ideas. Also: added first specification for mod, more to follow.

BOberreither commented 1 month ago

@linxOD about the del-handling: currently it repeats the deleted text in the margin (or wherever it's placed), should show a deleatur character

linxOD commented 1 month ago

restore/del > text node is crossed out, gets dotted underline (doesn't yet work on page 144, for example. )

this document holds restore/subst/del and no restore/del elements. Please add handling for this cases

BOberreither commented 3 weeks ago

@linxOD About the deleatur character: in our html, it looks different than this one; is it because of the font? should not look like this: Bildschirmfoto 2024-10-31 um 11 15 12 but like this (just not in red): Bildschirmfoto 2024-10-31 um 11 15 48

linxOD commented 2 weeks ago

metamark@function='relocation': pipe symbol placed inline + if rend: textnode, else pipe, placed accordingly

not sure how to interpret the "+ if" part? If there is a rend attribute it's either in left or right margin but where does it go without? Another inline pipe at text position?

Currently added: pipe symbol for all metamark@printInstruction=relocation inline except if change=#edACE. The latter is not rendered at all. If there is a rend the text will be rendered in left or right margin.

BOberreither commented 2 weeks ago

Currently added: pipe symbol for all metamark@printInstruction=relocation inline except if change=#edACE. The latter is not rendered at all. If there is a rend the text will be rendered in left or right margin.

Yes, I was unclear: If there is a rend-attribute, put the pipe inline and another one according to @rend. If there is a text node, replace the @rend-pipe with it.

linxOD commented 2 weeks ago

Yes, I was unclear: If there is a rend-attribute, put the pipe inline and another one according to @rend. If there is a text node, replace the @rend-pipe with it.

Consider defining a unique symbol for the different cases in left and right margin but also top and bottom. This will help with the documentation and users to understand the differences.

linxOD commented 2 weeks ago

@linxOD About the deleatur character: in our html, it looks different than this one; is it because of the font? should not look like this: Bildschirmfoto 2024-10-31 um 11 15 12 but like this (just not in red): Bildschirmfoto 2024-10-31 um 11 15 48

I guess this is a browser issue. I only see the second one. Tested in all chrome browsers and firefox.

BOberreither commented 2 weeks ago

I guess this is a browser issue. I only see the second one. Tested in all chrome browsers and firefox. Well, is there anything you can do to fix it to a font showing the correct symbol, even in safari?

BOberreither commented 3 days ago

@linxOD I'm not going to add anything in the list above anymore, for sake of findability, but add new stuff / bugs in comments.

linxOD commented 3 days ago

metamark function="printInstruction" with spanTo

in case the anchor with the spanTo value is on another page. Additional handling must be implemented.

lontQuoteVerseCenter

I can add some left-indent like we do with other longQuoteVerse... elements. However, if "longQuoteVerseCenter" is reused on other pages and elments they will all start like in page six. Is this what you want?

Page 263

The additional indent of some lg elements comes from the mod wrapper which also hols a rendition attribute with the value "longQuoteVerse" that includes a seg > lg holding another rendition attribute value "longQuoteVerseStart" for example. There the indent of 30px is added twice. All others are not wrapped in mod.

Can you do something on the data site?

linxOD commented 3 days ago

general del-rule: don't include leading or trailing spaces in the crossing-out

this will only work if del elements hold text only. If there are any unknown nested elementes it will apply templates for these elements.

BOberreither commented 2 days ago

general del-rule: don't include leading or trailing spaces in the crossing-out

this will only work if del elements hold text only. If there are any unknown nested elementes it will apply templates for these elements.

@linxOD 1 out of 6 dels include other elements, that's an error rate - if these errors even occur - we can at least check out, I think. Please give it a shot!

BOberreither commented 2 days ago

in case the anchor with the spanTo value is on another page. Additional handling must be implemented.

Yes, it will be - there will simply be metamark/anchor pairs for each page, so no metamarks spanning more than one side.

BOberreither commented 2 days ago

I can add some left-indent like we do with other longQuoteVerse... elements. However, if "longQuoteVerseCenter" is reused on other pages and elments they will all start like in page six. Is this what you want?

Yes, please. The indent for longQuoteVerse... is like the one from paragraph first lines; the one from longQuoteVerseCenter is about double of that.

BOberreither commented 2 days ago

The additional indent of some lg elements [...] Can you do something on the data site?

But why is it the same issue with verses starting from "Man läßt ihr Toben, wütend Hausen,", "Die Goldespforfen sind verrammelt,", and "So sei die Zeit in Fröhlichkeit vertan!" ?

linxOD commented 2 days ago

I guess this is a browser issue. I only see the second one. Tested in all chrome browsers and firefox. Well, is there anything you can do to fix it to a font showing the correct symbol, even in safari?

The delete symbole seems to be problem on your computer. I tested the website on my apple tablet using Safari and the symbols looks very similar to version 2 as it does on chrome, edge and firefox.

I also used a testing software to emulate different browsers and the symbol looks correct as well.

Safari on Apple Tablet: karl-kraus-del

Chrome: Screenshot from 2024-11-22 10-23-54

Please try to update your Safari browser and test it on another computer if possible.