postiffm / bibledit-desktop

Desktop version of Bibledit
GNU General Public License v3.0
4 stars 6 forks source link

BBdit-Deskt forces every instance of \v to a new line #41

Open LAfricain opened 6 years ago

LAfricain commented 6 years ago

Bibledit-Desktop that forces every instance of \v to a new line.

The bug would affect start and end tags for both \va#\va* and \vp#\vp*.

postiffm commented 5 years ago

We actually make use of this "feature" for \v to make sure the USFM is in a clean format for SIL's Scripture App Builder. Please show an example where it goes bad for you.

LAfricain commented 5 years ago

Of course:

\v 6
\va 6a
\va* Ibuna yandi vutudilaka mono nde:
\va 10b
\va* “Minda nsambwadi yina kele meso ya Mfumu Nzambi, meso ya ke talaka ntoto-mvimba.”
\v 11 Ibuna mono bakaka ndinga ye tubilaka yandi nde: “Nki disongidila ya banti yai zole ya olive ya kele na ndambu ya diboko ya kibakala ti ya ki-nkento ya kivandilu ya minda?”.
\v 12 Mono bakaka ndinga ye tubilaka yandi nde:
\p “Nki disongidila ya banta zole yai ya olive ya kele na bapayipu zole ya wolo, ya ke lutisa mafuta ya wolo?”
\v 13 Yandi vutudilaka mono nde: “Nge ke zaba ve disongidila na yo?)”. Mono vutulaka nde: “Ve, Mfumu na mono.”
\v 14 Yandi tubaka nde: “Bo kele bantu zole ya bo pakulaka mafuta ya santu ye ya kele ya kutelama na ntwala ya Mfumu ya ntoto ya mvimba”.
\s2 Mambu tatu sambu na Zorobabel
\p
\va 6b
\va* Tala mambu ya Mfumu Nzambi tubaka sambu Zorobabel: Nge me nunga ve na ngolo na nge mosi, to sambu na kiyeka na nge, kansi nge me nunga na ngolo ya Mpeve na mono. –Yai mambu ya Mfumu Nzambi, Nzambi ya ngolo yonso me tuba.–
\p
\v 7 Nge nani, ngumba ya nene? Na ntwala ya Zorobabel nge ta kituka lelensi! Yandi ke basisa ditadi ya mfunu, ye na ntangu yina bantu ta boka nde: “Yo kele kitoko, yo kele kitoko!”
postiffm commented 5 years ago

So is the problem that \v always starts a new line, or is it \va and \vp that should NOT start a new line?

And how does the problem manifest itself? Print layout does not follow the newline conventions of USFM. That is a separate issue.

LAfricain commented 5 years ago

So is the problem that \v always starts a new line

No this is not a problem.

is it \va and \vp that should NOT start a new line?

\va can start a new line \vp no. But currently the problem is \va and \vp (the end marker) start a new line, and this is not expected: What I would like to read:

\v 1 \vp ၁\vp* blabla

or:

\v 1-5
\va 5\va* blabla...

But I have:

\v 1-5
\va 5
\va* blabla

And

\v 1
\vp  ၁
\vp* blabla

Currently, if I export to odt, I have an error with the va* marker during exporting. The va marker is just integrated in the paragraph.