Some of the text I want to toggle and which is contained within <> brackets in the main text....needs to be formatted with italics or superscript. I've tried adding formatting tags to the main text within the <> but then the toggle doesn't work.
For example:
I have english text <E and·to·<sup>the</sup>·darkness> but it won't toggle with the superscript tags.
Is there another way?
Can I do this with ST and NB?
Re: Can I do this with ST and NB?
The problem is that your regex is probably going to match the first >
So put a illegal <> at the end so that the whole match is picked up by a verse.rule as I have shown. The <> will be ignored as an invalid tag.
Text in Bible <E testing <sup>super</sup> normal<>>
verse.rule="<E (.+?)<>>" "<NB toggle=a>$1<Nb>"
So put a illegal <> at the end so that the whole match is picked up by a verse.rule as I have shown. The <> will be ignored as an invalid tag.
Text in Bible <E testing <sup>super</sup> normal<>>
verse.rule="<E (.+?)<>>" "<NB toggle=a>$1<Nb>"
Jon
theWord 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
theWord 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
Re: Can I do this with ST and NB?
Thank you. That worked.
Re: Can I do this with ST and NB?
I have another question. Why do I have problems when I use a mixture of ST and NB in my main text, whereas no problems if they are all ST?
Re: Can I do this with ST and NB?
I would need to see your file to check. Can you zip and upload it.
I PM'd a link to you.
I PM'd a link to you.
Jon
theWord 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
theWord 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet