Am Donnerstag, 7. Dezember 2006 23:10 schrieb Gregor Gorjanc:
> Hi,
> 
> I am also interested in setting up converter for literate (Sweave) to 
HTML. I
> find it hard to do that, because I need to first weave the file and I do 
not
> know how to tell LyX to HTML-ize produced LaTeX file. I have the 
following in my
> prefs file
> 
> \converter "literate" "latex" "R CMD Sweave --opts="png=TRUE" $$i" ""

Then you also need a converter from latex to html (that should be 
autodetected normally if one of htlatex, tth, latex2html or hevea is 
installed). If you have that converter LyX should offer you to export to 
html. See also section 3.5 "Converters, Formats, Viewers, Editors and 
Copiers" of Cunstomization.lyx

> Additionally, is it OK to have "" command/converter definition?

No, because LyX does not know what to do in this case. What do you want to 
achieve with such a definition?


Georg

Reply via email to