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.tex28
1 files changed, 28 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..3c8ae98da3e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
@@ -0,0 +1,28 @@
+\ProvidesFile{copyfile.tex}[{2011/08/22 copy*ing/converting (UL)}]
+\RequirePackage{fddial0g}
+\newcommand*{\TextCodesFile}{\def\text_codes_file_name}
+\TextCodesFile{} \let\TextCodes\relax
+\input{copyfile.cfg}
+
+\Announce{ * copyfile.tex * compressing blank lines/converting
+ ^^J}
+ {copyfile.cfg}
+\newcommand*{\Dialogue}{%
+ \FD_dialogue_screen{%
+ \string\InputFile {\input_file_name}^^J%
+ \string\TextCodesFile{\text_codes_file_name}^^J%
+ \string\ResultFile{\result_file_dialogue}%
+ }%
+}
+\newcommand*{\RunWithSettings}{%
+ \run_with_settings_gen{%
+ \ifx\text_codes_file_name\empty\else
+ \input{\text_codes_file_name}%
+ \fi
+ \CopyFile*[\TextCodes]{\input_file_name}%
+ }%
+}
+\Dialogue
+
+\stop
+