The %%outfile
macro expands to the converted file
location on the system. It is useful to its name inside the document
Body or Headers. This macro is a sister of the
%%infile macro and do accept exactly the same formatting directives.
Examples:
Source | --> | Expanded |
---|---|---|
You are reading the %%outfile file. | --> | You are reading the userguide.html file. |
txt2tags -t %%outfile(%e) -i %%infile -o %%outfile | --> | txt2tags -t html -i userguide.t2t -o userguide.html |
Note: The macro is expanded to "-" if the output file is STDOUT.