diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/eqexam')
18 files changed, 0 insertions, 2108 deletions
diff --git a/Master/texmf-dist/doc/latex/eqexam/README b/Master/texmf-dist/doc/latex/eqexam/README deleted file mode 100644 index f1a5240caba..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/README +++ /dev/null @@ -1,49 +0,0 @@ -The eqexam Package - -eqExam is a LaTeX package for writing exams, tests, quizzes, -homework assignments, etc. It is a stand alone package, yet is -tightly integrated with the AcroTeX eDucation Bundle (AeB). Highlights of -this package are as follows: - - 1. Can create exams (tests, quizzes, homework assignments) for - paper, with points in the left or right margins (or both), totals - for each page optionally shown at the bottom corner of each page. - Questions can be objective, fill-in, true false, or multiple - choice. - 2. Solutions can optionally be included in the source file, and - by changing options, can be displayed (for an answer key), in a - couple of different ways. A solutions only document can also be - generated. - 3. Can create mutli-part exams, as I often do for final exams, these - multiple exams are meant to be graded individually. - 4. The one thing that distinguishes this package from the other - exam package is its support for PDF, and this is where AeB comes - in. When you have AeB installed, and you select any of - several options (pdf, links, online or email), a variety of - things can happen. For example, in the case of the online or - email options, white space for solutions is converted into - multiline text field, spaces to fill in answers are converted to - text fields,multiple choice questions are converted into radio - button fields, etc. When the email option is used, a "Submit" - button is automatically created at the top of the first page of - the test. The student can take the test online (perhaps in a - testing lab) then submit responses to the instructor. The email - that is generated to the instructor attaches the FDF file of - form data, so the instructor gets a copy of all responses. - She/He can then open the file and view the responses of the - student. Get the latest AeB (AcroTeX eDucation Bundle, - web,exerquiz,etc) - -The home page for eqexam is - - http://www.math.uakron.edu/~dpstory/eqexam.html - -The home page for AeB is - - http://www.math.uakron.edu/~dpstory/webeq.html - -Comments and suggestions are always gratefully accepted and seriously -considered. - -D. P. Story -09/29/09 diff --git a/Master/texmf-dist/doc/latex/eqexam/doc/README.TEXLIVE b/Master/texmf-dist/doc/latex/eqexam/doc/README.TEXLIVE deleted file mode 100644 index 76724761e34..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/doc/README.TEXLIVE +++ /dev/null @@ -1,6 +0,0 @@ -The following files have been removed in the TeX Live installation of -the current package, typically due to duplication, lack of space, or -missing source code. You can find these files on CTAN. If questions or -concerns, email tex-live@tug.org. - - eqexamman.pdf diff --git a/Master/texmf-dist/doc/latex/eqexam/eqecus.opt b/Master/texmf-dist/doc/latex/eqexam/eqecus.opt deleted file mode 100644 index 51467e8cfda..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/eqecus.opt +++ /dev/null @@ -1,17 +0,0 @@ -% -% AcroTeX Software Development Teams -- 2006 -% http://www.acrotex.net -% -% The following options combination of options are special to the -% @EASE application. Do not change. -% -\DeclareOption{atbdbopts}{% - \ExecuteOptions{online} - \ExecuteOptions{forcolorpaper} - \ExecuteOptions{nosolutions} - \ExecuteOptions{nopoints} - \ExecuteOptions{nototals} - \ExecuteOptions{nospacetowork} - \ExecuteOptions{obeylocalversions} - \ExecuteOptions{myconfig} -} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/eqex_solnsonly.tex b/Master/texmf-dist/doc/latex/eqexam/examples/eqex_solnsonly.tex deleted file mode 100644 index e3b233a2d3f..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/eqex_solnsonly.tex +++ /dev/null @@ -1,56 +0,0 @@ -\documentclass{article} -\usepackage[fleqn]{amsmath} -\usepackage[pointsonleft,nototals,forpaper,nosolutions,useforms]{eqexam} -%\usepackage[pointsonleft,nototals,nosummarytotals,forpaper,useforms,solutionsonly,pdf]{eqexam} - -\subject[CA]{College Algebra} -\title[T1]{Test 1} -\author{Dr.\ D. P. Story} -\date{\thisterm, \the\year} -\duedate{10/01/09} -\keywords{MAC 1105, Exam \nExam, {\thisterm} semester, \theduedate, at NWFSC} - - -% -% Compile with the nosolutions option to create the .sol auxiliary file -% that contains a listing of all the solutions, then compile with the -% solutionsonly option. -% -\encloseProblemsWith{theseproblems} - -\begin{document} - -\maketitle - -\begin{exam}{myProblems} - -\ifsolutionsonly -\begin{instructions}[Solutions:] -The solutions to the test. -\end{instructions} -\else -\begin{instructions}[Instructions:] -Solve each problem and box in your final $\boxed{\text{answer}}$. -\end{instructions} -\fi - -\begin{theseproblems} - -\begin{problem}[5] -This is question 1 -\begin{solution} -This is the solution to question 1 -\end{solution} -\end{problem} - -\begin{problem}[5] -This is question 2 -\begin{solution} -This is the solution to question 2 -\end{solution} -\end{problem} - -\end{theseproblems} -\includeexersolutions -\end{exam} -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/eqexam.cfg b/Master/texmf-dist/doc/latex/eqexam/examples/eqexam.cfg deleted file mode 100644 index bc9a15aed60..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/eqexam.cfg +++ /dev/null @@ -1,7 +0,0 @@ -\renewcommand\maketitledesign -{% - \makebox[\textwidth]{\normalsize - \shortstack[l]{\strut\websubject\\\webauthor, \@date}\hfill - \shortstack[l]{\webtitle\\\strut}\hfill - \shortstack[l]{\strut\eq@ExamName\\\eq@SID}}% -} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/eqexami.cfg b/Master/texmf-dist/doc/latex/eqexam/examples/eqexami.cfg deleted file mode 100644 index 57511627ea3..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/eqexami.cfg +++ /dev/null @@ -1,12 +0,0 @@ -\renewcommand\maketitledesign -{% - \makebox[\textwidth]{\normalsize - \shortstack[l]{\strut\underbar{\websubject}\\\@date}\hfill - \shortstack[l]{\underbar{\webtitle}\\\strut}\hfill - \shortstack[l]{\strut\underbar{Due \theduedate}\\\webauthor}}% -} -\rhead{\webauthor} -\def\exrtnlabelformat{$\square$} -\def\exrtnlabelformatwp{} -\def\eq@sqslrtnlabel{} -\everymath{\displaystyle} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.bb b/Master/texmf-dist/doc/latex/eqexam/examples/fig1.bb deleted file mode 100644 index ac080e4eb19..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.bb +++ /dev/null @@ -1,5 +0,0 @@ -%%Title: ./fig1.jpg -%%Creator: ebb Version 0.5.2 -%%BoundingBox: 0 0 636 704 -%%CreationDate: Fri Feb 04 18:59:33 2005 - diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.eps b/Master/texmf-dist/doc/latex/eqexam/examples/fig1.eps Binary files differdeleted file mode 100644 index d40a7d65844..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.eps +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.jpg b/Master/texmf-dist/doc/latex/eqexam/examples/fig1.jpg Binary files differdeleted file mode 100644 index 27e8564dabb..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.pdf b/Master/texmf-dist/doc/latex/eqexam/examples/fig1.pdf Binary files differdeleted file mode 100644 index 054fe38f562..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/fig1.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/hw01.tex b/Master/texmf-dist/doc/latex/eqexam/examples/hw01.tex deleted file mode 100644 index d1981f6d127..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/hw01.tex +++ /dev/null @@ -1,159 +0,0 @@ -\documentclass[12pt]{article} -\usepackage{amsmath,url} - -% This set of parameters are used to distribute the assignment to the class (in paper form) -% and for posting on the class web site (for those who missed the class). -% With the pdf option the information contained in the keys below are placed -% in the document info of the PDF document. If you don't have the AcroTeX Bundle -% installed, remove the pdf option. -\usepackage[pdf,forpaper,myconfigi,nopoints,nosolutions]{eqexam} - -% Note: When using a PDF option like pdf, you need to specify a driver -% that is passed to hyperref, web.sty etc. For example, -% \usepackage[pdf,pdftex,forpaper,myconfigi,nopoints,nosolutions]{eqexam} - -% This set of parameters are used to publish the solutions on the class web site, if -% desired. -% \usepackage[pdf,forpaper,myconfigi,pointsonleft,answerkey]{eqExam} - -% Note the use of the myconfigi parameter. This then inputs eqexami.cfg, there I -% have placed some definitions specific to a homework assignment. - -\subject[AC2]{Advanced Calculus II} -\title[HW1]{HW \#1} -\author{Dr.\ D. P. Story} -\date{Spring 2005} -\duedate{01/28/05} -\keywords{Homework due \theduedate} -\begin{document} - -\maketitle - -\begin{exam}{HW} - -\ifanswerkey -\begin{instructions}[Solutions] -Below, please find a set of solutions to this assignment. -\end{instructions} -\else -\begin{instructions}[] -Assignments should be neatly-written, well-organized and concise. -If you miss a class and need to get an assignment, see -$$ - \text{\url{http://www.math.uakron.edu/~dpstory/}} -$$ -All class assignments and other announcements will be posted on -this web site. -\end{instructions} -\fi - -\begin{eqComments}[]\S4.3, page 155\footnote{in the text}.\end{eqComments} - -\begin{problem}[4] -Problem 15. Use the definition to prove $f(x) = x^2$ is convex on -$\mathbb{R}$. -\begin{solution} -Let $[c,d]$ be any interval and let $t\in[0,1]$, we need to prove -\begin{equation} - f\bigl( (1-t)c + td \bigr) \le (1-t) f(c) + tf(d)\label{eq0} -\end{equation} -or, -\begin{equation} - \bigl( ( 1-t )c + td \bigr)^2 \le (1-t) c^2 + t d^2\label{eq2} -\end{equation} -We show that the right-side minus the left-side in \eqref{eq2} is nonnegative. Indeed, -\begin{align*} - (1-t) c^2 + &t d^2 - \left( ( 1-t )c + td \right)^2 \\& - = (1-t) c^2 + t d^2 - \left( ( 1-t )^2 c^2 + 2t(1-t)cd + t^2d^2 \right)\\& - = (1-t)[1-(1-t)]c^2 - 2t(1-t)cd + t(1-t)d^2\\& - = t(1-t)c^2 - 2t(1-t)cd + t(1-t)d^2\\& - = t(1-t)( c - d )^2 \ge 0 -\end{align*} -From the first and last lines we have $(1-t) c^2 + t d^2 - \left( ( 1-t )c + td \right)^2\ge0$. This is equivalent -to the desired inequality~\eqref{eq2}. \eqfititin{$\square$} - -\medskip\noindent\textit{Alternate Solution}: -We apply the \textbf{Cauchy-Schwartz Inequality}, page.~16, to the expression on the left side of line~\eqref{eq2}. -For convenience, I paraphrase the \textbf{Cauchy-Schwartz Inequality}: -$$ - \left(\sum_{k=1}^n a_k b_k \right)^2 \le \left(\sum_{k=1}^n a_k^2 \right) \left(\sum_{k=1}^n b_k^2 \right) -$$ -Applying this inequality, with $a_1 = \sqrt{1-t}$, $b_1 = -\sqrt{1-t}\,c$, $a_2 = \sqrt{t}$, $b_2 = \sqrt{t}\,d$ (here, -$n=2$, two terms), we obtain, -\begin{align*} -(1-t)^2 c^2 + t^2 d^2 & - \le \left( (\sqrt{1-t})^2 + (\sqrt{t})^2\right)\left((\sqrt{1-t}\,c)^2 + (\sqrt{t}\,d)^2\right)\\& - = (1-t)c^2 + td^2 -\end{align*} -Thus, -$$ - (1-t)^2 c^2 + t^2 d^2 \le (1-t)c^2 + td^2 -$$ -which is line~\eqref{eq2}, what we wanted to prove. -\end{solution} -\end{problem} - -\begin{problem}[3] -Problem 18. Prove the sum of two convex functions is convex. -\begin{solution} -Seems simple enough. Suppose $f$ and $g$ be convex on $I$. Let $[\,c,d\,]\subseteq$ and let $t\in[\,0,1\,]$. Then -\begin{align*} - (f+g)\bigl( (1-t) c + td \bigr) & - = f\bigl( (1-t) c + td \bigr) + g\bigl( (1-t) c + td \bigr)\\& - \le (1-t) f(c) + tf(d) + (1-t) g(c) + tg(d)\\& - = (1-t) (f+g)(c) + t(f+g)(d) -\end{align*} -Thus, $(f+g)\bigl( (1-t) c + td \bigr) \le (1-t) (f+g)(c) + t(f+g)(d)$, which is what we wanted to prove. -\end{solution} -\end{problem} - -\begin{problem}[2] -Problem 20. Give an example of a function that is convex and unbounded on $(0,1)$. -\begin{solution} -Let $ f(x) = 1/x $, $ x \in (0,1) $. This function is clearly unbounded and since $ f''(x) = 1/x^3\ge 0$ on $(0,1)$, -it is convex on $(0,1)$. -\end{solution} -\end{problem} - -\begin{problem}[4] -Problem 21. Define -$$ - f(x) = \begin{cases} - 2, & x = -1;\\ - x^2, & -1 < x < 2;\\ - 5, & x = 2 - \end{cases} -$$ -Show $f$ is convex on $[\,-1,2\,]$ but not continuous on $[\,-1,2\,]$. -\begin{solution} -Define $g(x) = x^2$, $x\in[\,-1,2\,]$. Then $g$ is twice differentiable on $[\,-1,2\,]$ and $ g''(x) = 2\ge 0$, hence, -$g$ is convex on $[\,-1,2\,]$. Note that $ g(x) \le f(x) $ for all $x\in[\,-1,2\,]$. - -Let $[\,c,d\,]\subseteq [\,-1,2\,]$, we need to show, $\forall t \in [\,0,1\,]$, -$$ - f\bigl( (1-t)c + td \bigr) \le (1-t) f(c) + tf(d) -$$ -This inequality is \emph{always true} for $t=0$ and $t=1$, so it suffices to assume -$t\in(0,1)$, this implies $(1-t)c \ne -1$ and $ td \ne 2$, hence, $(1-t)c + td\in(-1,2)$ . Thus, -$$ - f\bigl( (1-t)c + td \bigr) = g\bigl( (1-t)c + td \bigr)) \le (1-t) g(c) + tg(d) = (1-t) f(c) + tf(d) -$$ -As the assertion about the discontinuity of $f$ (at its endpoints) is obvious, this completes the proof. -\end{solution} -\end{problem} - -\begin{problem}[3] -Problem 23. Suppose $f$ is convex on $\mathbb R$, prove $f$ is continuous on $\mathbb R$. -\begin{solution} -This is an application of \textbf{Theorem~4.28}. Let $x\in\mathbb R$, enclose $x$ in a open -interval $(a,b)$, where $a$, $b\in\mathbb R$. Then $f$ is convex on $(a,b)$, since it is convex -on $\mathbb R$, so by \textbf{Theorem~4.28}, $f$ is continuous on $(a,b)$. Since $f$ is continuous -on $(a,b)$, it is, in particular, continuous at $x\in(a,b)$. - -We have shown that for any $x\in\mathbb R$, $f$ is continuous at -$x$, this means that $f$ is continuous on $\mathbb R$. -\end{solution} -\end{problem} -\end{exam} -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/quiz01.tex b/Master/texmf-dist/doc/latex/eqexam/examples/quiz01.tex deleted file mode 100644 index abedc62eab4..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/quiz01.tex +++ /dev/null @@ -1,104 +0,0 @@ -\documentclass{article} -\usepackage{amsmath} -\usepackage[myconfig,forpaper,pointsonleft,nosolutions]{eqexam} - -\examNum{1} -\forVersion a -\VersionAtext{Quiz~\nExam--003} -\VersionBtext{Quiz~\nExam--007} -\shortVersionAtext{Q{\nExam}s3} -\shortVersionBtext{Q{\nExam}s7} - -\title[\sExam]{\bfseries\Exam} -\author{D. P. Story} -\subject[C1]{Calculus I} -\date{Spring \the\year} -\keywords{Test~\nExam, Section \ifAB{003}{007}} -\email{dpstory@uakron.edu} - -\everymath{\displaystyle} - -\begin{document} - -\maketitle - -\begin{exam}{Part1} - -\begin{instructions}[Instructions:] -Solve each of the following problems without error. \textit{Show all details.} Box in your -$\boxed{\text{answers}}$. Use good notation, you \emph{will} be marked off for bad notation. -\textbf{Note:} The value of a limit can be a number, the symbol $+\infty$, the symbol $-\infty$, -or may be labelled DNE (for ``does not exist''). -\end{instructions} - -\begin{problem}[4] -Compute $ \ifAB{\lim_{x\to-1}\frac{4x^2+x}{x}}{\lim_{x\to2}\frac{1-3x}{x+1}}$ -\begin{solution}[2in] -As discussed in class, this is a ``Skill Level 0'' limit problem: -$$ -\ifAB{\lim_{x\to-1}\frac{4x^2+x}{x}}{\lim_{x\to2}\frac{1-3x}{x+1}} - = \ifAB{\frac{4(-1)^2+(-1)}{-1}}{\lim_{x\to2}\frac{1-3(2)}{2+1}} - = \boxed{\ifAB{-3}{-\frac{5}{3}}} -$$ -\end{solution} -\end{problem} - -\begin{problem}[3] -Define the function $ f(x) = \begin{cases} 2x^3 - 1 & x < -2\\ 2- x^2 & x \ge -2\end{cases}$. -Compute $\lim_{x\to\ifAB{-2^-}{-2^+}} f(x) $, show the details of your reasoning. - -\begin{solution}[2in] -We use standard techniques: -\begin{verA} -\begin{alignat*}{2} - \lim_{x\to-2^-} f(x) & - = \lim_{x\to-2^-} (2x^3-1) &&\qquad\text{since $ x < -2$}\\& - = 2(-2)^3 - 1&&\qquad\text{now a skill level 0 problem}\\& - = \boxed{-17} -\end{alignat*} -\end{verA} -\begin{verB} -\begin{alignat*}{2} - \lim_{x\to-2^+} f(x) & - = \lim_{x\to-2^+} (2- x^2) &&\qquad\text{since $ x < -2$}\\& - = 2 - (-2)^2&&\qquad\text{now a skill level 0 problem}\\& - = \boxed{-2} -\end{alignat*} -\end{verB} -\end{solution} -\end{problem} - -\begin{problem}[3] -Compute $\ifAB{\lim_{x\to2} \frac{1-x}{(x-2)^2}} - {\lim_{x\to3} \frac{x-2}{(3-x)^2}}$ - -\begin{solution}[1in] -\begin{verA} -Notice the denominator goes to zero, but the numerator does not; -this indicates a vertical asymptote usually. Because the -denominator is squared, it's always positive. When $x$ is -``close'' to $2$, $1 - x < 0$, that is, when $x$ is ``close'' to -$2$ the numerator is \emph{negative}. The ratio of the numerator and -denominator is \emph{negative} when $x$ is ``close'' to $2$. Thus, we -conclude, -$$ - \boxed{\lim_{x\to2} \frac{1-x}{(x-2)^2} = -\infty} -$$ -\end{verA} -\begin{verB} -Notice the denominator goes to zero, but the numerator does not; -this indicates a vertical asymptote usually. Because the -denominator is squared, it's always positive. When $x$ is -``close'' to $3$, $x - 2 > 0$, that is, when $x$ is ``close'' to -$3$ the numerator is \emph{positive}. The ratio of the numerator and -denominator is \emph{positive} when $x$ is ``close'' to $3$. Thus, we -conclude, -$$ - \boxed{\lim_{x\to3} \frac{x-2}{(3-x)^2} = +\infty} -$$ -\end{verB} -\end{solution} -\end{problem} - -\end{exam} -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/quiz02.tex b/Master/texmf-dist/doc/latex/eqexam/examples/quiz02.tex deleted file mode 100644 index cf6bbfde1e3..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/quiz02.tex +++ /dev/null @@ -1,67 +0,0 @@ -\documentclass{article} -\usepackage{amsmath} -\usepackage[myconfig,forpaper,pointsonleft,nosolutions]{eqexam} - -\examNum{2} -\forVersion a -\VersionAtext{Quiz~\nExam--003} -\VersionBtext{Quiz~\nExam--007} -\shortVersionAtext{Q{\nExam}s3} -\shortVersionBtext{Q{\nExam}s7} - -\title[\sExam]{\bfseries\Exam} -\author{D. P. Story} -\subject[C1]{Calculus I} -\date{Spring \the\year} -\keywords{Test~\nExam, Section \ifAB{003}{007}} -\email{dpstory@uakron.edu} - -\everymath{\displaystyle} - -\begin{document} - -\maketitle - -\begin{exam}{Part1} - -\begin{instructions}[Instructions:] -Do as well as you can under the circumstances. -\end{instructions} - -\begin{problem*}[3ea] -Do each of the following without error. -\begin{multicols}{2} - \begin{parts} - \item This this problem. - \begin{solution}[2in]\end{solution} - - \item This this problem. - \begin{solution}[2in]\end{solution} -\pushProblem -\end{multicols} -\par\noindent -\makebox[\linewidth][c]{\rule{.67\linewidth}{.4pt}} -\popProblem - \item Do this harder problem. - \begin{solution}[1in]\end{solution} - \end{parts} -\end{problem*} - -\begin{problem*}[\auto] -Do each of the following without error. - \begin{parts} - \item\PTs{3} This this problem. - \begin{solution}[1in]\end{solution} -\pushProblem -\begin{multicols}{2} -\popProblem - \item\PTs{4} This is a hard problem. - \begin{solution}[2in]\end{solution} - \item\PTs{4} Do this harder problem. - \begin{solution}[2in]\end{solution} - \end{parts} -\end{multicols} -\end{problem*} - -\end{exam} -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/test01.tex b/Master/texmf-dist/doc/latex/eqexam/examples/test01.tex deleted file mode 100644 index 4c9f7fa5c68..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/test01.tex +++ /dev/null @@ -1,428 +0,0 @@ -\documentclass{article} -\usepackage{amsmath} -\usepackage{graphicx} -%\usepackage[coverpage,forcolorpaper,pointsonboth,totalsonright]{eqexam} -%\usepackage[forcolorpaper,pointsonleft,nosolutions]{eqexam} -\usepackage[online,nosolutions,forcolorpaper,pointsonboth,totalsonright,noparttotals]{eqexam} - -\title[T1]{Test 1} -\author{D. P. Story} -\subject[C1]{Calculus I} -\date{Spring \the\year} -\keywords{Test~1, Section 001} - -\university -{% - THE UNIVERSITY OF AKRON\\ - Theoretical and Applied Mathematics -} -\email{dpstory@uakron.edu} - -\hfuzz = .7pt - -\begin{document} -\maketitle - - -\begin{exam}[Part I.]{Part1} - -\begin{instructions}[Part I.] -Solve each of the problems without error. If you make an error, -points will be subtracted from your total score. -\end{instructions} - -\begin{problem}[5] -This is an example of a objective question, the student fills in -his/her response in the space below. - -\begin{solution}[.5in] -The solution to the question. This solution will not appear when -the option \texttt{nosolutions} is specified. It will appear -immediately after the question with the \texttt{solutionsafter} -option, and appear at the end of the document if a solutions -option is not specified. -\end{solution} -\end{problem} - - -\begin{problem}[5] -An example of a fill-in question: -It is well known that \fillin{1in}{Newton} and -\fillin{1in}{Leibniz} are jointly credited as the founders of -modern calculus. - -\begin{solution} -It is well known that \underbar{Newton} and \underbar{Leibniz} are -jointly credited as the founders of modern calculus. - -\medskip\noindent\textbf{Notes.} Here the optional argument for -the \texttt{solution} environment is not specified, this implies -that no room should be left for the student to answer, seems -reasonable since this is a fill-in. -\end{solution} -\end{problem} - -\begin{problem*}[2ea] -\textit{True} or \textit{False}. No justification needed. - -% Comment out this next line to see the effect. -\fillinWidth\defaultTFwidth - -\begin{parts} - - \item[h] \TF{T} If triangles have $4$ sides, then all monkeys - are green. Now is the time for all good men to come to the aid - of their country. - -\begin{solution} - This is the solution, let's hope it's correct, or I would be - embarrassed to no end. Now is the time for all good men to - come to the aid of their country. - - \medskip\noindent\textbf{Notes.} This \texttt{\string\item} - has an optional argument `\texttt{[h]}', so the - solution will not appear at the end of the document when there - is no solutions option, but will appear when - \texttt{solutionsafter} is specified. The - \texttt{nohiddensolutions} option can override this feature. -\end{solution} - - \item[H] \TF{T} $1+1=3$ iff $\sqrt2$ is a rational number. Now - is the time for all good men to come to the aid of their - country. - -\begin{solution} - \textbf{Notes.} This \texttt{\string\item} has an optional - argument `\texttt{[H]}', so the solution will not appear at - the end of the document when there is no solutions option, nor - does it appear when \texttt{solutionsafter} is specified. The - \texttt{noHiddensolutions} option can override this feature. -\end{solution} - - \item[h] \TF{F} $(\forall x)(\exists y)(xy>1)$\hskip1em($x$, - $y$~real numbers). Now is the time for all good men to come to - the aid of their country. -\begin{solution} -This is a tough solution. -\end{solution} - - \item[h] \TF{F} $(\forall x)(\exists y)(\forall z)(z(x+y)>0)$, - \hskip1em($x$,~$y$, and~$z$ real numbers). -\begin{solution} -This is a tough solution. -\end{solution} - -\end{parts} -\end{problem*} - - -\begin{problem*}[\auto] -Here is an example of a auto calculate problem. It takes the -optional argument `\texttt{[\string\auto]}'. You specify the -points associated with each part using the \texttt{\string\PTs} -command. - -\begin{parts} - -\item \PTs{10} This a hard one! - -\begin{solution}[1in] -This is a tough solution. -\end{solution} - -\item \PTs{5} This one is ``half'' as hard. - -\begin{solution}[1in] -This solution is easy. -\end{solution} - -\end{parts} -\end{problem*} - -\begin{problem*}[\auto] -Select the correct answer for each of the following multiple -choice. There is only one correct answer. -\begin{parts} - \item\PTs{6} In what year did Columbus sail the ocean blue? - \begin{answers}{6} % specify tabular any with 6 columns - \bChoices - \Ans0 1490\eAns - \Ans0 1491\eAns - \Ans1 1492\eAns - \Ans0 1493\eAns - \eChoices - \end{answers} -\begin{solution} - Yes, Columbus sailed the ocean blue in 1492. -\end{solution} - - \item\PTs{4} In what year did Columbus sail the ocean blue? - \begin{answers}{1} % specify a list environment. - \bChoices - \Ans0 1490\eAns - \Ans0 1491\eAns - \Ans1 1492\eAns - \Ans0 1493\eAns - \eChoices - \end{answers} -\begin{solution} - Yes, Columbus sailed the ocean blue in 1492. -\end{solution} - -\end{parts} -\end{problem*} - - -\begin{problem}[5] -Which of the following best describes Augustin Cauchy? - -\sqForms % change this multiple choice to a forms style. - -\begin{multicols}{2} - -% use two columns - -\begin{answers}{1} % an argument of 1 means list style - -\bChoices - \Ans0 He developed the Calculus while his University was closed - for the plague.\eAns % Newton - - \Ans0 Given credit for first using the functional notation - $f(x)$.\eAns % Euler - - \Ans0 He created the ``bell-shaped curve'' and first used the - method of least squares.\eAns % Gauss - - \Ans1 He first formulated a precise definition of the limit - and continuity of a function.\eAns % Cauchy - - \Ans0 Gave a rigorous definition of the definite integral---an - integral that now bears his name.\eAns % Riemann - - \Ans0 His notation for the derivative and the integral is used - even to this day.\eAns % Leibnitz -\eChoices - -\end{answers} - -\end{multicols} - -\begin{solution} -This is a solution to a problem question. -\end{solution} - -\end{problem} - - -\begin{problem}[5] -Which of the following are primary colors? - \begin{manswers}{6} % specify tabular any with 6 columns - \bChoices - \Ans1 Blue\eAns - \Ans0 Green\eAns - \Ans1 Yellow\eAns - \Ans0 Orange\eAns - \Ans1 Red\eAns - \eChoices - \end{manswers} -\begin{solution} - Yes, Columbus sailed the ocean blue in 1492. -\end{solution} -\end{problem} - -\begin{problem}[3] -This is a question. Work \OnBackOfPage, and be quick about it! -\begin{solution}[1in] -This is the solution, let's hope it's correct, or I would be -embarrassed to no end. -\end{solution} -% -% This example illustrates the use of the work area. Place the -% \texttt{workarea} environment just below the \texttt{solution} environment, it's -% parameter must be the same as the one specified by \texttt{solution}. The material -% in the \texttt{workarea} environment will lay on top the vertical space generated above, -% when the \texttt{nosoutions} option is specified; otherwise, it does nothing. -% -\begin{workarea}[.5\linewidth]{1in} -Peter piper picked a peck of pickled peppers, how many pecks of pickled -peppers did Peter Piper pick? -% -\vfill\hfill\setlength{\fboxsep}{6pt}\fbox{Answer: \fillin[n]{1in}{17}} -\end{workarea} -\end{problem} - -% The previous solution works well for paper publications, however, when the online -% or email option is taken, a text field is created for the student to type into, -% the graphics and text are superimposed on top this text field, so the student -% types over these elements, not a good solution in this case. -% -% The next example illustrates a work around. It works for both paper and for online -% documents. - -\begin{problem}[5] -This is a question worth $5$ points. - -\sbox{\eqpanelbox}{\includegraphics[scale=.2]{fig1}} - -\begin{splitsolution}{\panelheight} -\begin{panel}{\panelwidth} -\includegraphics[scale=.2]{fig1} -\end{panel} -\begin{solution} -This a really good solution. I hope this solution is correct or I will be total -embarrassed to no end. Even if it is wrong, maybe the students will appreciate -my tremendous effort. You can see from the figure that the solution is obvious. -What is less obvious is why this works! -\end{solution} -\end{splitsolution} -\end{problem} - -% Here is the same layout, but without the computation of the figure width and height -% Here I set the width to 1in and the depth to 1.25in. - -\begin{problem}[7] -This is a question worth $7$ points. - -\begin{splitsolution}{1.25in} -\begin{panel}{1in} -\includegraphics[scale=.2]{fig1} -\end{panel} -\begin{solution} -This a really good solution. I hope this solution is correct or I will be total -embarrassed to no end. Even if it is wrong, maybe the students will appreciate -my tremendous effort. You can see from the figure that the solution is obvious. -What is less obvious is why this works! -\end{solution} -\end{splitsolution} -\end{problem} - - -% This example illustrates multiple part a question - -\begin{problem*}[10ea] -Answer each of the following questions. -\begin{parts} -\item This is a question. - -\sbox{\eqpanelbox}{\includegraphics[scale=.2]{fig1}} - -\begin{splitsolution}{\panelheight} -\begin{panel}[r]{\panelwidth} -\includegraphics[scale=.2]{fig1} -\end{panel} -\begin{solution} -This a really good solution. I hope this solution is correct or I will be total -embarrassed to no end. Even if it is wrong, maybe the students will appreciate -my tremendous effort. You can see from the figure that the solution is obvious. -What is less obvious is why this works! -\end{solution} -\end{splitsolution} - -\item This is a question. -\begin{solution}[.75in] -Now is the time for all good men to come to the aid of their country. -Now is the time for all good men to come to the aid of their country. -Now is the time for all good men to come to the aid of their country. -\end{solution} -\end{parts} -\end{problem*} - -% The next problem falls at the bottom of the the page, so I'll increment -% \nbaselineskip from 6\baselineskip, the default, to 7\baselineskip. -% This is enough to move the problem to the next page. - -\nbaselineskip{7} - -% This example illustrates multiple part a question using the multicol package - -\begin{problem*}[12] -Solve each of the following. Work \OnBackOfPage. -\begin{multicols}{2} - -\def\solnsp{1in} - -\begin{parts} -\item This is a question. Be sure you don't make any error, I'm watching. - -\begin{solution}[\solnsp] -This is the solution. -\end{solution} - -\item This is a question. -\begin{solution}[\solnsp] -This is the solution. -\end{solution} - -\item This is a question. -\begin{solution}[\solnsp] -This is the solution. -\end{solution} - -\item This is a question. -\begin{solution}[\solnsp] -This is the solution. -\end{solution} -\end{parts} -\end{multicols} -\end{problem*} - -\end{exam} - -\begin{exam}[Part II.]{Part2} - -\begin{instructions}[Part II.] -The following is a short review of previously mastered material. -\end{instructions} - -\begin{problem}[5] -This is a question. -\begin{solution}[.5in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[7] -This is a question. -\begin{solution}[.5in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[8] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[5] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[10] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[5] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[10] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} -\end{exam} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/test02.tex b/Master/texmf-dist/doc/latex/eqexam/examples/test02.tex deleted file mode 100644 index 224cff56339..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/test02.tex +++ /dev/null @@ -1,390 +0,0 @@ -\documentclass[10pt]{article} -\usepackage{amsmath} -\usepackage{graphicx} -\usepackage[coverpage,pointsonboth,totalsonright,nosolutions,forpaper]{eqexam} - -\title[T1]{Test 1} -\author{D. P. Story} -\subject[C1]{Calculus I} -\date{Spring \the\year} -\keywords{Test~1, Section 001} - -\university -{% - THE UNIVERSITY OF AKRON\\ - Theoretical and Applied Mathematics -} -\email{dpstory@uakron.edu} - -% The purpose of the test02.tex file is to demonstrated a fancier cover page. -% Here, \eqexcoverpagedesign is redefined to include a frame box at the bottom -% of the page in which the grader can place the score for each part of the test -% and the final grade. -\makeatletter -\let\oldeqexcoverpagedesign\eqexcoverpagedesign -\renewcommand\eqexcoverpagedesign -{% - \oldeqexcoverpagedesign - \vspace{\stretch{-1}} % this is to neutralize the \vfill at the end of \oldeqexcoverpagedesign - \bigskip - \fbox{% - \begin{minipage}[t]{.45\linewidth} - \begin{flushleft} - \expandafter\ifx\csname NumberOfParts\endcsname\relax - \else - \count2 = 0 - \medskip - \textbf{Exam Record}\par\parskip=\bigskipamount - \def\\##1{\advance\count2 by\csname ##1total\endcsname - \underbar{\makebox[0pt][l]{##1}\hspace*{1.5in}}% - / \csname ##1total\endcsname\space points\par} - \thePartNames - \fi - \underbar{\makebox[0pt][l]{Total:}\hspace{1.5in}}/ {\the\count2 } points\par - \underbar{\makebox[0pt][l]{Grade:}\hspace{1.5in}}\medskip - \end{flushleft} - \end{minipage}} - \par -} -\makeatother - -\begin{document} - -\maketitle - -\begin{exam}[Part I.]{Part1} - -\begin{instructions}[Part I.] -Solve each of the problems without error. If you make an error, -points will be subtracted from your total score. -\end{instructions} - -\begin{problem}[5] -This is an example of a objective question, the student fills in his/her response -in the space below. - -\begin{solution}[.5in] -The solution to the question. This solution will not appear when -the option \texttt{nosolutions} is specified. It will appear -immediately after the question with the \texttt{solutionsafter} -option, and appear at the end of the document if a solutions -option is not specified. -\end{solution} -\end{problem} - -\begin{problem}[5] -An example of a fill-in question: -It is well known that \fillin{1in}{Newton} and -\fillin{1in}{Leibniz} are jointly credited as the founders of -modern calculus. - -\begin{solution} -It is well known that \underbar{Newton} and \underbar{Leibniz} are -jointly credited as the founders of modern calculus. - -\medskip\noindent\textbf{Notes.} Here the optional argument for -the \texttt{solution} environment is not specified, this implies -that no room should be left for the student to answer, seems -reasonable since this is a fill-in. -\end{solution} -\end{problem} - -\begin{problem*}[3ea] -\textit{True} or \textit{False}. No justification needed. - -% Comment out this next line to see the effect. -\fillinWidth\defaultTFwidth - -\begin{parts} - - \item[h] \TF{T} If triangles have $4$ sides, then all monkeys - are green. Now is the time for all good men to come to the aid - of their country. - -\begin{solution} - This is the solution, let's hope it's correct, or I would be embarrassed to no end. - Now is the time for all good men to come to the aid - of their country. - - \medskip\noindent\textbf{Notes.} This \texttt{\string\item} - has an optional argument `\texttt{[h]}', so the - solution will not appear at the end of the document when there - is no solutions option, but will appear when - \texttt{solutionsafter} is specified. The - \texttt{nohiddensolutions} option can override this feature. -\end{solution} - - \item[H] \TF{T} $1+1=3$ iff $\sqrt2$ is a rational number. Now is the time for all good men to come to the aid - of their country. - -\begin{solution} - \textbf{Notes.} This \texttt{\string\item} has an optional argument `\texttt{[H]}', so - the solution will not appear at the end of the document when there is no solutions option, nor does - it appear when \texttt{solutionsafter} is specified. The - \texttt{noHiddensolutions} option can override this feature. -\end{solution} - - \item[h] \TF{F} $(\forall x)(\exists y)(xy>1)$\hskip1em($x$, $y$~real numbers). Now is the time for all good men to come to the aid - of their country. - - \item[h] \TF{F} $(\forall x)(\exists y)(\forall z)(z(x+y)>0)$, - \hskip1em($x$,~$y$, and~$z$ real numbers). - -\end{parts} -\end{problem*} - - -\begin{problem*}[\auto] -Here is an example of a auto calculate problem. It takes the optional -argument `\texttt{[\string\auto]}'. You specify the points associated with each part -using the \texttt{\string\PTs} command. - -\begin{parts} - -\item \PTs{10} This a hard one! - -\begin{solution}[1in] -This is a tough solution. -\end{solution} - -\item \PTs{5} This one is ``half'' as hard. - -\begin{solution}[1in] -This solution is easy. -\end{solution} - -\end{parts} -\end{problem*} - -\begin{problem*}[\auto]\sqForms -Select the correct answer for each of the following multiple choice. There is -only one correct answer. -\begin{parts} - \item\PTs{5} In what year did Columbus sail the ocean blue? - \begin{answers}{6} % specify 6 columns for a tabular environment - \Ans0 1490 &\Ans0 1491 &\Ans1 1492 &\Ans0 1493 - \end{answers} - \begin{solution} - Yes, Columbus sailed the ocean blue in 1492. - \end{solution} - - \item\PTs{6} In what year did Columbus sail the ocean blue? - \begin{answers}{1} % specify a list environment. - \Ans0 1490 - \Ans0 1491 - \Ans1 1492 - \Ans0 1493 - \end{answers} - \begin{solution} - Yes, Columbus sailed the ocean blue in 1492. - \end{solution} - -\end{parts} -\end{problem*} - - -\begin{problem}[5] -Which of the following best describes Augustin Cauchy? - -\sqForms % change this multiple choice to a forms style. - -\begin{multicols}{2} - -% use two columns - -\begin{answers}{1} % an argument of 1 means list style - -\Ans0 He developed the Calculus while his University was closed -for the plague. % Newton -\Ans0 Given credit for first using the functional notation -$f(x)$. % Euler -\Ans0 He created the ``bell-shaped curve'' and first used the -method of least squares. % Gauss - - -\Ans1 He first formulated a precise definition of the limit -and continuity of a function. % Cauchy -\Ans0 Gave a rigorous definition of the definite integral---an -integral that now bears his name. % Riemann -\Ans0 His notation for the derivative and the integral is used -even to this day. % Leibniz - -\end{answers} -\end{multicols} - - -\begin{solution} -This is a solution to a problem question. -\end{solution} - -\end{problem} - -\begin{problem}[3] -This is a question. Work \OnBackOfPage, and be quick about it! - -\begin{solution}[1in] -This is the solution, let's hope it's correct, or I would be embarrassed to no end. -\end{solution} -% -% This example illustrates the use of the work area. Place the -% \texttt{workarea} environment just below the \texttt{solution} environment, it's -% parameter must be the same as the one specified by \texttt{solution}. The material -% in the \texttt{workarea} environment will lay on top the vertical space generated above, -% when the \texttt{nosoutions} option is specified; otherwise, it does nothing. -% -\begin{workarea}[.5\linewidth]{1in} -Peter piper picked a peck of pickled peppers, how many pecks of pickled -peppers did Peter Piper pick? -% -\vfill\hfill\setlength{\fboxsep}{6pt}\fbox{Answer: \fillin[n]{1in}{17}} -\end{workarea} -\end{problem} - -\begin{problem}[7] -This is a question. Now is the time for all good men to come to -the aid of their country. Peter Piper picked a peck of pickled -peppers. Use the figure below. - - -\begin{solution}[1in] -This a really good solution. I hope this solution is correct or I will be -embarrassed to no end. Even if it is wrong, maybe the students will appreciate -my effort. You can see from the figure that the solution is obvious. -(You could also use commands from a figure wrapping package as well.) -\end{solution} -\begin{workarea}[\linewidth]{1in} -\hfill\includegraphics[scale=.2]{fig1} -\end{workarea} -\end{problem} - -% The previous solution works well for paper publications, however, when the online -% or email option is taken, a text field is created for the student to type into, -% the graphics and text are superimposed on top this text field, so the student -% types over these elements, not a good solution in this case. -% -% The next example illustrates a work around. It works for both paper and for online -% documents. - -\begin{problem}[5] -This is a question worth $5$ points. - -\begin{solution}[1.5in] -This a really good solution. I hope this solution is correct or I will be total -embarrassed to no end. Even if it is wrong, maybe the students will appreciate -my tremendous effort. You can see from the figure that the solution is obvious. -\end{solution} -\end{problem} - -% This example illustrates multiple part a question - -\begin{problem*}[10ea] -Answer each of the following questions. -\begin{parts} -\item This is a question. -\begin{solution}[1in] -Now is the time for all good men to come to the aid of their country. -Now is the time for all good men to come to the aid of their country. -Now is the time for all good men to come to the aid of their country. -\end{solution} -\item This is a question. -\begin{solution}[1in] -Now is the time for all good men to come to the aid of their country. -Now is the time for all good men to come to the aid of their country. -Now is the time for all good men to come to the aid of their country. -\end{solution} -\end{parts} -\end{problem*} - -% This example illustrates multiple part a question using the multicol package - -\begin{problem*}[12] -Solve each of the following. Work \OnBackOfPage -\begin{multicols}{2} - -\def\solnsp{1in} - -\begin{parts} -\item This is a question. Be sure you don't make any error, I'm watching. - -\begin{solution}[\solnsp] -This is the solution. -\end{solution} - -\item This is a question. -\begin{solution}[\solnsp] -This is the solution. -\end{solution} - -\item This is a question. -\begin{solution}[\solnsp] -This is the solution. -\end{solution} - -\item This is a question. -\begin{solution}[\solnsp] -This is the solution. -\end{solution} -\end{parts} -\end{multicols} -\end{problem*} - -\end{exam} - -\begin{exam}[Part II.]{Part2} - -\begin{instructions}[Part II.] -The following is a short review of previously mastered material. -\end{instructions} - -\begin{problem}[5] -This is a question. -\begin{solution}[.5in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[7] -This is a question. -\begin{solution}[.5in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[8] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -e $t$ is given by $\boxed{v=2t-5}$. -\end{solution} -\end{problem} - -\begin{problem}[5] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[10] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[5] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} - -\begin{problem}[10] -This is a question. -\begin{solution}[1in] -This is the solution to answer all questions. -\end{solution} -\end{problem} -\end{exam} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/test_matching.tex b/Master/texmf-dist/doc/latex/eqexam/examples/test_matching.tex deleted file mode 100644 index 92d1929b0ee..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/test_matching.tex +++ /dev/null @@ -1,68 +0,0 @@ -\documentclass{article} -\usepackage{amsmath} -\usepackage{graphicx} -%\usepackage[forpaper,pointsonleft]{eqexam} -\usepackage[forpaper,pointsonleft,nosolutions]{eqexam} -%\usepackage[online,forpaper,pointsonleft,answerkey]{eqexam} - -\title[T1]{Test 1} -\author{D. P. Story} -\subject[Eq]{EqExam} -\date{Spring \the\year} -\keywords{Test 1, Section 001} - -\university -{% - NORTHWEST FLORIDA STATE COLLEGE\\ - Department of Mathematics -} -\email{storyd@nwfsc.edu} - -\hfuzz = .7pt - -\begin{document} -\maketitle - - -\begin{exam}{Part1} - -\begin{instructions} -Solve each of the problems without error. If you make an error, -points will be subtracted from your total score. -\end{instructions} - - -\begin{problem*}[\auto] -Match each of names on the left, with the corresponding names on the right. - -\begin{multicols}{2} -\begin{parts} -\item\PTs*{2}\fillin{.5in}{\ref{george}} Washington -\item\PTs*{2}\fillin{.5in}{\ref{john}} Adams -\item\PTs*{2}\fillin{.5in}{\ref{thomas}} Jefferson - -\columnbreak - -\renewcommand{\thepartno}{\Alph{partno}} -\partsformat{\Alph{partno}.} - -% The above redefinitions are reset when we leave the group, when \end{parts} -% is completed. If the original definitions are needed to be reset before then -% execute the following commands: \defaultthepartno, \defaultpartsformat - -% \foritem{a} resets the partno counter back to 0, and displays (a), which -% has been redefined to A. - -\foritem{a}\label{john} John - -\item\label{thomas} Thomas - -\item\label{george} George - -\end{parts} -\end{multicols} -\end{problem*} - -\end{exam} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/examples/tex_survey.tex b/Master/texmf-dist/doc/latex/eqexam/examples/tex_survey.tex deleted file mode 100644 index b2c3dc62ad2..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/examples/tex_survey.tex +++ /dev/null @@ -1,538 +0,0 @@ -\documentclass{article} - -% -% AcroTeX eDucation Bundle required for the email option. -% -\usepackage[email,coverpage,forcolorpaper,nopoints,nosolutions,useforms]{eqexam} - -\title[TS]{\texorpdfstring{\TeX}{\textbackslash TeX} Usage Survey} -\author{D. P. Story} -\subject{\texorpdfstring{\sffamily eqExam}{eqExam} Demo} -\date{Spring, \the\year} -\keywords{TeX Usage Survey, eqExam, AcroTeX} - -\university -{% - THE UNIVERSITY OF AKRON\\ - Theoretical and Applied Mathematics -} -\email{dpstory@uakron.edu} - -\EmailSubject{TeX/LaTeX Survey Results} -\EmailCourseName{eqExam Demo} -\EmailExamName{TeX Usage Survey} -\ServerRetnMsg{Your TeX survey results have been received, thank you.} -\SubmitInfo{http://myWebSite/scripts/eqAttach.asp?nopath\#FDF}{myname@mymailprovider} - -\lhead{\textsf{eqExam} Demo} -\rhead{\TeX{} Usage Survey} - -\renewcommand\maketitledesign -{% - \parbox{\textwidth}{\normalsize - \makebox[\textwidth][c]{\bfseries\sffamily\Large\webtitle}\\[3ex] - \makebox[\textwidth][s]{An \textsf{eqExam} Demo \hfill\webauthor}} -} -\makeatletter -\renewcommand\eqexcoverpagedesign -{% - \thispagestyle{empty} - \addtolength\textwidth{\oddsidemargin} - \vspace*{.1\textheight} - \noindent\hspace*{-\oddsidemargin}% - \makebox[\linewidth]{\parbox{\linewidth}% - {\bfseries\color{blue}\large\centering\webuniversity}} - \par\vspace{.1\textheight} - \noindent\hspace*{-\oddsidemargin}% - \makebox[\linewidth]{\parbox{\linewidth}% - {\bfseries\color{blue}\large\centering\websubject}} - \par\vspace{\bigskipamount} - \noindent\hspace*{-\oddsidemargin}% - \makebox[\linewidth]{\parbox{\linewidth}% - {\bfseries\color{blue}\large\centering\webtitle}} - \par\vfill - \optionalpagematter - \par\vfill - \parindent0pt - \@date -} -\makeatother - -% -% From the Web package, part of the AcroTeX eDucation Bundle -% -\newNaviIcon[j]{\GoToSubmit}{20pt}{15pt}{\textcolor{webblue}{$\blacktriangleleft$}}{this.pageNum=1} -\def\optionalpagematter -{% - \begin{center}\setlength{\fboxrule}{1pt} - \fcolorbox{blue}{webyellow}{% - \begin{minipage}{.67\linewidth} - \noindent\textcolor{red}{\textbf{Instructions:}} First, thank - you very much for taking the time to fill out this survey of - \TeX/\LaTeX{} usage. I will summarize the results, and make - them publicly available. The survey has not been commissioned - by TUG ({\TeX} User's Group), but is a demo of some of - capabilities of my new {\LaTeX} package - \textsf{eqExam}.\par\medskip When you have finished, click on - the ``Submit'' button to record your responses.\par\medskip - \textbf{\textcolor{red}{Note:}} The \textcolor{webblue}{Adobe - Reader}, or an \textcolor{webblue}{Acrobat} application - (version 5.0 or later) is required to submit this - survey.\hfill\mbox{D. P. Story} - \end{minipage}} - \end{center} -} - -\begin{document} - -\maketitle - -\begin{exam}{Part1} - -\begin{instructions}[\TeX/\LaTeX.] -This first block of questions concerns your use of {\TeX/\LaTeX}. -\end{instructions} - -\begin{problem*} -Experience using \TeX/\LaTeX. -\begin{parts} -\item How would you describe yourself in terms of experience using \TeX/\LaTeX? -\begin{answers}{4} -\rowsep{1bp} -\bChoices - \Ans0 Novice\eAns - \Ans0 Intermediate\eAns - \Ans0 Experienced\eAns - \Ans0 Package Developer\eAns -\eChoices -\end{answers} - -\item I have used \TeX/\LaTeX{} for\dots -\begin{answers}{3} -\rowsep{1bp} -\bChoices - \Ans0 less than a year\eAns - \Ans0 one to two years\eAns - \Ans0 two to five years\eAns - \Ans0 five to ten years\eAns - \Ans0 ten to fifteen years\eAns - \Ans0 fifteen to twenty years\eAns - \Ans0 more than twenty years\eAns -\eChoices -\end{answers} - -\end{parts} -\end{problem*} - -\begin{problem} -Approximately how many hours do you spend using \TeX/\LaTeX{} in a typical week? -On a per week basis, I use \TeX/\LaTeX\dots -\begin{answers}{4} -\rowsep{1bp} -\bChoices - \Ans0 less than an hour\eAns - \Ans0 one to two hours\eAns - \Ans0 three to five hours\eAns - \Ans0 ten hours\eAns - \Ans0 more than ten hours\eAns -\eChoices -\end{answers} -\end{problem} - -\begin{problem} -There are many {\TeX} user's groups worldwide, are you a member of one or more? -\begin{answers}{4} -\bChoices - \Ans0 Yes\eAns - \Ans0 No\eAns -\eChoices -\end{answers} -\end{problem} - -\begin{problem*} -The following questions concern your preferred use of \TeX. -\begin{parts} -\item\label{whichTeX} Which styles to you predominately use? -\begin{answers}{4} -\rowsep{1bp} -\bChoices[2] - \Ans0 Plain \TeX\eAns - \Ans0 \LaTeX\eAns - \Ans0 Con\TeX t\eAns - \Ans0 Other, \makebox[0pt][l]{please specify \fillin{1.25in}{\empty}}\eAns -\eChoices -\end{answers} - -\item Based on your response to \hyperref[whichTeX]{(\ref*{whichTeX})}, -please explain why you made the choice you did. -\begin{solution}[.75in] -\end{solution} - - -\item There are many {\TeX} Systems available for use, commercial, -shareware, freeware. Which one do you primarily use? -\begin{answers}{4} -\rowsep{1bp} -\bChoices - \Ans0 A \TeX{} Live System\eAns - \Ans0 te\TeX\eAns - \Ans0 Mik\TeX\eAns - \Ans0 PC\TeX\eAns - \Ans0 Y\negthinspace{\scriptsize\&}\negthinspace Y \TeX{} System\eAns - \Ans0 Textures\eAns - \Ans0 CMac\TeX\eAns - \Ans0 True\TeX\eAns - \Ans0 Oz\TeX\eAns - \Ans0 Other, \makebox[0pt][l]{please specify \fillin{1.75in}{\empty}}\eAns -\eChoices -\end{answers} - -\item What is your favorite {\TeX} editor? Specify \fillin{1.75in}{\empty} - -\end{parts} -\end{problem*} - -\begin{problem*} -What operating systems (OS) do you use \TeX? - -\setlength\columnseprule{0pt} - -\begin{parts} - -\item What operating system (OS) runs on the machine you -most frequently use when working with \TeX/\LaTeX? Select one. -\begin{multicols}{2} -\begin{answers}{1} -\bChoices - \Ans0 Windows XP\eAns - \Ans0 Windows ME\eAns - \Ans0 Windows NT\eAns - \Ans0 Windows 2000\eAns - \Ans0 Windows 98\eAns - \Ans0 Windows 95\eAns - \Ans0 Macintosh OS X\eAns - \Ans0 Macintosh OS 9\eAns - \Ans0 Macintosh OS 8\eAns - \Ans0 Macintosh OS 7 or earlier\eAns - \Ans0 Unix or Linux\eAns - \Ans0 Other, please specify \fillin{1.25in}{\empty}\eAns - \Ans0 Don't know\eAns -\eChoices -\end{answers} -\end{multicols} - -\item Some people work on multiple platforms, what is your secondary -OS for working with \TeX/\LaTeX? -\begin{multicols}{2} -\begin{answers}{1} -\bChoices - \Ans0 Windows XP\eAns - \Ans0 Windows ME\eAns - \Ans0 Windows NT\eAns - \Ans0 Windows 2000\eAns - \Ans0 Windows 98\eAns - \Ans0 Windows 95\eAns - \Ans0 Macintosh OS X\eAns - \Ans0 Macintosh OS 9\eAns - \Ans0 Macintosh OS 8\eAns - \Ans0 Macintosh OS 7 or earlier\eAns - \Ans0 Unix or Linux\eAns - \Ans0 Other, please specify \fillin{1.25in}{\empty}\eAns - \Ans0 Don't use two systems.\eAns -\eChoices -\end{answers} -\end{multicols} - -\end{parts} - -\end{problem*} - - -\begin{eqComments}[Seeking Help.]\end{eqComments} - -\begin{problem*} -These questions concern any problems you may have with \TeX/\LaTeX{} and resources available to you. -\begin{parts} -\item Do you struggle on alone (with \TeX/\LaTeX ) if things are going wrong, or do you - seek help? - \begin{answers}{3} - \bChoices - \Ans0 Struggle on along\eAns - \Ans0 Seek help from a friend or colleague\eAns - \Ans0 Seek help from a public forum\eAns - \eChoices - \end{answers} - -\item Do you use on-line resources? - \begin{answers}{4} - \bChoices - \Ans0 No\eAns - \Ans0 Yes, I use \makebox[0pt][l]{\fillin{1.75in}{\empty}}\eAns - \eChoices - \end{answers} - -\goodbreak - -\item Do you seek help from \texttt{comp.text.tex}? - \begin{answers}{3} - \bChoices - \Ans0 No\eAns - \Ans0 Yes, I read the postings occasionally\eAns - \Ans0 Yes, I read the postings regularly\eAns - \Ans0 Yes, I even ask questions\eAns - \Ans0 Yes, I answer questions on occasion\eAns - \Ans0 Yes, I regularly answer questions\eAns - \eChoices - \end{answers} -\end{parts} -\end{problem*} - -\begin{problem*} -The \textsf{CTAN} Archive. -\begin{parts} -\item\label{CTAN} Do you know about \textsf{CTAN} (Central {\TeX} Archive Network)? - \begin{answers}{4} - \bChoices - \Ans0 No\eAns - \Ans0 Yes\eAns - \eChoices - \end{answers} - -\item If you answered ``Yes'' to question~\hyperref[CTAN]{(\ref*{CTAN})}, approximately, how often - do you use this archive? - \begin{answers}{3} - \bChoices - \Ans0 Once or twice a month\eAns - \Ans0 three to five times per month\eAns - \Ans0 More than five times per month\eAns - \eChoices - \end{answers} - -\end{parts} -\end{problem*} - -\begin{problem*} -The {\TeX} \textsf{FAQ} Resource. -\begin{parts} -\item\label{FAQ} Do you know there is a {\TeX} \textsf{FAQ} online resource? (\texttt{http://www.tex.ac.uk/faq}) - \begin{answers}{4} - \bChoices - \Ans0 No\eAns - \Ans0 Yes\eAns - \eChoices - \end{answers} - -\item\label{FAQ1} If you answered ``Yes'' to question, \hyperref[FAQ]{(\ref*{FAQ})} have you ever used the \textsf{FAQ}? - \begin{answers}{4} - \bChoices - \Ans0 No\eAns - \Ans0 Yes, \makebox[0pt][l]{how often? \fillin{1in}{\empty} per year.}\eAns - \eChoices - \end{answers} -\end{parts} -\end{problem*} - -\begin{problem} -In terms of paper publications, what are the titles of the books you use for a reference to your -work in \TeX/\LaTeX? Please list titles/authors in the space provided below. -\begin{solution}[1.8in] -\end{solution} -\end{problem} - -\goodbreak -\begin{eqComments}[Print and PDF.]\end{eqComments} - -\begin{problem} -What application do you use to create PDF? Adobe Distiller, ps2pdf, other. -\begin{answers}{3} -\rowsep{1bp} - \bChoices - \Ans0 Adobe Distiller\eAns - \Ans0 \textsf{ps2pdf} (\textsf{pdfwriter})\eAns - \Ans0 \textsf{pdftex}\eAns - \Ans0 \textsf{dvipdfm}\eAns - \Ans0 Other, \makebox[0pt][l]{please specify \fillin{1.75in}{\empty}}\eAns - \eChoices -\end{answers} -\end{problem} - -\begin{problem} -Describe the reasons you create PDF document from a \TeX/\LaTeX{} source. Is it for -distribution over the Internet; to create interactive, high -content materials; for business purposes? Please elaborate in the -space provided below. -\begin{solution}[.75in] -\end{solution} -\end{problem} - -\begin{problem} -Do you use {\TeX/\LaTeX} primarily for creating printable documents, or for creating -a PDF document suitable for publication on the Internet, or distribution to a colleague? -\begin{answers}{3} - \bChoices - \Ans0 Exclusively for print\eAns - \Ans0 Mostly for PDF\eAns - \Ans0 About half and half\eAns - \eChoices -\end{answers} -\end{problem} - -\begin{problem} -If you have any experience or knowledge of commercial publishing -houses that use a \TeX/\LaTeX{} or \textsf{pdftex} work flow for -prepress typesetting, please list publishing houses and countries -in the space provided below. -\begin{solution}[.75in] -\end{solution} -\end{problem} - -\begin{eqComments}[Population Demographics.] -The next set of questions concern you. -\end{eqComments} - -\begin{problem} -My gender is \dots -\begin{answers}{5} - \bChoices - \Ans0 Male\eAns - \Ans0 Female\eAns - \Ans0 \makebox[0pt][l]{Prefer not to disclose}\eAns - \eChoices -\end{answers} -\end{problem} - -\begin{problem} -I am \fillin{.75in}{\empty} years old. -\end{problem} - -\begin{problem} -Which of the following best describes your status as -an \TeX{} user today? Select one: - -\begin{answers}{1} - \bChoices - \Ans0 Use as a student\eAns - \Ans0 Use as an educator/trainer\eAns - \Ans0 Use at home for personal use or as a hobby\eAns - \Ans0 Use for a home-based business\eAns - \Ans0 Use in a company or business (non-home based)\eAns - \eChoices -\end{answers} -\end{problem} - -\begin{problem} -What is your country of residence? Select one: - -\setlength\columnseprule{0pt} - -\begin{multicols}{2} -\begin{answers}{1} - \bChoices - \Ans0 United States of America\eAns - \Ans0 Canada\eAns - \Ans0 Other Americas, \mbox{specify: \fillin{1.24in}{\empty}}\eAns - \Ans0 United Kingdom\eAns - \Ans0 France\eAns - \Ans0 Germany\eAns - \Ans0 Sweden\eAns - \Ans0 Netherlands\eAns - \Ans0 Other Europe, \mbox{specify: \fillin{1.25in}{\empty}}\eAns - \Ans0 Japan\eAns - \Ans0 Hong Kong/Taiwan\eAns - \Ans0 China\eAns - \Ans0 Other Asia, \mbox{specify: \fillin{1.25in}{\empty}}\eAns - \Ans0 Australia\eAns - \Ans0 New Zealand\eAns - \Ans0 Africa, \mbox{specify: \fillin{1.25in}{\empty}}\eAns - \eChoices -\end{answers} -\end{multicols} -\end{problem} - -\def\myDing{\makebox[0pt][r]{\textcolor{red}{\ding{042}}\enspace}} - -\begin{eqComments}[]% -\myDing If your company/organization uses \TeX/\LaTeX/\textsf{pdftex} in their business work flow, -please answer questions \textbf{\textcolor{blue}{\ref*{buss1}}} and \textbf{\textcolor{blue}{\ref*{buss2}}}. -\end{eqComments} - -\begin{problem}\label{buss1} -How many employees work at your company including all -sites? Select one: - -\setlength\columnseprule{0pt} -\begin{multicols}{3} -\begin{answers}{1} - \bChoices - \Ans0 One/work alone\eAns - \Ans0 2 - 9\eAns - \Ans0 10 - 49\eAns - \Ans0 50 - 99\eAns - \Ans0 100 - 499\eAns - \Ans0 500 - 999\eAns - \Ans0 1000 - 2999\eAns - \Ans0 3000 - 4999\eAns - \Ans0 5000 or more\eAns - \Ans0 Don't know\eAns - \eChoices -\end{answers} -\end{multicols} -\end{problem} - -\begin{problem}\label{buss2} -What is your company/organization's PRIMARY industry? Select one: - -\setlength\columnseprule{0pt} - -\begin{multicols}{2} -\begin{answers}{1} - \bChoices - \Ans0 Aerospace\eAns - \Ans0 Automotive\eAns - \Ans0 Computer hardware\eAns - \Ans0 Computer software\eAns - \Ans0 Education\eAns - \Ans0 Engineering\eAns - \Ans0 Financial services\eAns - \Ans0 Government\eAns - \Ans0 Graphic design/fine art\eAns - \Ans0 Healthcare/social services\eAns - \Ans0 Insurance\eAns - \Ans0 Legal\eAns - \Ans0 Manufacturing\eAns - \Ans0 Membership organizations - religious, nonprofit, trade unions\eAns - \Ans0 Military\eAns - \Ans0 Pharmaceuticals/bio tech\eAns - \Ans0 Professional services (documentation)\eAns - \Ans0 Professional services (technical/IT/Internet)\eAns - \Ans0 Printing and publishing\eAns - \Ans0 Public and protective services (police, fire)\eAns - \Ans0 Retail\eAns - \Ans0 Telecommunications\eAns - \Ans0 Transportation\eAns - \Ans0 Travel\eAns - \Ans0 Wholesale\eAns - \Ans0 Other, \mbox{please specify: \fillin{1.25in}{\empty}}\eAns - \eChoices -\end{answers} -\end{multicols} -\end{problem} - -\begin{eqComments}[Improvements in \TeX.]\end{eqComments} - -\begin{problem} -What you most like to see improved in \TeX/\LaTeX? Use the space provided -below: -\begin{solution}[2in] -\end{solution} -\end{problem} - - -\begin{eqComments}[Thank You] once again for participating in this survey.\end{eqComments} -\begin{eqComments}[\GoToSubmit] -Click on the left arrow to return to the first page to submit your responses.\end{eqComments} - - - -\end{exam} -\end{document} diff --git a/Master/texmf-dist/doc/latex/eqexam/script/eqAttach.asp b/Master/texmf-dist/doc/latex/eqexam/script/eqAttach.asp deleted file mode 100644 index f87f8b47c12..00000000000 --- a/Master/texmf-dist/doc/latex/eqexam/script/eqAttach.asp +++ /dev/null @@ -1,202 +0,0 @@ -<%@ LANGUAGE = VBScript%> -<% -' Copyright 2005 D. P. Story -' All Rights Reserved -' See eqexamman.pdf for some documentation - -' NOTICE: 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. - -' This script is offered "as is", no guarantees are extended. -' eqRecord should be extensively tested on your own system -' until you are satisfied with its functionality and -' reliability. -' -' Note: You need to edit one line below. Search this file for the line that -' contains the string "mySMTP". Replace this string with your SMTP server. - -Response.buffer = True - -Dim DebugTxt, DebugFDF -Dim ErcStatus : ErcStatus = "Problems Reported: " -DebugTxt = False -DebugFDF = False - -' Send FDF file -If DebugTxt Then - Response.ContentType = "text/html" - Response.Write "Debug Info" & "<br>" -Else - Response.ContentType = "application/vnd.fdf" -End If - -On error Resume Next - -Dim silentMode : silentMode = False -Dim stripPath : stripPath = False - -If Request.QueryString("silent").Count > 0 Then silentMode = True -If Request.QueryString("nopath").Count > 0 Then stripPath = True - -Rem Create an FDF object -Set FdfAcx = Server.CreateObject("FdfApp.FdfApp") -Set FDFout = FdfAcx.FDFCreate - -Rem Parse Incoming Data -Set FDFin = FdfAcx.FDFOpenFromBuf (Request.BinaryRead(Request.TotalBytes)) - -Dim cPDFPath, pos - -If stripPath Then - If DebugTxt Then Response.Write "stripPath is true " & "<br>" - cPDFPath = FDFin.FDFGetFile - pos = InStrRev( cPDFPath, "/") - If pos <> 0 Then - If DebugTxt Then Response.Write "pos = " & pos & "<br>" - cPDFPath = Mid(cPDFPath, pos + 1, Len(cPDFPath) - pos ) - If DebugTxt Then Response.Write "cPDFPath = " & cPDFPath & "<br>" - FDFin.FDFSetFile cPDFPath - End If -End If - -Rem Declare some variables -Dim cBuf -Dim cTime : cTime = Now -Dim eqMail, cMailTo, cMailFrom, cMailSubject -Dim cCourseName, cExam, cStudent, cSID, strMessage, cRetnMsg, eqTab, eqCR -eqTab = chr(9) -eqCR = chr(10) - -' Get Required Info ------------------- -' The only thing we really need is the email address to send this data to -cMailTo = FDFin.FDFGetValue("IdInfo.mailTo") -' cMailFrom = cMailTo - -' Get Optional Info ------ - -On error Resume Next -cCourseName = "" : cCourseName = Trim(FDFin.FDFGetValue("IdInfo.courseName")) - -On error Resume Next -cExam = "" : cExam = Trim(FDFin.FDFGetValue("IdInfo.examName")) - -On error Resume Next -cStudent = "" : cStudent = Trim(FDFin.FDFGetValue("IdInfo.Name")) - -On error Resume Next -cSID = "" : cSID = Trim(FDFin.FDFGetValue("IdInfo.SID")) - -On error Resume Next -cMailFrom = "" : cMailFrom = Trim(FDFin.FDFGetValue("IdInfo.email")) -If Trim(cMailFrom) = "" Then cMailFrom = cMailTo - -On error Resume Next -cMailSubject = "" : cMailSubject = FDFin.FDFGetValue("IdInfo.subject") -If Trim(cMailSubject) = "" Then cMailSubject = "Exam Results: " & cExam & " of " & cCourseName - -On error Resume Next -cRetnMsg = "" : cRetnMsg = Trim(FDFin.FDFGetValue("IdInfo.retnmsg")) - -strMessage = "Summary Information:" -If cCourseName <> "" Then strMessage = strMessage & eqCR & eqTab & "Subject: " & cCourseName -If cExam <> "" Then strMessage = strMessage & eqCR & eqTab & "Title: " & cExam -If cStudent <> "" Then strMessage = strMessage & eqCR & eqTab & "Name: " & cStudent -strMessage = strMessage & eqCR & eqTab & "TimeOfQuiz: " & cTime - -If Trim(cRetnMsg) = "" Then - cBuf = "Exam results successfully sent to your instructor!" -Else - cBuf = cRetnMsg -End If - -If DebugFDF Then cBuf = cBuf & " " & ErcStatus - -If Not silentMode Then FDFout.FDFSetStatus cBuf - -' Construct and send e-mail - -'CDONTS -' Set eqMail = CreateObject("CDONTS.NewMail") 'cdots - -' CDOSYS -Set eqMail = Server.CreateObject("CDO.Message") -eqMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 -eqMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mySMTP" -eqMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 -eqMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 -' eqMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 0 -eqMail.Configuration.Fields.Update - -eqMail.To = cMailTo -' See if there is a comma in the cMailFrom string, if yes, then we have multiple addresses -' that we are sending to. We extract the first e-mail address as the one we will put in -' the eqMail.From address. -position = InStr(1,cMailFrom,",",0) -If position <> 0 Then cMailFrom = Trim(Mid(cMailFrom,1,position-1)) -eqMail.From = cMailFrom -eqMail.Subject = cMailSubject - -' CDOSSYS or CDONTS -eqMail.TextBody = strMessage -' eqMail.Body = strMessage 'cdots - -Dim strTempFile -Dim strTempFolder -Dim strTemp -Dim fso - -Set fso = CreateObject("Scripting.FileSystemObject") -Set strTempfolder = fso.GetSpecialFolder(2) -strTempFile = fso.GetTempName() -strTempFile = left(strTempFile, len(strTempFile)-4) -strTemp = strTempFolder & "\" & strTempFile & ".fdf" -FDFin.FDFSaveToFile strTemp - -If DebugTxt Then Response.Write "strTemp = " & strTemp & "<br>" - -' CDOSSYS or CDONTS -eqMail.AddAttachment strTemp -' eqMail.AttachFile strTemp 'cdots - -eqMail.Send -Set eqMail = Nothing -' Send back to the browser -Response.BinaryWrite FDFout.FDFSaveToBuf - -' Delete temporary file -fso.DeleteFile strTemp -Set fso = nothing - -FDFin.FDFClose -FDFout.FDFClose -Set FdfAcx = Nothing -Set FDFin = Nothing -Set FDFout = Nothing - -If DebugTxt Then - Response.Write strMessage -End If - -Sub RecordError(field) - If Err.Number <> 0 And DebugFDF Then - ErcStatus = ErcStatus & " "&field&": " & Err.Description - End If - If Err.Number <> 0 And DebugTxt Then - Response.Write "Set Error: "&field&": " & Err.Description & "<br>" - End If - Err.Clear -End Sub - -Sub ReportError(ByRef localErr) - DebugMsg "Err.Description: ", localErr.Description - DebugMsg "Err.Number: ", localErr.Number - localErr.Clear -End Sub - -Sub DebugMsg(myText, myEval) - If DebugTxt Then Response.Write myText & myEval &"<br>" -End Sub -%> |