Re: How do I reference a macro in a custom footer?
Administrator
Tom,
If you want to refer to the version number using an attribute reference, you can just do it. It's supported by default:
<div id="footer"> <div id="footer-text"> Program Name {program-version} </div> </div>
If you want to use other types of substitutions in the docinfo file, then you need to set the docinfosubs attribute in the document header. For example:
Re: How do I reference a macro in a custom footer?
Okay perfect thanks.
On April 10, 2017 at 10:04 PM "mojavelinux [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Tom,
If you want to refer to the version number using an attribute reference, you can just do it. It's supported by default:
<div id="footer"> <div id="footer-text"> Program Name {program-version} </div> </div>
If you want to use other types of substitutions in the docinfo file, then you need to set the docinfosubs attribute in the document header. For example: