Blob Blame History Raw
From 8b663382e44880cfe76eaf1e5fdffad474ebfa9e Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 21 Apr 2018 04:21:39 -0400
Subject: [PATCH 2/9] Unbundle fonts in ioslides.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 .../ioslides-13.5.1/fonts/OpenSans-Italic.ttf   |   1 +
 .../ioslides-13.5.1/fonts/OpenSans-Regular.ttf  |   1 +
 .../ioslides-13.5.1/fonts/OpenSans-Semibold.ttf |   1 +
 .../fonts/OpenSans-SemiboldItalic.ttf           |   1 +
 .../ioslides/ioslides-13.5.1/fonts/OpenSans.ttf | Bin 36492 -> 0 bytes
 .../ioslides-13.5.1/fonts/OpenSansItalic.ttf    | Bin 34416 -> 0 bytes
 .../ioslides-13.5.1/fonts/OpenSansSemibold.ttf  | Bin 37568 -> 0 bytes
 .../fonts/OpenSansSemiboldItalic.ttf            | Bin 34652 -> 0 bytes
 .../fonts/SourceCodePro-Regular.otf             |   1 +
 .../ioslides-13.5.1/fonts/SourceCodePro.ttf     | Bin 42380 -> 0 bytes
 .../ioslides/ioslides-13.5.1/fonts/fonts.css    |   8 ++++----
 11 files changed, 9 insertions(+), 4 deletions(-)
 create mode 120000 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans-Italic.ttf
 create mode 120000 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans-Regular.ttf
 create mode 120000 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans-Semibold.ttf
 create mode 120000 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans-SemiboldItalic.ttf
 delete mode 100644 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans.ttf
 delete mode 100644 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansItalic.ttf
 delete mode 100644 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansSemibold.ttf
 delete mode 100644 inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansSemiboldItalic.ttf
 create mode 120000 inst/rmd/ioslides/ioslides-13.5.1/fonts/SourceCodePro-Regular.otf
 delete mode 100644 inst/rmd/ioslides/ioslides-13.5.1/fonts/SourceCodePro.ttf

diff --git a/inst/rmd/ioslides/ioslides-13.5.1/fonts/fonts.css b/inst/rmd/ioslides/ioslides-13.5.1/fonts/fonts.css
index a949d32c..1315838e 100644
--- a/inst/rmd/ioslides/ioslides-13.5.1/fonts/fonts.css
+++ b/inst/rmd/ioslides/ioslides-13.5.1/fonts/fonts.css
@@ -8,23 +8,23 @@
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 600;
-  src: url(OpenSansSemibold.ttf) format('truetype');
+  src: url(OpenSans-Semibold.ttf) format('truetype');
 }
 @font-face {
   font-family: 'Open Sans';
   font-style: italic;
   font-weight: 400;
-  src: url(OpenSansItalic.ttf) format('truetype');
+  src: url(OpenSans-Italic.ttf) format('truetype');
 }
 @font-face {
   font-family: 'Open Sans';
   font-style: italic;
   font-weight: 600;
-  src: url(OpenSansSemiboldItalic.ttf) format('truetype');
+  src: url(OpenSans-SemiboldItalic.ttf) format('truetype');
 }
 @font-face {
   font-family: 'Source Code Pro';
   font-style: normal;
   font-weight: 400;
-  src: url(SourceCodePro.ttf) format('truetype');
+  src: url(SourceCodePro-Regular.otf) format('opentype');
 }
-- 
2.20.1

From 4bb868ef5424a0a9c81ae22bfc5e7afa9568ffd0 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 21 Apr 2018 04:49:59 -0400
Subject: [PATCH 4/9] Unbundle jquery.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 R/html_dependencies.R           |   4 +-
 inst/rmd/h/jquery-AUTHORS.txt   | 217 --------------------------------
 inst/rmd/h/jquery/jquery.min.js |   5 -
 3 files changed, 2 insertions(+), 224 deletions(-)
 delete mode 100644 inst/rmd/h/jquery-AUTHORS.txt
 delete mode 100644 inst/rmd/h/jquery/jquery.min.js

diff --git a/R/html_dependencies.R b/R/html_dependencies.R
index a3f070d2..00af79c3 100644
--- a/R/html_dependencies.R
+++ b/R/html_dependencies.R
@@ -19,8 +19,8 @@ html_dependency_jquery <- function()  {
 
   htmlDependency(
     name = "jquery",
-    version = "1.11.3",
-    src = rmarkdown_system_file(file = "rmd/h/jquery"),
+    version = "1.12.4",
+    src = "/usr/share/javascript/jquery/1.12.4/",
     script = "jquery.min.js")
 }
 
-- 
2.20.1

