Source for file Structures_BibTex_example.php
Documentation is available at Structures_BibTex_example.php
require_once 'Structures/BibTex.php';
//Loading and parsing the file example.bib
$ret= $bibtex->loadFile ('example.bib');
if(PEAR ::isError ($ret)) {
print $ret->getMessage ();
$addarray['entryType'] = 'Article';
$addarray['cite'] = 'art2';
$addarray['title'] = 'Titel2';
$addarray['author'][0 ]['first'] = 'John';
$addarray['author'][0 ]['last'] = 'Doe';
$addarray['author'][1 ]['first'] = 'Jane';
$addarray['author'][1 ]['last'] = 'Doe';
$bibtex->addEntry ($addarray);
echo "Converting This Array:\n\n";
echo "\nAnd here is the RTF String:\n\n";
echo "\nAnd here are the data in HTML:\n\n";
echo "\nAnd here is the statistic:\n\n";
Documentation generated on Mon, 11 Mar 2019 15:47:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|