Subject: Re: Storing Strings in Constants?
Date: Wednesday 11th April 2012 21:09:11 UTC (over 5 years ago)
See the sidebar 'Attribute entries promote clarity and eliminate repetition' in this section of the User Guide http://www.methods.co.nz/asciidoc/userguide.html#_setting_configuration_entries that explains how to use attribute entries to achieve what you want. Cheers, Stuart On 12/04/12 03:35, Bruce Harris wrote: > Is there a way to store a string or block of text in a constant, such > that if I have the same line or phrase repeated numerous times in my > document, I can insert it by reference, and change it only once where > it is defined so the change propagates throughout the document? > > I thought I might be able to do this with macros, but it wasn't clear > to me how. > > Thanks, > Bruce > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to asciidoc-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To unsubscribe from this group, send email to asciidoc+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.