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

Words of Jesus in Red #3

Open
CameronGilroy opened this issue Sep 23, 2023 · 1 comment
Open

Words of Jesus in Red #3

CameronGilroy opened this issue Sep 23, 2023 · 1 comment

Comments

@CameronGilroy
Copy link

Hi,

I was wondering if it would be possible for the words of Jesus to be in red. The USFM docs allow for this, and I wondered if that was acceptable.
I'm happy to help contribute to this if wanted. Also, any suggestions on the best way to do this would be appreciated.

@cmahte
Copy link
Collaborator

cmahte commented Sep 23, 2023

It's possible. If you want to work on this, please do.

  1. Suggestions: There a so many ways to work on this.

Work environment:

I personally use JEDIT for this kind of thing, with a custom syntax "mode" that highlights USFM nicely, including painting letters red when inside of the \wj .. \wj* tag.

I use a jedit macro to insert character tags into the stream... which is assigned to a shortcut in Jedit (I use Ctrl-I.) Before calling the macro, I first highlight the word(s) to be tagged, then call the Insert CTags macro and type the letters in the tag (for \wj, only type wj). However for something specific and repetitive as painting the words of Jesus, I would make a copy of this macro and skip typing the same tag every time by simplifying it to skip asking for the tag and simply insert the \wj ... \wj* tags around the selected text.

Source for tags:
The World English Bible hosted on BibleCorps has a good set of \wj tags in place, and should be your example for where the tags belong. And I don't mean you must follow this example as to which verses or specific words get the tag. I mean for questions like does \wj go outside the \v tag... where in the stream the tag belongs. But if you want to use the WEB as your source for specific \wj text, it is also in the public domain and copying from it won't create any need to seek permission or licensing.

As far as specific steps related to github:
Biblecorps will host the result here if you want. You can guide me as to how you want to branch it.

USFM vs. PSFM:
This AKJV is USFM, but there are certain aspects of it that might break USFM parsers, even though the USFM spec allows for the way it's encoded. And there are certain things about USFM that are beyond what PSFM will support. The biggest thing to be aware of is that if you take the AKJV and process it with USFM Parsers, likely the tags at the end of each file ending in ~ need to be removed. That might not be all. I haven't tested or even searched what takes USFM as input lately.

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