From 0dc07932883348c7159a96313082da93a143fe1e Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Thu, 4 Jun 2020 02:30:51 -0400 Subject: updated month to be accurate --- minimun.spec | 2 +- orig/format.tex | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/minimun.spec b/minimun.spec index 0fc249f..8bd24a3 100644 --- a/minimun.spec +++ b/minimun.spec @@ -1,7 +1,7 @@ Summary: A perl cgi/pdfTeX script for doc generation Name: minimun Version: 1.0 -Release: 8 +Release: 9 License: GPL, Unknown Source: https://hrhr.dev/src/minimun.tar.gz URL: https://git.hrhr.dev/minimun/about diff --git a/orig/format.tex b/orig/format.tex index b145f01..1ed66d0 100644 --- a/orig/format.tex +++ b/orig/format.tex @@ -8,11 +8,17 @@ \expandafter\font\csname x#1\endcsname=#2 at #3pt \expandafter\edef\csname #1\endcsname{\size=#3pt \adjs \csname x#1\endcsname} } +\edef\getmonth{% + \ifcase\month + January\or February\or March\or + April\or May\or June\or + July\or August\or September\or + October\or November\or December\fi +} \newfont ful=cmb10@144pt \newfont mas=cmb10@72pt \newfont big=cmr10@48pt -\font\big=cmr10 at 48pt \newfont sml=cmr10@20pt \spacing=12 @@ -61,7 +67,7 @@ MiniMUN \number\year - November \number\day, \number\year + \getmonth \number\day, \number\year \vfil } \eject -- cgit