Sublime Forum

Patch Latextools to work with knitr

#1

Hi guys,

I cannot find this file LaTeX.tmLanguage, I need it to configure the knit package. But It seems that in sublime 3 (Build 3103) this file is hided or missed (I’ve already used PackageResourceViewer).

Could someone help me to find a solution to patch LaTeXTools in order to install properly the sublime knitr package?

Thanks in advance

0 Likes

#2

Recent builds of Sublime Text 3 use .sublime-syntax files instead of .tmLanguage. It is a newer YAML format that provides additional functionality over the old format.

0 Likes

#3

Ok thanks.
It seems that the instructions, in SublimeKnitr package to patch for Latextools, don’t work for last versions.

0 Likes

#4

Actually that patch is quite out of date. These days, you’d simply need to change the setting tex_file_exts to [".tex", ".rnw"] in LaTeXTools.sublime-settings.

1 Like