Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Stuart Rackham <srackham-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: Re: Storing Strings in Constants?
Newsgroups: gmane.text.formats.asciidoc
Date: Wednesday 11th April 2012 21:09:11 UTC (over 4 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
[email protected]
To unsubscribe from this group, send email to
[email protected]e.org
For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
 
CD: 3ms