Part of a format is written in parentheses. This works very well, except when the field u8 is empty. Then the closing parenthesis is suppressed what should not be.
... (u9. ~Bd. ~u14. $Hg. v. $u8*.) ...
Of course I could solve this problem using by setting ... u8*.`)` ... But this would not solve the problem because then I will have the closing parenthesis also when there is none of the fields within the parenthesis filled.
I'm stuck here. So any help would be much appreciated.
Or is it impossible to solve this problem with the operators Bookends provide at the moment? If that: Would this solvable via grouping multiple fields?
Edit: an additional question: Is it possible to have the field u8 printed in italic but the closing parenthesis in regular? I only managed to have the parenthesis also italics what is wrong.
tricky format question
This is tricky because there are so many dependencies. I think you'll have to force the final parenthesis with `)`. If this reference type often has nothing in any of these fields, I'd consider eliminating the parentheses for this type and creating a new type for these cases.
As for the italics, I cleared all styles from the text and applied italics to "u8". The closing parenthesis was output in plain text.
Jon
Sonny Software
As for the italics, I cleared all styles from the text and applied italics to "u8". The closing parenthesis was output in plain text.
Jon
Sonny Software