


brede_bib_bib2html - Convert 'Bib' structure to HTML
function O = brede_bib_bib2html(B, varargin)
Input: M 'Bib' structure
Property: DirectoryBar String or cellstring with HTML for the
line below the title line
Filenames Filenames without extension in cellstrings
Generate [ { 'antirelated' 'asymmetry'
'index_author' 'cornercube'
'cornercube_link' 'index_asymmetry'
'index_ica' 'index_nmf' 'index_statistics'
'index_svd' 'index_title' 'index_wobib'
'list_exp' 'related' 'vrml' } | cell of
string ]
Output [ citation | all | {files} ]
Output: O Output
Convert a 'Bib' structure to HTML.
If the 'Output' is 'citation' a small string will be made with
the author(s), title, journal, volume, etc. formatting in
HTML. This format will be appropriate, eg, for a list of
references. 'all' will also return the formatted abstract.
If 'output' is 'files' then a HTML file will be generated for
each 'bib' structure with bibliographic information, corner
cube visualization and related volumes. The filename will be,
eg, "WOBIB_17" if the 'bib' structure contains the 'wobib'
field (and it is the 17th WOBIB). If the wobib is not defined
then the filename will be, eg, "Bib_17". If the 'filenames'
property is given the generated 'bib' files will be set to those.
The 'generate' property determines which components should be
constructed.
Example:
f = fullfile(fileparts(which('brede')), 'xml', 'wobibs.xml');
B = brede_read_xml(f, 'output', 'collapsesecond');
brede_bib_bib2html(B{1}, 'output', 'citation')
brede_bib_bib2html(B);
See also BREDE, BREDE_BIB, BREDE_BIB_ASYMMETRY,
BREDE_BIB_BIB2VOL, BREDE_EXP_EXP2HTML,
BREDE_HTML_OPEN_JERNE, BREDE_READ_XML, BREDE_VTA_BIB.
$Id: brede_bib_bib2html.m,v 1.40 2005/10/07 13:03:59 fnielsen Exp $