If you don't care about portability you can embed some Python in an
eval attribute:
{eval:import time; time.strftime("%Y",time.locattime())}
or you can use the {sys: } attribute to run the command.
Cheers
Lex
On 18 June 2015 at 04:37, Thomas Beale <[email protected]> wrote:
> Thanks, this does work. Is there a way to embed the back-ticked command in a
> source document?
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.