diff options
Diffstat (limited to 'Master')
43 files changed, 4 insertions, 1830 deletions
diff --git a/Master/texmf-dist/doc/latex/eCards/README b/Master/texmf-dist/doc/latex/eCards/README deleted file mode 100644 index 5d2b65e046e..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/README +++ /dev/null @@ -1,29 +0,0 @@ -eCards Pacakge: Version 1.0
-
-The eCards package for LaTeX enables you to create a series of
-electronic (flash) cards. The demo file for this package is named
-eCardstst.pdf. The document author provides questions, hints and
-answers to a series of questions. Users can test their knowledge
-by responding to the questions. The questions are delivered in
-random order.
-
-The distribution:
- eCards.zip : All the files you need except for
- the manuals.
- eCardsman.pdf : An onscreen version of the manual.
- The manual is somewhat terse, most concepts are
- illustrated in the demo file eCardstst.tex, provided
- in eCards.zip.
- eCardsman_p.pdf : a printable version of eCardsman.pdf.
- eCardstst.pdf : The pdf version of the demo file.
-
-Note: This package requires the AcroTeX eDucation Bundle.
-
-Enjoy!
-
-D. P. Story
-05/20/03
-
-This material is subject to the LaTeX Project Public License. See
-http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
-for the details of that license.
diff --git a/Master/texmf-dist/doc/latex/eCards/eCard.cus b/Master/texmf-dist/doc/latex/eCards/eCard.cus deleted file mode 100644 index 54d1cf0a719..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/eCard.cus +++ /dev/null @@ -1,9 +0,0 @@ -% Customize to your heart's content in this file. -% Here is a simple example. When the listing option is taken change "Hint" to -% "Try This!". -\ifecListing -\renewcommand{\listing@headHint} -{% - \unskip\par\textit{Try this}!\space\ignorespaces -} -\fi diff --git a/Master/texmf-dist/doc/latex/eCards/eCardsman.pdf b/Master/texmf-dist/doc/latex/eCards/eCardsman.pdf Binary files differdeleted file mode 100644 index 5483e353874..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/eCardsman.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/eCardsman_p.pdf b/Master/texmf-dist/doc/latex/eCards/eCardsman_p.pdf Binary files differdeleted file mode 100644 index a844f20be0e..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/eCardsman_p.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/eCardstst.pdf b/Master/texmf-dist/doc/latex/eCards/eCardstst.pdf Binary files differdeleted file mode 100644 index 3f35db6c7b0..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/eCardstst.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/eCardstst.tex b/Master/texmf-dist/doc/latex/eCards/eCardstst.tex deleted file mode 100644 index a1cca4450e4..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/eCardstst.tex +++ /dev/null @@ -1,241 +0,0 @@ -\documentclass{article} -% \usepackage{srcltx} -\usepackage{amsmath} -\usepackage{graphicx} -% Use these three for on screen presentation. -\usepackage[dvipsone,tight,nodirectory,rightpanel]{web} %,usetemplates ,rightpanel -\usepackage[execJS]{exerquiz} -\usepackage[memLogo]{eCards} - -% Use these three to get a listing of all questions, hints, and answers; useful -% for checking your work. -%\usepackage[dvipsone,forpaper,tight,nodirectory]{web} % ,usetemplates -%\usepackage[execJS,solutionsafter,proofing,preview]{exerquiz} -%\usepackage[memLogo,listing]{eCards} - -% begin Web commands -\margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom -\screensize{3.72in}{366.24bp} -\subject{Electronic Flash Cards} -\keywords{Flash Cards, LaTeX, PDF} -\university{THE UNIVERSITY OF AKRON\\ - Theoretical and Applied Mathematics} -\email{dpstory@uakron.edu} -\version{1.0} -\copyrightyears{\the\year} -\author{D. P. Story} -\title{The U.S. Presidents by Number\texorpdfstring{\\}{,} Numbers 1--6} - -\definecolor{logoblue}{rgb}{0,0,0.267} -\panelBgColor{logoblue} - -\renewcommand\hproportionwebtitle{.9} - -\newcommand\aebLogo{\parbox{2.15in}{\large \color{red}\textsl{eCards: U.S. Presidents}\\ - \small\smash{\raisebox{3pt}{\color{blue}\textsl{Acro\!\TeX{} eDucation Bundle}\hfill}}}} - -\makeatletter -\ifecListing\else - \ifnum\@panelconfig>0\relax - \renewcommand\optionalpagematter{\par\minimumskip\vspace{\stretch{1}} - \begin{center} - \fcolorbox{blue}{webyellow}{ - \begin{minipage}{.85\linewidth} - \textbf{\textcolor{red}{Instructions:}} - Click on the \textcolor{webblue}{Begin} button to view the - first randomly selected card. Click on \textcolor{webblue}{FS} to view - the flash cards in full screen mode (works only outside a web browser). The - \textcolor{webblue}{Home} button on the first page goes to the - \textbf{\textcolor{red}{Acro\!\TeX}} home page; otherwise, the - \textcolor{webblue}{Home} button returns to this page. - The \textcolor{webblue}{Close} button closes the document (use - outside a web browser).\par\smallskip - \textbf{\textcolor{red}{Source:}} - \href{http://www.whitehouse.gov/history/presidents/}{The White House Presidents Page} - \end{minipage}} - \end{center} - } - \else - \renewcommand\optionalpagematter{\par\minimumskip\vspace{\stretch{1}} - \begin{center} - \fcolorbox{blue}{webyellow}{ - \begin{minipage}{.67\linewidth} - Click on the \textcolor{webblue}{Begin} button to view the - first randomly selected card. Click on - \textcolor{webblue}{FS} to put the viewer into full screen - mode (use outside a web browser).\par\smallskip - \centering - \Begin\ \FullScreen - \end{minipage}} - \end{center} - } - \fi -\fi -\makeatother -% end Web commands - -% begin eCards commands -% \ecLogo{\includegraphics[scale=.2]{presidents/gw1}} -\ecLogoLink{http://www.uakron.edu/} -\cardsFinishedMsg{You've seen all the Presidents, at least the ones presented - in these cards.} -\renewcommand\noHintJSAction{app.alert("No hints provided!")} -% end eCards commands - -\def\rescale{.4} % common rescaling parameter for presidents -\parindent0pt % not's not indent, ok? - - -\begin{document} - -\maketitle - -\ifecListing - \begin{center}\Large\bfseries - Listing of Questions, Hints, and Answers - \end{center}\bigskip -\fi - -\begin{card} - Who was the first President of the United States? - \begin{response} - \begin{hint} - Legend has it, he chopped down the cherry tree and couldn't tell a lie. - \end{hint} - \begin{answer} - \ifecListing - George Washington (1789-1797) - \else - \begin{center} - \includegraphics[scale=\rescale]{presidents/gw1}\\ - George Washington\\ - 1789-1797 - \end{center} - \fi - \end{answer} - \end{response} -\end{card} - -\begin{card} - Who was the second President of the United States? - \begin{response} - \begin{hint} - He was Washington's Vice President. - \end{hint} - \begin{answer} - \ifecListing - John Adams (1797-1801) - \else - \begin{center} - \includegraphics[scale=\rescale]{presidents/ja2}\\ - John Adams\\ - 1797-1801 - \end{center} - \fi - \end{answer} - \end{response} -\end{card} - -\end{document} - - -\begin{card} - Who was the third President of the United States? - \begin{multiChoice}{2} - \Ans0 Geo. Washington &\Ans0 Ben Franklin \\ - \Ans1 Thomas Jefferson &\Ans0 James Madison - \end{multiChoice} - \begin{response} - \begin{hint} - He was one of the authors of the Declaration of Independence. - \begin{multiChoice}{2} - \Ans0 Geo. Washington &\Ans0 Ben Franklin \\ - \Ans1 Thomas Jefferson &\Ans0 James Madison - \end{multiChoice} - \end{hint} - \begin{answer} - \ifecListing - Thomas Jefferson (1801-1809) - \else - \begin{center} - \includegraphics[scale=\rescale]{presidents/tj3}\\ - Thomas Jefferson\\ - 1801-1809 - \end{center} - \fi - \end{answer} - \end{response} -\end{card} - -\begin{card} - \raggedright Who was the fourth President of the United States?\ifecListing\newline\fi - \begin{fillIn} - \RespBoxTxt{0}{0}{2}{James Madison}{Madison} - \end{fillIn} - \begin{response} - \begin{hint}\raggedright - He coauthored the \textsl{Federalists Essays} along with - John Jay and Alexander Hamilton. - \begin{fillIn} - \RespBoxTxt{0}{0}{2}{James Madison}{Madison} - \end{fillIn} - \end{hint} - \begin{answer} - \ifecListing - James Madison (1809-1817) - \else - \begin{center} - \includegraphics[scale=\rescale]{presidents/jm4}\\ - James Madison\\ - 1809-1817 - \end{center} - \fi - \end{answer} - \end{response} -\end{card} - -\begin{card} - Who was the fifth President of the United States? - \begin{response} - \begin{hint} - In foreign affairs, this President proclaimed a doctrine that - bears his name, ``\dots the American continents'', he stated, ``by the - free and independent condition which they have assumed and - maintain, are henceforth not to be considered as subjects for - future colonization by any European Power.'' - \end{hint} - \begin{answer} - \ifecListing - James Monroe (1817-1825) - \else - \begin{center} - \includegraphics[scale=\rescale]{presidents/jm5}\\ - James Monroe\\ - 1817-1825 - \end{center} - \fi - \end{answer} - \end{response} -\end{card} - -\begin{card} - Who was the sixth President of the United States? - \begin{response} - \begin{hint} - He was the first President who was the son of a President. - \end{hint} - \begin{answer} - \ifecListing - John Quincy Adams (1825-1829) - \else - \begin{center} - \includegraphics[scale=\rescale]{presidents/ja6}\\ - John Quincy Adams\\ - 1825-1829 - \end{center} - \fi - \end{answer} - \end{response} -\end{card} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.bb b/Master/texmf-dist/doc/latex/eCards/graphics/uakron.bb deleted file mode 100644 index 37d2a325533..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./uakron.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 89 89 -%%CreationDate: Wed Oct 16 18:49:32 2002 - diff --git a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.eps b/Master/texmf-dist/doc/latex/eCards/graphics/uakron.eps Binary files differdeleted file mode 100644 index b3653c1eef4..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.jpg b/Master/texmf-dist/doc/latex/eCards/graphics/uakron.jpg Binary files differdeleted file mode 100644 index eec6ca8cec4..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.pdf b/Master/texmf-dist/doc/latex/eCards/graphics/uakron.pdf Binary files differdeleted file mode 100644 index b802baca96e..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.png b/Master/texmf-dist/doc/latex/eCards/graphics/uakron.png Binary files differdeleted file mode 100644 index a6398e09b18..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/graphics/uakron.png +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.bb b/Master/texmf-dist/doc/latex/eCards/presidents/gw1.bb deleted file mode 100644 index 8e7e22e2152..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./gw1.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 128 186 -%%CreationDate: Sat May 17 15:45:31 2003 - diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.eps b/Master/texmf-dist/doc/latex/eCards/presidents/gw1.eps Binary files differdeleted file mode 100644 index 54d8e0a74af..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.jpg b/Master/texmf-dist/doc/latex/eCards/presidents/gw1.jpg Binary files differdeleted file mode 100644 index 3fcbf885758..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.pdf b/Master/texmf-dist/doc/latex/eCards/presidents/gw1.pdf Binary files differdeleted file mode 100644 index 2e54ef71b06..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/gw1.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.bb b/Master/texmf-dist/doc/latex/eCards/presidents/ja2.bb deleted file mode 100644 index 74943e98fba..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.bb +++ /dev/null @@ -1,4 +0,0 @@ -%%Title: ./ja2.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 128 186 -%%CreationDate: Sat May 17 15:45:42 2003 diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.eps b/Master/texmf-dist/doc/latex/eCards/presidents/ja2.eps Binary files differdeleted file mode 100644 index def5ffbb7f8..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.jpg b/Master/texmf-dist/doc/latex/eCards/presidents/ja2.jpg Binary files differdeleted file mode 100644 index a3b53c66a23..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.pdf b/Master/texmf-dist/doc/latex/eCards/presidents/ja2.pdf Binary files differdeleted file mode 100644 index db0ba8d9de6..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja2.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.bb b/Master/texmf-dist/doc/latex/eCards/presidents/ja6.bb deleted file mode 100644 index e27f4d87ec8..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./ja6.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 130 187 -%%CreationDate: Sat May 17 15:45:51 2003 - diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.eps b/Master/texmf-dist/doc/latex/eCards/presidents/ja6.eps Binary files differdeleted file mode 100644 index 1a72df1c054..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.jpg b/Master/texmf-dist/doc/latex/eCards/presidents/ja6.jpg Binary files differdeleted file mode 100644 index a8213dd2996..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.pdf b/Master/texmf-dist/doc/latex/eCards/presidents/ja6.pdf Binary files differdeleted file mode 100644 index 4698214b294..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/ja6.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.bb b/Master/texmf-dist/doc/latex/eCards/presidents/jm4.bb deleted file mode 100644 index d69d7cbdd8b..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./jm4.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 128 188 -%%CreationDate: Sat May 17 15:45:59 2003 - diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.eps b/Master/texmf-dist/doc/latex/eCards/presidents/jm4.eps Binary files differdeleted file mode 100644 index 406306ca669..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.jpg b/Master/texmf-dist/doc/latex/eCards/presidents/jm4.jpg Binary files differdeleted file mode 100644 index dc4d258594c..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.pdf b/Master/texmf-dist/doc/latex/eCards/presidents/jm4.pdf Binary files differdeleted file mode 100644 index 70b37487adf..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm4.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.bb b/Master/texmf-dist/doc/latex/eCards/presidents/jm5.bb deleted file mode 100644 index 8cb7625429f..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./jm5.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 123 187 -%%CreationDate: Sat May 17 15:46:10 2003 - diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.eps b/Master/texmf-dist/doc/latex/eCards/presidents/jm5.eps Binary files differdeleted file mode 100644 index 65286598891..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.jpg b/Master/texmf-dist/doc/latex/eCards/presidents/jm5.jpg Binary files differdeleted file mode 100644 index bba5e98b19f..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.pdf b/Master/texmf-dist/doc/latex/eCards/presidents/jm5.pdf Binary files differdeleted file mode 100644 index b3f35edf350..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/jm5.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.bb b/Master/texmf-dist/doc/latex/eCards/presidents/tj3.bb deleted file mode 100644 index 383d4f87e2e..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./tj3.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 127 187 -%%CreationDate: Sat May 17 15:46:18 2003 - diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.eps b/Master/texmf-dist/doc/latex/eCards/presidents/tj3.eps Binary files differdeleted file mode 100644 index 441f1b9681a..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.jpg b/Master/texmf-dist/doc/latex/eCards/presidents/tj3.jpg Binary files differdeleted file mode 100644 index 8fc75c7d67e..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.pdf b/Master/texmf-dist/doc/latex/eCards/presidents/tj3.pdf Binary files differdeleted file mode 100644 index d2d7493d98c..00000000000 --- a/Master/texmf-dist/doc/latex/eCards/presidents/tj3.pdf +++ /dev/null diff --git a/Master/texmf-dist/source/latex/eCards/eCards.dtx b/Master/texmf-dist/source/latex/eCards/eCards.dtx deleted file mode 100644 index 1841dc70a05..00000000000 --- a/Master/texmf-dist/source/latex/eCards/eCards.dtx +++ /dev/null @@ -1,989 +0,0 @@ -%\iffalse -%<*copyright> -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% eCards.sty package, 2003-3-10 %% -%% Copyright (C) 1999-2002 D. P. Story %% -%% dpstory@uakron.edu %% -%% %% -%% 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}[1997/12/01] -%<package>\ProvidesPackage{eCards} -%<package> [2003/05/18 v1.0 eCards: An electronic flash cards package (dps)] -%<*driver> -\documentclass{ltxdoc} -\usepackage[dviwindo,colorlinks,hyperindex]{hyperref} -%\pdfstringdefDisableCommands{\let\\\textbackslash} -%\EnableCrossrefs \CodelineIndex -\begin{document} - \GetFileInfo{eCards.sty} - \title{eCards: Electronic Flash Cards} - \author{D. P. Story\\ - Email: \texttt{dpstory@uakron.edu}} - \date{processed \today} - \maketitle - \tableofcontents - \let\Email\texttt - \DocInput{eCards.dtx} - \PrintIndex -\end{document} -%</driver> -% \fi -% \MakeShortVerb{|} -% \StopEventually{} -% -% \DoNotIndex{\def,\edef,\gdef,\xdef,\global,\long,\let} -% \DoNotIndex{\expandafter,\string,\the,\ifx,\else,\fi} -% \DoNotIndex{\csname,\endcsname,\relax,\begingroup,\endgroup} -% \DoNotIndex{\DeclareTextCommand,\DeclareTextCompositeCommand} -% \DoNotIndex{\space,\@empty,\special} -% -% \begin{macrocode} -%<*package> -% \end{macrocode} -% -% \section{Introduction} -% -% The initial version of this package was developed at the request of my colleague, Dr.\ Thomas -% Price, for use in the senior honors project of Ms.\ Katie Jones on -% \href{http://www.math.uakron.edu/~teprice/Trig/}{Trig Flash Cards}. -% Upon completion of the honors project, I generalized and extended -% the original package developed specifically for them. -% -% \section{Documentation} -% -% In this section, the major elements of this package are highlighted. For those -% who want to know more, you can peruse the {\LaTeX} code, there are comments -% contained there as well. -% -% \subsection{Preamble: Required Packages and Options} -% -% \subsubsection{Required Packages} -% -% This package depends heavily on the -% \textbf{\href{http://www.math.uakron.edu/~dpstory/webeq.html} -% {Acro\negthinspace\TeX{} eDucation Bundle}}: (1) the \textsf{web} -% package provides page setup, backgrounds, and navigational -% elements; (2) the \textsf{exerquiz} package allows you to author -% the questions, both non-responsive and responsive (fill-in and -% multiple choice); and (3) the \textsf{insdljs} packages is the -% mechanism for introducing document-level JavaScripts into the -% final document. -% -% Each of the packages listed above have their own required packages: -% \textsf{hyperref}, \textsf{color}, \textsf{verbatim}, \textsf{everyshi} -% and \textsf{eso-pic}. Theses are all available as part of the standard -% distribution of {\LaTeX} or through any CTAN site. -% -% \subsubsection{Options} -% -% \paragraph{eCards options.}\hskip-\lastskip\ -% The \textsf{eCards} package really has only 4 options: -% \begin{enumerate} -% \item \texttt{nohints}: If you do not want to provide hints in your eCards, -% use this option. See also the comments in \Nameref{hint}. -% \item \texttt{listing}:\label{listing} This option gives you a printable version of your -% eCards. In this way, you can proofread, check your questions, hints, -% and answers. Suggested packages and options are given below: -%\begin{verbatim} -%\usepackage[<driver_option>,forpaper,tight,nodirectory]{web} -%\usepackage[solutionsafter,proofing,preview]{exerquiz} -%\usepackage[listing]{eCards} -%\end{verbatim} -% \item \texttt{memLogo}: The logo, if any, is read and re-read -% for each page on which it appears. Using this option, the logo -% is read once and saved in a box for use. -% \item \texttt{custom}: If this option is chosen, the package -% will look for and input a file \texttt{eCard.cus}. This file can -% be used to customize the environments. This file should be kept -% in the source directory, not in the {\LaTeX} search path. -% \end{enumerate} -% -% \paragraph{Other options.}\hskip-\lastskip\ -% Selecting the various options of the \textsf{web} and -% \textsf{exerquiz} packages can give you different looks. It is -% important to be aware of all the options associated with these -% two package; in the paragraphs below, various options are -% discussed that may be useful in \textsf{eCards}. -% -%\paragraph{Useful Web Package Options.}\hskip-\lastskip\ -% There are three background/panel options: \texttt{usetemplates}, -% \texttt{rightpanel} and \texttt{leftpanel}. Using the -% \texttt{usetemplates} option does not give you the vertical -% navigational strip, but it does give you the background colors; -% the \texttt{rightpanel} and \texttt{leftpanel} given you a -% vertical panel on the right and left, respectively. Use one of -% these three options only, if any at all. Using none of these three -% will just get you the default white background. -% -%There are certain ``standard'' page designs, or you can create your own using -%the \cs{margins} and \cs{screensize}; the demo document has -%\begin{verbatim} -%\margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom -%\screensize{3.72in}{366.24bp} % height, width -%\end{verbatim} -% See the \textsf{Web} package documentation for details on these and other -% options. -% -% \paragraph{Useful Exerquiz Package Options.}\hskip-\lastskip\ -% If you are not using multiple choice or fill-in questions, you should use -% the \texttt{exercisesonly} option. This removes much of the document level JavaScript -% from the PDF document. -% -% For authors that use the full Acrobat~5.0, or the newer Acrobat -% 6.0 Standard or Acrobat 6.0 Professional, you can use the -% \texttt{execJS} option. If this option is taken, then when the -% document is first loaded into Acrobat (following distillation, or -% creation using \textsf{dvipdfm} or \textsf{pdftex}), the document -% will be automatically saved; this saves any imported document -% level JavaScript in the document. The document always needs to be saved -% after creation so save the scripts with the document, this does it automatically -% so you can't forget to do it---as one of my colleagues once did. -% -% The \texttt{nosolutions} option removes the \texttt{response} environment -% leaving only the questions. The \texttt{proofing} and \texttt{preview} options -% can be useful for proofreading, as described in the \texttt{\hyperref[listing]{listing}} -% option described above. -% -% \subsection{\protect\cs{begin\{document\}}: Start creating Cards} -% -% The process of creating these electronic cards is quite simple, the sections below -% describe the various environments used. -% -% \subsubsection{The \texttt{card} Environment} -% -% The main environment is the \texttt{card} environment, which is used for posing -% questions, offering a hint, and an answer. The \hypertarget{cardsyntax}{syntax} is -%\begin{verbatim} -%\begin{card} -% < a question > -% \begin{response} -% \begin{hint} -% < a hint > -% \end{hint} -% \begin{answer} -% < an answer > -% \end{answer} -% \end{response} -%\end{card} -%\end{verbatim} -% \textcolor{red}{Important.} You can pose a question which requires -% a verbal response, or one for which there is a choice of -% alternatives, or a fill-in the blank (math or text). See the demo -% file \texttt{eCardstst.tex} for examples. -% -% \subsubsection{The \texttt{response} Environment} -% -% Immediately following and nested within the \texttt{card} environment is the \texttt{response} -% environment. This sets things up for the responses to the question: the hint -% and the answer. -% -% \subsubsection{The \texttt{hint} Environment}\label{hint} -% -% The first environment to appear within the \texttt{response} is -% the \texttt{hint} environment. Here you can provide additional -% information to help the student answer the question successfully. -% I've you've posed a multiple choice or fill-in question, you can simply -% copy the multiple choice or fill-in into the hint, just as I have done -% in the demo file \texttt{eCardstst.tex}. -% -% In this release, hints can be provided for \textbf{all} of the questions or for -% \textbf{none} of the questions. You can enter hints using the -% \texttt{hint} environment, illustrated \hyperlink{cardsyntax}{above}, or not include a -% \texttt{hint} environment. When you do not want to include -% hints---whether you've entered the environments or not---use the -% \texttt{nohints} package option. This will convert the -% \texttt{hint} environment into a \texttt{comments}, and redefined -% some of the navigational buttons. -% -% \subsubsection{\texttt{answer} Environment} -% -% After the hint environment comes the answer environment where the answer to the original question -% can be presented. At the end of this environment, you need to back out of your nest: -% \verb+\end{answer}+, \verb+\end{response}+ and \verb+\end{card}+. -% -% \subsection{\protect\cs{end\{document\}}} -% -% \section{Main Code} -% -% \subsection{Declare Options} -% -% This package builds upon the \textbf{Acro\negthinspace\TeX{} eDucation Bundle}, the options of the -% \textsf{web} and \textsf{exerquiz} packages can be used with with \textsf{eCards}. Additional options -% are declared below. -% \begin{macro}{memLogo} -% The logo, if any, is read and re-read for each page on which it appears. Using this -% option, the logo is read once and saved in a box for use. -% \begin{macrocode} -\DeclareOption{memLogo}{\let\@memLogo=y} -\let\@memLogo=n -% \end{macrocode} -% \end{macro} -% \begin{macro}{listing} -% The \texttt{listing} gives a listing of questions, hints, and answers. When used in conjunction -% with various \textsf{exerquiz} options, this option can be used to review all cards and answers. -% Suggested options: -%\begin{verbatim} -%\usepackage[<driver_option>,forpaper,tight,nodirectory]{web} -%\usepackage[solutionsafter,proofing,preview]{exerquiz} -%\usepackage[memLogo,listing]{eCards} -%\end{verbatim} -% The boolean switch \cs{ecListing} can be used to get a better looking listing by removing -% graphics---see the demo file \texttt{eCardstst.tex}. -% \begin{macrocode} -\DeclareOption{listing}{\ecListingtrue} -\newif\ifecListing \ecListingfalse -% \end{macrocode} -% \end{macro} -% \begin{macro}{custom} -% If this option is chosen, the package will look for and input a file \texttt{eCard.cus}. -% This file can be used to customize the environments. This file should be kept in the -% source directory, not in the {\LaTeX} search path. -% \begin{macrocode} -\DeclareOption{custom}{\let\@ecCustom=y} -\let\@ecCustom=n -% \end{macrocode} -% \end{macro} -% \begin{macro}{nohints} -% In some applications, the author may not want to have hints provided, so, compile -% the document with the \texttt{nohints} option. -% \begin{macrocode} -\DeclareOption{nohints} - {% - \let\@ecNoHints=y - \def\hintDest{ex.\exnoCard}% - \def\solnDest{ex.\exnoCard}% - } -\let\@ecNoHints=n -\def\hintDest{ex.\exnoCard}% -\def\solnDest{ex.\exnoCard.s}% -% \end{macrocode} -% \end{macro} -% \subsection{ProcessOptions and Required Packages} -% \begin{macrocode} -\ProcessOptions -\RequirePackage{web} -\RequirePackage{exerquiz} -%\RequirePackage{graphicx} -% \end{macrocode} -% \subsection{String Data} -% \begin{macro}{\cardsFinishedMsg} -% When user finishes the cards, a message appears announcing that event. The -% \cs{cardsFinishedMsg} holds the content of that message. -% \begin{macrocode} -\newcommand{\cardsFinishedMsg}[1]{\def\CARDSFINISHED{#1}} -\cardsFinishedMsg{You've seen all the cards!} -% \end{macrocode} -% \end{macro} -% \subsection{Colors for Backgrounds} -% Some definitions for coloring the background page for the question page, the -% hint page and the answer page. -% \begin{macrocode} -\textBgColor{cornsilk} -\def\cardColor#1{\def\@cardColor{#1}} -\def\hintColor#1{\def\@hintColor{#1}} -\def\solnColor#1{\def\@solnColor{#1}} -% \end{macrocode} -% Default colors -% \begin{macrocode} -\cardColor{vlightblue} -\hintColor{cornsilk} -\solnColor{webyellow} -% \end{macrocode} -% \subsection{Modifying Exerquiz Environments} -% \begin{macrocode} -\let\web@copyright=\@gobble -\let\exnoCard=\the@exno -\let\web@rightheader=\@empty -\def\io#1{\immediate\write\@auxout{#1}} -% \end{macrocode} -% \subsubsection{Modify the \texttt{exercise} Environment} -% The \cs{endsolnexerhookaux} macro gets executed just prior to the end of the -% solution environment, but before the final trailer is written to the .sol file. Here, -% we use it to insert a navigational bar at the bottom of the solution page. -% \begin{macrocode} -\def\endsolnexerhookaux{% - \ifnum\@panelconfig=0\relax - \immediate\write\verbatim@out - {\string\insNaviBar*{\hfil\string\NextCard\hfil}}% - \fi -} -\def\include@solutions{% - \let\webnewpage=\relax - \immediate\closeout\ex@solns - \ifeq@nosolutions\else - \iftherearesolutions\newpage\markright{\exsecrunhead}% - \ifx\webnewpage\relax - \def\webnewpage{\let\webnewpage=\newpage}% - \fi - \eqsolutionshook - \addcontentsline{toc}{section} - {\protect\numberline{}\exsectitle}% - \input{\jobname.sol}% - \fi - \fi -} -% \end{macrocode} -% Write the total number of questions (cards) to the aux file. -% \begin{macrocode} -\AtEndDocument{\io{\string\gdef\string\totalCards{\the@exno}}\clearpage} -% \end{macrocode} -% This macro holds the number of cards composed. -% \begin{macrocode} -\def\theNumCards{\csname totalCards\endcsname} -% \end{macrocode} -% \cs{nMarker} identifies the type of page, 0 for a question, 1 for a hint, 2 for a solution -% \begin{macrocode} -\def\nMarker{0} -% \end{macrocode} -% Redefine \cs{ReturnTo} so there is no link, we encourage the user to use the navigational -% buttons. -% \begin{macrocode} -\def\ReturnTo#1#2{\eq@fititin#2} -% \end{macrocode} -% Miscellaneous macro definitions associated with the \textsf{exercise} environment. -% \begin{macrocode} -\renewcommand\exsecrunhead{} -\renewcommand\exlabel{} -\renewcommand\exsectitle{} -% \end{macrocode} -% \subsubsection{Modify the \texttt{shortquiz} Environment} -% \begin{environment}{multiChoice} -% An environment for posing a multiple choice question, based on the \texttt{shortquiz} environment -% of \textsf{exerquiz}. -% \begin{macrocode} -\newenvironment{multiChoice}[1] -{% - \par\smallskip\def\aftershortquizskip{}% - \def\sq@priorhook{}\renewcommand\sqlabel{\@gobble}% - \ifnum\nMarker=0\relax - \def\sqWrongRespJS{app.alert(\eqsqwgmsg,3); - this.gotoNamedDest("\hintDest");}% -% this.gotoNamedDest("ex.\exnoCard");}% - \fi - \begin{shortquiz} - \begin{answers}[\solnDest]{#1}% -% \begin{answers}[ex.\exnoCard.s]{#1}% -}% -{% - \end{answers} - \end{shortquiz} -} -% \end{macrocode} -% \end{environment} -% \subsubsection{Modify the \texttt{oQuestion} Environment} -% Set the appearance of any text fields that the author might use. -% \begin{macrocode} -\everyRespBoxTxt{\BG{1 1 1}}\everyRespBoxMath{\BG{1 1 1}} -% \end{macrocode} -% \begin{environment}{fillIn} -% The \texttt{fillIn} environment one to pose a fill in type question, either -% text or math. Based on the \texttt{oQuestion} environment of \textsf{exerquiz}. -% \begin{macrocode} -\newenvironment{fillIn} -{% - \def\RespBoxTxtOnBlur{ecOnBlurRespBox(retn, \exnoCard, \nMarker);}% - \unskip\begin{oQuestion}{\ifnum\nMarker>0\relax - \solnDest\else\hintDest\fi}% -% \unskip\begin{oQuestion}{ex.\exnoCard\ifnum\nMarker>0.s\fi}% -} -{\end{oQuestion}} -% \end{macrocode} -% \end{environment} - -% \subsection{New Environments} -% \subsubsection{The \texttt{card} Environment} -% \begin{environment}{card} -% This is the main environment for writing questions, hints and answers. This environment -% encloses all. -% \begin{macrocode} -\newenvironment{card} -{% - \newpage - \gdef\nMarker{0} - \def\eqexheader{\noindent} - \renewcommand\exsllabelformat{\noindent} - \renewcommand\exrtnlabelformat{} - \renewcommand\exsecrunhead{} - \ifnum\@panelconfig=0\relax - \def\exersolnheadhook - {\string\def\string\solndest{\solnDest}}% -% {\string\def\string\solndest{ex.\exnoCard.s}}% - \else - \def\exersolnheadhook{\string\def\string\exnoCard{\exnoCard}% - \string\def\string\solndest{\solnDest}% - \string\gdef\string\nMarker - {\if\@ecNoHints y2\else1\fi}\string\defineSoln}% -% \string\def\string\solndest{ex.\exnoCard.s}% -% \string\gdef\string\nMarker{1}\string\defineSoln}% - \fi - \begin{exercise} - \textBgColor{\@cardColor}% - \headCard -}% -{% - \tailCard - \end{exercise}% - \ifnum\@panelconfig=0\relax\aftergroup\cardNaviBar\fi -} -% \end{macrocode} -% \end{environment} -% \begin{macro}{\headCard} -% The ``design'' of the ``question'' page. Can re-design. -% \begin{macrocode} -\newcommand{\headCard} -{% - \vspace*{\stretch{.1}}% - \begin{center}% - \Large\textbf{QUESTION}\par\vspace*{.25in}% - \begin{minipage}{.85\linewidth}% - \large\unskip\noindent\ignorespaces% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\tailCard} -% Complete any environments begun by \cs{headCard} -% \begin{macrocode} -\newcommand{\tailCard} -{% - \end{minipage} - \end{center} - \par\vspace{\stretch{2}}% -} -% \end{macrocode} -% \end{macro} -% \subsubsection{The \texttt{response} Environment} -% \begin{environment}{response} -% Nested within the \texttt{card} environment is the -% \texttt{response} environment, which, in turn, contains the -% \texttt{hint} and \texttt{answer} environments. This basically -% the \texttt{solution} environment for an \texttt{exercise} of -% \textsf{exerquiz}. -% \begin{macrocode} -\newenvironment{response} - {\solnexer@woparts[0pt]}{\endsolnexer@woparts} -% \end{macrocode} -% \end{environment} -% \begin{environment}{hint} -% Right now, a hint is required. Place this environment within the \texttt{response} -% environment and \textit{before} the \texttt{answer} environment. -% \begin{macrocode} -\newenvironment{hint} -{% - \textBgColor{\@hintColor}% - \headHint -}% -{% - \tailHint - \ifnum\@panelconfig=0\relax - \insNaviBar{\hfill\hintSoln\ \hintNextCard\hfill}\fi - \newpage\gdef\nMarker{2}\noindent\hypertarget{\solndest}{}% -} -\if\@ecNoHints y% - \let\hint=\comment - \let\endhint=\endcomment -\fi -% \end{macrocode} -% \end{environment} -% \begin{macro}{\headHint} -% The ``design'' of the ``hint'' page. Can re-design. -% \begin{macrocode} -\newcommand{\headHint} -{% - \vspace*{\stretch{.1}}% - \begin{center}% - \Large\textbf{HINT}\par\vspace*{.25in}% - \begin{minipage}{.85\linewidth}% - \large\unskip\noindent\ignorespaces% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\tailHint} -% Close any environments begun in \cs{headHint} -% \begin{macrocode} -\newcommand{\tailHint} -{% - \end{minipage} - \end{center} - \par\vspace{\stretch{2}}% -} -% \end{macrocode} -% \end{macro} -% \subsubsection{The \texttt{answer} Environment} -% \begin{environment}{answer} -% The \texttt{answer} environment follows the \texttt{hint}, also listed within -% the \texttt{response} environment. -% \begin{macrocode} -\newenvironment{answer} -{% - \textBgColor{\@solnColor}% - \headAnswer -}% -{% - \tailAnswer -} -% \end{macrocode} -% \end{environment} -% \begin{macro}{\headAnswer} -% The ``design'' of the ``answer'' page. Can re-design. -% \begin{macrocode} -\newcommand{\headAnswer} -{% - \vspace*{\stretch{.1}}% - \begin{center}% - \Large\textbf{ANSWER} \\\vspace*{.25in}% - \begin{minipage}{.85\linewidth}% - \large\unskip\noindent\ignorespaces% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\tailAnswer} -% Close any environments opened by \cs{headAnswer} -% \begin{macrocode} -\newcommand{\tailAnswer} -{% - \end{minipage} - \end{center} - \vspace*{\stretch{2}} -} -% \end{macrocode} -% \end{macro} -% \subsection{Navigational Support} -% In this section we build navigational support. -% \begin{macrocode} -\def\iconWidth{40pt}\def\iconHeight{15pt} -% \end{macrocode} -% \begin{macro}{\ecHomePage} -% \begin{macro}{\ecLogo} -% \begin{macro}{\ecLogoLink} -% \cs{ecHomePage}, for the `Home' button, and \cs{ecLogo}, for the logo. The argument -% for \cs{ecLogo} should be a LaTeX graphics command such as \cs{includegraphics}. See -% the default for an example. With \cs{ecLogoLink}, you can optionally associate a link -% with your logo. -% \begin{macrocode} -\def\ecHomePage#1{\def\@ecHomePage{#1}} -\ecHomePage{http://www.math.uakron.edu/\string~dpstory/acrotex.html} -\def\ecLogo#1{\def\@ecLogo{#1}} -\ecLogo{\includegraphics[scale=.4]{graphics/uakron}} -\def\ecLogoLink#1{\def\@ecLogoLink{#1}} -\let\@ecLogoLink=\@empty -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \subsubsection{Define JS Actions for Icons} -% Below are some JavaScript definitions that are used for navigation. -% \begin{macrocode} -\def\makeesc#1{\catcode`#1=0\relax} -% \end{macrocode} -% \DescribeMacro{\fsJS}\noindent -% Action for the fullscreen button `FS'. -% \begin{macrocode} -\begin{defineJS}{\fsJS} -if (app.viewerVersion < 5.0) - app.fullscreen = !app.fullscreen -else -{ - app.fs.cursor = cursor.visible; - app.fs.defaultTransition = ""; - app.fs.useTimer = false; - app.fs.isFullScreen = !app.fs.isFullScreen; -} -\end{defineJS} -% \end{macrocode} -% \DescribeMacro{\beginJS} -% This is the JavaScript for the begin button `Begin'. -% \begin{macrocode} -\begin{defineJS}[\makeesc\@]{\beginJS} -aCardsReviewed = new Array(); -getNextCard(); -this.resetForm(); -var f = this.getField("ex"); -if ( f != null ) -{ - var g = f.getArray(); - for (var i = 0; i < g.length; i++) - g[i].strokeColor = @eqDefaultColor; -} -\end{defineJS} -% \end{macrocode} -% \subsubsection{Define Nagational Icons} -% Some navigation icons, \cs{newNaviIcon} is defined in the \textsf{Web Package}. -% \begin{macrocode} -% if nohint option is used, this is the JS action when hint is clicked. -\newcommand\noHintJSAction{} -\newNaviIcon[j]{\Soln}\iconWidth\iconHeight{\footnotesize Soln} - {\ifnum\nMarker=2\relax\else - this.gotoNamedDest("\solnDest");\fi} -% this.gotoNamedDest("ex.\exnoCard.s");\fi} -\newNaviIcon[j]{\Hint}\iconWidth\iconHeight{\footnotesize Hint} - {\if\@ecNoHints y\noHintJSAction - \else\ifnum\nMarker=0this.gotoNamedDest("\hintDest");\fi\fi} -% {\if\@ecNoHints y\noHintJSAction -% \else\ifnum\nMarker=0 this.gotoNamedDest("ex.\exnoCard");\fi\fi} -\newNaviIcon[j]{\NextCard}\iconWidth\iconHeight{\footnotesize Next} - {getNextCard();} -\newNaviIcon[j]{\hintNextCard}\iconWidth\iconHeight - {\footnotesize Next}{getNextCard();} -\newNaviIcon[j]{\hintSoln}\iconWidth\iconHeight{\footnotesize Soln} - {this.gotoNamedDest("\solndest");} -\newNaviIcon[j]{\Begin}\iconWidth\iconHeight - {\footnotesize Begin}{\beginJS} -\newNaviIcon[l]{\Home}\iconWidth\iconHeight{\footnotesize Home} - {\ifnum\arabic{page}=1\relax\def\next{\href{\@ecHomePage}}\else - \def\next{\hyperlink{page.1}}\fi\next} -\newNaviIcon[j]{\FullScreen}\iconWidth\iconHeight - {\footnotesize FS}{\fsJS} -\newNaviIcon[j]{\Close}\iconWidth\iconHeight{\footnotesize Close} - {app.execMenuItem("Close")} -% \end{macrocode} -% If \cs{@memLogo} has a value of `y', then the logo is put in a box and copied -% onto each page; otherwise, the logo is read from its file on each page. -% \begin{macrocode} -\edef\@@Logo{\if\@memLogo y\relax - \noexpand\unhcopy\noexpand\Logo\else\noexpand\@ecLogo\fi} -% \end{macrocode} -% Build the button panel for the navigational bar. Can re-design as desired. -% \begin{macrocode} -\ifnum\@panelconfig>0\relax -% \end{macrocode} -% if \cs{@panelconfig} (a macro defined in \textsf{web}, is positive, then the author has chosen -% a left or a right navigational panel. So, we must build a panel. -% \begin{macro}{\panelNaviGroup} -% This is the group of panel buttons used for navigational purposes. -% \begin{macrocode} - \renewcommand\panelNaviGroup - {% - \def\iconWidth{28pt} - \ifnum\thepage=1\relax - \parbox[c]{58pt} - {% - \Begin\hfil\FullScreen\\ - \Close\hfil\Home - }% - \else - \parbox[c]{58pt} - {% - {\ifnum\nMarker>0\relax - \navibarTextColor{lightblue}\fi - \if\@ecNoHints y\relax - \navibarTextColor{lightblue}\fi\Hint}\hfil - {\ifnum\nMarker=2\relax - \navibarTextColor{lightblue}\fi\Soln}\\ - \NextCard\hfil\Home - }% - \fi - } -% \end{macrocode} -% \end{macro} -% If \cs{@memLogo} is `y', create a new box, read logo with \cs{@ecLogo}, and store -% in box -% \begin{macrocode} - \newbox\Logo - \if\@memLogo y\relax - \AtBeginDocument{\global\setbox\Logo = \hbox{\@ecLogo}} - \fi -% \end{macrocode} -% \begin{macro}{\buildpanel} -% The \cs{buildpanel} command is defined in the \textsf{Web Package} and determines the layout of -% the vertical navigational panel. You can re-design your own. -% \begin{macrocode} - \buildpanel - {% - \ifx\@ecLogoLink\@empty\@@Logo - \else\href{\@ecLogoLink}{\@@Logo}\fi - \par\vspace{\stretch{1}}% - \rotatebox{-90}{\aebLogo}% - \par\vspace{\stretch{1}}% - \panelNaviGroup - } -% \end{macrocode} -% \end{macro} -% Delay the expansion of the \cs{newNaviIcon} macro for the solution page -% \begin{macrocode} - \def\defineSoln{\newNaviIcon[j]{\Soln}\iconWidth\iconHeight - {\footnotesize Soln}{this.gotoNamedDest("\solndest");} - \def\sqWrongRespJS{app.alert(\eqsqwgmsg,3); - this.gotoNamedDest("\solndest");}% - } -\else -% \end{macrocode} -% \begin{macro}{\cardNavibar} -% \cs{@panelconfig} must be zero, the author does not want a navigational panel, so well -% put buttons at the bottom of each page to navigate by. -% Standard navigational bar. -% \begin{macrocode} - \def\cardNaviBar{\insNaviBar{\hfill - \if\@ecNoHints n\Hint\ \fi\Soln\ \NextCard \ \Home\hfill}% - } -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\fi -% \end{macrocode} -% \subsection{Document Level JavaScript} -% Insert document level JavaScripts to get the functionality of randomly selected questions. -% -% \smallskip\noindent If author has used the \texttt{nodljs} or \texttt{exercises} only, then -% we need to turn the \textsf{insdljs} package back on by emitting -% \begin{macrocode} -\let\importdljs=y -% \end{macrocode} -% This is the JavaScript to control the eCards action. Some global variables followed by the -% \texttt{getNextCard()} method. -% \begin{macrocode} -\begin{insDLJS}[isCardloaded]{flashcrd}{Flash Card JS} -var isCardloaded=true; -var maxNumberCards = 100; -var aCardsReviewed = new Array(); -var cardsFinished = "\CARDSFINISHED"; -function getNextCard() -{ - numCards = \theNumCards; - var nCardsReviewed = aCardsReviewed.length; - if ( nCardsReviewed == numCards ) - { - app.alert(cardsFinished,3); - this.gotoNamedDest("page.1"); - } - else - { - var look4Next = true; - while (look4Next) - { - var nextCard = Math.random(); - nextCard *= maxNumberCards; - nextCard = Math.ceil(nextCard); - nextCard \%= numCards; - nextCard += 1; - for ( var i = 0; i < nCardsReviewed; i++) - if ( aCardsReviewed[i] == nextCard ) break; - if ( i == nCardsReviewed ) look4Next = false; - } - aCardsReviewed.push(nextCard); - this.gotoNamedDest("qex."+nextCard); - } -} -% \end{macrocode} -% We also define a function \texttt{ecOnBlurRespBox()} to -% correctly control the page changes: If a wrong answer is given, then we go to -% the hint or the solution depending on whether user is responding to the original -% question or to the hint. -% \begin{macrocode} -function ecOnBlurRespBox (retn, exnoCard, nMarker) -{ - if (retn != null) { - if (retn) { - app.alert(\eqsqrtmsg,3); - var dest = "ex." + exnoCard + ".s"; - this.gotoNamedDest(dest); - } - else { - app.alert(\eqsqwgmsg,3); - if (nMarker==0) { - var dest = "ex." + exnoCard; - this.gotoNamedDest(dest); - } - else { - var dest = "ex." + exnoCard + ".s"; - this.gotoNamedDest(dest); - } - } - } - else { - var str = event.target.value.toString(); - if (str.replace(/\s/g,"") == "") - event.target.strokeColor = \eqDefaultColor; - } -} -\end{insDLJS} -% \end{macrocode} -% This requires the document author to be using the full Acrobat 5.0 or greater, not -% just the Adobe Reader. -% \begin{macrocode} -\begin{execJS}{execjs} -app.execMenuItem("Save"); -\end{execJS} -% \end{macrocode} -% If we have the \texttt{listing} option taken, then we import the \texttt{eCardsList.def} -% file to redefine portions of the \texttt{card} environment. -% just the Adobe Reader. -% \begin{macrocode} -\ifecListing - \input{eCardsList.def} -\fi -% \end{macrocode} -% If document author wants to modify these environments, s/he can place redefinitions in -% \texttt{eCard.cus}. -% \begin{macrocode} -\if\@ecCustom y\InputIfFileExists{eCard.cus}{}{}\fi -%</package> -% \end{macrocode} -% \subsection{Support for the \texttt{listing} option} -% When the \texttt{listing} option is taken, we list out the questions, hints, and answers. -% In this section, a number of environments and commands are defined, the name of each -% begin with `\texttt{listing@}'. The document author can \cs{renewcommand} there to -% create a printed listing of easy review. If you say -%\begin{verbatim} -%\usepackage[dvipsone,forpaper,tight,nodirectory]{web} -%\usepackage[execJS,solutionsafter,proofing,preview]{exerquiz} -%\usepackage[memLogo,listing]{eCards} -%\end{verbatim} -% then the multiple choice and fill-in questions will display the correct answers. Place any -% customizations in a text field named \texttt{eCards.cus}, and use the \texttt{custom} -% option. -% \subsubsection{The \texttt{card} Environment} -% \begin{macrocode} -%<*listing> -% \end{macrocode} -% \begin{environment}{card} -% This is the main environment for writing questions, hints and answers. This environment -% encloses all. -% \begin{macrocode} -\newcounter{ecCnt} -\renewcommand\exsolafter{} -\eqexerskip{0pt} -\newenvironment{listing@card} -{% - \stepcounter{ecCnt}% - \gdef\nMarker{0}% - \def\eqexheader{\noindent}% - \renewcommand\exsllabelformat{\noindent}% - \renewcommand\exrtnlabelformat{}% - \renewcommand\exsecrunhead{}% - \begin{exercise}% - \textBgColor{\@cardColor}% - \headCard -}% -{% - \tailCard - \end{exercise}% -} -%\let\card = \listing@card -%\let\endcard = \endlisting@card -% \end{macrocode} -% \end{environment} -% \begin{macro}{\headCard} -% The ``design'' of the ``question'' page. Can re-design. -% \begin{macrocode} -\newcommand{\listing@headCard} -{% - \unskip\makebox[0pt][r] - {\textbf{\arabic{ecCnt}.\enspace}}\ignorespaces% -} -%\let\headCard = \listing@headCard -% \end{macrocode} -% \end{macro} -% \begin{macro}{\tailCard} -% Complete any environments begun by \cs{headCard} -% \begin{macrocode} -\newcommand{\listing@tailCard}{\par} -%\let\tailCard = \listing@tailCard -% \end{macrocode} -% \end{macro} -% \subsubsection{The \texttt{response} Environment} -% \begin{environment}{response} -% Nested within the \texttt{card} environment is the -% \texttt{response} environment, which, in turn, contains the -% \texttt{hint} and \texttt{answer} environments. This basically -% the \texttt{solution} environment for an \texttt{exercise} of -% \textsf{exerquiz}. -% \begin{macrocode} -\newenvironment{listing@response} - {\solnexer@woparts[0pt]}{\endsolnexer@woparts} -%\let\headresponse = \listing@response -%\let\endresponse = \listing@response -% \end{macrocode} -% \end{environment} -% \begin{environment}{hint} -% Right now, a hint is required. Place this environment within the \texttt{response} -% environment and \textit{before} the \texttt{answer} environment. -% \begin{macrocode} -\newenvironment{listing@hint} -{% - \textBgColor{\@hintColor}% - \headHint -}% -{% - \tailHint -} -%\let\headhint = \listing@hint -%\let\endhint = \listing@endhint -% \end{macrocode} -% \end{environment} -% \begin{macro}{\headHint} -% The ``design'' of the ``hint'' page. Can re-design. -% \begin{macrocode} -\newcommand{\listing@headHint} -{% - \unskip\par\textit{Hint}:\space\ignorespaces -} -%\let\headHint = \listing@headHint -% \end{macrocode} -% \end{macro} -% \begin{macro}{\tailHint} -% Close any environments begun in \cs{headHint} -% \begin{macrocode} -\newcommand{\listing@tailHint}{} -%\let\tailHint = \listing@tailHint -% \end{macrocode} -% \end{macro} -% \subsubsection{The \texttt{answer} Environment} -% \begin{macro}{\headAnswer} -% The ``design'' of the ``answer'' page. Can re-design. -% \end{macro} -% \begin{environment}{answer} -% The \texttt{answer} environment follows the \texttt{hint}, also listed within -% the \texttt{response} environment. -% \begin{macrocode} -\newenvironment{listing@answer} -{% - \textBgColor{\@solnColor}% - \headAnswer -}% -{% - \tailAnswer -} -%\let\answer = \listing@answer -%\let\endanswer = \listing@endanswer -% \end{macrocode} -% \end{environment} -% \begin{macrocode} -\newcommand{\listing@headAnswer} -{% - \unskip\par\textit{Answer}:\space\ignorespaces -} -%\let\headAnswer = \listing@headAnswer -% \end{macrocode} -% \begin{macro}{\tailAnswer} -% Close any environments opened by \cs{headAnswer} -% \begin{macrocode} -\newcommand{\listing@tailAnswer}{} -%\let\tailAnswer = \listing@tailAnswer -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\AtBeginDocument{% - \let\card = \listing@card - \let\endcard = \endlisting@card - \let\headCard = \listing@headCard - \let\tailCard = \listing@tailCard - \let\headresponse = \listing@response - \let\endresponse = \listing@response - \let\headhint = \listing@hint - \let\endhint = \listing@endhint - \let\headHint = \listing@headHint - \let\tailHint = \listing@tailHint - \let\answer = \listing@answer - \let\endanswer = \listing@endanswer - \let\headAnswer = \listing@headAnswer - \let\tailAnswer = \listing@tailAnswer -} -%</listing> -% \end{macrocode} -\endinput diff --git a/Master/texmf-dist/source/latex/eCards/eCards.ins b/Master/texmf-dist/source/latex/eCards/eCards.ins deleted file mode 100644 index 69000e6cfd6..00000000000 --- a/Master/texmf-dist/source/latex/eCards/eCards.ins +++ /dev/null @@ -1,65 +0,0 @@ -%%
-%% 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 1999-2002 D. P. Story
-%%
-%% This file is part of the `Web and Exerquiz Distribution'.
-%% -------------------------------------------
-%%
-%% 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{2001/05/26}
-\def\batchfile{eCards.ins}
-%
-% If you can assume that the target audience for the document all have
-% Acrobat Reader 5.0 or later, then chance the following switch to true,
-% else, leave it as false.
-
-\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{eCards.sty}{\from{eCards.dtx}{copyright,package}}
- \file{eCardsList.def}{\from{eCards.dtx}{copyright,listing}}
-}
-
-\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/Master/texmf-dist/tex/latex/eCards/eCards.sty b/Master/texmf-dist/tex/latex/eCards/eCards.sty deleted file mode 100644 index 7a2efc657de..00000000000 --- a/Master/texmf-dist/tex/latex/eCards/eCards.sty +++ /dev/null @@ -1,369 +0,0 @@ -%% -%% This is file `eCards.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% eCards.dtx (with options: `copyright,package') -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% eCards.sty package, 2003-3-10 %% -%% Copyright (C) 1999-2002 D. P. Story %% -%% dpstory@uakron.edu %% -%% %% -%% 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}[1997/12/01] -\ProvidesPackage{eCards} - [2003/05/18 v1.0 eCards: An electronic flash cards package (dps)] -\DeclareOption{memLogo}{\let\@memLogo=y} -\let\@memLogo=n -\DeclareOption{listing}{\ecListingtrue} -\newif\ifecListing \ecListingfalse -\DeclareOption{custom}{\let\@ecCustom=y} -\let\@ecCustom=n -\DeclareOption{nohints} - {% - \let\@ecNoHints=y - \def\hintDest{ex.\exnoCard}% - \def\solnDest{ex.\exnoCard}% - } -\let\@ecNoHints=n -\def\hintDest{ex.\exnoCard}% -\def\solnDest{ex.\exnoCard.s}% -\ProcessOptions -\RequirePackage{web} -\RequirePackage{exerquiz} -\newcommand{\cardsFinishedMsg}[1]{\def\CARDSFINISHED{#1}} -\cardsFinishedMsg{You've seen all the cards!} -\textBgColor{cornsilk} -\def\cardColor#1{\def\@cardColor{#1}} -\def\hintColor#1{\def\@hintColor{#1}} -\def\solnColor#1{\def\@solnColor{#1}} -\cardColor{vlightblue} -\hintColor{cornsilk} -\solnColor{webyellow} -\let\web@copyright=\@gobble -\let\exnoCard=\the@exno -\let\web@rightheader=\@empty -\def\io#1{\immediate\write\@auxout{#1}} -\def\endsolnexerhookaux{% - \ifnum\@panelconfig=0\relax - \immediate\write\verbatim@out - {\string\insNaviBar*{\hfil\string\NextCard\hfil}}% - \fi -} -\def\include@solutions{% - \let\webnewpage=\relax - \immediate\closeout\ex@solns - \ifeq@nosolutions\else - \iftherearesolutions\newpage\markright{\exsecrunhead}% - \ifx\webnewpage\relax - \def\webnewpage{\let\webnewpage=\newpage}% - \fi - \eqsolutionshook - \addcontentsline{toc}{section} - {\protect\numberline{}\exsectitle}% - \input{\jobname.sol}% - \fi - \fi -} -\AtEndDocument{\io{\string\gdef\string\totalCards{\the@exno}}\clearpage} -\def\theNumCards{\csname totalCards\endcsname} -\def\nMarker{0} -\def\ReturnTo#1#2{\eq@fititin#2} -\renewcommand\exsecrunhead{} -\renewcommand\exlabel{} -\renewcommand\exsectitle{} -\newenvironment{multiChoice}[1] -{% - \par\smallskip\def\aftershortquizskip{}% - \def\sq@priorhook{}\renewcommand\sqlabel{\@gobble}% - \ifnum\nMarker=0\relax - \def\sqWrongRespJS{app.alert(\eqsqwgmsg,3); - this.gotoNamedDest("\hintDest");}% - \fi - \begin{shortquiz} - \begin{answers}[\solnDest]{#1}% -}% -{% - \end{answers} - \end{shortquiz} -} -\everyRespBoxTxt{\BG{1 1 1}}\everyRespBoxMath{\BG{1 1 1}} -\newenvironment{fillIn} -{% - \def\RespBoxTxtOnBlur{ecOnBlurRespBox(retn, \exnoCard, \nMarker);}% - \unskip\begin{oQuestion}{\ifnum\nMarker>0\relax - \solnDest\else\hintDest\fi}% -} -{\end{oQuestion}} - -\newenvironment{card} -{% - \newpage - \gdef\nMarker{0} - \def\eqexheader{\noindent} - \renewcommand\exsllabelformat{\noindent} - \renewcommand\exrtnlabelformat{} - \renewcommand\exsecrunhead{} - \ifnum\@panelconfig=0\relax - \def\exersolnheadhook - {\string\def\string\solndest{\solnDest}}% - \else - \def\exersolnheadhook{\string\def\string\exnoCard{\exnoCard}% - \string\def\string\solndest{\solnDest}% - \string\gdef\string\nMarker - {\if\@ecNoHints y2\else1\fi}\string\defineSoln}% - \fi - \begin{exercise} - \textBgColor{\@cardColor}% - \headCard -}% -{% - \tailCard - \end{exercise}% - \ifnum\@panelconfig=0\relax\aftergroup\cardNaviBar\fi -} -\newcommand{\headCard} -{% - \vspace*{\stretch{.1}}% - \begin{center}% - \Large\textbf{QUESTION}\par\vspace*{.25in}% - \begin{minipage}{.85\linewidth}% - \large\unskip\noindent\ignorespaces% -} -\newcommand{\tailCard} -{% - \end{minipage} - \end{center} - \par\vspace{\stretch{2}}% -} -\newenvironment{response} - {\solnexer@woparts[0pt]}{\endsolnexer@woparts} -\newenvironment{hint} -{% - \textBgColor{\@hintColor}% - \headHint -}% -{% - \tailHint - \ifnum\@panelconfig=0\relax - \insNaviBar{\hfill\hintSoln\ \hintNextCard\hfill}\fi - \newpage\gdef\nMarker{2}\noindent\hypertarget{\solndest}{}% -} -\if\@ecNoHints y% - \let\hint=\comment - \let\endhint=\endcomment -\fi -\newcommand{\headHint} -{% - \vspace*{\stretch{.1}}% - \begin{center}% - \Large\textbf{HINT}\par\vspace*{.25in}% - \begin{minipage}{.85\linewidth}% - \large\unskip\noindent\ignorespaces% -} -\newcommand{\tailHint} -{% - \end{minipage} - \end{center} - \par\vspace{\stretch{2}}% -} -\newenvironment{answer} -{% - \textBgColor{\@solnColor}% - \headAnswer -}% -{% - \tailAnswer -} -\newcommand{\headAnswer} -{% - \vspace*{\stretch{.1}}% - \begin{center}% - \Large\textbf{ANSWER} \\\vspace*{.25in}% - \begin{minipage}{.85\linewidth}% - \large\unskip\noindent\ignorespaces% -} -\newcommand{\tailAnswer} -{% - \end{minipage} - \end{center} - \vspace*{\stretch{2}} -} -\def\iconWidth{40pt}\def\iconHeight{15pt} -\def\ecHomePage#1{\def\@ecHomePage{#1}} -\ecHomePage{http://www.math.uakron.edu/\string~dpstory/acrotex.html} -\def\ecLogo#1{\def\@ecLogo{#1}} -\ecLogo{\includegraphics[scale=.4]{graphics/uakron}} -\def\ecLogoLink#1{\def\@ecLogoLink{#1}} -\let\@ecLogoLink=\@empty -\def\makeesc#1{\catcode`#1=0\relax} -\begin{defineJS}{\fsJS} -if (app.viewerVersion < 5.0) - app.fullscreen = !app.fullscreen -else -{ - app.fs.cursor = cursor.visible; - app.fs.defaultTransition = ""; - app.fs.useTimer = false; - app.fs.isFullScreen = !app.fs.isFullScreen; -} -\end{defineJS} -\begin{defineJS}[\makeesc\@]{\beginJS} -aCardsReviewed = new Array(); -getNextCard(); -this.resetForm(); -var f = this.getField("ex"); -if ( f != null ) -{ - var g = f.getArray(); - for (var i = 0; i < g.length; i++) - g[i].strokeColor = @eqDefaultColor; -} -\end{defineJS} -\newcommand\noHintJSAction{} -\newNaviIcon[j]{\Soln}\iconWidth\iconHeight{\footnotesize Soln} - {\ifnum\nMarker=2\relax\else - this.gotoNamedDest("\solnDest");\fi} -\newNaviIcon[j]{\Hint}\iconWidth\iconHeight{\footnotesize Hint} - {\if\@ecNoHints y\noHintJSAction - \else\ifnum\nMarker=0this.gotoNamedDest("\hintDest");\fi\fi} -\newNaviIcon[j]{\NextCard}\iconWidth\iconHeight{\footnotesize Next} - {getNextCard();} -\newNaviIcon[j]{\hintNextCard}\iconWidth\iconHeight - {\footnotesize Next}{getNextCard();} -\newNaviIcon[j]{\hintSoln}\iconWidth\iconHeight{\footnotesize Soln} - {this.gotoNamedDest("\solndest");} -\newNaviIcon[j]{\Begin}\iconWidth\iconHeight - {\footnotesize Begin}{\beginJS} -\newNaviIcon[l]{\Home}\iconWidth\iconHeight{\footnotesize Home} - {\ifnum\arabic{page}=1\relax\def\next{\href{\@ecHomePage}}\else - \def\next{\hyperlink{page.1}}\fi\next} -\newNaviIcon[j]{\FullScreen}\iconWidth\iconHeight - {\footnotesize FS}{\fsJS} -\newNaviIcon[j]{\Close}\iconWidth\iconHeight{\footnotesize Close} - {app.execMenuItem("Close")} -\edef\@@Logo{\if\@memLogo y\relax - \noexpand\unhcopy\noexpand\Logo\else\noexpand\@ecLogo\fi} -\ifnum\@panelconfig>0\relax - \renewcommand\panelNaviGroup - {% - \def\iconWidth{28pt} - \ifnum\thepage=1\relax - \parbox[c]{58pt} - {% - \Begin\hfil\FullScreen\\ - \Close\hfil\Home - }% - \else - \parbox[c]{58pt} - {% - {\ifnum\nMarker>0\relax - \navibarTextColor{lightblue}\fi - \if\@ecNoHints y\relax - \navibarTextColor{lightblue}\fi\Hint}\hfil - {\ifnum\nMarker=2\relax - \navibarTextColor{lightblue}\fi\Soln}\\ - \NextCard\hfil\Home - }% - \fi - } - \newbox\Logo - \if\@memLogo y\relax - \AtBeginDocument{\global\setbox\Logo = \hbox{\@ecLogo}} - \fi - \buildpanel - {% - \ifx\@ecLogoLink\@empty\@@Logo - \else\href{\@ecLogoLink}{\@@Logo}\fi - \par\vspace{\stretch{1}}% - \rotatebox{-90}{\aebLogo}% - \par\vspace{\stretch{1}}% - \panelNaviGroup - } - \def\defineSoln{\newNaviIcon[j]{\Soln}\iconWidth\iconHeight - {\footnotesize Soln}{this.gotoNamedDest("\solndest");} - \def\sqWrongRespJS{app.alert(\eqsqwgmsg,3); - this.gotoNamedDest("\solndest");}% - } -\else - \def\cardNaviBar{\insNaviBar{\hfill - \if\@ecNoHints n\Hint\ \fi\Soln\ \NextCard \ \Home\hfill}% - } -\fi -\let\importdljs=y -\begin{insDLJS}[isCardloaded]{flashcrd}{Flash Card JS} -var isCardloaded=true; -var maxNumberCards = 100; -var aCardsReviewed = new Array(); -var cardsFinished = "\CARDSFINISHED"; -function getNextCard() -{ - numCards = \theNumCards; - var nCardsReviewed = aCardsReviewed.length; - if ( nCardsReviewed == numCards ) - { - app.alert(cardsFinished,3); - this.gotoNamedDest("page.1"); - } - else - { - var look4Next = true; - while (look4Next) - { - var nextCard = Math.random(); - nextCard *= maxNumberCards; - nextCard = Math.ceil(nextCard); - nextCard \%= numCards; - nextCard += 1; - for ( var i = 0; i < nCardsReviewed; i++) - if ( aCardsReviewed[i] == nextCard ) break; - if ( i == nCardsReviewed ) look4Next = false; - } - aCardsReviewed.push(nextCard); - this.gotoNamedDest("qex."+nextCard); - } -} -function ecOnBlurRespBox (retn, exnoCard, nMarker) -{ - if (retn != null) { - if (retn) { - app.alert(\eqsqrtmsg,3); - var dest = "ex." + exnoCard + ".s"; - this.gotoNamedDest(dest); - } - else { - app.alert(\eqsqwgmsg,3); - if (nMarker==0) { - var dest = "ex." + exnoCard; - this.gotoNamedDest(dest); - } - else { - var dest = "ex." + exnoCard + ".s"; - this.gotoNamedDest(dest); - } - } - } - else { - var str = event.target.value.toString(); - if (str.replace(/\s/g,"") == "") - event.target.strokeColor = \eqDefaultColor; - } -} -\end{insDLJS} -\begin{execJS}{execjs} -app.execMenuItem("Save"); -\end{execJS} -\ifecListing - \input{eCardsList.def} -\fi -\if\@ecCustom y\InputIfFileExists{eCard.cus}{}{}\fi -\endinput -%% -%% End of file `eCards.sty'. diff --git a/Master/texmf-dist/tex/latex/eCards/eCardsList.def b/Master/texmf-dist/tex/latex/eCards/eCardsList.def deleted file mode 100644 index 757d5a72a71..00000000000 --- a/Master/texmf-dist/tex/latex/eCards/eCardsList.def +++ /dev/null @@ -1,91 +0,0 @@ -%% -%% This is file `eCardsList.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% eCards.dtx (with options: `copyright,listing') -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% eCards.sty package, 2003-3-10 %% -%% Copyright (C) 1999-2002 D. P. Story %% -%% dpstory@uakron.edu %% -%% %% -%% 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. %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcounter{ecCnt} -\renewcommand\exsolafter{} -\eqexerskip{0pt} -\newenvironment{listing@card} -{% - \stepcounter{ecCnt}% - \gdef\nMarker{0}% - \def\eqexheader{\noindent}% - \renewcommand\exsllabelformat{\noindent}% - \renewcommand\exrtnlabelformat{}% - \renewcommand\exsecrunhead{}% - \begin{exercise}% - \textBgColor{\@cardColor}% - \headCard -}% -{% - \tailCard - \end{exercise}% -} -\newcommand{\listing@headCard} -{% - \unskip\makebox[0pt][r] - {\textbf{\arabic{ecCnt}.\enspace}}\ignorespaces% -} -\newcommand{\listing@tailCard}{\par} -\newenvironment{listing@response} - {\solnexer@woparts[0pt]}{\endsolnexer@woparts} -\newenvironment{listing@hint} -{% - \textBgColor{\@hintColor}% - \headHint -}% -{% - \tailHint -} -\newcommand{\listing@headHint} -{% - \unskip\par\textit{Hint}:\space\ignorespaces -} -\newcommand{\listing@tailHint}{} -\newenvironment{listing@answer} -{% - \textBgColor{\@solnColor}% - \headAnswer -}% -{% - \tailAnswer -} -\newcommand{\listing@headAnswer} -{% - \unskip\par\textit{Answer}:\space\ignorespaces -} -\newcommand{\listing@tailAnswer}{} -\AtBeginDocument{% - \let\card = \listing@card - \let\endcard = \endlisting@card - \let\headCard = \listing@headCard - \let\tailCard = \listing@tailCard - \let\headresponse = \listing@response - \let\endresponse = \listing@response - \let\headhint = \listing@hint - \let\endhint = \listing@endhint - \let\headHint = \listing@headHint - \let\tailHint = \listing@tailHint - \let\answer = \listing@answer - \let\endanswer = \listing@endanswer - \let\headAnswer = \listing@headAnswer - \let\tailAnswer = \listing@tailAnswer -} -\endinput -%% -%% End of file `eCardsList.def'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 571fb2d1e7c..ce184166395 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -110,7 +110,7 @@ my @TLP_working = qw( dtxtut duerer-latex duotenzor dvdcoll dviasm dviincl dvipdfmx-def dvipsconfig dyntree ean13isbn easy easylist - ebong ebsthesis eCards ecc ecclesiastic economic + ebong ebsthesis ecc ecclesiastic economic ecv ed edmac edmargin ednotes eemeir eepic egameps egplot eiad eiad-ltx eijkhout elbioimp ellipsis elmath elpres elsarticle elsevier elsevier-bib diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 6700362cc62..70de1d611e5 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -227,6 +227,8 @@ $Master = "$mydir/../.."; 'ean13isbn', "&MAKEcopy", 'ebib', "die 'skipping, as it is Emacs'", 'ebong', "&MAKEebong", + 'ecards', "die 'skipping, per author request'", + 'eCards', "die 'skipping, per author request'", 'ecc', "&MAKEflatten", 'eco', "&MAKEeco", 'edmac', "die 'skipping, needs work (unzip xx)'", @@ -243,7 +245,7 @@ $Master = "$mydir/../.."; 'epix', "die 'skipping, needs C++'", 'eplain', "&MAKEcopy", 'epspdf', "&MAKEflatten", - 'eqexam', "die 'skipping, author request'", + 'eqexam', "die 'skipping, per author request'", 'eqmark', "die 'skipping, latex 2.09, was never in TL'", 'eqnarray', "die 'skipping, nonfree'", 'esindex', "die 'skipping, use bezos instead'", diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 92f9caa252f..ea56495f557 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -160,7 +160,6 @@ depend draftwatermark depend dtk depend dtxgallery depend dvdcoll -depend eCards depend easy depend easylist depend ean13isbn diff --git a/Master/tlpkg/tlpsrc/eCards.tlpsrc b/Master/tlpkg/tlpsrc/eCards.tlpsrc deleted file mode 100644 index e69de29bb2d..00000000000 --- a/Master/tlpkg/tlpsrc/eCards.tlpsrc +++ /dev/null |