Stuart Rackham | 11 Apr 23:09 2012
Picon

Re: Storing Strings in Constants?

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@...
To unsubscribe from this group, send email to asciidoc+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.


Gmane