This content has been marked as final. Show 4 replies
Better add: I already sent this question to another list. I received ideas, but no solutions.
There is no way I can think of to do this with snippets but you could use variables. Just change the variable value for the text as required. Alternatively, I'd be tempted to have a dummy project with all the instances of the text in seperate topics which you could then import as and when required.
Thanks for the response, Colum.
>> There is no way I can think of to do this with snippets
Maybe in RH9 ...
I thought that this is the typical sort of thing that Single Sourcing should do.
>> but you could use variables. Just change the variable value for the text as required.
Ummm ... can 't see how that would work. I need all the different topics (identical except for a few words) in the same project at once.
>> Alternatively, I'd be tempted to have a dummy project with all the instances of the text in seperate topics which you could then import as and when required.
Not sure this would help me. I have three topics, which are almost identical, except for a few words.
I have a very simple, "square, vanilla" idea that would do it. Just have a dummy topic with all the material, but where the words differ, I would substitute searchable place holders, one or more as needed, for the word instances, e.g.,"!<feature_name>!" . Then I can import or copy-paste that material section as needed and then do a Find-Replace on "!<feature_name>!" to insert the words I need for the specific topic. But this is very lo-tech. I would have expected something better in 2009.
Maybe you meant the same thing, but in different words.
Nearly avi. I had thought you could have a project with a list of topics with the exact text you require, although I concede you may need multiple versions of the same topic. You could then import them as required.
You could even have them as part of the real project and apply a conditional build tag to them which you could append to the single source layout so they are excluded from the output. That way you could have the topics open in a tab (in RH7 onwards and just copt/paste the text as required.