[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] how to get version information on title slide with org beamer
From: |
Eric S Fraga |
Subject: |
Re: [O] how to get version information on title slide with org beamer |
Date: |
Sun, 27 Aug 2017 12:24:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
For completeness, here is my final code based on Charles's suggestion:
#+begin_src org
,* date formatting with version information :ignoreheading:
,#+NAME: mydateline
,#+BEGIN_SRC emacs-lisp
(format "#+DATE: \\copyright{} %s\n" *this*)
,#+END_SRC
src_shell[:post mydateline() :results raw]{echo -n $(date +%Y) '@@latex:\\
\footnotesize \color{gray}@@' v$(hg id --num)}
#+end_src
This is for export to beamer (well, LaTeX more generally) and outputs
the year with revision information below in light grey (British spelling
I'm told ;-)). I should probably move the copyright symbol into the
shell script but this works...
Thanks again,
eric
--
Eric S Fraga, ericsfraga@<most social media>
signature.asc
Description: PGP signature