summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-16 00:39:32 +0000
committerKarl Berry <karl@freefriends.org>2012-11-16 00:39:32 +0000
commitd0098ed79f8feef72d604d541cd49cead7665f9d (patch)
tree3720f0088fd3dc3d56a3fef034674c1cff822ec5 /Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
parent73197147bc73f92d052a21c519732f728e01c2ae (diff)
nicetext (15nov12)
git-svn-id: svn://tug.org/texlive/trunk@28271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex')
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex b/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
new file mode 100644
index 00000000000..f532ed4c545
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
@@ -0,0 +1,23 @@
+\ProvidesFile{copyfile.tex}[2011/09/13 copy*ing/converting (UL)]
+\RequirePackage{fddial0g}
+\MakeSet{codes-f}{\TextCodesFile}
+\let\TextCodes\relax %% avoid errmessage
+\TryDialogueCFG{copyfile}{%
+ \InputFile{lines.txt}
+ \TextCodesFile{atari.fdf}
+ \ResultFile{lns.txt}}
+\Announce{ * copyfile.tex * compressing blank lines/converting^^J}
+\newcommand*{\VarShowSettings}{%
+ \ShowSet{in-f}\LBrk
+ \ShowSet{codes-f}\LBrk
+ \ShowSet{out-f}}
+\newcommand*{\VarRunSettings}{%
+ \typeout{`copyfile.tex' generating `\UseSet{out-f}'}
+ \UseResultFile{\UseSet{out-f}}
+ \IfEmptySet{codes-f}{}{\input{\UseSet{codes-f}}}
+ \CopyFile*[\TextCodes]{\UseSet{in-f}}%
+}
+\DialogueLoop
+
+\stop
+