Commit Graph
9 Commits
Author SHA1 Message Date
Matthieu Guillaumin 46ae7a06a5 improves the configurability of the link menu ([bib], [pdf], ...) 2014-05-19 22:26:47 +02:00
Matthieu Guillaumin c42ff8abc5 adds the option keys for selecting multiple entries
based on a list of specified entries. This is compatible with other search criteria, as it is implemented as an extra filter rule in multisearch(). This is useful for presenting a selection or short-list of bibtex entries (eg, on a homepage, in a research project page, etc...)

$_GET['keys'] should contain a url-encoded json-encoded array of bibtex entries.

With @define(ABBRV_TYPE,'keys-index'), the array in $_GET['keys'] is considered as an associative array "$abbrv=>$bibkey" and $abbrv is used for abbreviation.
2014-01-30 19:34:04 +01:00
Matthieu Guillaumin 1d0ac2bcfa Merge remote branch 'monperrus/master' into keys 2013-04-03 15:15:11 +02:00
Matthieu Guillaumin 5acf5b643d merged with monperrus/bibtexbrowsed@17dbef223d. Simplified and improved the "keys" search option. Now uses a new ABBRV_TYPE option, prints a correct title, can read $_GET from the url. New function to sort by raw Abbrv. 2013-03-12 10:42:26 +01:00
Matthieu Guillaumin 154f7410ea merged with Martin's changes 2013-03-10 14:11:17 +01:00
Matthieu Guillaumin f9b2f7a62a added a LAYOUT option
use @define(LAYOUT,{'table','list','deflist'}) to choose between table, ul, ol ('list' and ABBRV_TYPE='index') and definition lists for displaying bibtex entries.

$bib->index is now displayed as a number, not a number in brackets, for compatibility with list values. however this is invisible to the user because the brackets are added in getAbbrv().

bib2html now includes the echoing of links.
2013-03-10 09:44:10 +01:00
Matthieu Guillaumin 177c75e18e keys 2013-02-28 19:32:18 +01:00
Matthieu Guillaumin 230ca17d7f improved abbrv for list; factorized code for toHTML(); reverted modifications to bib2html and created bib2links() instead. 2013-02-28 17:40:25 +01:00
Matthieu Guillaumin fa56993706 the LAYOUT option and minor modifications 2013-02-27 19:53:42 +01:00