Add save_kable and as_image vignette
diff --git a/R/save_kable.R b/R/save_kable.R
index 6edc7c4..9921eb3 100644
--- a/R/save_kable.R
+++ b/R/save_kable.R
@@ -95,7 +95,6 @@
"\\setmainlanguage{$mainlang$}",
latex_pkg_list(),
"\\usepackage{graphicx}",
- "\\usepackage{mathspec}",
"\\usepackage{xltxtra,xunicode}",
latex_header_includes,
"\\begin{document}",
@@ -111,7 +110,7 @@
owd <- setwd(dirname(temp_tex_file))
- system(paste0("xelatex ", temp_tex_file))
+ system(paste0("xelatex -interaction=batchmode ", temp_tex_file))
if (!keep_tex) {
temp_file_delete <- paste0(file_no_ext, c(".tex", ".aux", ".log"))
unlink(temp_file_delete)