This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Usage: | |
| # => ruby pandoc.rb -i <file_name>(.tex) (options for pandoc) | |
| # => minimum options for pandoc: --bibliography=<bibliography_file.bib> --csl=<mla or chicago>.csl | |
| # Installed by running 'gem install bibtex' (may need to append sudo) | |
| require 'bibtex' | |
| default_bibliography = "./transhumanism.bib" # change this to whatever | |
| if ARGV.find_index("-i") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set :markdown_engine, :kramdown | |
| set :markdown, :fenced_code_blocks => true, | |
| :autolink => true, | |
| :smartypants => true, | |
| :footnotes => true, | |
| :superscript => true | |
| helpers do | |
| def javascript_path(file_path) | |
| asset_path(:js, file_path) |
NewerOlder