Liviu Andronic wrote:
> If this were implemented, do you think that it would flexible enough
> to support less TeX-ish custom insets such as the one described  here
> [1]? To sum up, I would like to come up with an "Sweave chunk" custom
> inset that
> - would be similar to ERT boxes
> - would wrap the contents of the inset within "<<>>=" and "@"
> - if an options, "Short Title"-like inset is inserted, its contents
> would be inserted between "<<" and ">>=" from above
> 
> Please let me know what you think of such a construct. Regards
> Liviu

I think with the layout changes I described, this could be implemented easily. 
For instance

Argument
        Type                    optional
        LabelString             "Sweave Chunk"
                StartDelim                              "<<"
                EndDelim                                ">>="
                PassThru                                1
        Order                   1
EndArgument

where StarDelim and EndDelim would be optional (defaulting to "["/"]" for 
optional and to "{"/"}" for mandatory arguments.

With this extension, we could also support Beamer's <overlay> arguments 
natively.

Jürgen

Reply via email to