Quote:
Originally Posted by chaley
Code:
program:
# The authors
a = $authors;
# Do any transforms you want to authors
# For example, to get the first author
# a = list_item(a, 0, '&');
# The title
t = $title;
t = re(t, '\?', '');
t = re(t, ':', ';');
# Add any more changes that you want.
# Construct the final output
a & ' - ' & t
|
I do want all the authors with no transforms. I tried this code in the edit template box, but it wouldn't work. It comes up with this error in the template value box:
EXCEPTION: Formatter: Failed to scan program. Invalid input '& ' - ' & t' near the end of the program
I'm not sure if I needed to change something in the code or not.