Class: Jekyll::Latex::Pdf::Scholar::Bibliography
- Inherits:
-
Liquid::Tag
- Object
- Liquid::Tag
- Jekyll::Latex::Pdf::Scholar::Bibliography
- Includes:
- Utilities
- Defined in:
- lib/jekyll/latex/pdf/scholar/bibliography.rb
Overview
Overrides the jekyll-scholar bibliography tag to be used for latex generation.
Instance Method Summary collapse
-
#initialize(tag_name, arguments, tokens) ⇒ Bibliography
constructor
A new instance of Bibliography.
- #render(_context) ⇒ Object
Methods included from Utilities
#nomarkdown, #nomarkdown_p, #run_cmds, #set_context_to
Constructor Details
#initialize(tag_name, arguments, tokens) ⇒ Bibliography
Returns a new instance of Bibliography.
15 16 17 18 |
# File 'lib/jekyll/latex/pdf/scholar/bibliography.rb', line 15 def initialize(tag_name, arguments, tokens) super @keys = arguments end |
Instance Method Details
#render(_context) ⇒ Object
20 21 22 |
# File 'lib/jekyll/latex/pdf/scholar/bibliography.rb', line 20 def render(_context) nomarkdown "\\printbibliography" end |