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

Feature Request: Don't Copy Footnote and Cross-Reference Markers #1124

Open
SirNate0 opened this issue Apr 14, 2023 · 3 comments
Open

Feature Request: Don't Copy Footnote and Cross-Reference Markers #1124

SirNate0 opened this issue Apr 14, 2023 · 3 comments

Comments

@SirNate0
Copy link

It would be nice if the footnote and cross-reference superscripts would not be copied, so that the numbers and letters don't have to be stripped out manually later. For example, if Xiphos would only put

1 In the beginning was the Word, and the Word was with God, and the Word was God.

in the clipboard rather than (as it actually does with the text content)

1 *xAIn the beginning was *xBthe Word, and the Word was *xCwith God, and *xDthe Word was God.

The html clipboard content is better, as the footnotes, etc., appear in different colors as superscripts, but it would be nice if it could be disabled there as well as an option.

[1](sword:///John 1:1) *xAIn the beginning was *xBthe Word, and the Word was *xCwith God, and *xDthe Word was God.

(Github alters the contents when pasting HTML with links and such, converting it to Markdown, which looses the syntax highlighting. The actual content is below, but with all the style markup it's hard to read, so I left the above Github-edited version)

<span style="caret-color: rgb(255, 255, 255); color: rgb(255, 255, 255); font-family: none; font-size: medium; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0); text-decoration: none; display: inline !important; float: none;"><span class="Apple-converted-space"> </span></span><span class="word" style="caret-color: rgb(255, 255, 255); color: rgb(255, 255, 255); font-family: none; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"><a name="1" href="sword:///John 1:1" style="text-decoration: none; color: rgb(135, 135, 135);"><font size="+0" color="#3465A4">1</font></a></span><span style="caret-color: rgb(255, 255, 255); color: rgb(255, 255, 255); font-family: none; font-size: medium; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0); text-decoration: none; display: inline !important; float: none;"> </span><font color="#47E686" style="font-family: none; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"><a class="noteMarker crossReference" href="passagestudy.jsp?action=showNote&amp;type=x&amp;value=1&amp;module=NASB&amp;passage=John+1%3A1" style="text-decoration: none; color: rgb(135, 135, 135);"><small><sup class="x">*xA</sup></small></a>In the beginning was<span class="Apple-converted-space"> </span><a class="noteMarker crossReference" href="passagestudy.jsp?action=showNote&amp;type=x&amp;value=2&amp;module=NASB&amp;passage=John+1%3A1" style="text-decoration: none; color: rgb(135, 135, 135);"><small><sup class="x">*xB</sup></small></a>the Word, and the Word was<span class="Apple-converted-space"> </span><a class="noteMarker crossReference" href="passagestudy.jsp?action=showNote&amp;type=x&amp;value=3&amp;module=NASB&amp;passage=John+1%3A1" style="text-decoration: none; color: rgb(135, 135, 135);"><small><sup class="x">*xC</sup></small></a>with God, and<span class="Apple-converted-space"> </span><a class="noteMarker crossReference" href="passagestudy.jsp?action=showNote&amp;type=x&amp;value=4&amp;module=NASB&amp;passage=John+1%3A1" style="text-decoration: none; color: rgb(135, 135, 135);"><small><sup class="x">*xD</sup></small></a>the Word was God.</font>

Further, it would be nice if the verse numbers could be disabled as well as an option

@LAfricain
Copy link
Contributor

You have this option using the context menu → Copy/export passage.
Then you text.

@SirNate0
Copy link
Author

Did not realize that was a thing. Thanks!

Perhaps I have a different version, but for me, running 4.2.1 (gtk3 webkit2) I have to (Right Click) > Module Options > (Toggles for Footnotes and Cross References).

Feel free to close the issue, then. I'm open to either. Being able to toggle them off is good enough for me. But at the same time, I think it would be nice if there was a separate toggle to exclude them from what is copied, so it's still a possible point of improvement.

@LAfricain
Copy link
Contributor

I have no right for closing issues, you can do it. I'm happy you found a way.

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

2 participants