Class: Jekyll::Latex::Pdf::Scholar::Bibliography

Inherits:
Liquid::Tag
  • Object
show all
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

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