summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/textmerg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-12-08 00:30:27 +0000
committerKarl Berry <karl@freefriends.org>2010-12-08 00:30:27 +0000
commite2ae86c7421b82cebf317c7e26df43d427f92fae (patch)
treea6038a89549aa9f0284343c3b4d78f8eeec1226c /Master/texmf-dist/doc/generic/textmerg
parentb8dac36db6bad339e035d237cfed1b86713971ce (diff)
textmerg non-update (5dec10)
git-svn-id: svn://tug.org/texlive/trunk@20677 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/textmerg')
-rw-r--r--Master/texmf-dist/doc/generic/textmerg/results.dat10
-rw-r--r--Master/texmf-dist/doc/generic/textmerg/silly.dat20
-rw-r--r--Master/texmf-dist/doc/generic/textmerg/tmexamp1.tex26
-rw-r--r--Master/texmf-dist/doc/generic/textmerg/tmexamp2.tex29
-rw-r--r--Master/texmf-dist/doc/generic/textmerg/tmexampp.tex28
5 files changed, 113 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/textmerg/results.dat b/Master/texmf-dist/doc/generic/textmerg/results.dat
new file mode 100644
index 00000000000..781e3869f5e
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/textmerg/results.dat
@@ -0,0 +1,10 @@
+Miss
+Iusta
+Mo
+34 Winchester Road\\Sheffield\\England
+A
+Mr
+Arthur
+Minit
+43 Sheffield Road\\Winchester\\England
+C
diff --git a/Master/texmf-dist/doc/generic/textmerg/silly.dat b/Master/texmf-dist/doc/generic/textmerg/silly.dat
new file mode 100644
index 00000000000..70cd4b45a93
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/textmerg/silly.dat
@@ -0,0 +1,20 @@
+Mike
+look
+3
+1
+2
+3
+11
+12
+13
+***
+good
+Shelagh
+gaze
+2
+21
+22
+23
+24
+***
+horrid
diff --git a/Master/texmf-dist/doc/generic/textmerg/tmexamp1.tex b/Master/texmf-dist/doc/generic/textmerg/tmexamp1.tex
new file mode 100644
index 00000000000..7f3be5c00dd
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/textmerg/tmexamp1.tex
@@ -0,0 +1,26 @@
+%%
+%% This is file `tmexamp1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% textmerg.dtx (with options: `examp')
+%%
+\documentclass[12pt]{letter}
+\usepackage{textmerg}
+\begin{document}
+\Fields{\Title\Forenames\Surname
+ \Address\Grade}
+\Merge{results.dat}{%
+\begin{letter}{\Title\ \Forenames\
+ \Surname\\\Address}
+ \opening{Dear \Title\ \Surname,}
+ This letter is to inform you
+ that you obtained grade \Grade\ in
+ your recent examinations.
+ \closing{Yours faithfully,}
+\end{letter}}
+\end{document}
+\endinput
+%%
+%% End of file `tmexamp1.tex'.
diff --git a/Master/texmf-dist/doc/generic/textmerg/tmexamp2.tex b/Master/texmf-dist/doc/generic/textmerg/tmexamp2.tex
new file mode 100644
index 00000000000..cf97a1301e5
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/textmerg/tmexamp2.tex
@@ -0,0 +1,29 @@
+%%
+%% This is file `tmexamp2.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% textmerg.dtx (with options: `example')
+%%
+\documentclass[12pt]{article}
+\usepackage{textmerg}
+\MarkEnd{***}
+\Process{2}{\Advance}
+\def\Advance#1{#1\addtocounter{page}{#1}}
+\Fields{+\Name\Verb}
+\begin{document}
+\Merge{silly.dat}{%
+ Dear \Name,\par
+ Here is a table to \Verb\ at:
+ \Fields{\Width}%
+ \begin{tabular}{*{\Width}c}
+ \MultiRead\Width
+ \end{tabular}.\par
+ \Fields{\Adj}%
+ That was \Adj!
+ \clearpage}
+\end{document}
+\endinput
+%%
+%% End of file `tmexamp2.tex'.
diff --git a/Master/texmf-dist/doc/generic/textmerg/tmexampp.tex b/Master/texmf-dist/doc/generic/textmerg/tmexampp.tex
new file mode 100644
index 00000000000..22ac23f28c0
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/textmerg/tmexampp.tex
@@ -0,0 +1,28 @@
+%%
+%% This is file `tmexampp.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% textmerg.dtx (with options: `plainexample')
+%%
+\input textmerg
+\MarkEnd{***}
+\Process{2}{\Advance}
+\def\Advance#1{#1\global\advance\count0by#1}
+\Fields{+\Name\Verb}
+\Merge{silly.dat}{%
+ Dear \Name,\par
+ Here is a table to \Verb\ at:
+ \Fields{\Width}%
+ \vbox{\halign{\hfil{} ## {}\hfil&&\hfil{} ## {}\hfil\cr
+ \MultiRead\Width\cr
+ }}.\par
+ \Fields{\Adj}%
+ That was \Adj!
+ \vfill\eject}
+\end
+
+\endinput
+%%
+%% End of file `tmexampp.tex'.