Hi all,
I’m about to embark on a series of specification documents, each of which will contain a selection from a set of modules of content. So I plan to set up a master document per spec that includes the sub-documents as needed.
So far no problem. However, what I’d like to know is if I can include conditional text in each sub-document, where the field variable is set in each master document. For example, can I have a product name
field variable in the sub-document that renders to an actual name in each master document, by defining the variable content there?
More complex still, could I write conditionalised paragraphs - one for each spec - in a sub-document, and the master document then shows the correct one depending on the active field? Something like this:
Installation guide
{{install=win}
{On Windows, you do this…}
{{install=mac}
{On MacOS, you do this…}
{{install=linux}
{On Linux, you do this…}
And then for a Linux document, I specify install=Linux
in the master document?
Has anyone done this on scale successfully? I imagine it would get messy with a lot of fields, but I’d rather not update 10 separate documents when they’re 80% identical.
Thanks in advance for any ideas and encouragement