summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
diff options
context:
space:
mode:
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
+