New syntax highlighting for Sweave

Kate

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Sweave syntax highlighting for KDE Katepart: it uses R highlight for Sexpr, Scode and noweb chunks, and LaTeX highlight for the rest.

The original script (http://kde-files.org/CONTENT/content-files/50254-sweave.xml) has been modified including the whole "Kate highlighting module for LaTeX" in order to make possible the highlighting of Sweave code also when it is included in LaTeX math mode.
Last changelog:

5 years ago

There is still a bug: using noweb chuncks within math mode, the higlight of the code after the chuck is not in math mode (using \\\\Scode{} and \\\\Sexpr{} there are no problems).
Anyone who can fix it (and make possible the highlighting of Sweave code in math mode without including here all the LaTeX module) is invited to fix it.

Be the first to comment

5 years ago

There is still a bug: using noweb chuncks within math mode, the higlight of the code after the chuck is not in math mode (using \\\\Scode{} and \\\\Sexpr{} there are no problems).
Anyone who can fix it (and make possible the highlighting of Sweave code in math mode without including here all the LaTeX module) is invited to fix it.

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1
updated Jun 12 2014
added Jun 12 2014
downloads today
0
page views today 5
System Tags addon