Sandbox

From Jiahao's lab notebook
Jump to: navigation, search

Dummy citation using bibtex.[1] More[2, 3] test[4]

Error fetching PMID 17323919:
Error fetching PMID 9312086:

  1. Christopher Alexander - The Timeless Way of Building
    ,1979
    [somebook]
  2. Sinnott, M.L. (1990) Catalytic mechanisms of enzymic glycosyl transfer. Chem. Rev. 90, 1171-1202. DOI: 10.1021/cr00105a006 [Sinnott1990]
  3. Error fetching PMID 9312086: [He1999]
  4. Error fetching PMID 17323919: [Comfort2007]
  5. Vrizlynn L.L. Thing, Tong-Wei Chua, Ming-Lee Cheong - Design of a Digital Forensics Evidence Reconstruction System for Complex and Obscure Fragmented File Carving
    , Los Alamitos, CA, USA,2011
    [BibTest]
  6. ISBN:978-0-240-52118-3 [StickWillams2009]
    Figure 5, page 72 is particularly interesting
  7. wala-wala [test]
All Medline abstracts: PubMed | HubMed

Property test: Dummypage

In a page with a citation key (Dent and Brent, 2006) the Semantic Citation extension will try to match it against a reference key Dent and Brent, 2006 which is resonpsible to identify the annoted bibliographic reference source.

ut a bibtex reference on the page you're editing, just put it between bibtex markups. For example, this: Vrizlynn L.L. Thing, Tong-Wei Chua, Ming-Lee Cheong - Design of a Digital Forensics Evidence Reconstruction System for Complex and Obscure Fragmented File Carving

Computational Intelligence and Security, International Conference on 0:793-797, Los Alamitos, CA, USA,2011


Integrating Bibtex extension into BiblioPlus

1. Load bibtex extension before biblioplus.

1. Apply this patch to BiblioPlus.body.php

--- a/BiblioPlus.body.php
+++ b/BiblioPlus.body.php
@@ -721,6 +721,7 @@ class BiblioPlus {
         $isbns = $parseResult['isbns'];
         $pmentries = array();
         $pmids_to_fetch = array();
+       $bibtexx = new BibTex($text);
 
         //caching features
         $cache = wfGetMainCache();
@@ -812,6 +813,11 @@ class BiblioPlus {
             $key = $this -> get($ref, 'key');
             $annot = $this -> get($ref, 'annot');
             $text = $this -> get($ref, 'text');
+            if(strcmp(substr($text, 0, 7), 'bibtex=') == 0){
+              $bibtexx->BibTex($text);
+              $text = $bibtexx->html();
+           }
+
             $vkey = "<span style=\"color:#aaa\">[$key]</span>";
             if (isset($ref['biburl'])) {
                 $biburl = htmlspecialchars($ref['biburl']);

Adapted from [1]

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox