0 suara
6 tampilan

Scripture App Builder (SAB) allows custom styling (non-USFM) tags in wordlist entry (\w ... \w+).  We have a project with data like* this:

\c 1 
\q1 \k serpent \k* snake
\q1 \k subtle \k* crafty, or smart; commonly used to describe \w \+lw serpents \+lw* |lemma="serpent" \w*
\q1 \k \lw eternal\lw* life\k* life with no end

For the Scripture Progressive Web App, we use Proskomma, which is designed to be a strict USFM parser.  When SAB allows non-USFM tags (e.g. `\zvideo ID`), we normally have to convert these to a milestone (e.g. `\zvideo-s |id="ID"\*\zvideo-e\*`).

Are milestones allowed inside a wordlist entry?  Can we convert the above USFM to:

\c 1 
\q1 \k serpent \k* snake
\q1 \k subtle \k* crafty, or smart; commonly used to describe \w \+zwrapper-s |id="lw"\* serpents \+zwrapper-e\* |lemma="serpent" \w*
\q1 \k \zwrapper-s |id="lw"\* eternal\zwrapper-e\* life\k* life with no end

And then we can convert this to HTML when we present it.

Thanks,

Chris

*We fabricated the english based on minority language entries for demonstration purposes. 

Explanation: The reason why these `\lw` markers are there is to "wrap words in non-breaking format markers".  SAB supports changes and there is an entry for:
find: ([\u1780-\u17dd“”‘’«»!?()\[\]]+)([ ,\u2002])(?!\d)
replace: \\lw \1\\lw*\2
This end up with `<span class="lw">SOME WORDS</span> around these words (with the css  `.lw { white-space: nowrap; }` ).

Paratext yang lalu oleh (108 poin)
yang lalu disunting oleh | 6 tampilan

Silakan masuk atau daftar untuk menjawab pertanyaan ini.

Pertanyaan terkait

0 suara
1 jawaban 269 tampilan
Kami menggunakan \w \w* dalam teks terjemahan untuk menandai Istilah Alkitab yang memiliki entri glosarium. Hasilnya ... di dalam glosarium, tautan tidak terbentuk di Paratext.
john_nystrom 312 bertanya Agu 22, 2022
0 suara
1 jawaban 597 tampilan
Kami telah menautkan Istilah Alkitab ke entri glosarium. Kami tahu cara menautkannya ke entri glosarium yang berbeda, ... yang dapat Anda berikan kepada saya tentang hal ini.
john_nystrom 312 bertanya Feb 21, 2023
0 suara
0 jawaban 215 tampilan
Click in the window of your project, to make it the active window. From the Tools menu, select Biblical Terms . Find and ... t/how-do-i-filter-terms-in-the-biblical-terms-tool/230)
[Expert]
anon421222
735
bertanya Feb 23, 2017
+1 suara
1 jawaban 361 tampilan
Kami telah menghubungkan Roh Kudus (Asubane Noekene) ke entri yang sesuai di glosarium kami. Sekarang kami juga ingin ... seperti semula. Atau apakah ada solusi yang lebih baik?
Anne Stoppels 106 bertanya Sep 18, 2024
+1 suara
1 jawaban 597 tampilan
Anda memasukkan entri glosarium melalui alat Istilah Alkitab (Biblical Terms) atau jendela render Istilah Alkitab, ... berikut juga menjelaskan prosedur ini secara lebih rinci:
[Expert]
Jeff_Shrum
2,9k
bertanya Mar 23, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
3,072 pertanyaan
6,034 jawaban
5,703 komentar
2,038 pengguna