-
Notifications
You must be signed in to change notification settings - Fork 12
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
\p should not have any trailing spaces before the newline #7164
Comments
@birchamp does this look like what you want? \v 4 In this way they may train the younger women to love their own husbands and children,
+ \p
- \p
\v 5 From Abraham to King David, the following ancestors are listed: Abraham,
Isaac, Jacob, Judah and his brothers; then Perez and Zerah (their mother was Tamar*),
Hezron, Ram, Amminadab, Nahshon, Salmon, Boaz (his mother was Rahab*), Obed (his
mother was \jmp Ruth|link-href="#article-Ruth"\jmp*), Jesse, and King David.
\p some inline text |
Oh yes, thanks @da1nerd. I guess when you think you're mostly done, I'd like a quick look thru some whole file outputs (e.g., email them or put them in a branch or something) before you move on to other things. |
@mannycolon Can you please help me locate where the build is to test 3.0.2 issues? |
I'm not sure where build 3.0.2 can be found. It looks like both 3.0.2 and 3.1.0 got merged into the same develop branch before a release branch was created for 3.0.2. I would ask @birchamp @da1nerd @PhotoNomad0 any further questions |
@birchamp I tested this issue in translationCore 3.0.2 (e2d8c61). I imported a project from D43 online(which has white space in its usfm), but after the online import, the new project's usfm does not have white space after /p and in |x . |
@da1nerd does this issue cover only online imports? |
I think we only got as far as discussing and identifying the changes to be made. This hasn't been implemented yet. |
@da1nerd It looks like unfoldingWord/usfm-js#101 is the fix for this? |
1 similar comment
@da1nerd It looks like unfoldingWord/usfm-js#101 is the fix for this? |
wow I guess' it's been quite a while. I totally forgot about that PR. |
@elsylambert verified in translationCore 3.0.2 (c8c2941) |
Verified in translationCore 3.0.2 (c8c2941). \p still adds white spaces after Export to USFM. These are two usfm files that I had exported. The projects(source usfm) does not have any spaces after \p. |
@elsylambert are these usfm files the source or the output? if not the source, could you zip up the projects so I could reproduce the problem? Thanks. |
@PhotoNomad0 ^^ those were output files after the export to USFM. Here are the zipped source projects: |
@elsylambert Some good test projects here. Actually the projects do have a space after the \p marker. Will have to find a way to fix this in the USFM export since we do not want this. |
@elsylambert Also FYI - do not pay attention to the USFM files in the base project folder. The two in red are old orphan files either copies of original USFM import or generated by previous DCS uploads before project was renamed. The one in orange was created the last time you uploaded to DCS and will only be uploaded on DCS uploads. The recent data used by tCore are stored in json files in the rev folder. |
@elsylambert - Have a fix for the projects you found in |
Looks good in translationCore 3.0.2 (0d9cd25). Not seeing trailing spaces. |
Currently USFM exports text incorrectly. It puts a space or two after '\p' If this marker is on a line by itself then it should be followed by a newline immediately. Note: \p may be followed by text on the same line, but typically it is just by itself.
The text was updated successfully, but these errors were encountered: