Julien Rioux wrote: > - if (!pconverter_){ > - if (b.params().encoding().package() == Encoding::japanese) > - pconverter_ = setConverter("lyxpreview-platex"); > - else > - pconverter_ = setConverter("lyxpreview"); > - } > + if (b.bufferFormat() == "lilypond-book") > + pconverter_ = setConverter("lyxpreview-lytex"); > + else if (b.params().encoding().package() == Encoding::japanese) > + pconverter_ = setConverter("lyxpreview-platex"); > + else > + pconverter_ = setConverter("lyxpreview");
why the test on (!pconverter_) is no more needed? also, one needs lytex to have lilipond usable? this patch had to be done inside lytex project and diffed against it, thus unusable here. > --- lib/scripts/lyxpreview-lytex2bitmap.py (revision 35036) this file does not exists in lyx proper... there are many other links to lytex in your patch, so before diving in, please send updated version... pavel