Commit Graph
26 Commits
Author SHA1 Message Date
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
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 å / Å

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 å 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