From 63ebb174bfee40a7f07ab4be5d8d382e8e8d3604 Mon Sep 17 00:00:00 2001
From: mirabilos <t.glaser@tarent.de>
Date: Thu, 2 Feb 2017 23:25:58 +0100
Subject: [PATCH] [verein.git] use pgflibrarycalendar.easter.code superseding
 pgfeaster

Closes: https://github.com/Qrrbrbirlbel/tex.sx/issues/1
---
 pgfeaster.sty  | 68 --------------------------------------------------
 teckidscal.sty |  3 ++-
 2 files changed, 2 insertions(+), 69 deletions(-)
 delete mode 100644 pgfeaster.sty

diff --git a/pgfeaster.sty b/pgfeaster.sty
deleted file mode 100644
index 917fda0..0000000
--- a/pgfeaster.sty
+++ /dev/null
@@ -1,68 +0,0 @@
-% -*- mode: tex -*-
-%-
-% Copyright © 2013
-%	Qrrbrbirlbel <http://tex.stackexchange.com/users/16595/qrrbrbirlbel>
-%
-% This content is covered by a CC-BY-SA 3.0 licence and was derived
-% from: http://tex.stackexchange.com/a/144186/43807
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pgfeaster}[2013/11/10 1 PGF Easter calculation routine]
-\RequirePackage{pgfkeys,pgfcalendar}
-
-\def\pgfcalendar@Easter#1{%
- \begingroup
-   \count0=#1\relax              % Yeah 0
-   \count1=\count0%              % K 1
-   \divide\count1 100            % K 1
-   \count2=\count1               % M 3
-   \multiply\count2 3
-   \advance\count2 3
-   \divide\count2 4              % 2 holds (3 * K +3) \ 4
-   \count3=\count1
-   \multiply\count3 8
-   \advance\count3 13
-   \divide\count3 -25
-   \advance\count3\count2
-   \advance\count3 15           % M 3
-   \count2-\count2              % S 2
-   \advance\count2 2
-   \count4=\count0              % A 4
-   \divide\count4 19
-   \multiply\count4 -19
-   \advance\count4\count0       % A 4
-   \count1=\count4              % D 1 *
-   \multiply\count1 19
-   \advance\count1\count3
-   \count5\count1
-   \divide\count1 30
-   \multiply\count1 -30
-   \advance\count1\count5       % D 1 *
-   \divide\count4 11            % R 4 *
-   \advance\count4\count1
-   \divide\count4 29            % R 4 *
-   \advance\count1-\count4      % OG 1 **
-   \advance\count1 21           % OG 1 **
-   \count3\count0               % SZ 3 *
-   \divide\count3 4
-   \advance\count3\count0
-   \advance\count3\count2
-   \count4-\count3
-   \divide\count3 7
-   \multiply\count3 7
-   \advance\count3\count4
-   \advance\count3 7           % SZ 3 *
-   \count4-\count3             % OE 4 **
-   \advance\count4\count1
-   \count3-\count4
-   \divide\count4 7
-   \multiply\count4 7
-   \advance\count4\count3
-   \advance\count4 7           % OE 4 **
-   \advance\count4\count1
-   \pgfcalendardatetojulian{\the\count0-03-\the\count4}\pgfutil@tempcnta
-   \expandafter\xdef\csname pgfcalendar@Easter@\the\count0\endcsname
-     {\the\pgfutil@tempcnta}%
- \endgroup}
-
-\endinput
diff --git a/teckidscal.sty b/teckidscal.sty
index 22fdcb0..0801a80 100644
--- a/teckidscal.sty
+++ b/teckidscal.sty
@@ -22,7 +22,8 @@
 
 \NeedsTeXFormat{LaTeX2e}%
 \ProvidesPackage{teckidscal}[2017/01/08 1.1 Teckids e.V. Wandkalender-Utilities]%
-\RequirePackage{pgfkeys,pgfcalendar,pgfeaster}%
+\RequirePackage{pgfkeys,pgfcalendar}%
+\input{pgflibrarycalendar.easter.code}%
 \RequirePackage{etoolbox}%
 \RequirePackage{multirow}%
 \RequirePackage{stringstrings}%
-- 
GitLab