Andre Poenitz <[EMAIL PROTECTED]> writes:
...
> > I also tweaked system configure.py (preferable if this should be in
> > future LyX) getting the same effect. However, I am not satisfied with
> > this since with above changes user has to tweak the files/menus and I do
> > not have the support to import and export Sweave files and adding proper
> > entries in configure.py  causes Noweb to disapear - since I use literate
> > for Sweave.
> 
> > Is there any way to provide functionality for "several" literate
> > systems - if there are apropriate tools on the system of course? 
> 
> The usual trick is to define an additional target format 'latex2' or
> maybe 'latexSweave' 

Hello Andre.

Sorry for late response. I am not subscribed to the list and did not notice your
answer.

This will not work - I have already tried that - since literate format name has
special meaning i.e. tex2lyx -n forces creation of literate format. Hence I do
not see any simple way to provide Sweave directly with LyX. For now I have
managed to get thing working with changed settings in prefrences (formats and
converters) and layouts (literate-*). I am not satisfied with this since this
can not be added to LyX directly as it changes current implementation that suits
to noweb only. Sweave is based on noweb, but has a bit different philosophy i.e.
uses code to do the "computing in the document" and the code is then replaced
with the results. Does anyone see any other route to provide Sweave support
directly in LyX? 

Gregor


Reply via email to