summaryrefslogtreecommitdiffstats
path: root/admin/survey/modules/mod_hierarhija/porocila/R/test_1ka_pdf.R
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/modules/mod_hierarhija/porocila/R/test_1ka_pdf.R')
-rw-r--r--admin/survey/modules/mod_hierarhija/porocila/R/test_1ka_pdf.R17
1 files changed, 17 insertions, 0 deletions
diff --git a/admin/survey/modules/mod_hierarhija/porocila/R/test_1ka_pdf.R b/admin/survey/modules/mod_hierarhija/porocila/R/test_1ka_pdf.R
new file mode 100644
index 0000000..52f76dd
--- /dev/null
+++ b/admin/survey/modules/mod_hierarhija/porocila/R/test_1ka_pdf.R
@@ -0,0 +1,17 @@
+
+
+test <- c(paste("\\documentclass{article}",
+ # % specifies document class (article) and point size (10pt)
+
+ "\\begin{document}", # % starts document
+
+ "TESTNA STRAN", # % specifies big, fancy title)
+
+ "\\end{document}"))
+
+
+
+
+
+cat(test, file=paste0("modules/mod_hierarhija/porocila/results/test.tex"), sep="\n")
+tools::texi2pdf(file=paste0("modules/mod_hierarhija/porocila/results/test.tex"), quiet=TRUE, clean=TRUE)