Dealing with punctuation in Formats Manager

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
joseph_anton
Posts: 45
Joined: Tue Apr 26, 2016 1:39 pm

Dealing with punctuation in Formats Manager

Post by joseph_anton »

I have added a couple of extra fields for books, such as "Translated by" and "Other Contributors". I am trouble figuring out how to suppress the punctuation around these fields if they are empty. From my reading of the manual, it looks like a tilde around the punctuation should be enough to suppress it, but this doesn't seem to be working for me. Here's what my Field Order looks like at present:

Code: Select all

a. t., $translated by $u3~,~ u4~,~ l: u, d, u20`.`
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Dealing with punctuation in Formats Manager

Post by Jon »

Better off avoiding the tilde (which is there for backward compatability). I'd stick with the $ quote and/or conditional groups, both of which are easier to understand. Off the top of my head (you can modify as needed):

a. t., $translated by $u3, u4, l: u, d, u20`.`

Jon
Sonny Software
Post Reply