Page 1 of 1

Source template formatting

Posted: 13 Dec 2022 00:37
by Peter Collier
I have a footnote format {Author:REVERSE} ({Year}). {Type}, <{Date}>. <Subject: {Subject}.> in a source template for private correspondence. That generates output like, for example:

Doe, John ( 2022 ). Email to John Roe, 13 December. Subject: the birth of Jane Doe.

Note the superfluous spacing around the year, even though there is no spacing between the parentheses and curly brackets in the code. Is there a way to avoid that so that the generated output is correctly closed up, i.e. (2022), not ( 2022 )?

Re: Source template formatting

Posted: 13 Dec 2022 00:48
by tatewise
Yes, I've fallen into that scenario too.
See the Help for Source Template Formats Special-Handling for Top-Level Text towards the bottom, where it explains that most top level items are separated by a space, which can be inhibited by enclosed in angle brackets.
e.g
{Author:REVERSE} <({Year})>. {Type}, <{Date}>. <Subject: {Subject}.>