summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
blob: 3c8ae98da3e4ab7ab977bae00cbef3465e92ceec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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