Test for empty feild.
Posted: Sat Aug 03, 2024 9:43 pm
Hi there,
How do I set up a conditional format for the following logic in my custom style.
if u20 is NOT empty output [[, otherwise output nothing.
Use case:
I am writing my own custom style to setup links back to Logos bible software resources when I create Logos personal books
FYI Logos personal books are a facility within logos software to add your own work to you logos library.
Logos references must be formatted as follows [[surface text>>Logos_Link]]. Note the initial [[
The surface text is the normal SBL format code.
I have set user20 to my Logos_link
So what I need is to test if u20 is empty, then either open with [[ if u20 has a value, otherwise do nothing.
{[[u20^ }a, t ~, ed. ~e | ~, trans. ~u3* ~, ~u2~ ed.~ ~, ~u13~ vols.~|~ ~ |~, ~j v` (`{u11;$ repr., $} |~; ~, l: u, d`)`>>u20@]]
[[https://ref.ly/logosres/jesusmideasteye?ref=Kenneth E. Bailey, Jesus Through Middle Eastern Eyes: Cultural Studies in the Gospels (Downers Grove, Ill.: IVP Academic, 2008)>>https://ref.ly/logosres/jesusmideasteye?ref=@@]]
but I need
[[Kenneth E. Bailey, Jesus Through Middle Eastern Eyes: Cultural Studies in the Gospels (Downers Grove, Ill.: IVP Academic, 2008)>>https://ref.ly/logosres/jesusmideasteye?ref=@@]]
Thanks in advance for your help
How do I set up a conditional format for the following logic in my custom style.
if u20 is NOT empty output [[, otherwise output nothing.
Use case:
I am writing my own custom style to setup links back to Logos bible software resources when I create Logos personal books
FYI Logos personal books are a facility within logos software to add your own work to you logos library.
Logos references must be formatted as follows [[surface text>>Logos_Link]]. Note the initial [[
The surface text is the normal SBL format code.
I have set user20 to my Logos_link
So what I need is to test if u20 is empty, then either open with [[ if u20 has a value, otherwise do nothing.
{[[u20^ }a, t ~, ed. ~e | ~, trans. ~u3* ~, ~u2~ ed.~ ~, ~u13~ vols.~|~ ~ |~, ~j v` (`{u11;$ repr., $} |~; ~, l: u, d`)`>>u20@]]
[[https://ref.ly/logosres/jesusmideasteye?ref=Kenneth E. Bailey, Jesus Through Middle Eastern Eyes: Cultural Studies in the Gospels (Downers Grove, Ill.: IVP Academic, 2008)>>https://ref.ly/logosres/jesusmideasteye?ref=@@]]
but I need
[[Kenneth E. Bailey, Jesus Through Middle Eastern Eyes: Cultural Studies in the Gospels (Downers Grove, Ill.: IVP Academic, 2008)>>https://ref.ly/logosres/jesusmideasteye?ref=@@]]
Thanks in advance for your help