OSC / bc_osc_rstudio_server

Batch Connect - OSC RStudio Server
https://osc.github.io/Open-OnDemand/
MIT License
10 stars 18 forks source link

add texlive (LaTeX) module for saving pdf mardown files #26

Closed johrstrom closed 4 years ago

johrstrom commented 4 years ago

Adding the texlive (texlive/2018) module to load so that users can create and save Markdown files. I verified that it works, and will add an image of it not working shortly.

johrstrom commented 4 years ago

This is the error you get, apparently older version of R installed with this package, but I'm unable to find it in versions higher than 3.4

[johrstrom@owens-login03 ~]$ find /usr/ -name framed.sty 2>/dev/null
/usr/local/R/3.3.1/lib64/R/library/knitr/misc/framed.sty
/usr/local/R/3.3.2/lib64/R/library/knitr/misc/framed.sty
/usr/local/R/3.4.0/lib64/R/library/knitr/misc/framed.sty
/usr/local/R/3.4.0-gnu/lib64/R/library/knitr/misc/framed.sty
/usr/local/rstudio/1.1.380/bin/pandoc/pandoc +RTS -K512m -RTS test123.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output test123.tex --self-contained --highlight-style tango --latex-engine pdflatex --variable graphics --variable 'geometry:margin=1in' 
output file: test123.knit.md

! LaTeX Error: File `framed.sty' not found.

! Emergency stop.
<read *> 

Error: Failed to compile test123.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See test123.log for more info.
Execution halted