0 वोट
8 व्यूज़

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 में पहले द्वारा (108 अंक)
पहले संपादित द्वारा | 8 व्यूज़

इस प्रश्न के उत्तर देने के लिए कृपया लॉग इन करें या पंजीकरण करें।

संबंधित प्रश्न

0 वोट
1 उत्तर 269 व्यूज़
हम अनुवादित पाठ में \w \w* का उपयोग करके उन पवित्र शब्दों (Biblical Terms) को चिह्नित करते हैं जिनके लिए शब्दकोश ... * का उपयोग करता हूँ, तो Paratext में यह लिंक नहीं बनता।
john_nystrom 312 पूछा गया अगस्त 22, 2022
0 वोट
1 उत्तर 597 व्यूज़
हमने एक बाइबलिकल टर्म को एक ग्लॉसरी प्रविष्टि से जोड़ा है। हम जानते हैं कि इसे किसी अन्य ग्लॉसरी प्रविष्टि से कैसे ... नहीं मिला है। इसमें आपकी किसी भी सहायता के लिए धन्यवाद।
john_nystrom 312 पूछा गया फ़रवरी 21, 2023
0 वोट
0 उत्तर 215 व्यूज़
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
पूछा गया फ़रवरी 23, 2017
+1 मत
1 उत्तर 361 व्यूज़
हमने पवित्र आत्मा (Asubane Noekene) को हमारी ग्लॉसरी में संबंधित प्रविष्टि से लिंक कर दिया है। अब हम पवित्र (noekene) को ... फिर इसे वापस बदल दें। या क्या कोई बेहतर समाधान होगा?
Anne Stoppels 106 पूछा गया सितंबर 18, 2024
+1 मत
1 उत्तर 597 व्यूज़
जब आप बाइबलिकल टर्म्स टूल या बाइबलिकल टर्म्स रेंडरिंग्स विंडो के माध्यम से ग्लॉसरी प्रविष्टियाँ दर्ज करते हैं, तो Paratext ... वीडियो इस प्रक्रिया का विस्तार से वर्णन भी करता है:
[Expert]
Jeff_Shrum
2.9k
पूछा गया मार्च 23, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
3,072 प्रश्न
6,034 उत्तर
5,703 टिप्पणियाँ
2,038 उपयोगकर्ता