You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2 - Convert the .html generated file through wkhtmltopdf software (sudo apt-get install wkhtmltopdf) calling it directly from R (e.g. system(..)).
Pro: we can embed the css styled page into the pdf file.
Contro: SublimePeek has another requirement for Linux systems.
Then, adapt the SublimePeek.py script to search for pdf files when on linux (and R function ..).
Ah, I'm thinking also to another way to achieve this task.
3 - Call wkhtmltopdf from python only when required to convert the html into pdf e pass this to gloobus-preview. Then can be implemented a "caching" mechanism for the generated pdf files or not.
Hi,
how stated in the subject, gloobus-preview doesn't support html file.
So , imho, there is a way to get SublimePeek working in linux distros: use pdf file (supported by gloobus-preview).
Details:
1 - Directly generate .pdf documentation file using R CMD Rd2pdf utility (basic infos here: http://stat.ethz.ch/R-manual/R-devel/library/base/html/RdUtils.html)
OR
2 - Convert the .html generated file through wkhtmltopdf software (sudo apt-get install wkhtmltopdf) calling it directly from R (e.g. system(..)).
Pro: we can embed the css styled page into the pdf file.
Contro: SublimePeek has another requirement for Linux systems.
Then, adapt the SublimePeek.py script to search for pdf files when on linux (and R function ..).
Ah, I'm thinking also to another way to achieve this task.
3 - Call wkhtmltopdf from python only when required to convert the html into pdf e pass this to gloobus-preview. Then can be implemented a "caching" mechanism for the generated pdf files or not.
Sources:
1 - File type supported by: http://gloobus.net/gloobus-preview/
2 - Some tests
I hope to be helpful. Let me know what you think about, please. If you need help, I am.
Leo.
P.S.: I'm using SublimePeek from the dev branch.
The text was updated successfully, but these errors were encountered: