From fa4f3de20884ea2aaf8ac45f8fab598e1357cba3 Mon Sep 17 00:00:00 2001 From: Thomas Wood <thomas.wood09@imperial.ac.uk> Date: Mon, 25 Apr 2016 12:28:44 +0100 Subject: [PATCH] Update :gem:, remove no-longer-needed superscript filter --- Gemfile.lock | 12 ++++++------ _plugins/scholar_superscript_filter.rb | 11 ----------- 2 files changed, 6 insertions(+), 17 deletions(-) delete mode 100644 _plugins/scholar_superscript_filter.rb diff --git a/Gemfile.lock b/Gemfile.lock index 92dd6d8..bc6abeb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,17 +10,17 @@ GEM addressable (2.4.0) bibtex-ruby (4.3.0) latex-decode (~> 0.0) - citeproc (1.0.2) + citeproc (1.0.3) namae (~> 0.8) - citeproc-ruby (1.1.0) + citeproc-ruby (1.1.2) citeproc (>= 1.0.2, < 2.0) csl (~> 1.4) coderay (1.1.1) colorator (0.1) colored (1.2) - csl (1.4.3) + csl (1.4.4) namae (~> 0.7) - csl-styles (1.0.1.6) + csl-styles (1.0.1.7) csl (~> 1.0) ethon (0.8.1) ffi (>= 1.3.0) @@ -46,7 +46,7 @@ GEM safe_yaml (~> 1.0) jekyll-sass-converter (1.4.0) sass (~> 3.4) - jekyll-scholar (5.7.2) + jekyll-scholar (5.8.0) bibtex-ruby (~> 4.0, >= 4.0.13) citeproc-ruby (~> 1.0) csl-styles (~> 1.0) @@ -58,7 +58,7 @@ GEM latex-decode (0.2.2) unicode (~> 0.4) liquid (3.0.6) - listen (3.0.6) + listen (3.1.1) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9.7) mercenary (0.3.6) diff --git a/_plugins/scholar_superscript_filter.rb b/_plugins/scholar_superscript_filter.rb deleted file mode 100644 index 21498f8..0000000 --- a/_plugins/scholar_superscript_filter.rb +++ /dev/null @@ -1,11 +0,0 @@ -module Jekyll - class Scholar - class Superscript < BibTeX::Filter - def apply(value) - value.to_s.gsub(/\\textsuperscript\{([^}]+)\}/) { - "<sup>#{$1}</sup>" - } - end - end - end -end -- GitLab