24.6 Treatment of Generated Files

Generated files are not described by their own section. They simply should be mentioned (and tagged with ∖genfile) when appropriated. At a place where they are defined, i. e., where one can see how they are generated, they should be tagged via ∖generatedfile. The command ∖generatedfile should appear exactly once for each file (counted over the whole of the .nw files).

The command ∖rhxhyperfile is used in accordance with the definition of ∖srcfile.

Generated files will be typeset in the style ∖generatedFileStyle in places they are mentioned via the command ∖generatedfile.

228⟨generatedfile 228⟩≡   (192)
\def\genFileStyle{\textsf}
\def\genfile#1{\genFileStyle{\rhxhyperfile{#1}{\hyperlink}{gf}{}}}
\def\generatedFileStyle{\textbf}
\def\generatedfile#1{%
  \generatedFileStyle{\rhxhyperfile{#1}{\hypertarget}{gf}{|defineTermPage}}}

Defines:
generatedFileStyle, used in chunk 390.
genFileStyle, used in chunk 390.