\externallabels{
<URL to directory of external document>}
{
<local copy of external document labels.pl file>}
If a symbolic reference made in either of the commands described on the previous page is not defined within the document itself, LATEX2HTML will look for that reference in one of the external files11. After any modifications in an external document (sections added/deleted, segmentation into different physical parts, etc.) a new labels.pl will be generated. If the \externallabels command in another document contains the correct address to an updated copy of the labels.pl file, then the cross-references will be re-aligned after running the local document through the translator.
There is also a mechanism analogous to the
label-ref pairs of LATEX, which can be used only
within a single document.
These labels are called internal labels,
as opposed to the external labels defined above.
They are used extensively with the document segmentation strategy
described later.
Either type of label is defined with a LATEX \label command. Labels can be referenced within a document using a \ref command. When processed by LATEX, each \ref command is replaced by the section number in which the corresponding \label occurred. When processed by the translator, each \ref is replaced by a hypertext link to the place where the corresponding \label occurred.
\externalrefThe argument to \externalref may be any symbolic label defined in the labels.pl file of any of the external documents. Such references to external symbolic labels are then translated into hyper-links pointing to the external document.{
<symbolic label in remote document>}
A particularly important use for this is in allowing multiple documents to access information in a common bibliographic listing. For example: all of an author's publications; a comprehensive listing of publications in a particular field; the (perhaps yearly) output of publications from a particular organisation or institution.
Thanks... to Uffe Engberg for suggesting this feature.