Methods and apparatus implementing techniques to embed files in an
electronic document. User input specifies files to be embedded in an
electronic document and metadata to be associated with the specified
files in the electronic document. The specified files are embedded in the
electronic document in response to the input. A manifest is created in
the electronic document. The manifest includes representations of each of
the embedded files and the specified metadata. Each representation of the
metadata is associated in the manifest with representations of one or
more corresponding files of the embedded files. The manifest includes
presentation information defining how the representations will be
presented to a user.