summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2018-06-17 21:31:19 +0900
committerNorbert Preining <norbert@preining.info>2018-06-17 21:31:19 +0900
commit8b41f82b0607d2c788972454f29fff226a9dbf6a (patch)
tree6365c8af4050035157ce7754c95a8dc8b5859763
parent45e5c2b549521b19955a525a7d2c42d69e391bfc (diff)
add datepicker-pro
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/README.md29
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.pdfbin0 -> 399987 bytes
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.tex574
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/examples/datepicker_tst.tex96
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/icons/dp_icon1.pdfbin0 -> 56702 bytes
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/icons/dp_icon2.pdfbin0 -> 17947 bytes
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/joboptions/Standard_transparency.joboptions232
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/swf/datepicker3.swfbin0 -> 241782 bytes
-rw-r--r--texmf-dist/doc/latex/datepicker-pro/swf/datepicker4.swfbin0 -> 47960 bytes
-rw-r--r--texmf-dist/source/latex/datepicker-pro/datepicker-pro.dtx424
-rw-r--r--texmf-dist/source/latex/datepicker-pro/datepicker-pro.ins59
-rw-r--r--texmf-dist/tex/latex/datepicker-pro/datepicker-pro.sty166
-rw-r--r--tlpkg/tlpsrc/datepicker-pro.tlpsrc0
13 files changed, 1580 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/datepicker-pro/README.md b/texmf-dist/doc/latex/datepicker-pro/README.md
new file mode 100644
index 00000000..e35a0b87
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/README.md
@@ -0,0 +1,29 @@
+The datepicker-pro Package
+Author: D. P. Story
+Dated: 2016/05/06
+
+One of the (many) deficiencies of Adobe Acrobat Reader/Adobe Acrobat is that
+they have never supported a proper date picker. This package now supplies
+one. The \datepicker command creates a readonly text field and a push button
+to its right. Pressing on the pushbutton brings forth a SWF file displaying a
+calendar. The user then chooses a date from the calendar, the the date is
+transferred to the text field.
+
+This is a "pro" application, which, in the jargon of AeB, means that Adobe
+Distiller is required as the PDF creator. The only drivers supported, as a
+result, are dvips and dvipsone.
+
+As with all such special features, to experience the datepicker, Adobe Reader
+or Acrobat are needed. Most other PDF readers do not support form field, rich
+media annotations, and JavaScript.
+
+Unpack the distribution by latexing datepicker-pro.ins.
+
+Enjoy.
+
+D. P. Story
+www.acrotex.net
+dpstory@uakron.edu
+dpstory@acrotex.net
+
+
diff --git a/texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.pdf b/texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.pdf
new file mode 100644
index 00000000..56478178
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.tex b/texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.tex
new file mode 100644
index 00000000..19f5828a
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/datepickerpro_man.tex
@@ -0,0 +1,574 @@
+% http://livedocs.adobe.com/flex/3/html/help.html?content=controls_12.html
+% http://livedocs.adobe.com/flex/3/html/help.html?content=formatters_4.html
+% http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/formatters/DateFormatter.html
+% http://blog.flexexamples.com/2008/02/12/changing-the-next-and-previous-year-navigation-icons-on-a-datechooser-control-in-flex/
+% http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7feb.html
+% http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/formatters/DateBase.html
+% http://blog.flexexamples.com/2007/12/11/using-the-datebase-class-in-flex/
+% http://blog.flexexamples.com/2008/11/07/adding-custom-context-menu-items-to-a-flex-application/
+% http://flexdevtips.blogspot.com/2010/01/flex-context-menus.html
+% http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7d9b.html
+% http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/DateChooser.html
+% http://www.adobe.com/devnet/flash-builder.html
+\documentclass{article}
+\usepackage[fleqn]{amsmath}
+\usepackage[
+ web={centertitlepage,usetemplates,designv,
+ forcolorpaper,tight*,latextoc,pro},%usesf,
+ eforms,uselayers,graphicxsp={showembeds},aebxmp
+]{aeb_pro}
+%\usepackage{myriadpro} %[usecmtt]
+\usepackage[altbullet]{lucidbry}
+\usepackage{datepicker-pro}
+\usepackage{aeb_mlink}
+\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/%
+ tex/latex/aeb/aebpro/datepicker-pro/swf}
+\setpickerIcon{../icons/dp_icon1.pdf}{date1,PickADate}
+\setpickerIcon{../icons/dp_icon2.pdf}{GERDate}
+\setlength{\marginparwidth}{2in}
+%\usepackage{array}
+
+
+%\usepackage{makeidx}
+%\makeindex
+\usepackage{acroman}
+\usepackage[active]{srcltx}
+\urlstyle{rm}
+
+\def\anglemeta#1{$\langle\textit{\texttt{#1}}\rangle$}
+\def\meta#1{\textit{\texttt{#1}}}
+\def\darg#1{\{#1\}}
+\def\oarg#1{[#1]}
+
+\def\DM#1{\marginpar{\raggedleft\small\cs{#1}}}
+
+\DeclareDocInfo
+{
+ university={\AcroTeX.Net},
+ title={\texorpdfstring{datepicker-pro\\[1em]}
+ {datepicker-pro: }Picking a date using Flash},
+ author={D. P. Story},
+ email={dpstory@acrotex.net},
+ subject={Documentation of datepicker-pro from for AeB Pro},
+ talksite={\url{www.acrotex.net}},
+ version={1.0},
+ keywords={AeB, Adobe Acrobat, JavaScript, datepicker, FLEX},
+ copyrightStatus=True,
+ copyrightNotice={Copyright (C) \the\year, D. P. Story},
+ copyrightInfoURL={http://www.acrotex.net}
+}
+
+\def\dps{$\hbox{$\mathfrak D$\kern-.3em\hbox{$\mathfrak P$}%
+ \kern-.6em \hbox{$\mathcal S$}}$}
+
+\universityLayout{fontsize=Large}
+\titleLayout{fontsize=LARGE}
+\authorLayout{fontsize=Large}
+\tocLayout{fontsize=Large,color=aeb}
+\sectionLayout{indent=-62.5pt,fontsize=large,color=aeb}
+\subsectionLayout{indent=-31.25pt,color=aeb}
+\subsubsectionLayout{indent=0pt,color=aeb}
+\subsubDefaultDing{\texorpdfstring{$\bullet$}{\textrm\textbullet}}
+
+%\pagestyle{empty}
+%\parindent0pt\parskip\medskipamount
+
+\begin{docassembly}
+\addWatermarkFromFile({
+ bOnTop:false,
+% cDIPath:"/C/AcroTeX/AcroTeX/ManualBGs/Manual_BG_Print_AeB.pdf"
+ cDIPath:"C:/Users/Public/Documents/ManualBGs/Manual_BG_Print_AeB.pdf"
+});
+\executeSave();
+\end{docassembly}
+
+\begin{document}
+
+\maketitle
+
+\selectColors{linkColor=black}
+\tableofcontents
+\selectColors{linkColor=webgreen}
+
+\section{Introduction}\label{s:intro}
+
+% ff, fi, fl, ffl
+
+Development for this work occurred in July 2013.\footnote{Then I forgot about it.} At that time a
+cyber-colleague, G\"{u}nther F\"{u}llerer, sent me a \emph{date picker} he
+had written using form fields. It was a very impressive work but created a
+large number of form fields, one for each date in a calendar month. However,
+instead of working on it myself, improving and generalizing it, I decided to
+write a date picker package using a Flash window to display the dates, and
+that is what I did. Below is the date picker without any options; it is set
+up for English-style dates (MM/DD/YYYY).
+\begin{quote} %\previewtrue
+ Enter a date: \kern1bp\datepicker{date1}{1in}{11bp}\\[3bp]
+ \phantom{Enter a date:} \kern1bp\verb!\datepicker{date1}{1in}{11bp}!
+\end{quote}
+Each use of the \cs{datepicker} command creates four PDF objects: (1) a
+visible text field that displays the formatted date; (2) a visible push
+button with an icon appearance; (3) a small hidden text field that
+holds a ``shadow'' date, more on that later; and (4) a hidden rich media
+annotation (RMA) which when activated creates a floating window that
+displays a calendar.
+
+The \cs{datepicker} command takes four arguments, the first of which is
+optional. The first argument is used to modify the date picker, the second
+is a unique name (\texttt{date1} in the above example), these are followed
+by the width and height of the text input field.
+
+
+\section{Requirements}
+
+This package belongs to the high-class family of
+\textsf{\textcolor{blue}{AeB~Pro}}, hence, the major requirement of this
+package is that the PDF be created using \app{Adobe Distiller}, see
+\hyperref[ss:PDFCreator]{Section~\ref*{ss:PDFCreator}} for details. Of course, if you have
+\app{Distiller}, surely you have \app{Adobe Acrobat}, which is also
+required in the workflow.
+
+\subsection{{\LaTeX} package requirements}
+
+ The package builds on packages developed as part of \textsf{AeB} or \textsf{AeB~Pro}:
+\begin{itemize}
+ \item\textsf{aeb\_pro}: supplies code to create icon appearances for the
+ date picker push buttons.
+ \item\textsf{rmannot}: the package for creating rich media annotations
+ (SWF, FLV, etc); \textsf{rmannot} uses the \textsf{graphicxsp} package.
+ \item\textsf{eforms}: used to create Acrobat form buttons and text
+ fields, both hidden and visible. It also supplies JavaScript support as
+ it imports the \textsf{insdljs} package.
+\end{itemize}
+
+
+\reversemarginpar
+
+\subsection{PDF creator requirements}\label{ss:PDFCreator}
+
+The big restriction on this package is the requirement to use
+\app{Adobe Distiller} (version 6.0 or later). The package supports the
+creation of PostScript using \textsf{dvips} and
+\textsf{dvipsone}\marginpar{\raggedleft \textsf{dvipsone}\textsf{\\dvips}}. These
+``drivers'' are defined through the required package \textsf{aeb\_pro}.
+
+\subsection{Transparency requirements}
+
+Transparency is only required to make the RMA transparent; unlike a form
+field, a RMA does not have a hidden property, so we try to make it
+transparent.
+
+To get the transparency effect, you must distill using a JOBOPTIONS file
+that supports transparency. The \pkg{datepicker-pro} package comes with an
+\textbf{Distiller} job options file named
+\texttt{Standard\_transparency.joboptions}. Instead of going through
+the above rather tedious instructions, drop this file in the place
+where Distiller expects to find its own {JOBOPTIONS}
+files.\footnote{Go to Settings \texttt{>} Edit Adobe PDF Settings\dots
+in the Distiller application window, then click the \texttt{SaveAs}
+button. A \textsf{Save Adobe PDF Settings As} dialog box opens and
+you can then see where \textbf{Distiller} likes to save its
+\texttt{.joboptions} file. Copy the provided \texttt{.joboptions} to
+the folder and restart Distiller, the \texttt{Standard\_transparency}
+should now be visible in the drop down \textsf{Default Settings}
+list.}
+
+If you distill without this \texttt{Standard\_transparency}, you get an
+error message in the \textbf{Distiller} log that reads like this:
+\begin{small}
+\begin{verbatim}
+%%[Error: The PostScript contains Transparency pdfmark, job aborted.]%%
+%%[ /AllowTransparency is false in job option settings.]%%
+%%[ Error: undefined; OffendingCommand: pdfmark;
+ ErrorInfo: Transparency Group ]%%
+\end{verbatim}
+\end{small}%
+This suggests that you should use a JOBOPTIONS file that
+supports transparency!
+
+\subsection{Viewing requirements}
+
+As with any document that contains more than just text content, \app{Adobe
+Acrobat Reader} or \app{Adobe Acrobat} is required to actually see the
+effects of the \pkg{datepicker-pro} package. Most third-party PDF readers do
+not support interactive form fields, rich-media annotations, and Acrobat JavaScript API. Consumers
+of your document need to use \app{Adobe Reader} or \app{Acrobat}.
+
+\section{Options of this package}
+
+There are no options for this package.
+
+\section{The datepicker-pro commands}
+
+\subsection{Commands for the preamble}
+
+A typical preamble would contain the necessary packages required by
+\pkg{datepicker-pro}:
+\begin{minipage}[t]{\linewidth}\kern0pt
+\begin{minipage}[t]{.5\linewidth}\kern0pt
+\begin{Verbatim}[fontsize=\small,commandchars=!()]
+\documentclass{article}
+\usepackage[%
+ driver=dvips,
+ web={extended,tight*,usesf},
+ eforms,graphicxsp={showembeds}
+]{aeb_pro}
+\usepackage{rmannot}
+\usepackage{datepicker-pro}
+\end{Verbatim}
+\end{minipage}\hfill
+\begin{minipage}[t]{.5\linewidth}\kern0pt
+\begin{Verbatim}[fontsize=\small,commandchars=!()]
+\documentclass{article}
+\usepackage[%
+ driver=dvips,
+ web={extended,tight*,usesf},
+ eforms,graphicxsp={showembeds},
+ rmannot
+]{aeb_pro}
+\usepackage{datepicker-pro}
+\end{Verbatim}
+\end{minipage}
+\end{minipage}
+\newtopic\newtopic The use of the \pkg{web} package is optional. On the left is the
+traditional way of using the \pkg{rmannot} package, followed by the
+\pkg{datepicker-pro} package. More recently (2013/08/05), I've made
+the \pkg{rmannot} an option of the \pkg{aeb\_pro} package. Shown on the right
+is the \texttt{rmannot} option for \pkg{aeb\_pro}.
+
+
+\bVerb\takeMeasure{\string\definePath\darg{\string\dppPath}\darg{\meta{path}}}%
+\begin{dCmd}[commandchars=!()]{\bxSize}
+\useFLEXVer{3|4}
+\definePath{\dppPath}{!meta(path)}
+\setpickerIcon{!meta(path)}{!meta(list)}
+\end{dCmd}
+\endgroup\noindent
+The \cs{useFLEXVer}\DM{useFLEXVer} command declare what version of \EXT{FLEX}
+is to be used, choices are 3 or 4, corresponding to \EXT{FLEX~3.6} and
+\EXT{FLEX~4.5}, respectively. I've found the version~4 is very slow in
+loading; not recommended. If \cs{useFLEXVer} is not present in the preamble,
+version~3 is used by default.
+
+The \cs{definePath\darg{\cs{dppPath}}}\DM{dppPath}
+charts out the path to the date picker SWF file; there are two versions
+\texttt{datepicker3.swf} and \texttt{datepicker4.swf}. The \cs{definePath}
+command is defined in \pkg{eforms} is simply allows you construct paths
+with normally forbidden characters. The \cs{dppPath} command is expected
+by \pkg{datepicker-pro} to be defined; otherwise, the file will not
+compile. The \meta{path} needs to be an \emph{absolute path} on your file
+system that points to the location of the \EXT{SWF} files.
+
+Finally, the \cs{setpickerIcon}\DM{setpickerIcon} declares the \meta{path} to
+the date picker icon; this is a relative (or absolute) path and includes the
+icon file in the path. The argument \meta{list} is a comma-delimited list of
+names of each of the date picker fields created in the document. If you want
+to have several date picker fields, some of which have different date picker
+icons, then you need to declare additional icons using \cs{setpickerIcon}.
+The dimensions of the icon are determined by the command declarations
+\cs{setpickerIconWidth} and \cs{setpickerIconHeight}, these are discussed in
+\hyperref[s:PB]{Section~\ref*{s:PB}}. These latter two commands may be
+declared in the preamble or in the body of the document. This package
+distribution provides to icon files \texttt{dp\_icon1.pdf} and
+\texttt{dp\_icon2.pdf} found in the \texttt{icons} folder.
+
+
+\newtopic\noindent
+The following illustrates the above three commands.
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small,commandchars=!()]
+%\useFLEXVer{4} % 3 or 4
+\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/%
+ tex/latex/aeb/aebpro/datepicker-pro/swf}
+\setpickerIcon{../icons/dp_icon2.pdf}{date1,PickADate,GERDate}
+\end{Verbatim}
+In this example, there are three date fields created, each of them is
+given the appearance of the icon file \texttt{dp\_icon2.pdf}.
+Or, we can declare,
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small,commandchars=!()]
+\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/%
+ tex/latex/aeb/aebpro/datepicker-pro/swf}
+\setpickerIcon{../icons/dp_icon1.pdf}{date1,PickADate}
+\setpickerIcon{../icons/dp_icon2.pdf}{GERDate}
+\end{Verbatim}
+where a different icon is used for the \texttt{GerDate} date picker.
+
+\subsection{Commands for the body of the document}
+
+Within the body of the document, there is only one command, \cs{datepicker}:
+\bVerb\takeMeasure{\cs{datepicker}[\meta{options}]\darg{\meta{name}}\darg{\meta{width}}\darg{\meta{height}}}%
+\begin{dCmd}[commandchars=!()]{\bxSize}
+\datepicker[!meta(options)]{!meta(name)}{!meta(width)}{!meta(height)}
+\end{dCmd}
+\endgroup\noindent
+The \meta{name} argument should consist only of letters or numbers
+(however, a number must not be the first character in the name); for
+example, \texttt{date1} or \texttt{PickADate} are acceptable. The
+\meta{name} argument is used to build names for the components of
+the date picker field. The input text field, which is set to read only, is
+named \texttt{txt\anglemeta{name}}, the push button is named
+\texttt{btn\anglemeta{name}}, the hidden text field is named
+\texttt{htxt\anglemeta{name}}, and finally, the RMA has a name of
+\meta{name}. The \meta{width} and \meta{height} arguments are standard
+to form fields, as defined by \pkg{eforms}. These two dimensions are applied
+to the input text field only.
+
+Now for the \meta{options} argument of \cs{datepicker}. The options consist
+of key-value pairs (\texttt{key=value}) and are rather numerous.
+\begin{itemize}\def\DescribeMacro#1{}
+\item \textbf{Format date string.}
+ \begin{itemize}
+ \item\texttt{formatstring}: The value of the \texttt{formatstring} key
+ uses various combinations of \texttt{M}, \texttt{D}, \texttt{Y},
+ and possible \texttt{E} as well as spaces and delimiters to format
+ the date string. The following table was extracted from the page:
+\begin{quote}\raggedright\urlstyle{tt}
+\mlurl{http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/formatters/DateFormatter.html}
+\end{quote}\bigskip
+\item[]\begin{tabular}{cp{1.4in}cp{1.4in}}
+ \multicolumn{4}{c}{\bfseries Table of Formatting Patterns}\\\hline
+ \textbf{Pattern} & \textbf{Examples} &\textbf{Pattern} & \textbf{Examples}\\
+ \texttt{Y} & \texttt{YY = 05}\par \texttt{YYY=2005}\par\texttt{YYY=02005}&
+ \texttt{D} &\texttt{D = 4}\par \texttt{DD=04}\\
+ \texttt{M} & \texttt{M = 7}\par \texttt{MM=07}\par\texttt{MMM=Jul}\par\texttt{MMMM=July}&
+ \texttt{E} & \texttt{E = 1}\par \texttt{EE=01}\par\texttt{EEE=Mon}\par\texttt{EEEE=Monday}\\
+\end{tabular}\bigskip
+\item[] One example is \verb!formatstring={EEEE, DD. MMMM YYYY}!. The default
+formatting string is \verb!formatstring={MM/DD/YYYY}!.
+ \end{itemize}
+%\define@key{ddp}{formatstring}[MM/DD/YYYY]{\def\dpp@FormatStr{#1}}
+\item \textbf{Formatting the calendar.} The \textsf{dateChooser} control that
+ is used in the \EXT{SWF} file contains the name of the month at the top
+ and the names of the days of the week just below it. By default, the
+ usual English month names are used (January, February, \dots,December)
+ and the usual English days of the week names are used (Sunday, Monday,
+ \dots,Saturday). However, these can be changed through the use of
+ \texttt{monthnames} and \texttt{daynames} key.
+ \begin{itemize}
+ \item \texttt{daynames}: The names of the days that appear on the
+ popup calendar. The value of \texttt{daynames} is a
+ comma-delimited list of seven names for the days. The default
+ is \verb!daynames={S,M,T,W,T,F,S}!. These labels appear if the
+ \texttt{daynames} key is not used.
+ \item \texttt{monthnames}: The names of the months
+ that appear on the popup calendar. The value for
+ \texttt{monthnames} is a comma-delimited list of twelve names
+ of the months. The default is
+ \verb!monthnames={January,February,...,December}!. These
+ labels appear if the \texttt{monthnames} key is not used.
+ See the initial date picker example on page~\pageref*{s:intro} for an
+ example of these default values.
+ \item[] Other possible values for these, in the English language, are
+\begin{Verbatim}[xleftmargin=20pt]
+monthnames={Jan,Feb,Mar,Apr,May,June,July,Aug,Sept,Oct,%
+ Nov,Dec}.
+daynames={Su,M,Tu,W,Th,F,Sa}
+\end{Verbatim}
+There should be no spurious spaces in the values of any of these keys; in
+the listing above, I've wrapped the months around to a new line, and
+inserted a comment character (\texttt{\%}) to kill any space that may be
+generated.
+\item[] The order must be the first month of the year (January, or the
+ equivalent in another language) and the first day of the week (Sunday,
+ or its equivalent). Some calendars consider Monday as the first day of
+ the week, if this is so, \emph{still} place Sunday, or its local
+ equivalent, as the first entry in the list. A different starting day
+ is set using the \texttt{firstday} key.
+ Setting \texttt{firstday=1} puts Monday as the first day of the week
+ on the calendar.
+\item \texttt{firstday}: The value of the key \texttt{firstday} is an integer, 0\dots7.
+The default is~0.
+\end{itemize}
+\item[] Next is an example of some German names.
+\begin{Verbatim}[xleftmargin=\amtIndent]
+daynames={So,Mo,Di,Mi,Do,Fr,Sa},
+monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,Okt,%
+ Nov,Dez},
+firstday=1
+\end{Verbatim}
+On the German calendar, \emph{Montag} (\emph{Mo}) is the first day of the week.
+ \item \textbf{Formatting the Month and Day in the return value.} When the
+ date string is returned to the input text field it is formatted
+ according to the value of the key \texttt{formatstring}. The keys is
+ this section are useful only if your \texttt{formatstring} contains
+ any of the formatting combinations \texttt{MMM}, \texttt{MMMM},
+ \texttt{DDD}, or \texttt{DDDD}. These indicate you want the month or
+ day word-names returned, rather than a numerical value.
+
+ \item[] The four keys below take as a value of comma-delimited list of names.
+
+% These should be consistent with
+% the calendar headings as well. You don't want English days of the
+% week on a German calendar. The key
+ \begin{itemize}
+ \item\texttt{monthnamesLong}: The long name of the months and is used with
+ \texttt{MMMM} formatting pattern.
+ \item \texttt{monthnamesShort}: The short name of the months, used
+ when \texttt{MMM} is the formatting pattern.
+ \item \texttt{daynamesLong}: The long names for the days of the week,
+ used for formatting \texttt{DDDD}.
+ \item \texttt{daynamesShort}: The short names for the days of the
+ week and is used with \texttt{DDD}.
+ \end{itemize}
+ \item[] The defaults are the English counterparts: January/Jan, Sunday/Sun.
+ \item[] For the German language, we can set these values as follows:
+\begin{Verbatim}[xleftmargin=20pt]
+daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,%
+ Freitag,Samstag},
+daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
+monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,%
+ August,September,Oktober,November,Dezember},
+monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,Sep,%
+ Okt,Nov,Dez},
+\end{Verbatim}
+\item[] Again, always list January (\textsl{Januar}/\textsl{Jan}) and
+ Sunday (\textsl{Sonntag}/\textsl{So}) first.
+\item \textbf{Positioning the floating window}.
+ These keys determine the positioning of the floating windows when it
+ opens. The default is the center of the window (for versions > 9), for
+ version~9, this key is ignored and the window appears in the upper-right
+ of the application window. See the documentation of the \texttt{rmannot}
+ package for more detail.
+ \begin{itemize}
+ \item \texttt{halign}: The horizontal positioning of the floating
+ window, permissible values are \texttt{near}, \texttt{center}, and
+ \texttt{far}. The default is \texttt{center}.
+ \item \texttt{valign}: The vertical positioning of the floating
+ window, permissible values are \texttt{near}, \texttt{center}, and
+ \texttt{far}. The default is \texttt{center}.
+ \item \texttt{hoffset}: The amount of horizontal offset from the initial horizontal
+ alignment (\texttt{halign}). See the documentation of the
+ \texttt{rmannot} package for more detail. Measured in default user space
+ units (pixels). The default is~0.
+ \item \texttt{voffset}: The amount of vertical offset from the initial
+ vertical alignment (\texttt{valign}). See the documentation of the
+ \texttt{rmannot} package for more detail. Measured in default
+ user space units (pixels). The default is~0.
+ \end{itemize}
+\item \textbf{Setting the dimensions of the window.}
+\begin{itemize}
+ \item \texttt{widthOfWindow}: The width of the floating window as
+ measured in default user space units (pixels). The default
+ for this package is~180.
+ \item \texttt{heightOfWindow}: The height of the floating window as
+ measured in default user space units (pixels). The default
+ for this package is~180.
+\end{itemize}
+\end{itemize}
+Options can be bundled into a command and passed as the first argument, as this example
+of the German calendar illustrates.
+
+\newcommand{\germanDates}
+{%
+% formatstring=DD.MM.YYYY,
+ formatstring={EEEE, DD. MMMM YYYY},
+ daynames={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,%
+ Okt,Nov,Dez},
+ daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,%
+ Freitag,Samstag},
+ daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,%
+ August,September,Oktober,November,Dezember},
+ monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,%
+ Sep,Okt,Nov,Dez},
+ firstday=1,
+ widthOfWindow=200,heightOfWindow=200,
+}
+\begin{flushleft}%\previewtrue
+Wählen Sie ein Datum:\ \kern1bp\datepicker[\germanDates]{GERDate}{2in}{11bp}\quad
+(EEEE, DD. MMMM YYYY)
+\end{flushleft}
+
+The verbatim listing of this last field is given below.
+\begin{Verbatim}[xleftmargin=20pt,fontsize=\small]
+\newcommand{\germanDates}
+{%
+% formatstring=DD.MM.YYYY,
+ formatstring={EEEE, DD. MMMM YYYY},
+ daynames={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,%
+ Okt,Nov,Dez},
+ daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,%
+ Freitag,Samstag},
+ daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,%
+ August,September,Oktober,November,Dezember},
+ monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,%
+ Sep,Okt,Nov,Dez},
+ firstday=1,
+ widthOfWindow=200,heightOfWindow=200
+}
+\begin{flushleft}
+Wählen Sie ein Datum:\ \kern1bp
+\datepicker[\germanDates]{GERDate}{2in}{11bp}\quad(EEEE, DD. MMMM YYYY)
+\end{flushleft}
+\end{Verbatim}
+
+\subsection{Commands for the preamble or the body}\label{s:PB}
+
+\def\lp{(}\def\rp{)}
+
+There are a few other commands to mention, the declaration or definition take effect
+with the next date picker command \cs{datepicker}.
+\bVerb\takeMeasure{\string\renewcommand\darg{\string\pickersep}\darg{\meta{length}}}%
+\setlength\textscreenwidth{\bxSize-2\fboxsep}%
+\def\1{\rlap{\hspace*{\textscreenwidth}\quad\normalfont(\texttt{3pt}\normalfont)}}%
+\def\2{\rlap{\hspace*{\textscreenwidth}\quad\normalfont(\texttt{10pt}\normalfont)}}%
+\def\3{\rlap{\hspace*{\textscreenwidth}\quad\normalfont(\texttt{12pt}\normalfont)}}%
+\takeMeasure{\string\renewcommand\darg{\string\pickersep}\darg{\meta{length}}%
+\quad\normalfont({\texttt{12bp}\normalfont)}}%
+\begin{dCmd}[commandchars=!()]{\bxSize}
+\dppToolTip{!meta(text)}
+\pickerOpts{!meta(key-values)}
+\pickerInputOpts{!meta(key-values)}
+!1\renewcommand{\pickersep}{!meta(length)}
+!2\pickerIconWidth{!meta(length)}
+!3\pickerIconHeight{!meta(length)}
+\end{dCmd}
+\endgroup\noindent
+The \cs{dppToolTip}\DM{dppToolTip} command is used to create a tool tip, text the user sees when
+he/she rolls over the push button icon. The default is
+\begin{Verbatim}[xleftmargin=20pt,commandchars=!()]
+\dppToolTip{Date Picker\n Click to toggle open and close\n
+ Shift-click to clear and close}
+\end{Verbatim}
+When the user click on the icon, and the calendar is not open, the floating window opens.
+If the window is open and the user clicks on the icon, the window is closed. If the user
+shift-clicks and the window, the date field is cleared and the window is closed, if open.
+
+The \cs{pickerOpts}\DM{pickerOpts} command lets you
+pass additional options to the RMAs created by this package. The default
+is \cs{pickerOpts\darg{}}. See the documentation of the \pkg{rmannot}
+package for more details.
+
+The \cs{pickerInputOpts}\DM{pickerInputOpts} allows
+you to pass additional options to the input text field. The default is
+\cs{pickerInputOpts\darg{}}. See the documentation of the \pkg{eforms}
+package for details. We illustrate this last feature:
+\begin{quote}
+ \pickerInputOpts{\BC{red}\textColor{blue}\Q{1}}%
+ Pick a date: \kern1bp\datepicker{PickADate}{1in}{11bp}\\[3bp]
+ \phantom{Enter a date:} \kern1bp\verb!\datepicker{PickADate}{1in}{11bp}!
+\end{quote}
+\begin{Verbatim}[xleftmargin=20pt]
+\pickerInputOpts{\BC{red}\textColor{blue}\Q{1}}%
+Pick a date: \kern1bp\datepicker{PickADate}{1in}{11bp}
+\end{Verbatim}
+Here, we use a red boundary, blue text color, and center the date.
+
+Any changes to \cs{pickerOpts} and \cs{pickerInputOpts} are global unless expanded
+within a group. Of course, you can bring these options back to their defaults by expanding
+\cs{pickerOpts\darg{}} and \cs{pickerInputOpts\darg{}}.
+
+The command \cs{pickersep}\DM{pickersep} sets the amount spacing between the right edge of the input
+text field and the left edge of the picker push button. The default is \texttt{3bp}.
+
+Finally, the command declarations, \cs{pickerIconWidth}\DM{pickerIconWidth} and
+\cs{pickerIconHeight}\DM{pickerIconHeight}, determine the width and the height of the date
+picker icon. The defaults for are shown in parentheses above.
+
+
+\newtopic\noindent
+That's all for now, I simply must get back to my retirement. \dps
+
+\end{document}
diff --git a/texmf-dist/doc/latex/datepicker-pro/examples/datepicker_tst.tex b/texmf-dist/doc/latex/datepicker-pro/examples/datepicker_tst.tex
new file mode 100644
index 00000000..df4bf011
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/examples/datepicker_tst.tex
@@ -0,0 +1,96 @@
+\documentclass{article}
+\usepackage[%
+ web={extended,tight*,usesf},
+ eforms,graphicxsp={showembeds}
+]{aeb_pro}
+\usepackage{rmannot}
+\usepackage{datepicker-pro}
+
+\margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom
+\screensize{5in}{5.5in} % height,width dimensions
+
+\DeclareDocInfo
+{
+ title=The datepicker-pro Package,
+ author=D. P. Story,
+ university=Acro\negthinspace\TeX.Net,
+ email=dpstory@acrotex.net,
+ subject={Demo of the datepicker-pro package, SWF, rmannot, aeb\_pro, AcroTeX},
+ keywords={Adobe Acrobat;JavaScript;Adobe FLEX 3;ActionScript},
+ talksite=\url{http://www.acrotex.net},
+ talkdate={\today},
+ copyrightStatus=True,
+ copyrightNotice={Copyright (C) \the\year, D. P. Story},
+ copyrightInfoURL=http://www.acrotex.net
+}
+\talkdateLabel{Published:}
+
+\parindent=0pt\parskip6pt\pagestyle{empty}
+
+\useFLEXVer{3} % 3 or 4
+\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/%
+ tex/latex/aeb/aebpro/datepicker-pro/swf}
+\setpickerIcon{../icons/dp_icon1.pdf}{PickADate}
+\setpickerIcon{../icons/dp_icon2.pdf}{GERDate}
+
+\begin{document}
+
+\maketitle
+
+\begin{center}\color{blue}\bfseries\large
+A date picker built by FLEX and AeB Pro\\[1em]
+D. P. Story
+\end{center}
+\begin{flushleft}
+U.S.-style: Pick a date:\ \kern1bp\datepicker{PickADate}{1in}{11bp}\quad
+(MM/DD/YYYY)
+\end{flushleft}
+This is the default style: \verb!\datepicker{PickADate}{1in}{11bp}!
+
+\newcommand{\germanDates}
+{%
+% formatstring=DD.MM.YYYY,
+ formatstring={EEEE, DD. MMMM YYYY},
+ daynames={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,%
+ Okt,Nov,Dez},
+ daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,%
+ Freitag,Samstag},
+ daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,%
+ August,September,Oktober,November,Dezember},
+ monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,%
+ Sep,Okt,Nov,Dez},
+ firstday=1,
+ widthOfWindow=200,
+ heightOfWindow=200,
+% voffset=-100
+}
+
+% Di, 13. August 2013
+
+\begin{flushleft}
+German-style: Pick a date:\ \kern1bp\datepicker[\germanDates]{GERDate}{2in}{11bp}\quad
+%(EEEE, DD. MMMM YYYY)
+\end{flushleft}
+A custom style, the verbatim listing of this field is given below:
+\begingroup\small
+\begin{verbatim}
+\newcommand{\germanDates}
+{%
+ formatstring={EEEE, DD. MMMM YYYY},
+ daynames={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,Okt,Nov,Dez},
+ daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,
+ Freitag,Samstag},
+ daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
+ monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,
+ August,September,Oktober,November,Dezember},
+ monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,Sep,
+ Okt,Nov,Dez},
+ firstday=1,widthOfWindow=200,heightOfWindow=200
+}
+\datepicker[\germanDates]{GERDate}{2in}{11bp}
+\end{verbatim}
+\par\endgroup
+\end{document}
diff --git a/texmf-dist/doc/latex/datepicker-pro/icons/dp_icon1.pdf b/texmf-dist/doc/latex/datepicker-pro/icons/dp_icon1.pdf
new file mode 100644
index 00000000..e26eeadc
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/icons/dp_icon1.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/datepicker-pro/icons/dp_icon2.pdf b/texmf-dist/doc/latex/datepicker-pro/icons/dp_icon2.pdf
new file mode 100644
index 00000000..682b8b9a
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/icons/dp_icon2.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/datepicker-pro/joboptions/Standard_transparency.joboptions b/texmf-dist/doc/latex/datepicker-pro/joboptions/Standard_transparency.joboptions
new file mode 100644
index 00000000..b2d9d267
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/joboptions/Standard_transparency.joboptions
@@ -0,0 +1,232 @@
+<<
+ /ASCII85EncodePages false
+ /AllowTransparency true
+ /AutoPositionEPSFiles true
+ /AutoRotatePages /All
+ /Binding /Left
+ /CalGrayProfile (Gray Gamma 2.2)
+ /CalRGBProfile (sRGB IEC61966-2.1)
+ /CalCMYKProfile (U.S. Web Coated \050SWOP\051 v2)
+ /sRGBProfile (sRGB IEC61966-2.1)
+ /CannotEmbedFontPolicy /Warning
+ /CompatibilityLevel 1.4
+ /CompressObjects /Tags
+ /CompressPages true
+ /ConvertImagesToIndexed true
+ /PassThroughJPEGImages true
+ /CreateJobTicket false
+ /DefaultRenderingIntent /Default
+ /DetectBlends true
+ /DetectCurves 0.1000
+ /ColorConversionStrategy /sRGB
+ /DoThumbnails false
+ /EmbedAllFonts true
+ /EmbedOpenType false
+ /ParseICCProfilesInComments true
+ /EmbedJobOptions false
+ /DSCReportingLevel 0
+ /EmitDSCWarnings false
+ /EndPage -1
+ /ImageMemory 1048576
+ /LockDistillerParams false
+ /MaxSubsetPct 100
+ /Optimize true
+ /OPM 1
+ /ParseDSCComments true
+ /ParseDSCCommentsForDocInfo true
+ /PreserveCopyPage true
+ /PreserveDICMYKValues true
+ /PreserveEPSInfo false
+ /PreserveFlatness true
+ /PreserveHalftoneInfo false
+ /PreserveOPIComments false
+ /PreserveOverprintSettings true
+ /StartPage 1
+ /SubsetFonts true
+ /TransferFunctionInfo /Apply
+ /UCRandBGInfo /Remove
+ /UsePrologue false
+ /ColorSettingsFile ()
+ /AlwaysEmbed [ true
+ ]
+ /NeverEmbed [ true
+ /Arial-Black
+ /Arial-BlackItalic
+ /Arial-BoldItalicMT
+ /Arial-BoldMT
+ /Arial-ItalicMT
+ /ArialMT
+ /ArialNarrow
+ /ArialNarrow-Bold
+ /ArialNarrow-BoldItalic
+ /ArialNarrow-Italic
+ /ArialUnicodeMS
+ /CenturyGothic
+ /CenturyGothic-Bold
+ /CenturyGothic-BoldItalic
+ /CenturyGothic-Italic
+ /CourierNewPS-BoldItalicMT
+ /CourierNewPS-BoldMT
+ /CourierNewPS-ItalicMT
+ /CourierNewPSMT
+ /Georgia
+ /Georgia-Bold
+ /Georgia-BoldItalic
+ /Georgia-Italic
+ /Impact
+ /LucidaConsole
+ /Tahoma
+ /Tahoma-Bold
+ /TimesNewRomanMT-ExtraBold
+ /TimesNewRomanPS-BoldItalicMT
+ /TimesNewRomanPS-BoldMT
+ /TimesNewRomanPS-ItalicMT
+ /TimesNewRomanPSMT
+ /Trebuchet-BoldItalic
+ /TrebuchetMS
+ /TrebuchetMS-Bold
+ /TrebuchetMS-Italic
+ /Verdana
+ /Verdana-Bold
+ /Verdana-BoldItalic
+ /Verdana-Italic
+ ]
+ /AntiAliasColorImages false
+ /CropColorImages true
+ /ColorImageMinResolution 150
+ /ColorImageMinResolutionPolicy /OK
+ /DownsampleColorImages true
+ /ColorImageDownsampleType /Bicubic
+ /ColorImageResolution 150
+ /ColorImageDepth -1
+ /ColorImageMinDownsampleDepth 1
+ /ColorImageDownsampleThreshold 1.50000
+ /EncodeColorImages true
+ /ColorImageFilter /DCTEncode
+ /AutoFilterColorImages true
+ /ColorImageAutoFilterStrategy /JPEG
+ /ColorACSImageDict <<
+ /QFactor 0.76
+ /HSamples [2 1 1 2] /VSamples [2 1 1 2]
+ >>
+ /ColorImageDict <<
+ /QFactor 0.76
+ /HSamples [2 1 1 2] /VSamples [2 1 1 2]
+ >>
+ /JPEG2000ColorACSImageDict <<
+ /TileWidth 256
+ /TileHeight 256
+ /Quality 15
+ >>
+ /JPEG2000ColorImageDict <<
+ /TileWidth 256
+ /TileHeight 256
+ /Quality 15
+ >>
+ /AntiAliasGrayImages false
+ /CropGrayImages true
+ /GrayImageMinResolution 150
+ /GrayImageMinResolutionPolicy /OK
+ /DownsampleGrayImages true
+ /GrayImageDownsampleType /Bicubic
+ /GrayImageResolution 150
+ /GrayImageDepth -1
+ /GrayImageMinDownsampleDepth 2
+ /GrayImageDownsampleThreshold 1.50000
+ /EncodeGrayImages true
+ /GrayImageFilter /DCTEncode
+ /AutoFilterGrayImages true
+ /GrayImageAutoFilterStrategy /JPEG
+ /GrayACSImageDict <<
+ /QFactor 0.76
+ /HSamples [2 1 1 2] /VSamples [2 1 1 2]
+ >>
+ /GrayImageDict <<
+ /QFactor 0.76
+ /HSamples [2 1 1 2] /VSamples [2 1 1 2]
+ >>
+ /JPEG2000GrayACSImageDict <<
+ /TileWidth 256
+ /TileHeight 256
+ /Quality 15
+ >>
+ /JPEG2000GrayImageDict <<
+ /TileWidth 256
+ /TileHeight 256
+ /Quality 15
+ >>
+ /AntiAliasMonoImages false
+ /CropMonoImages true
+ /MonoImageMinResolution 1200
+ /MonoImageMinResolutionPolicy /OK
+ /DownsampleMonoImages true
+ /MonoImageDownsampleType /Bicubic
+ /MonoImageResolution 1200
+ /MonoImageDepth -1
+ /MonoImageDownsampleThreshold 1.50000
+ /EncodeMonoImages true
+ /MonoImageFilter /CCITTFaxEncode
+ /MonoImageDict <<
+ /K -1
+ >>
+ /AllowPSXObjects true
+ /CheckCompliance [
+ /None
+ ]
+ /PDFX1aCheck false
+ /PDFX3Check false
+ /PDFXCompliantPDFOnly false
+ /PDFXNoTrimBoxError true
+ /PDFXTrimBoxToMediaBoxOffset [
+ 0.00000
+ 0.00000
+ 0.00000
+ 0.00000
+ ]
+ /PDFXSetBleedBoxToMediaBox true
+ /PDFXBleedBoxToTrimBoxOffset [
+ 0.00000
+ 0.00000
+ 0.00000
+ 0.00000
+ ]
+ /PDFXOutputIntentProfile (None)
+ /PDFXOutputConditionIdentifier ()
+ /PDFXOutputCondition ()
+ /PDFXRegistryName ()
+ /PDFXTrapped /False
+
+ /CreateJDFFile false
+ /Description <<
+ /ARA <FEFF06270633062A062E062F0645002006470630064700200627064406250639062F0627062F0627062A002006440625064606340627062100200648062B062706260642002000410064006F00620065002000500044004600200645062A064806270641064206290020064506390020064506420627064A064A0633002006390631063600200648063706280627063906290020062706440648062B0627062606420020062706440645062A062F062706480644062900200641064A00200645062C062706440627062A002006270644062306390645062706440020062706440645062E062A064406410629061B0020064A06450643064600200641062A062D00200648062B0627062606420020005000440046002006270644064506460634062306290020062806270633062A062E062F062706450020004100630072006F0062006100740020064800410064006F006200650020005200650061006400650072002006250635062F0627063100200035002E0030002006480627064406250635062F062706310627062A0020062706440623062D062F062B002E>
+ /CHS <FEFF4f7f75288fd94e9b8bbe5b9a521b5efa7684002000410064006f006200650020005000440046002065876863900275284e8e55464e1a65876863768467e5770b548c62535370300260a853ef4ee54f7f75280020004100630072006f0062006100740020548c002000410064006f00620065002000520065006100640065007200200035002e003000204ee553ca66f49ad87248672c676562535f00521b5efa768400200050004400460020658768633002>
+ /CHT <FEFF4f7f752890194e9b8a2d7f6e5efa7acb7684002000410064006f006200650020005000440046002065874ef69069752865bc666e901a554652d965874ef6768467e5770b548c52175370300260a853ef4ee54f7f75280020004100630072006f0062006100740020548c002000410064006f00620065002000520065006100640065007200200035002e003000204ee553ca66f49ad87248672c4f86958b555f5df25efa7acb76840020005000440046002065874ef63002>
+ /CZE <FEFF005400610074006f0020006e006100730074006100760065006e00ed00200070006f0075017e0069006a007400650020006b0020007600790074007600e101590065006e00ed00200064006f006b0075006d0065006e0074016f002000410064006f006200650020005000440046002000760068006f0064006e00fd00630068002000700072006f002000730070006f006c00650068006c0069007600e90020007a006f006200720061007a006f007600e1006e00ed002000610020007400690073006b0020006f006200630068006f0064006e00ed0063006800200064006f006b0075006d0065006e0074016f002e002000200056007900740076006f01590065006e00e900200064006f006b0075006d0065006e007400790020005000440046002000620075006400650020006d006f017e006e00e90020006f007400650076015900ed007400200076002000700072006f006700720061006d0065006300680020004100630072006f00620061007400200061002000410064006f00620065002000520065006100640065007200200035002e0030002000610020006e006f0076011b006a016100ed00630068002e>
+ /DAN <FEFF004200720075006700200069006e0064007300740069006c006c0069006e006700650072006e0065002000740069006c0020006100740020006f007000720065007400740065002000410064006f006200650020005000440046002d0064006f006b0075006d0065006e007400650072002c0020006400650072002000650067006e006500720020007300690067002000740069006c00200064006500740061006c006a006500720065007400200073006b00e60072006d007600690073006e0069006e00670020006f00670020007500640073006b007200690076006e0069006e006700200061006600200066006f0072007200650074006e0069006e006700730064006f006b0075006d0065006e007400650072002e0020004400650020006f007000720065007400740065006400650020005000440046002d0064006f006b0075006d0065006e0074006500720020006b0061006e002000e50062006e00650073002000690020004100630072006f00620061007400200065006c006c006500720020004100630072006f006200610074002000520065006100640065007200200035002e00300020006f00670020006e0079006500720065002e>
+ /DEU <FEFF00560065007200770065006e00640065006e0020005300690065002000640069006500730065002000450069006e007300740065006c006c0075006e00670065006e0020007a0075006d002000450072007300740065006c006c0065006e00200076006f006e002000410064006f006200650020005000440046002d0044006f006b0075006d0065006e00740065006e002c00200075006d002000650069006e00650020007a0075007600650072006c00e40073007300690067006500200041006e007a006500690067006500200075006e00640020004100750073006700610062006500200076006f006e00200047006500730063006800e40066007400730064006f006b0075006d0065006e00740065006e0020007a0075002000650072007a00690065006c0065006e002e00200044006900650020005000440046002d0044006f006b0075006d0065006e007400650020006b00f6006e006e0065006e0020006d006900740020004100630072006f00620061007400200075006e0064002000520065006100640065007200200035002e003000200075006e00640020006800f600680065007200200067006500f600660066006e00650074002000770065007200640065006e002e>
+ /ESP <FEFF005500740069006c0069006300650020006500730074006100200063006f006e0066006900670075007200610063006900f3006e0020007000610072006100200063007200650061007200200064006f00630075006d0065006e0074006f0073002000640065002000410064006f00620065002000500044004600200061006400650063007500610064006f007300200070006100720061002000760069007300750061006c0069007a00610063006900f3006e0020006500200069006d0070007200650073006900f3006e00200064006500200063006f006e006600690061006e007a006100200064006500200064006f00630075006d0065006e0074006f007300200063006f006d00650072006300690061006c00650073002e002000530065002000700075006500640065006e00200061006200720069007200200064006f00630075006d0065006e0074006f00730020005000440046002000630072006500610064006f007300200063006f006e0020004100630072006f006200610074002c002000410064006f00620065002000520065006100640065007200200035002e003000200079002000760065007200730069006f006e0065007300200070006f00730074006500720069006f007200650073002e>
+ /FRA <FEFF005500740069006c006900730065007a00200063006500730020006f007000740069006f006e00730020006100660069006e00200064006500200063007200e900650072002000640065007300200064006f00630075006d0065006e00740073002000410064006f006200650020005000440046002000700072006f00660065007300730069006f006e006e0065006c007300200066006900610062006c0065007300200070006f007500720020006c0061002000760069007300750061006c00690073006100740069006f006e0020006500740020006c00270069006d007000720065007300730069006f006e002e0020004c0065007300200064006f00630075006d0065006e00740073002000500044004600200063007200e900e90073002000700065007500760065006e0074002000ea0074007200650020006f007500760065007200740073002000640061006e00730020004100630072006f006200610074002c002000610069006e00730069002000710075002700410064006f00620065002000520065006100640065007200200035002e0030002000650074002000760065007200730069006f006e007300200075006c007400e90072006900650075007200650073002e>
+ /GRE <FEFF03a703c103b703c303b903bc03bf03c003bf03b903ae03c303c403b5002003b103c503c403ad03c2002003c403b903c2002003c103c503b803bc03af03c303b503b903c2002003b303b903b1002003bd03b1002003b403b703bc03b903bf03c503c103b303ae03c303b503c403b5002003ad03b303b303c103b103c603b1002000410064006f006200650020005000440046002003ba03b103c403ac03bb03bb03b703bb03b1002003b303b903b1002003b103be03b903cc03c003b903c303c403b7002003c003c103bf03b203bf03bb03ae002003ba03b103b9002003b503ba03c403cd03c003c903c303b7002003b503c003b903c703b503b903c103b703bc03b103c403b903ba03ce03bd002003b503b303b303c103ac03c603c903bd002e0020002003a403b10020005000440046002003ad03b303b303c103b103c603b1002003c003bf03c5002003ad03c703b503c403b5002003b403b703bc03b903bf03c503c103b303ae03c303b503b9002003bc03c003bf03c103bf03cd03bd002003bd03b1002003b103bd03bf03b903c703c403bf03cd03bd002003bc03b5002003c403bf0020004100630072006f006200610074002c002003c403bf002000410064006f00620065002000520065006100640065007200200035002e0030002003ba03b103b9002003bc03b503c403b103b303b503bd03ad03c303c403b503c103b503c2002003b503ba03b403cc03c303b503b903c2002e>
+ /HEB <FEFF05D405E905EA05DE05E905D5002005D105D405D205D305E805D505EA002005D005DC05D4002005DB05D305D9002005DC05D905E605D505E8002005DE05E105DE05DB05D9002000410064006F006200650020005000440046002005E205D105D505E8002005D405E605D205D4002005D505D405D305E405E105D4002005D005DE05D905E005D4002005E905DC002005DE05E105DE05DB05D905DD002005E205E105E705D905D905DD002E002005DE05E105DE05DB05D90020005000440046002005E905E005D505E605E805D5002005E005D905EA05E005D905DD002005DC05E405EA05D905D705D4002005D105D005DE05E605E205D505EA0020004100630072006F006200610074002005D5002D00410064006F00620065002000520065006100640065007200200035002E0030002005D505D205E805E105D005D505EA002005DE05EA05E705D305DE05D505EA002005D905D505EA05E8002E05D905D505EA05E8002E002D0033002C002005E205D905D905E005D5002005D105DE05D305E805D905DA002005DC05DE05E905EA05DE05E9002005E905DC0020004100630072006F006200610074002E002005DE05E105DE05DB05D90020005000440046002005E905E005D505E605E805D5002005E005D905EA05E005D905DD002005DC05E405EA05D905D705D4002005D105D005DE05E605E205D505EA0020004100630072006F006200610074002005D5002D00410064006F00620065002000520065006100640065007200200035002E0030002005D505D205E805E105D005D505EA002005DE05EA05E705D305DE05D505EA002005D905D505EA05E8002E>
+ /HRV (Za stvaranje Adobe PDF dokumenata pogodnih za pouzdani prikaz i ispis poslovnih dokumenata koristite ove postavke. Stvoreni PDF dokumenti mogu se otvoriti Acrobat i Adobe Reader 5.0 i kasnijim verzijama.)
+ /HUN <FEFF00410020006800690076006100740061006c006f007300200064006f006b0075006d0065006e00740075006d006f006b0020006d00650067006200ed007a00680061007400f30020006d0065006700740065006b0069006e007400e9007300e900720065002000e900730020006e0079006f006d00740061007400e1007300e10072006100200073007a00e1006e0074002000410064006f00620065002000500044004600200064006f006b0075006d0065006e00740075006d006f006b0061007400200065007a0065006b006b0065006c0020006100200062006500e1006c006c00ed007400e10073006f006b006b0061006c00200068006f007a006800610074006a00610020006c00e9007400720065002e0020002000410020006c00e90074007200650068006f007a006f00740074002000500044004600200064006f006b0075006d0065006e00740075006d006f006b00200061007a0020004100630072006f006200610074002000e9007300200061007a002000410064006f00620065002000520065006100640065007200200035002e0030002c0020007600610067007900200061007a002000610074007400f3006c0020006b00e9007301510062006200690020007600650072007a006900f3006b006b0061006c0020006e00790069007400680061007400f3006b0020006d00650067002e>
+ /ITA (Utilizzare queste impostazioni per creare documenti Adobe PDF adatti per visualizzare e stampare documenti aziendali in modo affidabile. I documenti PDF creati possono essere aperti con Acrobat e Adobe Reader 5.0 e versioni successive.)
+ /JPN <FEFF30d330b830cd30b9658766f8306e8868793a304a3088307353705237306b90693057305f002000410064006f0062006500200050004400460020658766f8306e4f5c6210306b4f7f75283057307e305930023053306e8a2d5b9a30674f5c62103055308c305f0020005000440046002030d530a130a430eb306f3001004100630072006f0062006100740020304a30883073002000410064006f00620065002000520065006100640065007200200035002e003000204ee5964d3067958b304f30533068304c3067304d307e305930023053306e8a2d5b9a3067306f30d530a930f330c8306e57cb30818fbc307f3092884c3044307e30593002>
+ /KOR <FEFFc7740020c124c815c7440020c0acc6a9d558c5ec0020be44c988b2c8c2a40020bb38c11cb97c0020c548c815c801c73cb85c0020bcf4ace00020c778c1c4d558b2940020b3700020ac00c7a50020c801d569d55c002000410064006f0062006500200050004400460020bb38c11cb97c0020c791c131d569b2c8b2e4002e0020c774b807ac8c0020c791c131b41c00200050004400460020bb38c11cb2940020004100630072006f0062006100740020bc0f002000410064006f00620065002000520065006100640065007200200035002e00300020c774c0c1c5d0c11c0020c5f40020c2180020c788c2b5b2c8b2e4002e>
+ /NLD (Gebruik deze instellingen om Adobe PDF-documenten te maken waarmee zakelijke documenten betrouwbaar kunnen worden weergegeven en afgedrukt. De gemaakte PDF-documenten kunnen worden geopend met Acrobat en Adobe Reader 5.0 en hoger.)
+ /NOR <FEFF004200720075006b00200064006900730073006500200069006e006e007300740069006c006c0069006e00670065006e0065002000740069006c002000e50020006f0070007000720065007400740065002000410064006f006200650020005000440046002d0064006f006b0075006d0065006e00740065007200200073006f006d002000650072002000650067006e0065007400200066006f00720020007000e5006c006900740065006c006900670020007600690073006e0069006e00670020006f00670020007500740073006b007200690066007400200061007600200066006f0072007200650074006e0069006e006700730064006f006b0075006d0065006e007400650072002e0020005000440046002d0064006f006b0075006d0065006e00740065006e00650020006b0061006e002000e50070006e00650073002000690020004100630072006f00620061007400200065006c006c00650072002000410064006f00620065002000520065006100640065007200200035002e003000200065006c006c00650072002e>
+ /POL <FEFF0055007300740061007700690065006e0069006100200064006f002000740077006f0072007a0065006e0069006100200064006f006b0075006d0065006e007400f300770020005000440046002000700072007a0065007a006e00610063007a006f006e00790063006800200064006f0020006e00690065007a00610077006f0064006e00650067006f002000770079015b0077006900650074006c0061006e00690061002000690020006400720075006b006f00770061006e0069006100200064006f006b0075006d0065006e007400f300770020006600690072006d006f0077007900630068002e002000200044006f006b0075006d0065006e0074007900200050004400460020006d006f017c006e00610020006f007400770069006500720061010700200077002000700072006f006700720061006d006900650020004100630072006f00620061007400200069002000410064006f00620065002000520065006100640065007200200035002e0030002000690020006e006f00770073007a0079006d002e>
+ /PTB <FEFF005500740069006c0069007a006500200065007300730061007300200063006f006e00660069006700750072006100e700f50065007300200064006500200066006f0072006d00610020006100200063007200690061007200200064006f00630075006d0065006e0074006f0073002000410064006f00620065002000500044004600200061006400650071007500610064006f00730020007000610072006100200061002000760069007300750061006c0069007a006100e700e3006f002000650020006100200069006d0070007200650073007300e3006f00200063006f006e0066006900e1007600650069007300200064006500200064006f00630075006d0065006e0074006f007300200063006f006d0065007200630069006100690073002e0020004f007300200064006f00630075006d0065006e0074006f00730020005000440046002000630072006900610064006f007300200070006f00640065006d0020007300650072002000610062006500720074006f007300200063006f006d0020006f0020004100630072006f006200610074002000650020006f002000410064006f00620065002000520065006100640065007200200035002e0030002000650020007600650072007300f50065007300200070006f00730074006500720069006f007200650073002e>
+ /RUM <FEFF005500740069006c0069007a00610163006900200061006300650073007400650020007300650074010300720069002000700065006e007400720075002000610020006300720065006100200064006f00630075006d0065006e00740065002000410064006f006200650020005000440046002000610064006500630076006100740065002000700065006e007400720075002000760069007a00750061006c0069007a00610072006500610020015f006900200074006900700103007200690072006500610020006c0061002000630061006c006900740061007400650020007300750070006500720069006f0061007201030020006100200064006f00630075006d0065006e00740065006c006f007200200064006500200061006600610063006500720069002e002000200044006f00630075006d0065006e00740065006c00650020005000440046002000630072006500610074006500200070006f00740020006600690020006400650073006300680069007300650020006300750020004100630072006f006200610074002c002000410064006f00620065002000520065006100640065007200200035002e00300020015f00690020007600650072007300690075006e0069006c006500200075006c0074006500720069006f006100720065002e>
+ /RUS <FEFF04180441043f043e043b044c04370443043904420435002004340430043d043d044b04350020043d0430044104420440043e0439043a043800200434043b044f00200441043e043704340430043d0438044f00200434043e043a0443043c0435043d0442043e0432002000410064006f006200650020005000440046002c0020043f043e04340445043e0434044f04490438044500200434043b044f0020043d0430043404350436043d043e0433043e0020043f0440043e0441043c043e044204400430002004380020043f04350447043004420438002004340435043b043e0432044b044500200434043e043a0443043c0435043d0442043e0432002e002000200421043e043704340430043d043d044b04350020005000440046002d0434043e043a0443043c0435043d0442044b0020043c043e0436043d043e0020043e0442043a0440044b043204300442044c002004410020043f043e043c043e0449044c044e0020004100630072006f00620061007400200438002000410064006f00620065002000520065006100640065007200200035002e00300020043800200431043e043b043504350020043f043e04370434043d043804450020043204350440044104380439002e>
+ /SLV <FEFF005400650020006e006100730074006100760069007400760065002000750070006f0072006100620069007400650020007a00610020007500730074007600610072006a0061006e006a006500200064006f006b0075006d0065006e0074006f0076002000410064006f006200650020005000440046002c0020007000720069006d00650072006e006900680020007a00610020007a0061006e00650073006c006a00690076006f0020006f0067006c00650064006f00760061006e006a006500200069006e0020007400690073006b0061006e006a006500200070006f0073006c006f0076006e0069006800200064006f006b0075006d0065006e0074006f0076002e00200020005500730074007600610072006a0065006e006500200064006f006b0075006d0065006e0074006500200050004400460020006a00650020006d006f0067006f010d00650020006f0064007000720065007400690020007a0020004100630072006f00620061007400200069006e002000410064006f00620065002000520065006100640065007200200035002e003000200069006e0020006e006f00760065006a01610069006d002e>
+ /SUO <FEFF004b00e40079007400e40020006e00e40069007400e4002000610073006500740075006b007300690061002c0020006b0075006e0020006c0075006f0074002000410064006f0062006500200050004400460020002d0064006f006b0075006d0065006e007400740065006a0061002c0020006a006f0074006b006100200073006f0070006900760061007400200079007200690074007900730061007300690061006b00690072006a006f006a0065006e0020006c0075006f00740065007400740061007600610061006e0020006e00e400790074007400e4006d0069007300650065006e0020006a0061002000740075006c006f007300740061006d0069007300650065006e002e0020004c0075006f0064007500740020005000440046002d0064006f006b0075006d0065006e00740069007400200076006f0069006400610061006e0020006100760061007400610020004100630072006f0062006100740069006c006c00610020006a0061002000410064006f00620065002000520065006100640065007200200035002e0030003a006c006c00610020006a006100200075007500640065006d006d0069006c006c0061002e>
+ /SVE <FEFF0041006e007600e4006e00640020006400650020006800e4007200200069006e0073007400e4006c006c006e0069006e006700610072006e00610020006f006d002000640075002000760069006c006c00200073006b006100700061002000410064006f006200650020005000440046002d0064006f006b0075006d0065006e007400200073006f006d00200070006100730073006100720020006600f60072002000740069006c006c006600f60072006c00690074006c006900670020007600690073006e0069006e00670020006f006300680020007500740073006b007200690066007400650072002000610076002000610066006600e4007200730064006f006b0075006d0065006e0074002e002000200053006b006100700061006400650020005000440046002d0064006f006b0075006d0065006e00740020006b0061006e002000f600700070006e00610073002000690020004100630072006f0062006100740020006f00630068002000410064006f00620065002000520065006100640065007200200035002e00300020006f00630068002000730065006e006100720065002e>
+ /TUR <FEFF005400690063006100720069002000620065006c00670065006c006500720069006e0020006700fc00760065006e0069006c0069007200200062006900720020015f0065006b0069006c006400650020006700f6007200fc006e007400fc006c0065006e006d006500730069002000760065002000790061007a0064013100720131006c006d006100730131006e006100200075007900670075006e002000410064006f006200650020005000440046002000620065006c00670065006c0065007200690020006f006c0075015f007400750072006d0061006b0020006900e70069006e00200062007500200061007900610072006c0061007201310020006b0075006c006c0061006e0131006e002e00200020004f006c0075015f0074007500720075006c0061006e0020005000440046002000620065006c00670065006c0065007200690020004100630072006f006200610074002000760065002000410064006f00620065002000520065006100640065007200200035002e003000200076006500200073006f006e0072006100730131006e00640061006b00690020007300fc007200fc006d006c00650072006c00650020006100e70131006c006100620069006c00690072002e>
+ /ENU (Use these settings to create Adobe PDF documents suitable for reliable viewing and printing of business documents. Created PDF documents can be opened with Acrobat and Adobe Reader 5.0 and later.)
+ >>
+>> setdistillerparams
+<<
+ /HWResolution [600 600]
+ /PageSize [612.000 792.000]
+>> setpagedevice
diff --git a/texmf-dist/doc/latex/datepicker-pro/swf/datepicker3.swf b/texmf-dist/doc/latex/datepicker-pro/swf/datepicker3.swf
new file mode 100644
index 00000000..9a29f273
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/swf/datepicker3.swf
Binary files differ
diff --git a/texmf-dist/doc/latex/datepicker-pro/swf/datepicker4.swf b/texmf-dist/doc/latex/datepicker-pro/swf/datepicker4.swf
new file mode 100644
index 00000000..e3363da5
--- /dev/null
+++ b/texmf-dist/doc/latex/datepicker-pro/swf/datepicker4.swf
Binary files differ
diff --git a/texmf-dist/source/latex/datepicker-pro/datepicker-pro.dtx b/texmf-dist/source/latex/datepicker-pro/datepicker-pro.dtx
new file mode 100644
index 00000000..ab133139
--- /dev/null
+++ b/texmf-dist/source/latex/datepicker-pro/datepicker-pro.dtx
@@ -0,0 +1,424 @@
+%\iffalse
+% makeindex -s gglo.ist -o datepicker-pro.gls datepicker-pro.glo
+% makeindex -s gind.ist -o datepicker-pro.ind datepicker-pro.idx
+%<*copyright>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% datepicker-pro.sty package, 2016-05-06 %%
+%% Copyright (C) 2013-16 D. P. Story %%
+%% dpstory@acrotex.net %%
+%% %%
+%% This program can redistributed and/or modified under %%
+%% the terms of the LaTeX Project Public License %%
+%% Distributed from CTAN archives in directory %%
+%% macros/latex/base/lppl.txt; either version 1 of the %%
+%% License, or (at your option) any later version. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%</copyright>
+%<package>\NeedsTeXFormat{LaTeX2e}
+%<package>\ProvidesPackage{datepicker-pro}
+%<package> [2016/05/06 v1.0 Date picker using FLEX]
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage[colorlinks,hyperindex=false]{hyperref}
+\OnlyDescription % comment out for implementation details
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\InputIfFileExists{aebdocfmt.def}{\PackageInfo{datepicker-pro}{Inputting aebdocfmt.def}}
+ {\def\IndexOpt{\DescribeMacro}\def\IndexKey{\DescribeMacro}\let\setupFullwidth\relax
+ \PackageInfo{datepicker-pro}{aebdocfmt.def cannot be found}}
+\begin{document}
+ \GetFileInfo{datepicker-pro.sty}
+ \title{\textsf{datepicker-pro}: A Date picker using FLEX}
+ \author{D. P. Story\\
+ Email: \texttt{dpstory@acrotex.net}}
+ \date{processed \today}
+ \maketitle
+ \tableofcontents
+ \DocInput{\jobname.dtx}
+\IfFileExists{\jobname.ind}{\newpage\setupFullwidth\par\PrintIndex}{\paragraph*{Index} The index goes here.\\Execute
+ \texttt{makeindex -s gind.ist -o aeb\_pro.ind aeb\_pro.idx} on the command line and recompile
+ \texttt{aeb\_pro.dtx}.}
+\IfFileExists{\jobname.gls}{\PrintChanges}{\paragraph*{Change History} The list of changes goes here.\\Execute
+ \texttt{makeindex -s gglo.ist -o aeb\_pro.gls aeb\_pro.glo} on the command line and recompile
+ \texttt{aeb\_pro.dtx}.}
+\end{document}
+%</driver>
+% \fi
+%
+% \MakeShortVerb{|}
+% \InputIfFileExists{aebdonotindex.def}{\PackageInfo{datepicker-pro}{Inputting aebdonotindex.def}}
+% {\PackageInfo{datepicker-pro}{cannot find aebdonotindex.def}}
+%
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+%
+% \section{Introduction}
+% This package creates a date picker for a PDF document using a \emph{rich media
+% annotation} (RMA). Development of this package occurred in July, 2013.
+%
+% When you have a text field that requires a date, the
+% user clicks on the date picker icon to the right of the field and a
+% floating window opens to display a standard calendar. The user may scroll
+% through the dates and and choose a date by clicking one of the dates in the calendar.
+% The floating window closes, and the formatted date appears in the input field.
+%
+% The document author has some control over the positioning of the window; the window can open a various
+% location in the application window: upper left, lower right, etc.
+% There are numerous other options for
+% customizing the calendar and formatting the return string.
+%
+% This is a ``pro'' package\marginpar{\raggedleft\textsf{Acrobat} and\strut}\marginpar{\raggedleft\textsf{Distiller} required} for AeB, which mean the PDF creator is \textsf{Adobe Distiller}.
+% The document author needs to use the usual combination of \textsf{Acrobat} and \textsf{Distiller}.
+%
+% \section{Options and Required Packages}
+% The required packages are \textsf{aeb\_pro}, \textsf{eforms}, and \textsf{rmannot}.
+% The \textsf{aeb\_pro} is used only to import icon appearance of the date picker
+% push button. Obviously, \textsf{eforms} is for text fields and push buttons; and
+% \textsf{rmannot} for importing the date picker SWF file into the document.
+% \begin{macrocode}
+\RequirePackage{aeb_pro}[2013/08/05]
+\RequirePackage{eforms}[2013/06/05]
+\RequirePackage{rmannot}[2011/09/11]
+% \end{macrocode}
+%
+% \section{The Main Code}
+%
+% \DescribeMacro{\useFLEXVer} determines the version of the FLEX SWF file to be
+% used, supported are version~3 (|\useFLEXVer{3}|) and version~4 (|\useFLEXVer{4}|).
+% As of this reading the version~4, the SWF file is very slow in loading, so version~3 is strongly
+% recommended.
+% \begin{macrocode}
+\newcommand{\useFLEXVer}[1]{\def\argi{#1}\ifnum\argi=3\relax
+ \def\flexVer{3}\else\ifnum\argi=4\relax\def\flexVer{4}\else
+ \def\flexVer{3}\PackageInfo{datepicker-pro}{FLEX version number not
+ supported,\space\MessageBreak using FLEX 3}\fi\fi}
+\def\flexVer{3}
+\@onlypreamble\useFLEXVer
+% \end{macrocode}
+% \DescribeMacro{\dppToolTip} is used for setting the tool tip of the
+% icon push button.
+% \begin{macrocode}
+\newcommand{\dppToolTip}[1]{\def\dpp@ToolTip{#1}}
+\dppToolTip{Date Picker\n Click to toggle open and close\n
+ Shift-click to clear and close}
+\newcommand{\pickerOpts}[1]{\def\dpp@pickerOpts{#1}}
+ \pickerOpts{}
+\newcommand{\pickerInputOpts}[1]{\def\dpp@pickerInputOpts{#1}}
+ \pickerInputOpts{}
+\newcommand{\pickersep}{3bp}
+% \end{macrocode}
+% Options passed through the first optional argument of \cs{datepicker}.
+% \paragraph*{Format date string.} The
+% \IndexKey{formatstring}\texttt{formatstring} uses various
+% combinations of \texttt{M}, \texttt{D}, \texttt{Y}, and possible
+% \texttt{E} as well as spaces and delimiters to format the date string.
+% The following table was extracted from the page:
+%\begin{quote}\small
+% \nolinkurl{http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/formatters/DateFormatter.html}
+% (found \href{http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/formatters/DateFormatter.html}{here})
+%\end{quote}
+%\begin{tabular}{cp{2in}cp{2in}}
+% \textbf{Pattern} & \textbf{Examples} &\textbf{Pattern} & \textbf{Examples}\\
+% \texttt{Y} & \texttt{YY = 05}\par \texttt{YYY=2005}\par\texttt{YYY=02005}&
+% \texttt{D} &\texttt{D = 4}\par \texttt{DD=04}\\
+% \texttt{M} & \texttt{M = 7}\par \texttt{MM=07}\par\texttt{MMM=Jul}\par\texttt{MMMM=July}&
+% \texttt{E} & \texttt{E = 1}\par \texttt{EE=01}\par\texttt{EEE=Mon}\par\texttt{EEEE=Monday}\\
+%\end{tabular}\par\medskip\noindent
+% One example is \verb!formatstring={EEEE, DD. MMMM YYYY}!.
+% \begin{macrocode}
+\define@key{ddp}{formatstring}[MM/DD/YYYY]{\def\dpp@FormatStr{#1}}
+% \end{macrocode}
+% \paragraph*{Formatting the calendar.} The \texttt{dateChooser} control
+% that is used in the SWF file contains the name of the month
+% at the top and the names of the days of the week just below it. By
+% default, the usual English month names are used (January,
+% February, \dots,December) and the usual English days of the week names are
+% used (Sunday, Monday, \dots,Saturday). However, these can be changed through
+% the use of \IndexKey{monthnames}\texttt{monthnames} and
+% \IndexKey{daynames}\texttt{daynames}. For example,
+%\begin{verbatim}
+% monthnames={Jan,Feb,Mar,Apr,May,June,July,Aug,Sept,Oct,Nov,Dec}.
+% daynames={Su,M,Tu,W,Th,F,Sa}
+%\end{verbatim}
+% The order must be the first month of the year (January, or the equivalent
+% in another language) and the first day of the week (Sunday, or its
+% equivalent). Some calendars consider Monday as the first day of the week,
+% if this is so, \emph{still} place Sunday, or its local equivalent, as the
+% first entry in the list. A different starting day is set using the
+% \IndexKey{firstday}\texttt{firstday} key. Setting
+% \texttt{firstday=1} puts Monday as the first day of the week on the
+% calendar. The values of the keys \texttt{monthnames} and \texttt{daynames} are
+% comma-delimited list of month or day names, for example,
+%\begin{verbatim}
+% daynames={So,Mo,Di,Mi,Do,Fr,Sa},
+% monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,Okt,Nov,Dez},
+%\end{verbatim}
+% The value of the key \texttt{firstday} is an integer, 0\dots7.
+% \begin{macrocode}
+\define@key{ddp}{daynames}[]{\def\ddp@DayNames{#1}}
+\define@key{ddp}{monthnames}[]{\def\ddp@MonthNames{#1}}
+\def\warningMsgFirstDay{%
+ The value of firstday must be a\MessageBreak
+ nonnegative integer less than 6.\MessageBreak
+ Setting firstday=0%
+}
+\define@key{ddp}{firstday}[0]{%
+ \@tempcnta=#1
+ \def\ddp@FirstDayOfWeek{#1}%
+ \ifnum\@tempcnta<0\relax\PackageWarning{datepicker-pro}
+ {\warningMsgFirstDay}{}\def\ddp@FirstDayOfWeek{0}\else
+ \ifnum\@tempcnta>6\relax\PackageWarning{datepicker-pro}
+ {\warningMsgFirstDay}{}\def\ddp@FirstDayOfWeek{0}\fi\fi
+}
+% \end{macrocode}
+% \paragraph*{Formatting the Month and Day in the return value.}
+% These keys are not needed unless in your \texttt{formatstring} you use \texttt{MMM},
+% \texttt{MMMM}, \texttt{DDD}, or \texttt{DDDD}. These should be consistent with the
+% calendar headings as well. You don't want English days of the week on a German calendar.
+% The key \IndexKey{monthnamesLong}\texttt{monthnamesLong} is used with \texttt{MMMM} and
+% \IndexKey{monthnamesShort}\texttt{monthnamesShort} with \texttt{MMM}. Similarly,
+% \IndexKey{daynamesLong}\texttt{daynamesLong} is used for formatting \texttt{DDDD}
+% and \IndexKey{daynamesShort}\texttt{daynamesShort} is used with \texttt{DDD}.
+% The values of each of these keys is a comma-delimited list of month or day names, for example
+%\begin{verbatim}
+% daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,%
+% Freitag,Samstag},
+% daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},%
+% monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,%
+% August,September,Oktober,November,Dezember},
+% monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,Sep,%
+% Okt,Nov,Dez},
+%\end{verbatim}
+% \begin{macrocode}
+\define@key{ddp}{monthnamesLong}[]{\def\ddp@monthnamesLong{#1}}
+\define@key{ddp}{monthnamesShort}[]{\def\ddp@monthnamesShort{#1}}
+\define@key{ddp}{daynamesLong}[]{\def\ddp@daynamesLong{#1}}
+\define@key{ddp}{daynamesShort}[]{\def\ddp@daynamesShort{#1}}
+% \end{macrocode}
+% The keys \IndexKey{halign}\texttt{halign}, \IndexKey{valign}\texttt{valign}, \IndexKey{hoffset}\texttt{hoffset},
+% and \IndexKey{voffset}\texttt{voffset} determine the positioning of the floating windows when it opens. The default is
+% the center of the window (for versions \texttt> 9), for version 9, this key is ignored and the window
+% appears in the upper-right of the application window. See the documentation of the \texttt{rmannot}
+% package for more detail.
+% \begin{macrocode}
+\define@key{ddp}{halign}[center]{\def\ddp@halign{#1}}
+\define@key{ddp}{valign}[center]{\def\ddp@valign{#1}}
+\define@key{ddp}{hoffset}[0]{\def\ddp@hoffset{#1}}
+\define@key{ddp}{voffset}[0]{\def\ddp@voffset{#1}}
+% \end{macrocode}
+% \paragraph*{Setting the dimensions of the window.}
+% The dimensions of the floating window are determined by
+% \IndexKey{widthOfWindow}\texttt{widthOfWindow} and
+% \IndexKey{heightOfWindow}\texttt{heightOfWindow}.
+% \begin{macrocode}
+\define@key{ddp}{widthOfWindow}[180]{\def\ddp@widthOfWindow{#1}}
+\define@key{ddp}{heightOfWindow}[180]{\def\ddp@heightOfWindow{#1}}
+% \end{macrocode}
+% \DescribeMacro{\setPickerOpts} can be used to globally set picker options.
+% \begin{macrocode}
+\newcommand{\setPickerOpts}[1]{%
+ \edef\@tempexp{\noexpand\setkeys{ddp}{#1}}\@tempexp}
+% \end{macrocode}
+% \DescribeMacro{\setPickerOptsToDefaults}resets picker options back to their
+% original defaults.
+% \begin{macrocode}
+\newcommand{\setPickerOptsToDefaults}{%
+ \setkeys{ddp}{formatstring,daynames,monthnames,firstday,halign,%
+ valign,hoffset,voffset,widthOfWindow,heightOfWindow,%
+ monthnamesLong,monthnamesShort,daynamesLong,daynamesShort}%
+}
+\setPickerOptsToDefaults
+% \end{macrocode}
+% \DescribeMacro{\dppBtnAction} sets the action of the icon push button. When
+% pressed, it simply activates the RMA, when shift-clicked, it resets the field
+% and closes the RMA.
+% \begin{macrocode}
+\def\dppBtnAction#1{%
+ var annot = this.getAnnotRichMedia(this.pageNum,"#1");\r
+ if (event.shift){\r\t
+ this.resetForm(["txt#1"]);\r\t
+ annot.activated=false;\r
+ } else {
+% \end{macrocode}
+% If widget is already activated close it.
+% \begin{macrocode}
+ if ( annot.activated )
+ annot.activated=false;
+% \end{macrocode}
+% Else, if it is not open, open it.
+% \begin{macrocode}
+ else annot.activated=true;
+ }
+}
+% \end{macrocode}
+% \DescribeMacro{\datepicker} is the primary command for this package. It produces
+% a readonly text field to hold the chosen date, a rich media annotation that holds
+% the flash widget (SWF), \texttt{datepickerN.swf}, and a push button containing
+% script to activate the annotation.
+%
+% \paragraph*{Naming conventions.} Argument \texttt{\#2} is the base name passed
+% by the author. The name of the RMA is \texttt{name=\#2}; the field name of the
+% input text field is \texttt{txt\#2} and the field name of the push button is
+% \texttt{btn\#2}. There is also a hidden text field named \texttt{htxt\#2}.
+% \begin{macrocode}
+\newcommand{\datepicker}[4][]{\begingroup
+% \end{macrocode}
+% Expand \texttt{\#1} then get options. Useful if options are passed as a macro.
+% \begin{macrocode}
+ \edef\@tempexp{\noexpand\setkeys{ddp}{#1}}\@tempexp
+% \end{macrocode}
+% Set window related parameters.
+% \begin{macrocode}
+ \setWindowDimPos{width={default=\ddp@widthOfWindow},%
+ height={default=\ddp@heightOfWindow},%
+ position={halign=\ddp@halign,valign=\ddp@valign,
+ hoffset=\ddp@hoffset,voffset=\ddp@voffset}}%
+% \end{macrocode}
+% This hidden field holds the date selected in a standard format of \texttt{MM/DD/YYYY},
+% this helps me to highlight the date when the user opens the date picker again.
+% \begin{macrocode}
+ \makebox[0pt][l]{\textField[\F{\FHidden}\BC{}\BG{}\W0
+ ]{htxt#2}{1bp}{1bp}}%
+% \end{macrocode}
+% The text field that holds the date selected by the user through the date package.
+% \begin{macrocode}
+ \expandafter\textField\expandafter[\dpp@pickerInputOpts\Ff{\FfReadOnly}
+ \AA{\AAValidate{%
+ this.getAnnotRichMedia(this.pageNum,"#2").activated=false;}
+ }]{txt#2}{#3}{#4}\makebox[0pt][r]{%
+% \end{macrocode}
+% Followed by the SWF widget, very small, invisible, transparent, and hidden by the
+% text field.
+% \begin{macrocode}
+ \rmAnnot[invisible,transparentBG,deactivated=pageclose,
+ passcontext,\dpp@pickerOpts,windowed,name=#2,
+ flashvars={field=txt#2&formatstring=\dpp@FormatStr
+ \ifx\ddp@DayNames\@empty\else
+ &daynames=\ddp@DayNames\fi
+ \ifx\ddp@MonthNames\@empty\else
+ &monthnames=\ddp@MonthNames\fi
+ \ifnum\ddp@FirstDayOfWeek=0 \else
+ &firstday=\ddp@FirstDayOfWeek\fi
+ \ifx\ddp@monthnamesLong\@empty\else
+ &monthnamesLong=\ddp@monthnamesLong\fi
+ \ifx\ddp@monthnamesShort\@empty\else
+ &monthnamesShort=\ddp@monthnamesShort\fi
+ \ifx\ddp@daynamesLong\@empty\else
+ &daynamesLong=\ddp@daynamesLong\fi
+ \ifx\ddp@daynamesShort\@empty\else
+ &daynamesShort=\ddp@daynamesShort\fi
+ }
+ ]{4bp}{4bp}{dppDatePicker}}\kern\pickersep
+% \end{macrocode}
+% Finally, the push button that has an icon for its appearance.
+% \begin{macrocode}
+ \pushButton[\TU{\dpp@ToolTip}\H{O}\S{S}\BC{}\BG{}
+ \FB{true}\I{null}\TP{1}\A{\JS{\dppBtnAction{#2}}}
+ ]{btn#2}{\dp@iconWidth}{\dp@iconHeight}\endgroup
+}
+% \end{macrocode}
+% \paragraph*{Installing the picker icon.} We use \cs{declareMultiImages} from AeB Pro
+% to create a simplified method of installing the picker icon.
+% \begin{macro}{\setpickerIcon}
+% The command takes two arguments, the path to the icon, and the names of the
+% date picker fields.
+%\begin{verbatim}
+% \setpickerIcon{icons/dp_icon2.pdf}{PickADate,GERDate}
+%\end{verbatim}
+% The second argument is a comma-delimited list picker names (the first argument
+% of the \cs{datepicker} command).
+% \begin{macrocode}
+\newcommand{\setpickerIcon}[2]{% #1=path, #2=placement
+ \let\@thesetoks\@empty
+ \@for\@dppName:=#2\do{\edef\@thesetoks{\@thesetoks btn\@dppName,}}%
+ \def\stripOffComma##1,\@nil{\def\@placeIcons{##1}}%
+ \expandafter\stripOffComma\@thesetoks\@nil
+ \declareImageAndPlacement{name=dppIcon,path=#1,%
+ placement={\@placeIcons}}%
+% \end{macrocode}
+% We then write a \texttt{execJS} environment to a CUT file, then
+% input it back in immediately. Here, I'm using the write handle
+% from the \textsf{comment} package, brought in by \textsf{AeB Pro}.
+% At this moment, it is not being used.
+% \begin{macrocode}
+ \immediate\openout\CommentStream=ddpdocassmbly.cut
+ \immediate\write\CommentStream{\string\begin{execJS}{dppicons}}%
+ \immediate\write\CommentStream{\string\insertPreDocAssembly}%
+ \immediate\write\CommentStream{\string\end{execJS}}%
+ \immediate\closeout\CommentStream
+ \input{ddpdocassmbly.cut}%
+}
+\@onlypreamble\setpickerIcon
+% \end{macrocode}
+% \end{macro}
+% The two commands \DescribeMacro\pickerIconWidth\cmd\pickerIconWidth{}
+% and \DescribeMacro\pickerIconHeight\cmd\pickerIconHeight{} set the width
+% and the height, respectively, of the icon picker icon. The default to \texttt{6bp}.
+% \begin{macrocode}
+\newcommand\pickerIconWidth[1]{\def\dp@iconWidth{#1}}
+\pickerIconWidth{10bp}
+\newcommand\pickerIconHeight[1]{\def\dp@iconHeight{#1}}
+\pickerIconHeight{12bp}
+% \end{macrocode}
+%
+% \section{Supporting Document JavaScript}
+% The \texttt{popDateField} is called from the Flash widget to pass the date from the widget
+% to the input field.
+% \begin{macrocode}
+\begin{insDLJS}{dppdljs}{JavaScript for Date Picker Pro}
+% \end{macrocode}
+% The \DescribeMacro{setDateField}\texttt{setDateField} function is called by the widget to set the field value. The widget
+% passes three arguments: \texttt{fname} (the field name that is the target of the date),
+% \texttt{value} is the value of the field that will appear to the user, and \texttt{svalue}
+% is the value formatted using the date template \texttt{MM/DD/YYYY}. This latter value is used
+% to highlight this date if the user returns to the same calendar to change the date.
+% \begin{macrocode}
+function setDateField(fname,value,svalue) {
+%console.println("setDateField: fname="+fname
+% +", value="+value+", svalue="+svalue);
+ var f = this.getField(fname);
+ var g = this.getField("h"+fname);
+ if (f !=null ) {
+ f.value = value;
+ g.value = svalue;
+ }
+}
+% \end{macrocode}
+%\DescribeMacro{getDateValue}The JavaScript function \texttt{getDateValue} is also called
+% by the widget to get the current values of the target field. The return value
+% is an object containing these two values.
+% \begin{macrocode}
+function getDateValue(fname) {
+%console.println("getDateValue: fname="+fname);
+ var f = this.getField(fname);
+ var g = this.getField("h"+fname);
+ var value;
+ if ( f != null )
+ value = { value: f.value, svalue: g.value };
+ return value;
+}
+\end{insDLJS}
+% \end{macrocode}
+% We wait until after the preamble to see if the document author chooses a version
+% for FLEX. We also check to see if a path to the widget has been set. The document
+% author is required to define a path to the datepicker SWF with the name of \cs{dppPath}:
+%\begin{verbatim}
+%\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/%
+% tex/latex/aeb/aebpro/datepicker_pro/swf}
+%\end{verbatim}
+% \begin{macrocode}
+\def\dpp@initdpp{%
+ \@ifundefined{dppPath}{\PackageError{datepicker-pro}
+ {You must specify the path to datepicker\flexVer.swf\MessageBreak
+ by defining \string\dppPath, see documentation}{}}
+ {\saveNamedPath{dppDatePicker}{\dppPath/datepicker\flexVer.swf}}%
+}
+\AtBeginDocument{\dpp@initdpp}
+% \end{macrocode}
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%\Finale
+\endinput
diff --git a/texmf-dist/source/latex/datepicker-pro/datepicker-pro.ins b/texmf-dist/source/latex/datepicker-pro/datepicker-pro.ins
new file mode 100644
index 00000000..7cefaca2
--- /dev/null
+++ b/texmf-dist/source/latex/datepicker-pro/datepicker-pro.ins
@@ -0,0 +1,59 @@
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX.
+%%
+%% Copyright 2016 D. P. Story
+%% -------------------------------------------
+%%
+%% It may be distributed under the conditions of the LaTeX Project Public
+%% License, either version 1.2 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.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+\def\filedate{2016/01/12}
+\def\batchfile{datepicker-pro.ins}
+
+\input docstrip
+\ifx\generate\undefined
+ \Msg{**********************************************}
+ \Msg{*}
+ \Msg{* This installation requires docstrip}
+ \Msg{* version 2.4 or later.}
+ \Msg{*}
+ \Msg{* An older version of docstrip has been input}
+ \Msg{*}
+ \Msg{**********************************************}
+ \errhelp{Move or rename old docstrip.tex and get a newer one.}
+ \errmessage{Old docstrip in input path}
+ \batchmode
+ \csname @@end\endcsname\end
+\fi
+
+\keepsilent
+\askforoverwritefalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\preamble
+\endpreamble
+
+\generate
+{%
+ \file{datepicker-pro.sty}{\from{datepicker-pro.dtx}{copyright,package}}
+}
+
+
+\Msg{***************************************************************}
+\Msg{*}
+\Msg{* \space To finish the installation you have to copy the files }
+\Msg{*}
+\Msg{* \space *.sty, *.cfg and *.def into a directory searched by TeX}
+\Msg{*}
+\Msg{***************************************************************}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
diff --git a/texmf-dist/tex/latex/datepicker-pro/datepicker-pro.sty b/texmf-dist/tex/latex/datepicker-pro/datepicker-pro.sty
new file mode 100644
index 00000000..705a3c70
--- /dev/null
+++ b/texmf-dist/tex/latex/datepicker-pro/datepicker-pro.sty
@@ -0,0 +1,166 @@
+%%
+%% This is file `datepicker-pro.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datepicker-pro.dtx (with options: `copyright,package')
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% datepicker-pro.sty package, 2016-05-06 %%
+%% Copyright (C) 2013-16 D. P. Story %%
+%% dpstory@acrotex.net %%
+%% %%
+%% This program can redistributed and/or modified under %%
+%% the terms of the LaTeX Project Public License %%
+%% Distributed from CTAN archives in directory %%
+%% macros/latex/base/lppl.txt; either version 1 of the %%
+%% License, or (at your option) any later version. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{datepicker-pro}
+ [2016/05/06 v1.0 Date picker using FLEX]
+\RequirePackage{aeb_pro}[2013/08/05]
+\RequirePackage{eforms}[2013/06/05]
+\RequirePackage{rmannot}[2011/09/11]
+\newcommand{\useFLEXVer}[1]{\def\argi{#1}\ifnum\argi=3\relax
+ \def\flexVer{3}\else\ifnum\argi=4\relax\def\flexVer{4}\else
+ \def\flexVer{3}\PackageInfo{datepicker-pro}{FLEX version number not
+ supported,\space\MessageBreak using FLEX 3}\fi\fi}
+\def\flexVer{3}
+\@onlypreamble\useFLEXVer
+\newcommand{\dppToolTip}[1]{\def\dpp@ToolTip{#1}}
+\dppToolTip{Date Picker\n Click to toggle open and close\n
+ Shift-click to clear and close}
+\newcommand{\pickerOpts}[1]{\def\dpp@pickerOpts{#1}}
+ \pickerOpts{}
+\newcommand{\pickerInputOpts}[1]{\def\dpp@pickerInputOpts{#1}}
+ \pickerInputOpts{}
+\newcommand{\pickersep}{3bp}
+\define@key{ddp}{formatstring}[MM/DD/YYYY]{\def\dpp@FormatStr{#1}}
+\define@key{ddp}{daynames}[]{\def\ddp@DayNames{#1}}
+\define@key{ddp}{monthnames}[]{\def\ddp@MonthNames{#1}}
+\def\warningMsgFirstDay{%
+ The value of firstday must be a\MessageBreak
+ nonnegative integer less than 6.\MessageBreak
+ Setting firstday=0%
+}
+\define@key{ddp}{firstday}[0]{%
+ \@tempcnta=#1
+ \def\ddp@FirstDayOfWeek{#1}%
+ \ifnum\@tempcnta<0\relax\PackageWarning{datepicker-pro}
+ {\warningMsgFirstDay}{}\def\ddp@FirstDayOfWeek{0}\else
+ \ifnum\@tempcnta>6\relax\PackageWarning{datepicker-pro}
+ {\warningMsgFirstDay}{}\def\ddp@FirstDayOfWeek{0}\fi\fi
+}
+\define@key{ddp}{monthnamesLong}[]{\def\ddp@monthnamesLong{#1}}
+\define@key{ddp}{monthnamesShort}[]{\def\ddp@monthnamesShort{#1}}
+\define@key{ddp}{daynamesLong}[]{\def\ddp@daynamesLong{#1}}
+\define@key{ddp}{daynamesShort}[]{\def\ddp@daynamesShort{#1}}
+\define@key{ddp}{halign}[center]{\def\ddp@halign{#1}}
+\define@key{ddp}{valign}[center]{\def\ddp@valign{#1}}
+\define@key{ddp}{hoffset}[0]{\def\ddp@hoffset{#1}}
+\define@key{ddp}{voffset}[0]{\def\ddp@voffset{#1}}
+\define@key{ddp}{widthOfWindow}[180]{\def\ddp@widthOfWindow{#1}}
+\define@key{ddp}{heightOfWindow}[180]{\def\ddp@heightOfWindow{#1}}
+\newcommand{\setPickerOpts}[1]{%
+ \edef\@tempexp{\noexpand\setkeys{ddp}{#1}}\@tempexp}
+\newcommand{\setPickerOptsToDefaults}{%
+ \setkeys{ddp}{formatstring,daynames,monthnames,firstday,halign,%
+ valign,hoffset,voffset,widthOfWindow,heightOfWindow,%
+ monthnamesLong,monthnamesShort,daynamesLong,daynamesShort}%
+}
+\setPickerOptsToDefaults
+\def\dppBtnAction#1{%
+ var annot = this.getAnnotRichMedia(this.pageNum,"#1");\r
+ if (event.shift){\r\t
+ this.resetForm(["txt#1"]);\r\t
+ annot.activated=false;\r
+ } else {
+ if ( annot.activated )
+ annot.activated=false;
+ else annot.activated=true;
+ }
+}
+\newcommand{\datepicker}[4][]{\begingroup
+ \edef\@tempexp{\noexpand\setkeys{ddp}{#1}}\@tempexp
+ \setWindowDimPos{width={default=\ddp@widthOfWindow},%
+ height={default=\ddp@heightOfWindow},%
+ position={halign=\ddp@halign,valign=\ddp@valign,
+ hoffset=\ddp@hoffset,voffset=\ddp@voffset}}%
+ \makebox[0pt][l]{\textField[\F{\FHidden}\BC{}\BG{}\W0
+ ]{htxt#2}{1bp}{1bp}}%
+ \expandafter\textField\expandafter[\dpp@pickerInputOpts\Ff{\FfReadOnly}
+ \AA{\AAValidate{%
+ this.getAnnotRichMedia(this.pageNum,"#2").activated=false;}
+ }]{txt#2}{#3}{#4}\makebox[0pt][r]{%
+ \rmAnnot[invisible,transparentBG,deactivated=pageclose,
+ passcontext,\dpp@pickerOpts,windowed,name=#2,
+ flashvars={field=txt#2&formatstring=\dpp@FormatStr
+ \ifx\ddp@DayNames\@empty\else
+ &daynames=\ddp@DayNames\fi
+ \ifx\ddp@MonthNames\@empty\else
+ &monthnames=\ddp@MonthNames\fi
+ \ifnum\ddp@FirstDayOfWeek=0 \else
+ &firstday=\ddp@FirstDayOfWeek\fi
+ \ifx\ddp@monthnamesLong\@empty\else
+ &monthnamesLong=\ddp@monthnamesLong\fi
+ \ifx\ddp@monthnamesShort\@empty\else
+ &monthnamesShort=\ddp@monthnamesShort\fi
+ \ifx\ddp@daynamesLong\@empty\else
+ &daynamesLong=\ddp@daynamesLong\fi
+ \ifx\ddp@daynamesShort\@empty\else
+ &daynamesShort=\ddp@daynamesShort\fi
+ }
+ ]{4bp}{4bp}{dppDatePicker}}\kern\pickersep
+ \pushButton[\TU{\dpp@ToolTip}\H{O}\S{S}\BC{}\BG{}
+ \FB{true}\I{null}\TP{1}\A{\JS{\dppBtnAction{#2}}}
+ ]{btn#2}{\dp@iconWidth}{\dp@iconHeight}\endgroup
+}
+\newcommand{\setpickerIcon}[2]{% #1=path, #2=placement
+ \let\@thesetoks\@empty
+ \@for\@dppName:=#2\do{\edef\@thesetoks{\@thesetoks btn\@dppName,}}%
+ \def\stripOffComma##1,\@nil{\def\@placeIcons{##1}}%
+ \expandafter\stripOffComma\@thesetoks\@nil
+ \declareImageAndPlacement{name=dppIcon,path=#1,%
+ placement={\@placeIcons}}%
+ \immediate\openout\CommentStream=ddpdocassmbly.cut
+ \immediate\write\CommentStream{\string\begin{execJS}{dppicons}}%
+ \immediate\write\CommentStream{\string\insertPreDocAssembly}%
+ \immediate\write\CommentStream{\string\end{execJS}}%
+ \immediate\closeout\CommentStream
+ \input{ddpdocassmbly.cut}%
+}
+\@onlypreamble\setpickerIcon
+\newcommand\pickerIconWidth[1]{\def\dp@iconWidth{#1}}
+\pickerIconWidth{10bp}
+\newcommand\pickerIconHeight[1]{\def\dp@iconHeight{#1}}
+\pickerIconHeight{12bp}
+\begin{insDLJS}{dppdljs}{JavaScript for Date Picker Pro}
+function setDateField(fname,value,svalue) {
+ var f = this.getField(fname);
+ var g = this.getField("h"+fname);
+ if (f !=null ) {
+ f.value = value;
+ g.value = svalue;
+ }
+}
+function getDateValue(fname) {
+ var f = this.getField(fname);
+ var g = this.getField("h"+fname);
+ var value;
+ if ( f != null )
+ value = { value: f.value, svalue: g.value };
+ return value;
+}
+\end{insDLJS}
+\def\dpp@initdpp{%
+ \@ifundefined{dppPath}{\PackageError{datepicker-pro}
+ {You must specify the path to datepicker\flexVer.swf\MessageBreak
+ by defining \string\dppPath, see documentation}{}}
+ {\saveNamedPath{dppDatePicker}{\dppPath/datepicker\flexVer.swf}}%
+}
+\AtBeginDocument{\dpp@initdpp}
+\endinput
+%%
+%% End of file `datepicker-pro.sty'.
diff --git a/tlpkg/tlpsrc/datepicker-pro.tlpsrc b/tlpkg/tlpsrc/datepicker-pro.tlpsrc
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tlpkg/tlpsrc/datepicker-pro.tlpsrc