[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Thu May 06, 2021 3:06 pm



Reply to topic  [ 3 posts ] 
 Hebrew Bible with <CL> becomes Left Justified 
Author Message

Joined: Sat Sep 14, 2013 2:55 pm
Posts: 40
Post Hebrew Bible with <CL> becomes Left Justified
I am finishing a Bible module in Hebrew script (with R2L=1 included of course) that contains multiple variants per verse, and I want each variant to be on a separate line by inserting a <CL> tag between them. Unfortunately, the result is buggy. The first variant appears as expected (R2L), but subsequent lines are left justified instead of right justified. I'm appending an example below. (The text within <T>...<t> is the name of the variant.) Is there a <p align="right"> or \rtlchar workaround that I can insert into the rule?

[Example Code for Gen 1:1 follows]
---------------------------------------------------
בחכמה״מן לקדמין״ ברא וייי ושכליל ית שמיא וית ארעא<T>FTP_Gn<t>בחכמה ברא ה׳ ית שמיא וית ארעא<T>FTV_Gn<t>
.
.
.
verse.rule="<T>(.+?)<t>" "<CL><font color=red>($1)</font><CL>"
---------------------------------------------------


Tue May 28, 2019 6:39 pm
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 4161
Post Re: Hebrew Bible with <CL> becomes Left Justified
Please take a look at the Bible module spec on this page. I think there are some rtl codes that can be used.

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Tue May 28, 2019 7:36 pm
Profile
User avatar

Joined: Wed Sep 29, 2010 10:04 pm
Posts: 920
Location: Colorado, United States
Post Re: Hebrew Bible with <CL> becomes Left Justified
I would recommend like JG said checking out the Bible module specs.

Here are a few ideas:

I've see brother AlbeSh use this on a Bible module as part of a rule: <rtl>$1</rtl>
rtl this aligns it Right to Left and <ltr> ... </ltr> does Left to Right
However this does not deal with the text alignment. But can be useful in the Bible format for dealing with switching between rtl/ltr

I've seen brother Rubio use this on a Bible module (Note inside of the Bible text not as a rule): <RF><b>NA27/UBS4 variant:</b><CL><font color=blue>τῶν ἁγίων Ἀμήν</font> | <font color=red>-</font><Rf>


As a last result you can try <rtf tag=”…”> and </rtf> which according to the Bible module specs introduces RTF code. Be careful it can be interesting.

Here is from the Bible module spec file: "For example, in order to make some Arabic text appear right-aligned in a footnote, one can write: <rtf tag="\qr">. Notice that this means that the standard rtf tag \qr (that is used for right-aligning a paragraph) will be copied as is in the resulting rtf code."

_________________
Jonathan Koehn @ http://www.thewordbooks.com
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)


Thu May 30, 2019 2:37 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 1.019s | 15 Queries | GZIP : Off ]