From 6586ba73b731b3712bcc31b98ee7071781d9dce8 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 21 Apr 2018 05:10:52 -0400
Subject: [PATCH 5/9] Unbundle highlight.js.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 R/html_dependencies.R               |  6 +++---
 inst/rmd/h/highlightjs/default.css  | 21 ---------------------
 inst/rmd/h/highlightjs/highlight.js |  2 --
 inst/rmd/h/highlightjs/textmate.css | 19 -------------------
 4 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 inst/rmd/h/highlightjs/default.css
 delete mode 100644 inst/rmd/h/highlightjs/highlight.js
 delete mode 100644 inst/rmd/h/highlightjs/textmate.css

diff --git a/R/html_dependencies.R b/R/html_dependencies.R
index 00af79c3..0a1ec3e4 100644
--- a/R/html_dependencies.R
+++ b/R/html_dependencies.R
@@ -289,9 +289,9 @@ html_dependency_highlightjs <- function(highlight) {
   htmlDependency(
     "highlightjs",
     version = "9.12.0",
-    src = rmarkdown_system_file("rmd/h/highlightjs"),
-    script = "highlight.js",
-    stylesheet = paste0(highlight, ".css")
+    src = "/usr/share/javascript/highlight.js",
+    script = "highlight.pack.js",
+    stylesheet = paste0("styles/", highlight, ".css")
   )
 }
 
-- 
2.20.1

From 29781764845b74a50947d622489eac9d4bd968a0 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 21 Apr 2018 05:46:03 -0400
Subject: [PATCH 6/9] Unbundle fonts from bootstrap.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 inst/rmd/h/bootstrap/css/cosmo.min.css        |   6 +-
 inst/rmd/h/bootstrap/css/fonts/Lato.ttf       | Bin 81980 -> 38 bytes
 inst/rmd/h/bootstrap/css/fonts/LatoBold.ttf   | Bin 82368 -> 35 bytes
 inst/rmd/h/bootstrap/css/fonts/LatoItalic.ttf | Bin 81332 -> 37 bytes
 inst/rmd/h/bootstrap/css/fonts/OpenSans.ttf   | Bin 34112 -> 47 bytes
 .../h/bootstrap/css/fonts/OpenSansBold.ttf    | Bin 35760 -> 44 bytes
 .../css/fonts/OpenSansBoldItalic.ttf          | Bin 33064 -> 50 bytes
 .../h/bootstrap/css/fonts/OpenSansItalic.ttf  | Bin 32808 -> 46 bytes
 .../h/bootstrap/css/fonts/OpenSansLight.ttf   | Bin 35340 -> 45 bytes
 .../css/fonts/OpenSansLightItalic.ttf         | Bin 32680 -> 51 bytes
 .../h/bootstrap/css/fonts/Raleway-Bold.otf    |   1 +
 .../h/bootstrap/css/fonts/Raleway-Regular.otf |   1 +
 inst/rmd/h/bootstrap/css/fonts/Raleway.ttf    | Bin 63796 -> 0 bytes
 .../rmd/h/bootstrap/css/fonts/RalewayBold.ttf | Bin 62224 -> 0 bytes
 inst/rmd/h/bootstrap/css/fonts/Roboto.ttf     | Bin 32652 -> 49 bytes
 inst/rmd/h/bootstrap/css/fonts/RobotoBold.ttf | Bin 32500 -> 46 bytes
 .../rmd/h/bootstrap/css/fonts/RobotoLight.ttf | Bin 32664 -> 47 bytes
 .../h/bootstrap/css/fonts/RobotoMedium.ttf    | Bin 32580 -> 48 bytes
 .../css/fonts/SourceSansPro-Bold.otf          |   1 +
 .../bootstrap/css/fonts/SourceSansPro-It.otf  |   1 +
 .../css/fonts/SourceSansPro-Light.otf         |   1 +
 .../css/fonts/SourceSansPro-Regular.otf       |   1 +
 .../h/bootstrap/css/fonts/SourceSansPro.ttf   | Bin 35064 -> 0 bytes
 .../bootstrap/css/fonts/SourceSansProBold.ttf | Bin 34908 -> 0 bytes
 .../css/fonts/SourceSansProItalic.ttf         | Bin 33864 -> 0 bytes
 .../css/fonts/SourceSansProLight.ttf          | Bin 35368 -> 0 bytes
 inst/rmd/h/bootstrap/css/lumen.min.css        |   8 +-
 inst/rmd/h/bootstrap/css/readable.min.css     |   4 +-
 .../fonts/glyphicons-halflings-regular.eot    | Bin 20127 -> 0 bytes
 .../fonts/glyphicons-halflings-regular.svg    | 288 ------------------
 .../fonts/glyphicons-halflings-regular.ttf    | Bin 45404 -> 70 bytes
 .../fonts/glyphicons-halflings-regular.woff   | Bin 23424 -> 0 bytes
 .../fonts/glyphicons-halflings-regular.woff2  | Bin 18028 -> 0 bytes
 33 files changed, 15 insertions(+), 297 deletions(-)
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/Lato.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/LatoBold.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/LatoItalic.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/OpenSans.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/OpenSansBold.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/OpenSansBoldItalic.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/OpenSansItalic.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/OpenSansLight.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/OpenSansLightItalic.ttf
 create mode 120000 inst/rmd/h/bootstrap/css/fonts/Raleway-Bold.otf
 create mode 120000 inst/rmd/h/bootstrap/css/fonts/Raleway-Regular.otf
 delete mode 100644 inst/rmd/h/bootstrap/css/fonts/Raleway.ttf
 delete mode 100644 inst/rmd/h/bootstrap/css/fonts/RalewayBold.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/Roboto.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/RobotoBold.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/RobotoLight.ttf
 mode change 100644 => 120000 inst/rmd/h/bootstrap/css/fonts/RobotoMedium.ttf
 create mode 120000 inst/rmd/h/bootstrap/css/fonts/SourceSansPro-Bold.otf
 create mode 120000 inst/rmd/h/bootstrap/css/fonts/SourceSansPro-It.otf
 create mode 120000 inst/rmd/h/bootstrap/css/fonts/SourceSansPro-Light.otf
 create mode 120000 inst/rmd/h/bootstrap/css/fonts/SourceSansPro-Regular.otf
 delete mode 100644 inst/rmd/h/bootstrap/css/fonts/SourceSansPro.ttf
 delete mode 100644 inst/rmd/h/bootstrap/css/fonts/SourceSansProBold.ttf
 delete mode 100644 inst/rmd/h/bootstrap/css/fonts/SourceSansProItalic.ttf
 delete mode 100644 inst/rmd/h/bootstrap/css/fonts/SourceSansProLight.ttf
 delete mode 100644 inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.eot
 delete mode 100644 inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.svg
 mode change 100644 => 120000 inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.ttf
 delete mode 100644 inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.woff
 delete mode 100644 inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.woff2

diff --git a/inst/rmd/h/bootstrap/css/cosmo.min.css b/inst/rmd/h/bootstrap/css/cosmo.min.css
index 23aaa5a8..7bfdac28 100644
--- a/inst/rmd/h/bootstrap/css/cosmo.min.css
+++ b/inst/rmd/h/bootstrap/css/cosmo.min.css
@@ -2,19 +2,19 @@
   font-family: 'Source Sans Pro';
   font-style: normal;
   font-weight: 300;
-  src: url(fonts/SourceSansProLight.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-Light.otf) format('opentype');
 }
 @font-face {
   font-family: 'Source Sans Pro';
   font-style: normal;
   font-weight: 400;
-  src: url(fonts/SourceSansPro.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-Regular.otf) format('opentype');
 }
 @font-face {
   font-family: 'Source Sans Pro';
   font-style: normal;
   font-weight: 700;
-  src: url(fonts/SourceSansProBold.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-Bold.otf) format('opentype');
 }
 
 /*!
diff --git a/inst/rmd/h/bootstrap/css/lumen.min.css b/inst/rmd/h/bootstrap/css/lumen.min.css
index 2f221d7d..2e01c82a 100644
--- a/inst/rmd/h/bootstrap/css/lumen.min.css
+++ b/inst/rmd/h/bootstrap/css/lumen.min.css
@@ -2,26 +2,26 @@
   font-family: 'Source Sans Pro';
   font-style: normal;
   font-weight: 300;
-  src: url(fonts/SourceSansProLight.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-Light.otf) format('opentype');
 }
 @font-face {
   font-family: 'Source Sans Pro';
   font-style: normal;
   font-weight: 400;
-  src: url(fonts/SourceSansPro.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-Regular.otf) format('opentype');
 }
 @font-face {
   font-family: 'Source Sans Pro';
   font-style: normal;
   font-weight: 700;
-  src: url(fonts/SourceSansProBold.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-Bold.otf) format('opentype');
 }
 
 @font-face {
   font-family: 'Source Sans Pro';
   font-style: italic;
   font-weight: 400;
-  src: url(fonts/SourceSansProItalic.ttf) format('truetype');
+  src: url(fonts/SourceSansPro-It.otf) format('opentype');
 }
 
 /*
diff --git a/inst/rmd/h/bootstrap/css/readable.min.css b/inst/rmd/h/bootstrap/css/readable.min.css
index 8c0c7de7..ce148218 100644
--- a/inst/rmd/h/bootstrap/css/readable.min.css
+++ b/inst/rmd/h/bootstrap/css/readable.min.css
@@ -2,13 +2,13 @@
   font-family: 'Raleway';
   font-style: normal;
   font-weight: 400;
-  src: url(fonts/Raleway.ttf) format('truetype');
+  src: url(fonts/Raleway.otf) format('opentype');
 }
 @font-face {
   font-family: 'Raleway';
   font-style: normal;
   font-weight: 700;
-  src: url(fonts/RalewayBold.ttf) format('truetype');
+  src: url(fonts/Raleway-Bold.otf) format('opentype');
 }
 
 /*!
-- 
2.20.1