Commit Graph
44 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
Martin Monperrus 4d2f21f344 improves the configurability of the output through CSS classes (adds .bibcomment) 2014-05-16 11:00:50 +02:00
Martin Monperrus db987616a7 fixes a bug in Javascript progressive enhancement (bug reported by Elvis) 2014-05-15 22:09:24 +02:00
Martin Monperrus 9f230368d9 preserves math formula for use with MathJax (bug reported by Elvis) 2014-05-15 22:08:42 +02:00
Martin Monperrus bf91b17fe3 improves the configurability of the output through CSS classes (adds .bibmenu and .bibanchor) 2014-05-15 20:08:53 +02:00
ahaber fc7f5c77fb Fixes a potential cross site scripting (XSS) issue 2014-05-05 12:15:05 +02:00
Martin Monperrus ed120ab4cf removes useless code that hinders understandability 2014-04-01 18:30:51 +02:00
Martin Monperrus 0a2c97b68c improves documentation of configuration 2014-04-01 18:30:02 +02:00
Martin Monperrus c9462cb1e9 replaces double quotes by simple quotes for facilitating search 2014-04-01 18:29:26 +02:00
Martin Monperrus c929400a8b refactors to remove duplicated and ambiguous code 2014-03-07 22:56:37 +01:00
Martin Monperrus 01c2eaec85 improves google scholar metadata 2014-03-07 22:53:03 +01:00
Martin Monperrus 4c1b7ebfd4 adds configuration item for the default frame (suggested by Christopher David Ramos) 2014-01-30 21:17:40 +01:00
Martin Monperrus 7d45c51b6f fixes a bug (reported by Pawel)
Section A
<?php
$_GET['bib']='listA.bib';
$_GET['all']=1;
include( 'bibtexbrowser.php' );
?>

Section B
<?php
$_GET['bib']='listB.bib';
$_GET['all']=1;
include( 'bibtexbrowser.php' );
?>

Bug: both times it displays the entries from only listA.bib.

Fix: if (!isset($_GET[Q_DB]) || !$_GET[Q_DB]->is_already_loaded($_GET[Q_FILE])) { setDB(); }
2014-01-30 21:09:54 +01:00
Martin Monperrus 518d22e9ca Merge 2014-01-30 19:40:58 +01:00
Martin Monperrus 63a3efb2da Merge pull request #10 from arnehaber/master
Bugfix issue #8, introduces issue #9
2014-01-30 10:40:07 -08: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
Martin Monperrus 618250c463 Merge pull request #7 from g-oikonomou/fix-dot-and-ring
Output correct HTML entity for \r{a}
2014-01-30 10:16:17 -08:00
ahaber 0092442d83 preserve ENCODING in text2rss() while decoding characters encoded by
latex2html
2014-01-30 13:51:50 +01:00
ahaber 275c1a41b5 issue #9
Adds properties to also disable the links [pdf], [doi] and [gsid]
2014-01-22 15:45:32 +01:00
ahaber af120fdda3 fix for issue #8
adds checks for file extension of referenced bibtexfiles
2014-01-22 15:27:05 +01:00
George Oikonomou 4d39449b2c Output correct HTML entity for \r{a}
There is an issue with characters å and Å (with ring above). The corresponding HTML entities are &aring; / &Aring;

To get this character with latex we'd do: \r{a} or \aa

With bibtextbrowser \aa works fine. However, \r{a} doesn't do anything at all. This pull fixes this, we now output the correct HTML for \r{a} and \r{A}.

Furthermore, up till now bibtexbrowser will output &aring; if it encounters \.{a}, but this is wrong since this latex is meant to be used to produce an overdot (dot above char) and not "ring above char". Since in practice this is a "spelling error", this behaviour is removed and from now on \.{a} will not get replaced.
2014-01-03 21:40:31 +00:00
Joseph L. Richards 2c976cd1b6 fixes bug in bibtex concatenation with # 2013-12-24 10:09:56 +01:00
Martin Monperrus ad871ba363 adds handling of three new characters (contributed by Mateusz Łącki) 2013-11-14 21:07:56 +01:00
Martin Monperrus e4396f129d refactored the template mechanism 2013-11-14 21:06:28 +01:00
Martin Monperrus 8eaee2f277 implements &search=key1|key2|key3 or &search=key1,key2,key3 for emulating \cite{key1,key2,key3} (feature request by Mateusz) 2013-10-24 22:41:51 +02:00
Martin Monperrus 2ace26a260 fixed bug when @String are removed 2013-10-24 22:23:40 +02:00
Martin Monperrus fee4593473 refactoring 2013-10-03 22:57:32 +02:00
Martin Monperrus 5a9b9f1db5 refactoring 2013-10-03 22:33:28 +02:00
Martin Monperrus 5d2cb77457 fixed bug when slashes are used in bibtex keys 2013-10-03 22:32:29 +02:00
Martin Monperrus 8bfbe0e0d9 added support for internationalization 2013-10-03 22:12:37 +02:00
Martin Monperrus 79f769b3a6 adds a better configuration system, which is backward compatible 2013-10-03 21:56:20 +02:00
Martin Monperrus 4743902994 improves testability 2013-10-03 20:51:41 +02:00
Matthieu Guillaumin 1d0ac2bcfa Merge remote branch 'monperrus/master' into keys 2013-04-03 15:15:11 +02:00
Martin Monperrus 0f205dc06a improved ordering and sectioning of entries 2013-03-28 22:59:53 +01: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
Martin Monperrus 17dbef223d updated CSS to fit with new BIBTEXBROWSER_LAYOUT 2013-03-10 17:34:14 +01:00
Martin Monperrus 2d3f27015d refactored the excellent commit of M. Guillaumin
- LAYOUT -> BIBTEXBROWSER_LAYOUT by convention
- BIBTEXBROWSER_LAYOUT has non-abbreviated values (for sake of intuitiveness)
- BIBTEXBROWSER_LAYOUT has no complex interplay with ABBRV_TYPE  (for sake of intuitiveness)
- ordered lists are responsible for the indices
- no new line at the end of the file
- renamed or moved some functions
2013-03-10 09:48:36 +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
Martin Monperrus bf49236033 fixed a spurious 'notice' when used as library 2013-03-09 23:45:11 +01:00
Martin Monperrus 8d28126de4 changed the version number to __GITHUB__ (the github version is not a release) 2013-03-09 23:42:06 +01:00
Matthieu Guillaumin 177c75e18e keys 2013-02-28 19:32:18 +01:00
Martin Monperrus 531ebd0756 see http://www.monperrus.net/martin/bibtexbrowser-changelog 2012-12-05 22:16:58 +01:00
Martin Monperrus bf7b180dfa release of Oct 27 2012 2012-10-28 18:41:16 +01:00
Martin Monperrus f15adf086a hello github! initial github repo for bibtexbrowser
the goal is to collect patches and extensions as pull requests,
as suggested by George Oikonomou and Sjoerd OP 'T LAND

this version is the release candidate v20120703
2012-07-18 14:50:22 +02:00