Thomas,

Probably best to pass the attribute when you run AsciiDoc:

$ asciidoc -a localyear=`date +%G`

You could get the docyear using `stat -c %y filename.adoc | cut -d- -f1`

These are probably reasonable things to add by default, but this way you
should be able to get the information you need now.

Cheers,

-Dan

On Wed, Jun 17, 2015 at 11:15 AM, Thomas Beale <[email protected]> wrote:

> Or how do Asciidoc authors obtain the current year?
>
> thanks
>
> --
> 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.
>



-- 
Dan Allen | http://google.com/profiles/dan.j.allen

-- 
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.

Reply via email to