From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 .../generic/tracklang/samples/animals/animals.sty  | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 macros/generic/tracklang/samples/animals/animals.sty

(limited to 'macros/generic/tracklang/samples/animals/animals.sty')

diff --git a/macros/generic/tracklang/samples/animals/animals.sty b/macros/generic/tracklang/samples/animals/animals.sty
new file mode 100644
index 0000000000..8b14d3b4ee
--- /dev/null
+++ b/macros/generic/tracklang/samples/animals/animals.sty
@@ -0,0 +1,24 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{animals}[2016/10/06 v1.2 (NLCT) Sample package to test tracklang.sty]
+
+\RequirePackage{tracklang}[2016/10/07]
+
+\DeclareOption*{\TrackLanguageTag{\CurrentOption}}
+\ProcessOptions
+
+
+% default definitions
+\newcommand\catname{cat}
+\newcommand\dogname{dog}
+\newcommand\ladybirdname{bishy-barney-bee}
+
+\AnyTrackedLanguages
+{%
+  \ForEachTrackedDialect{\this@dialect}{%
+    \TrackLangRequireDialect{animals}{\this@dialect}%
+  }%
+}
+{% no tracked languages, default already set up
+}
+
+\endinput
-- 
cgit v1.2.3

