summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jslectureplanner
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-12 21:53:15 +0000
committerKarl Berry <karl@freefriends.org>2017-03-12 21:53:15 +0000
commit3ace2173b02d5e012b8bea47b38571dffb009e93 (patch)
tree662964034100e793099b1cafec2e82e5af2e96c7 /Master/texmf-dist/tex/latex/jslectureplanner
parent9e769d1a234dcea551d24d67ed988b1eba5fdd4e (diff)
jslectureplanner (12mar17)
git-svn-id: svn://tug.org/texlive/trunk@43476 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jslectureplanner')
-rw-r--r--Master/texmf-dist/tex/latex/jslectureplanner/english.lps89
-rw-r--r--Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty9
-rw-r--r--Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty19
3 files changed, 107 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/english.lps b/Master/texmf-dist/tex/latex/jslectureplanner/english.lps
new file mode 100644
index 00000000000..7ed97ea0b96
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jslectureplanner/english.lps
@@ -0,0 +1,89 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File english.lps
+%%
+%% English style for lecture planning
+%%
+%% This file is part of the jslectureplanner bundle.
+%%
+%% Author: Juergen Spitzmueller <juergen.spitzmueller@univie.ac.at>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Juergen Spitzmueller.
+%%
+%% Code repository and issue tracker: https://github.com/jspitz/jslectureplanner
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%
+% English localization of the default strings used by the jslectureplanner package
+%
+
+% Lecture types
+\DefLecType{vl}{LEC}{Lecture}{Lecture}% lecture
+\DefLecType{ps}{USE}{Undergraduate Seminar}{Session}% undergraduate seminar
+\DefLecType{se}{SE}{Seminar}{Session}% seminar
+\DefLecType{ue}{PC}{Practical Course}{Session}% practical course
+\DefLecType{ko}{CO}{Colloquium}{Session}% colloquium
+\DefLecType{pv}{RS}{Research Seminar}{Session}% research seminar
+
+% Term types
+\DefSemType{fs}{ST}{Spring Term}% spring term
+\DefSemType{hs}{FT}{Fall Term}% fall term
+\DefSemType{ss}{ST}{Summer Term}% summer term
+\DefSemType{ws}{WT}{Winter Term}% winter term
+
+% Date formats
+% Uses datetime2 syntax:
+% ##1: year
+% ##2: month
+% ##3: day
+% \DTMtwodigits: always output two digits
+\DTMrenewdatestyle{lecdate}{% long date: mm/dd/yyyy
+\renewcommand*{\DTMdisplaydate}[4]{\DTMtwodigits{##2}/\DTMtwodigits{##3}/##1}%
+}
+
+\DTMrenewdatestyle{lecshortdate}{% short date: mm/dd
+\renewcommand*{\DTMdisplaydate}[4]{\DTMtwodigits{##2}/\DTMtwodigits{##3}}%
+}
+
+% Suffix to cancelled sessions
+\renewcommand*\leccancel{\ -- No \lectypesession}
+
+% Program heading
+\renewcommand*\lecprogram{Schedule}
+
+% Indentation of program list
+\renewcommand*\lecprogramlistindent{\textbf{88/88}}
+
+%
+% Strings used by the jsmembertable package
+% NOTE that these have to be defined via \newcommand
+%
+
+% 1.) Session column header
+\newcommand*\jsmsession{\lectypesession}%
+\newcommand*\jsmsessionheader{\textbf{\jsmsession~\thesession}}%
+
+% 2.) Student Name
+\newcommand*\jsmnameheader{\textbf{Surname, Prename}}
+
+% 3.) Student ID
+\newcommand*\jsmidheader{\textbf{Student ID}}
+
+% 3.) E-Mail
+\newcommand*\jsemailheader{\textbf{Email Address}}
+
+% 4.) Signature advice
+\newcommand*\jssigheader{Student's signature}
+
+
+% Finis
diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty b/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty
index e3774c026f9..42cdac10242 100644
--- a/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty
+++ b/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty
@@ -23,8 +23,8 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\filedate{2016/10/19}
-\def\fileversion{1.4}
+\def\filedate{2017/03/12}
+\def\fileversion{1.5}
\def\filename{jslectureplanner.sty}
\NeedsTeXFormat{LaTeX2e}
@@ -250,6 +250,7 @@
('#1' was given instead)}{}%
\fi
}
+\define@key{lec}{sestitlesep}{\def\sestitlesep{#1}}
\DeclareOptionX{title}{\setkeys{lec}{title={#1}}}
\DeclareOptionX{titlesep}{\setkeys{lec}{titlesep={#1}}}
@@ -267,6 +268,7 @@
\DeclareOptionX{room}{\setkeys{lec}{room={#1}}}
\DeclareOptionX{style}{\setkeys{lec}{style=#1}}
\DeclareOptionX{interval}{\setkeys{lec}{interval=#1}}
+\DeclareOptionX{sestitlesep}{\setkeys{lec}{sestitlesep=#1}}
\ProcessOptionsX
@@ -296,6 +298,7 @@
\fi
}
\newcommand*{\LecInterval}[1]{\setkeys{lec}{interval=#1}}
+\newcommand*{\SessionTitleSep}[1]{\setkeys{lec}{sestitlesep=#1}}
%
@@ -578,7 +581,7 @@
\setcounter{snum}{\thesesunit-\thecancellations}
\protected@csxdef{sesnr\thesnum}{\thesnum}
\togglefalse{shortinstrdef}
- \csdef{@sestitlesep}{}
+ \csdef{@sestitlesep}{\sestitlesep}
\csdef{@sessubtitle}{}
\csdef{@sesshorttitle}{#2}
\csdef{@usesshorttitle}{}
diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty b/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty
index 01bdc0da4f8..19428272eb7 100644
--- a/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty
+++ b/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty
@@ -24,8 +24,8 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\filedate{2016/10/19}
-\def\fileversion{1.4}
+\def\filedate{2017/03/12}
+\def\fileversion{1.5}
\def\filename{jsmembertable.sty}
\NeedsTeXFormat{LaTeX2e}
@@ -54,6 +54,11 @@
\@datatooltrue
}
\DeclareOptionX{datafile}{\setkeys{mem}{datafile=#1}}
+\def\jsmt@datakeys{pname,sname,mid,email}
+\define@key{mem}{datakeys}{%
+ \def\jsmt@datakeys{#1}
+}
+\DeclareOptionX{datakeys}{\setkeys{mem}{datakeys={#1}}}
\ProcessOptionsX
%
@@ -63,8 +68,8 @@
% Load datatool if necessary
\if@datatool
\RequirePackage{datatool}
- \DTLloadrawdb[noheader,keys={fname,sname,mid,email}]{data}{\jsmt@datafile}
- \dtlsort{sname,fname}{data}{\dtlicompare}
+ \DTLloadrawdb[noheader,keys={\jsmt@datakeys}]{data}{\jsmt@datafile}
+ \dtlsort{sname,pname}{data}{\dtlicompare}
\fi
%
@@ -194,7 +199,7 @@
\endhead
\if@datatool
\DTLforeach*{data}{%
- \jsmt@firstname=fname,\jsmt@surname=sname,\jsmt@mid=mid,\jsmt@email=email}{%
+ \jsmt@firstname=pname,\jsmt@surname=sname,\jsmt@mid=mid,\jsmt@email=email}{%
\DTLiffirstrow{}{\tabularnewline\hline}%
\getmembernr & \jsmt@mid & \jsmt@surname, \jsmt@firstname & \jsmt@email%
}%
@@ -646,7 +651,7 @@
\endhead
\if@datatool%
\DTLforeach*{data}{%
- \jsmt@firstname=fname,\jsmt@surname=sname}{%
+ \jsmt@firstname=pname,\jsmt@surname=sname}{%
\DTLiffirstrow{}{\tabularnewline\hline}%
\bodyrowone{\jsmt@surname, \jsmt@firstname}%
}%
@@ -681,7 +686,7 @@
\endhead
\if@datatool
\DTLforeach*{data}{%
- \jsmt@firstname=fname,\jsmt@surname=sname}{%
+ \jsmt@firstname=pname,\jsmt@surname=sname}{%
\DTLiffirstrow{}{\tabularnewline\hline}%
\bodyrowtwo{\jsmt@surname, \jsmt@firstname}%
}%