Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Can I reference a macro from a docinfo-html file? For example I have:
<div id="footer"> <div id="footer-text"> Program Name 6.2.3 </div> </div> Is it possible to define and use a macro for the version number?
www.tomswan.com
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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: :docinfosubs: attributes,macros On Mon, Apr 10, 2017 at 7:11 PM, Tom Swan [via Asciidoctor :: Discussion] <[hidden email]> wrote: Can I reference a macro from a docinfo-html file? For example I have: ... [show rest of quote] Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Okay perfect thanks.
On April 10, 2017 at 10:04 PM "mojavelinux [via Asciidoctor :: Discussion]" <[hidden email]> wrote: ... [show rest of quote]
www.tomswan.com
|
Free forum by Nabble | Edit this page |