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

Unwanted line breaks associated with <seg type="parallel"> #130

Open
aewingate opened this issue Oct 3, 2023 · 1 comment
Open

Unwanted line breaks associated with <seg type="parallel"> #130

aewingate opened this issue Oct 3, 2023 · 1 comment
Assignees
Labels
rendering Rendering of TEI markup

Comments

@aewingate
Copy link
Collaborator

Looking at newton-devel, the <seg type="parallel"> elements used to mark parallel passages in 3973 and 3975 appear to be causing unwanted line breaks in 3973 (ALCH00109) and presumably 3975 (ALCH00110).

For example, here on 19r, "same" and "precipitate" belong to different <seg> and there is an unwanted line break between them:
image

The TEI behind this:
image

@aewingate aewingate added the rendering Rendering of TEI markup label Oct 3, 2023
@tubesoft
Copy link
Collaborator

tubesoft commented Oct 6, 2023

I found that my previous XSLT programming had a bunch of defects. Now, I created a new javascript to deal with this mouse hover event. Actually, this javascript will reduce and simplify TEI coding for <seg type="parallel"> too.
You will not have to use @rend to indicate where the passage is located in a paragraph. (e.g., rend="p-end")
Also, @fuinction, which I discussed in #129, will not have to be used. So, you can forget what I said in #129. (See below)
image

tubesoft pushed a commit that referenced this issue Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rendering Rendering of TEI markup
Projects
None yet
Development

No branches or pull requests

2 participants