diff options
author | Igor <pashev.igor@gmail.com> | 2010-11-08 23:23:51 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2010-11-08 23:23:51 +0300 |
commit | 8fce6c7d3d5a661b87ed21fe9f3ed6675ba74eb5 (patch) | |
tree | 6d7805b1ab02cf7706014f56eac5d7da551ca528 /test.php | |
parent | ed6c3110af1f0c8b224d6806df52e0adfdaba023 (diff) | |
download | dokuwiki-plugin-papers-8fce6c7d3d5a661b87ed21fe9f3ed6675ba74eb5.tar.gz |
Added method to export sorted BiBTeX
Diffstat (limited to 'test.php')
-rw-r--r-- | test.php | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,15 +1,10 @@ <?php require_once('bibtex.php'); -$bibtex = new BibtexParserGoga(); -$bibtex->read_file('example.bib'); -$bibtex->select(array( - 'author' => '/pashev/', - )); +$bibtex = new BibtexParserTeam(); +$bibtex->read_file('1.bib'); +print $bibtex->export(); -print_r($bibtex->STRINGS); -print_r($bibtex->SELECTION); - ?> |