]> mj.ucw.cz Git - ga.git/commitdiff
Makra: Kazda stranka ma v paticce cislo verze
authorMartin Mares <mj@ucw.cz>
Tue, 26 Oct 2010 19:51:05 +0000 (21:51 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 26 Oct 2010 19:51:05 +0000 (21:51 +0200)
sgr.tex

diff --git a/sgr.tex b/sgr.tex
index fba5dbb0c93f45f75b06d722b8e0193f7a087131..2a3166566638a24b5de5062a9fbc8f76023f8996 100644 (file)
--- a/sgr.tex
+++ b/sgr.tex
 % Hacky pro finalni sazbu
 \def\separatefix#1{#1}
 \def\finalfix#1{}
+
+% Cislovani verzi
+\def\currentversion{%
+\the\year
+-\ifnum\month<10\relax 0\fi\the\month
+-\ifnum\day<10\relax 0\fi\the\day
+}
+
+\footline={\hfil {\tenrm\the\count0}\hfil \llap{\sevenrm\currentversion}}