Quote:
Originally Posted by kjdavies
Curious. I see '#pub series' in the post, but I wrote that without the space.
Perhaps different markup...
Code:
{#titlecount:||.}{#pagecount:||.}{series:||.}{#pubseries:||.}{#pubseries_index}
Yeah, that looks like it works right.
|
This avoids any extraneous periods by including a preceeding dot only if the column has a value:
Code:
{#titlecount:}{#pagecount:|.|}{series:|.|}{#pubseries:|.|}{#pubseries_index|.|}
However, I prefer this GPM template that (I think) makes the intentions explicit.
Code:
program:
list_join('.', $#titlecount, '.', $#pagecount, '.', $series, '.',$#pubseries, '.', $#pubseries_index, '.')
The above can be written as a TPM template if it is embedded with other template expressions:
Code:
{:'list_join('.', $#titlecount, '.', $#pagecount, '.', $series, '.',$#pubseries, '.', $#pubseries_index, '.')'}