Skip to content
Discussion options

You must be logged in to vote

There's a few things going on here:

: from the old format has been replaced by . in the new syntax, so [ShortTitle:lower] becomes ShortTitle.lower (or (ShortTitle.lower) if you want the parenthesis). If you simply enter your formula in the old syntax, BBT will convert it into the new syntax for you (auth(n=0,m=1,creator="*",initials=false).fold.capitalize + year + ShortTitle.lower, which simplifies to auth.capitalize + year + ShortTitle.lower)

the ternary syntax is (<condition> ? <what to include if the condition is non-empty> : <what to include if the condition is empty>); (condition ? X) (condition : X) will not work, you need (ShortTitle ? "_" : "") + ShortTitle.lower

What you want is …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Chris-Bee
Comment options

Answer selected by Chris-Bee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants