summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ktv-texdata
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-11 22:15:57 +0000
committerKarl Berry <karl@freefriends.org>2012-08-11 22:15:57 +0000
commit848183ea222747f189fe5b9add0aad253c947a0a (patch)
treeba8714e7db4b083350c7e3b96f4d678a625e645f /Master/texmf-dist/doc/latex/ktv-texdata
parentd3f1ccee73a080eb9069894375590f12633237d7 (diff)
new old latex package ktv-texdata
git-svn-id: svn://tug.org/texlive/trunk@27369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ktv-texdata')
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/README106
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/README.txt.doc103
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/ktv-data.tex98
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.KTVhint24
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.tex171
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.ktvnum1
-rw-r--r--Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.pdfbin0 -> 217332 bytes
7 files changed, 503 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/README b/Master/texmf-dist/doc/latex/ktv-texdata/README
new file mode 100644
index 00000000000..8a937d922eb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/README
@@ -0,0 +1,106 @@
+=====================
+Sections in this file
+=====================
+ PACKAGE
+ DESCRIPTION
+ HOWTO
+ 1. Generate package and example
+ 2. Get an example / a test
+ 3. Report bugs and suggestions
+ FILE LIST
+
+=======
+PACKAGE
+=======
+ name : ktv-texdata
+ require: LaTeX2e
+ author : Ky` Anh (kyanh@inic.biz, kyanh@linuxmail.org)
+ version: v05.34 (2003/10/06)
+
+===========
+DESCRIPTION
+===========
+
+ This package provides a simple way to use the TeX input files
+ whose contents are all the numbered environments.
+
+ This package is useful for the teachers of mathematics
+ who often work with large libraries of exercises of mathematics.
+
+MORE DETAILS
+
+ Assume that you have an input file (named `foo.tex')
+ that specifies 16 exercies
+
+ % --- first line of `foo.tex'
+ \begin{exercice}\label{ex:1}
+ This is the first exercice.
+ \end{exercice}
+ %
+ \begin{exercice}\label{ex:2}
+ This is the second exercice.
+ \end{exercice}
+ %
+ ...
+ \begin{exercice}[*]\label{ex:16}
+ This is the 16th exercice
+ (with a star mark *).
+ \end{exercice}
+ % --- last line of `foo.tex'
+
+ On Tuesday, for e.g., you want to create a student test
+ that contains the first 8 exercises of the `foo.tex'.
+ However, on Wednesday, you want to create another test
+ that contains the last 8 exercises of the `foo.tex'.
+
+ Of course, the simplest way to do that is `copying' and `pasting'.
+ Of course, this way becomes too complex in case,
+ for e.g., you need only the exercies that are numbered oddly
+ (1, 3, 5, 7, 9, 11, 13, 15).
+
+ You may think of a solution like this
+
+ \get{1,2,3,4,5,6,7,8} % on Tuesday
+ \get{9,10,11,12,13,14,15,16} % on Wednesday
+ \get{1,3,5,7,9,11,13,15} % on Friday
+
+ This pakage helps you...
+
+
+=====
+HOWTO
+=====
+
+ 1. Generate package and example
+
+ latex ktv-texdata.ins
+
+ 2. Get an example / a test
+
+ latex ktv-test.tex
+
+ 3. Report bugs and suggestions
+
+ mailto: kyanh@inic.biz
+ mailto: kyanh@linuxmail.org
+
+=========
+FILE LIST
+=========
+
+ 0. README this file
+ 0. README.txt this file
+ 1. ktv-texdata .sty the package
+ 2. ktv-texdata .dvi package (documentation) (DVI)
+ 3. ktv-texdata .pdf package (documentation) (PDF)
+ 4. ktv-test .dvi test file (DVI)
+ 5. ktv-test .tex test file (source)
+ 6. ktv-data .tex test file (data file)
+ 7. ktv-texdata .dtx package (source file)
+ 8. ktv-texdata .ktvnum documentataion's build-number
+ 9. ktv-texdata .ins installation file
+ 10. ktv-buildnum.sty (optional tools)
+
+===========
+End of file
+=========== \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/README.txt.doc b/Master/texmf-dist/doc/latex/ktv-texdata/README.txt.doc
new file mode 100644
index 00000000000..d2adb217fef
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/README.txt.doc
@@ -0,0 +1,103 @@
+=====================
+Sections in this file
+=====================
+ PACKAGE
+ DESCRIPTION
+ HOWTO
+ FILE LIST
+
+=======
+PACKAGE
+=======
+ name : ktv-texdata
+ require: LaTeX2e
+ author : Ky` Anh (kyanh@inic.biz, kyanh@linuxmail.org)
+ version: v05.34 (2003/10/06)
+
+===========
+DESCRIPTION
+===========
+
+ This package provides a simple way to use the TeX input files
+ whose contents are all the numbered environments.
+
+ This package is useful for the teachers of mathematics
+ who often work with large libraries of exercises of mathematics.
+
+MORE DETAILS
+
+ Assume that you have an input file (named `foo.tex')
+ that specifies 16 exercies
+
+ % --- first line of `foo.tex'
+ \begin{exercice}\label{ex:1}
+ This is the first exercice.
+ \end{exercice}
+ %
+ \begin{exercice}\label{ex:2}
+ This is the second exercice.
+ \end{exercice}
+ %
+ ...
+ \begin{exercice}[*]\label{ex:16}
+ This is the 16th exercice
+ (with a star mark *).
+ \end{exercice}
+ % --- last line of `foo.tex'
+
+ On Tuesday, for e.g., you want to create a student test
+ that contains the first 8 exercises of the `foo.tex'.
+ However, on Wednesday, you want to create another test
+ that contains the last 8 exercises of the `foo.tex'.
+
+ Of course, the simplest way to do that is `copying' and `pasting'.
+ Of course, this way becomes too complex in case,
+ for e.g., you need only the exercies that are numbered oddly
+ (1, 3, 5, 7, 9, 11, 13, 15).
+
+ You may think of a solution like this
+
+ \getonly{1,2,3,4,5,6,7,8} % on Tuesday
+ \getonly{9,10,11,12,13,14,15,16} % on Wednesday
+ \getonly{1,3,5,7,9,11,13,15} % on Friday
+
+ This pakage helps you
+
+
+=====
+HOWTO
+=====
+
+ 1. Generate package and example
+
+ latex ktv-texdata.ins
+
+ 2. Get an example / a test
+
+ latex ktv-test.tex
+
+ 3. Report bugs and suggestions
+
+ mailto: kyanh@inic.biz
+ mailto: kyanh@linuxmail.org
+
+=========
+FILE LIST
+=========
+
+ 0. readme.txt this file
+ 0. readme this file
+ 1. ktv-texdata .sty the package
+ 2. ktv-texdata .dvi package (documentation) (DVI)
+ 3. ktv-texdata .pdf package (documentation) (PDF)
+ 4. ktv-test .dvi test file (DVI)
+ 5. ktv-test .tex test file (source)
+ 6. ktv-data .tex test file (data file)
+ 7. ktv-texdata .dtx package (source file)
+ 8. ktv-texdata .ktvnum document build-number
+ 9. ktv-texdata .ins installation file
+ 10. ktv-buildnum.sty (optional tools)
+
+===========
+End of file
+=========== \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/ktv-data.tex b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-data.tex
new file mode 100644
index 00000000000..ecbd4d5f48f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-data.tex
@@ -0,0 +1,98 @@
+%%
+%% This is file `ktv-data.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ktv-texdata.dtx (with options: `datafile')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ktv-data.tex.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file ktv-texdata.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\bxx(yyy)1;
+This is {\it yyyyy}.one.
+\exx
+\bxx(yyy)2;
+This is {\it yyyyy}.two with hint.
+\exx
+\begin{hint}
+This is HINT of {\it yyyyy}.2
+\end{hint}
+\bxx(yyy)3;
+This is {\it yyyyy}.three.
+\exx
+\bxx(yyy)4;
+This is {\it yyyyy}.four.
+\exx
+\bxx(yyy)[TT]5;
+This is {\it yyyyy}.six with header TT
+\exx
+
+^^M % ------------------------------------------------------------------
+
+\bxx1;
+This is one.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+\bxx2;
+This is two with hint.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+\begin{hint}
+This is hint of two.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\end{hint}
+\bxx3;
+This is three.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+\bxx4;
+This is four.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+\bxx5;
+This is six.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+
+^^M % ------------------------------------------------------------------
+
+\bxx(zzz)1;
+This is ZZZZZZZ.one.
+\exx
+\bxx(zzz)2;
+This is ZZZZZZZ.two.
+\\Containning an equation:
+\begin{equation}
+\int_{0}^{\infty}f(x)\,dx = \pi
+\end{equation}
+\exx
+\bxx(zzz)3;
+This is ZZZZZZZ.three.
+\exx
+\bxx(zzz)4;
+This is ZZZZZZZ.four.
+\exx
+\bxx(zzz)[TT]5;
+This is ZZZZZZZ.six with header TT.
+\exx
+\endinput
+%%
+%% End of file `ktv-data.tex'.
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.KTVhint b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.KTVhint
new file mode 100644
index 00000000000..f96486b7a2e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.KTVhint
@@ -0,0 +1,24 @@
+%% File created automatically by `ktv-texdata'.
+%% DONOT EDIT THIS FILE MANUALLY.
+\setcounter{xxx}{0}
+\bxx(xxx)2;
+This is hint of two.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+\setcounter{yyy}{1}
+\bxx(yyy)2;
+This is HINT of {\it yyyyy}.2
+\exx
+\setcounter{yyy}{6}
+\bxx(yyy)2;
+This is hint of two.
+\\In the data file, this `bxx' doesnot specify the enrvironment.
+\\So this used default environment.
+\exx
+\setcounter{yyy}{12}
+\bxx(yyy)2;
+This is HINT of {\it yyyyy}.2
+\exx
+\endinput
+%% END OF FILE %%
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.tex b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.tex
new file mode 100644
index 00000000000..0c2f1bbc28f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-test.tex
@@ -0,0 +1,171 @@
+%%
+%% This is file `ktv-test.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ktv-texdata.dtx (with options: `example')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ktv-test.tex.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file ktv-texdata.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\documentclass{article}
+\usepackage{ktv-texdata}
+
+\usepackage{amsthm}
+
+\def\back:{$\backslash$}
+
+\begin{document}
+
+\begin{center}
+\Large\bf TEST :: package == {\tt ktv-texdata.sty}
+\end{center}
+
+\section{Create a data file}
+See file {\tt ktv-data.tex}.
+There're three part in the data file.
+In the first and the last part, all `\verb~bxx~'
+specify their own environment. In the second part,
+the data items omit the enrironment (use default).
+
+There're some special data items:
+the \verb~\bxx(yyy)2;..\exx~ is followed by a hint,
+the \verb~\bxx(yyy)[TT]5;..\exx~ specifies
+an optional argument for enrivonment \verb~yyy~.
+
+\section{Define the envrinoment}
+\begin{verbatim}
+\theoremstyle{definition}
+\newtheorem{xxx}{XX}
+\newtheorem{zzz}{ZZ}
+\newtheorem{yyy}{YY}
+\end{verbatim}
+\theoremstyle{definition}
+\newtheorem{xxx}{XX}
+\newtheorem{zzz}{ZZ}
+\newtheorem{yyy}{YY}
+
+\section{Specified default environment by \back:env(xxx)}
+
+\xenv(xxx)
+
+\begin{verbatim}
+\xenv(xxx)
+\end{verbatim}
+You should specify the default enrironment
+before any calling to \back:xget, \back:xkill, \back:xgetll,
+\back:xkillall, etc.
+
+Otherwise, if your data file contains some `\verb|bxx|'
+that doesnot specify the environment, you will receive an error!
+(In the source code of the test, remove the line \back:env(xxx)
+to see what will be going.)
+
+\section{Specified data file by \back:env(xxx)}
+\xlib ktv-data;
+
+\begin{verbatim}
+\xlib ktv-data;
+\end{verbatim}
+You also specify the the library, or data file.
+The above specification affects on any \back:xopenlib;
+that's put after this line in the source code of the test.
+
+\section{\back:xget\{2,4\}}
+\begin{verbatim}
+\xget{2,4}
+\xopenlib;
+\end{verbatim}
+\xget{2,4}
+\xopenlib;
+
+\section{Uneffect \back:xenv(zzz) after \back:xget\{1,4\}}
+\begin{verbatim}
+\xget{1,4}
+\xenv(zzz)
+\xopenlib;
+\end{verbatim}
+This example illustrate that any \back:xenv(...)
+that follows a \back:xget doesnot take any affect on that \back:xget.
+Try to figure out this illustration.
+\xget{1,4}
+\xenv(zzz)
+\xopenlib;
+
+\section{Now use \back:xenv(yyy)}
+...to change the default environment to zzz.
+\begin{verbatim}
+\xenv(yyy)
+\end{verbatim}
+\xenv(yyy)
+
+\section{Use \back:xgetallbut(zzz)\{1,2\}}
+\begin{verbatim}
+\xgetallbut(zzz){1,2}
+\xopenlib;
+\end{verbatim}
+\xgetallbut(zzz){1,2}
+\xopenlib;
+
+\section{Use \back:xkillallbut(zzz)\{1,2\}}
+\begin{verbatim}
+\xkillallbut(zzz){1,2}
+\xopenlib;
+\end{verbatim}
+\xkillallbut(zzz){1,2}
+\xopenlib;
+
+\section{Use \back:xspec}
+This macro reserves the order of the `bxx'
+that you specify in the argument.
+
+\subsection{This is \back:xspec\{1,5,2\}}
+\begin{verbatim}
+\xspec{1,5,2}
+\end{verbatim}
+This calling uses default environment \verb~zzz~.
+\xspec{1,5,2}
+
+\subsection{This is \back:xspec(zzz)\{1,5,2\}}
+\begin{verbatim}
+\xspec(zzz){1,5,2}
+\end{verbatim}
+\xspec(zzz){1,5,2}
+
+\section{Turn off the details by \back:xdetailoff}
+\xdetailoff
+\begin{verbatim}
+\xdetailoff
+\end{verbatim}
+You now cannot see anything on the right margin.
+
+\section{Hint}
+\begin{verbatim}
+\xopenhint
+\end{verbatim}
+Some exercise should have a hint.\\
+Of course, only hints of the active `bxx' will be accepted.
+\xopenhint
+
+\section{Now the time you try the package yourself!}
+Thank you for your enjoying.\\[3mm]
+Please send any bug, report,... to the author at
+\begin{verbatim}
+ kyanh@linuxmail.org
+\end{verbatim}
+\end{document}
+\endinput
+%%
+%% End of file `ktv-test.tex'.
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.ktvnum b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.ktvnum
new file mode 100644
index 00000000000..0a43408e964
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.ktvnum
@@ -0,0 +1 @@
+\buildnum=1544
diff --git a/Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.pdf b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.pdf
new file mode 100644
index 00000000000..7d6d72cbcd8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ktv-texdata/ktv-texdata.pdf
Binary files differ