Browse Source

Merge 7c3dc87a32 into f7f03dd65e

pull/63/merge
Chris 9 years ago
committed by GitHub
parent
commit
928da18185
  1. 2
      README.md
  2. 21
      composer.json
  3. 10
      src/bibtexbrowser-cli.php
  4. 4768
      src/bibtexbrowser.php

2
README.md

@ -7,3 +7,5 @@ It is used to collect patches and extensions as pull requests.
The official home page of bibtexbrowser is <http://www.monperrus.net/martin/bibtexbrowser/>.
Bibtexbrowser is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Note: Composer compatible version requires PHP 5+.

21
composer.json

@ -0,0 +1,21 @@
{
"name": "monperrus/bibtexbrowser",
"description": "bibtexbrowser is a PHP script that creates publication lists from Bibtex files. bibtexbrowser is stable, mature and easy to install.",
"homepage": "http://www.monperrus.net/martin/bibtexbrowser/",
"license": "GPL-2.0+",
"authors": [
{
"name": "Martin Monperrus",
"homepage": "http://www.monperrus.net",
"role": "Original Developer"
}
],
"require": {
"php": "4 - 5"
},
"autoload": {
"files": [
"src/bibtexbrowser.php"
]
}
}

10
src/bibtexbrowser-cli.php

@ -0,0 +1,10 @@
<?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);
?>

4768
src/bibtexbrowser.php
File diff suppressed because it is too large
View File

Loading…
Cancel
Save