<RefEntry id="X24legalnotice-link-fileX24">
<!-- This file is generated automatically from the DSSSL source. -->
<!-- Do not edit this file! -->
<?html-filename legalnotice-link-file.html>

<RefMeta>
  <RefEntryTitle>$legalnotice-link-file$</RefEntryTitle>
  <RefMiscInfo Role="file">dbparam.dsl</RefMiscInfo>
</RefMeta>

<RefNameDiv>
  <RefName>$legalnotice-link-file$</RefName>
  <RefPurpose>Name of output file for legal notices</RefPurpose>
</RefNameDiv>

<RefSynopsisDiv><Title>Synopsis</Title>
<Synopsis>
($legalnotice-link-file$ legalnotice)
</Synopsis>
</RefSynopsisDiv>

<RefSect1><Title>Description</Title>

<para>
Name of the output file for legal notices if 
<literal>%generate-legalnotice-link%</literal> is true.  Since several legal notices
may occur (in a Set of Books, for example), this is no longer a fixed
filename.</para>


</RefSect1>
<RefSect1><Title>Source Code</Title>

<ProgramListing>
(define ($legalnotice-link-file$ legalnotice)
  ;; Name of output file for legal notices
  (if (and %use-id-as-filename% (attribute-string (normalize "id") legalnotice))
      (string-append (attribute-string (normalize "id") legalnotice)
		     %html-ext%)
      (string-append "ln"
		     (number->string (all-element-number legalnotice))
		     %html-ext%)))
</ProgramListing>
</RefSect1>

</RefEntry>
