From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: how to get version information on title slide with org beamer Date: Sat, 26 Aug 2017 18:57:59 +0100 Message-ID: <87k21qxlco.fsf@t3610> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlfLY-0005wq-5w for emacs-orgmode@gnu.org; Sat, 26 Aug 2017 13:58:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlfLV-0005jH-49 for emacs-orgmode@gnu.org; Sat, 26 Aug 2017 13:58:12 -0400 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:37143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dlfLU-0005j7-Uv for emacs-orgmode@gnu.org; Sat, 26 Aug 2017 13:58:09 -0400 Received: by mail-wr0-x22a.google.com with SMTP id a47so7492555wra.4 for ; Sat, 26 Aug 2017 10:58:07 -0700 (PDT) Received: from localhost ([95.149.137.217]) by smtp.gmail.com with ESMTPSA id j81sm4948920wmd.21.2017.08.26.10.58.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 26 Aug 2017 10:58:00 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hello all, I know I can use {{{modification-time(...,t)}}} say to get the revision control system information about when the repository was last modified. However, I would like to have other information (e.g. the mercurial id). More importantly, I would like this information to appear on my beamer export title slide. I have tried #+date: \copyright {{{time(%Y)}}}, version src_shell{hg id --num} for instance but babel blocks are not executed for these lines. Putting this text in a macro doesn't help either. Any suggestions? Thanks, eric -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-796-gbae41a --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWaG2pwAKCRDIkZPY//z2 fQC6AKCXCKlBhq9YwD0wuxHVsWDLsFASwgCfTU28JO5PT9mW6UkX92Pwxp3BTJw= =d4qR -----END PGP SIGNATURE----- --=-=-=--