public.feature 938 Bytes
Newer Older
rmrf's avatar
rmrf committed
1
2
3
Feature: Public or Not
  A BibTeX bibliography may contain publications that are not supposed to be public as of yet.
  This could be due to several reasons such as it being under submission. 
rmrf's avatar
rmrf committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  In order to allow this, I have a specific field that can be inserted in the 
  BibTeX to describe whether a particular entry should be generated using 
  jekyll-scholar or not.


Scenario: Wanting to *not* make a publication public.
  Suppose that one wants to hide the generation of the BibTeX entry for a 
  particular publication entry.  Simply add the following `public` field to the entry.


  """
  @book{ruby,
     title     = {The Ruby Programming Language},
     author    = {Flanagan, David and Matsumoto, Yukihiro},
     year      = {2008},
     publisher = {O'Reilly Media},
     public = {no}
  }
  """
rmrf's avatar
rmrf committed
23
24
25
26
27
28
29

  In your Scholar configuration (`_config.yml`) add the following query:
  """
  scholar: 
    query: "@*[public!=no]"
  """