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

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to