I think in the past we've come to the conclusion that the syntax for
section references can not be user defined - or at least, it would cause
more harm than good to make it user defined.
I want to use a LaTeX variant "Rnw", "R no web", an R code mixed with
LaTeX language described here:
http://yihui.name/knitr/demo/minimal/
Basically the syntax is
...some LaTeX stuff here...
<<my-label, eval=TRUE, dev='png'>>=
# R code here
@
...more LaTeX...
i.e. delimiters of `<<.*>>=` and `@` which do not play well at all with
Leo. `@` is problematic syntax coloring wise.
Of course I want to use @clean for this, @asis works, but doesn't
support @others. So I guess it would be great if Leo could turn off
interpretation of section references and doc comments or whatever it is
@ delimits.
But unless it's easy I'm not sure it's worth the trouble, it's not that
hard to use some other arbitrary syntax like `<{.*}>=` and `@@` and
have sed fix it for further processing, or tell knitr to use the
different patterns, but I prefer the sed route so there's a "normal"
Rnw file saved.
So really just an observation, unless there's a simple switch for
section reference management.
Cheers -Terry