11 lines
426 B
PHP
11 lines
426 B
PHP
<?php
|
|
// a command line interface for bibtexbrowser
|
|
// example: php bibtexbrowser-cli.php test_cli.bib --id classical --set-title "a new title"
|
|
$_GET['library']=1;
|
|
function createBibEntry() { $x = new RawBibEntry(); return $x;}
|
|
require('bibtexbrowser.php');
|
|
bibtexbrowser_configure('BIBTEXBROWSER_BIBTEX_VIEW','reconstructed');
|
|
bibtexbrowser_configure('BIBTEXBROWSER_BIBTEX_VIEW_FILTEREDOUT','');
|
|
bibtexbrowser_cli($argv);
|
|
?>
|